Jump to content

Feistz

Members
  • Posts

    139
  • Joined

  • Last visited

Everything posted by Feistz

  1. World War Z. Best. Book. Ever.

  2. contoh daftar hostname nama your-ro.zapto.org.. Dalam hostname pun macam tuh jugak
  3. guna NO-IP .. Daftar dan add hostname.. Lepas tuh, download Dynamic Update Client (DUC) dan install. Run Dynamic Update Client (DUC) setiap kali nak start server. Dalam file conf just letak hostname yang di daftarkan
  4. They will when i've written the npc scripts Cant wait to see this feature
  5. Got a suggestion here, maybe you can modify it so that the player can receive notification in-games
  6. Just bought it. Awesome addon and idea. Very nice interface. Two thumbs up!
  7. Check your msg_athena.conf. rAthena has done a major migration of atcommand messages from atcommand.c into the msg.athena.conf in r16724
  8. Thank you! Worked like a charm
  9. Hello, I just patched my server with Xantara's http://rathena.org/board/files/file/2242-package-itemmap-getitem-map/ but i got some compile error.. here it is:- pc.c 1>d:\server files\rathena\src\map\pc.c(5150): error C2198: 'map_addflooritem' : too few arguments for call Line 5150 /*------------------------------------------ * pc_getitem_map [Xantara] *------------------------------------------*/ int pc_getitem_map(struct map_session_data *sd,struct item it,int amt,int count,e_log_pick_type log_type) { int i, flag; nullpo_ret(sd); for ( i = 0; i < amt; i += count ) { if ( !pet_create_egg(sd,it.nameid) ) { // if not pet egg if ( flag = pc_additem(sd,&it,count,log_type) ) { clif_additem(sd, 0, 0, flag); if( pc_candrop(sd,&it) ) map_addflooritem(&it,count,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0); } } } log_pick_pc(sd, log_type, -amt, &sd->status.inventory[i]); return 1; } Anyone can help me fix this?
  10. Weird, now the error is gone, hmm i will do some test later on. Im using SQL. Yes, that is my whole script
  11. Thanks! but i got this error:- [sql]: DB error - Duplicate entry '0-#EVENTPOINTS-2000000' for key 'PRIMARY' [Debug]: at d:\rathena\src\char\inter.c:620 - INSERT INTO `global_reg_value` (`t ype`,`account_id`,`char_id`,`str`,`value`) VALUES ('2','2000000','0','#GC_CAPTUR ES','5'),('2','2000000','0','#eventpoints','10'),('2','2000000','0','#EVENTPOINT S','10000') And here is my script - script converter -1,{ OnPCLoginEvent: set #EVENTPOINTS,#EVENTPOINTS + #KAFRAPOINTS; set #KAFRAPOINTS,0; } How to fix this?
  12. How can i make if player login, it will automatically convert the points?
  13. BUMP! How can I do that Emistry? Can give me more explanation or example?
  14. I dunno where to post this so please move if it in the wrong section. As the title says, is it possible to change all #KAFRAPOINTS value in my server to other variable such as #EVENTPOINTS. if yes, how can i do it? using script or mysql queries? thanks!
  15. Didnt work even after i tried re-install everything cleanly Help please! SOLVED! Thanks Xantara for the help. It seems like i must import item_db and mob_db sql in both databases
  16. Can you specify where to put that?
  17. @Brynner Yes, exactly and it worked but when I tried to view the character on the second server, it wont show up. It says unauthorized access.
  18. Ok so i have two servers that share 1 login server that is ragnarok1 and ragnarok2. I use this guide [media=]http://www.paradox924x.com/stuff/screencasts/multiple_charmap_servers.swf[/media] to make it work but it have a little problem in that. If i choose to view characters from ragnarok1 database, there is no problem but if i choose to view characters from ragnarok2 database the site show unauthorized access. It means i cant view it, cant modify it, i cant use the reset look function and so on. On admin level, it says no such character was found although it has the list and the char ID was correct. So, anyone has experience on this kind of problem? p/s: my login table was in ragnarok1 database. here is my servers.php:- <?php return array( // Example server configuration. You may have more arrays like this one to // specify multiple server groups (however they should share the same login // server whilst they are allowed to have multiple char/map pairs). array( 'ServerName' => 'NirvanaRO', // Global database configuration (excludes logs database configuration). 'DbConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => 'utf8', // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => 'localhost', 'Username' => 'ragnarok', 'Password' => 'ragnarok', 'Database' => 'ragnarok1', 'Persistent' => true, 'Timezone' => null // Example: '+0:00' is UTC. // The possible values of 'Timezone' is as documented from the MySQL website: // "The value can be given as a string indicating an offset from UTC, such as '+10:00' or '-6:00'." // "The value can be given as a named time zone, such as 'Europe/Helsinki', 'US/Eastern', or 'MET'." (see below continuation!) // **"Named time zones can be used only if the time zone information tables in the mysql database have been created and populated." ), // This is kept separate because many people choose to have their logs // database accessible under different credentials, and often on a // different server entirely to ensure the reliability of the log data. 'LogsDbConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => null, // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => 'localhost', 'Username' => 'ragnarok', 'Password' => 'ragnarok', 'Database' => 'log', 'Persistent' => true, 'Timezone' => null // Possible values is as described in the comment in DbConfig. ), // Login server configuration. 'LoginServer' => array( 'Address' => '127.0.0.1', 'Port' => 7024, 'UseMD5' => false, 'NoCase' => true, // rA account case-sensitivity; Default: Case-INsensitive (true). 'GroupID' => 0, // Default account group ID during registration. 'Database' => 'ragnarok1' ), 'CharMapServers' => array( array( 'ServerName' => 'ragnarok1', 'BaseExpRates' => 200, 'JobExpRates' => 200, 'MvpExpRates' => 200, 'DropRates' => 25, 'MvpDropRates' => 25, 'CardDropRates' => 25, 'MaxCharSlots' => 9, 'DateTimezone' => null, // Specifies game server's timezone for this char/map pair. (See: http://php.net/timezones) //'ResetDenyMaps' => 'sec_pri', // Defaults to 'sec_pri'. This value can be an array of map names. 'Database' => 'ragnarok1', // Defaults to DbConfig.Database 'CharServer' => array( 'Address' => '127.0.0.1', 'Port' => 7025 ), 'MapServer' => array( 'Address' => '127.0.0.1', 'Port' => 7026 ) ), array( 'ServerName' => 'ragnarok2', 'BaseExpRates' => 200, 'JobExpRates' => 200, 'MvpExpRates' => 200, 'DropRates' => 25, 'MvpDropRates' => 25, 'CardDropRates' => 25, 'MaxCharSlots' => 9, 'DateTimezone' => null, // Specifies game server's timezone for this char/map pair. (See: http://php.net/timezones) //'ResetDenyMaps' => 'sec_pri', // Defaults to 'sec_pri'. This value can be an array of map names. 'Database' => 'ragnarok2', // Defaults to DbConfig.Database 'CharServer' => array( 'Address' => '127.0.0.1', 'Port' => 7028 ), 'MapServer' => array( 'Address' => '127.0.0.1', 'Port' => 7029 ), // -- WoE days and times -- // First parameter: Starding day 0=Sunday / 1=Monday / 2=Tuesday / 3=Wednesday / 4=Thursday / 5=Friday / 6=Saturday // Second parameter: Starting hour in 24-hr format. // Third paramter: Ending day (possible value is same as starting day). // Fourth (final) parameter: Ending hour in 24-hr format. // ** (Note, invalid times are ignored silently.) 'WoeDayTimes' => array( //array(0, '12:00', 0, '14:00'), // Example: Starts Sunday 12:00 PM and ends Sunday 2:00 PM //array(3, '14:00', 3, '15:00') // Example: Starts Wednesday 2:00 PM and ends Wednesday 3:00 PM ), // Modules and/or actions to disallow access to during WoE. 'WoeDisallow' => array( array('module' => 'character', 'action' => 'online'), // Disallow access to "Who's Online" page during WoE. array('module' => 'character', 'action' => 'mapstats') // Disallow access to "Map Statistics" page during WoE. ) ) ) ) ); ?> I dunno why the video shows up like that so here is the link:- http://www.paradox924x.com/stuff/screencasts/multiple_charmap_servers.swf
  19. Which part of script do I need to add this exactly?
  20. how can i exactly add this checking? can you modify the script for me?
  21. 2 billion. I believe that is the max amount you can set in rAthena right?
  22. Thanks for the reply, unfortunately, i cannot test it because whenever i want to deposit or withdraw money, the NPC will stuck BUMP! Can someone fix this script and error for me?
  23. Got this error in a Bank script in my server. This error pops up whenever i choose to withdraw or deposit zeny. Can someone help me on this? bank.txt
×
×
  • Create New...