3MrcRO - Development TEAM
Selamat Datang Di 3MrcRO Develpment TeaM
Disini Kalian Bebas Belajar Tentang Ragnarok Private Server. Mari Kita Bangun Forum Ini Bersama"


- Admin -
3MrcRO - Development TEAM
Selamat Datang Di 3MrcRO Develpment TeaM
Disini Kalian Bebas Belajar Tentang Ragnarok Private Server. Mari Kita Bangun Forum Ini Bersama"


- Admin -
3MrcRO - Development TEAM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

3MrcRO - Development TEAM

Ragnarok - Support Board
 
IndeksLatest imagesPencarianPendaftaranLogin

 

 SGCP VOTE FOR POIN

Go down 
PengirimMessage
Admin
Admin



Jumlah posting : 46
Join date : 23.02.10
Age : 33
Lokasi : Surabaia - Indonesia

SGCP VOTE FOR POIN Empty
PostSubyek: SGCP VOTE FOR POIN   SGCP VOTE FOR POIN I_icon_minitimeWed Oct 27, 2010 10:30 am

SGCP Vote 4 Poin Script
Quote :
1.- grab [B]Vote.php and upload it to your control panel Main directory

2.- update your ragnarok database with the file included "table.sql"
Note: this is where you all mess up, you have to load the sql into your GAME database (usually ragnarok) and NOT INTO YOU CP DATABASE.

3.- open config.php, find this

Code:
// CP Settings
$CONFIG['height']            =    '550';            // ÃкؤÇÒÁÊÙ§¢Í§Ë¹éÒàǺ (ÊÒÁÒöÃкØà»ç¹ % ä´é)
$CONFIG['width']            =    '797';            // ÃкؤÇÒÁ¡ÇéÒ§¢Í§Ë¹éÒàǺ (ÊÒÁÒöÃкØà»ç¹ % ä´é)
?>
4.- replace with this:
Code:
/ CP Settings
$CONFIG['height']            =    '550';            // ÃкؤÇÒÁÊÙ§¢Í§Ë¹éÒàǺ (ÊÒÁÒöÃкØà»ç¹ % ä´é)
$CONFIG['width']            =    '797';            // ÃкؤÇÒÁ¡ÇéÒ§¢Í§Ë¹éÒàǺ (ÊÒÁÒöÃкØà»ç¹ % ä´é)

define('VOTE_TIME', 24 );
define('VOTE_LINK', serialize( array(
                                        1 => 'http://www.voteseite1.com?id=123456',
                                        2 => 'http://www.voteseite2.com?id=123456',
                                        3 => 'http://www.voteseite3.com?id=123456'
                            ))
        );
?>
NOTE:


  • VOTE_TIME = the Time in hours for Counting new Points. Most Topsites will count every 24 hours a new Vote so i set them to 24 as default
  • VOTE_LINK = the Links from youre Votesites! Just look at the 3 Examples and add/replace them with ur URL.



5.-Upload function.php to your control panel on function folder, it should ask to overwrite, do it.

6.-Go to setting_ini_files folder and open exchange_link.ini, add the link to the voting page, should look something like this:
Code:
<a href='vote.php?site=1' target='_blank'>Vote 4 Us!</a>
Beware!!!!!
site=1 means the Entry 1 in the Array from the config.php! (VOTE_LINK)
In my Example, the Array entry is 1 => 'http://www.voteseite1.com?id=123456',, so the Link has to be
vote.php?site=1

Save that Shit and you are ready.


Now the NPC:

Edit these settings to your own stuff also mind the first line for it require you to change it to your own map, coordinates, sprite, name and stuff, load it in your server and you are good to go.
Code:


    setarray @vote_item[0],            512, 513; // Item ID
    setarray @vote_item_count[0],    1  , 1; // Item Count wich will be given
    setarray @vote_cost[0],            1  , 2; // Cost in Vote Points
    set @min_vote, 0; // minimum count on Vote Points to see the Item List


DOWNLOAD SGCP VOTE FOR POINT FILE HERE
Kembali Ke Atas Go down
https://3mrcro.indonesianforum.net
 
SGCP VOTE FOR POIN
Kembali Ke Atas 
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
3MrcRO - Development TEAM :: Download Area :: Download Kebutuhan Server-
Navigasi: