Jump to content

Patskie

Members
  • Posts

    1702
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Patskie

  1. trunk/doc/item_bonus.txt
  2. 1. We can look at the current date and time of a CentOS server by typing "date" in the SSH terminal or PuTTy.exe. 2. You ll notice that it?s probably not what you want. CentOS uses the file /etc/localtime to determine what the timezone you want to use is. If the contents of that file aren?t what you?re looking for?we?ll need to replace it. First, lets get rid of that file since it?s wrong anyway. We?ll rename it to localtime.bak. 3 .Since CentOS now no longer has a proper localtime file, you can run the date command again and see that it just uses the universal time now. We need a new /etc/localtime file with the right stuff. Rather than make a new file, we?ll create a symlink to an already existing timezone file. They're all located in /usr/share/zoneinfo. Find the one you want in there. For this example, I?m setting the server to central time. So /usr/share/zoneinfo/Asia/Manila will work for me. Just find whichever timezone file corresponds to the one you want to set your server to. Now, let's make that link. Run the date command again and you should be good to go! 4. Restart your server to take effect1. We can look at the current date and time of a CentOS server by typing "date" in the SSH terminal or PuTTy.exe. 2. You ll notice that it?s probably not what you want. CentOS uses the file /etc/localtime to determine what the timezone you want to use is. If the contents of that file aren?t what you?re looking for?we?ll need to replace it. First, lets get rid of that file since it?s wrong anyway. We?ll rename it to localtime.bak. 3 .Since CentOS now no longer has a proper localtime file, you can run the date command again and see that it just uses the universal time now. We need a new /etc/localtime file with the right stuff. Rather than make a new file, we?ll create a symlink to an already existing timezone file. They're all located in /usr/share/zoneinfo. Find the one you want in there. For this example, I?m setting the server to central time. So /usr/share/zoneinfo/Asia/Manila will work for me. Just find whichever timezone file corresponds to the one you want to set your server to. Now, let's make that link. Run the date command again and you should be good to go! 4. Restart your server to take effect
  3. Well attaching a timer is a hard approach for this since checkidle() command is already existing. So Joseph approach is more suitable in this thread.
  4. Nice! well if you kill the npc with right click then there is no way for you to load it unless you specify a path where the script resides which somehow a little bit hard. It will make the work easy if right click there is a menu like "Reload" then it will kill the target npc and will load automatically after a second or two or more...
  5. Mapapasakin ka rin :3

  6. Some tools : http://md5.gromweb.com/?md5=6c84cbd30cf9350a990bad2bcc1bec5f trunk/conf/login_athena.conf // Store passwords as MD5 hashes instead of plaintext ? // NOTE: Will not work with clients that use <passwordencrypt> use_MD5_passwords: yes Query : UPDATE `login` SET `user_pass` = MD5(`user_pass`); Set MD5 to true on your application.php and server.php on your flux panel so that people can connect to the control panel after setting md5 on your database.
  7. either of the two
  8. try changing sleep from sleep2
  9. - script Kick -1,{ if ( strcharinfo(3) == "job3_arch01" && getcharid(1) ) end; sleep 30000; warp "SavePoint",0,0; end; }
  10. prontera,150,150,0 script Random 100,{ if (countitem(7179) < 100) { mes .npc$; mes "You don't have 100 proof of donation"; close; } mes .npc$; mes "Here you go!"; delitem 7179,100; getitem rand(.min_id, .max_id), 1; close; OnInit: .npc$ = strnpcinfo(1); .min_id = 7179; .max_id = 7227; end; }
  11. It's not literally ddos. If you login with wrong password multiple times. Your server will acknowledge it as a DDOS attack ( though really it's not ) and will reject your ip address in a while.
  12. - script sample -1,{ OnWhisperGlobal: if ( getgmlevel() ) end; else if ( @whispervar0$ == "warp" && @whispervar1$ == "1" ) warp "prontera",150,150; else if ( @whispervar0$ == "warp" && @whispervar1$ == "2" ) warp "prontera",541,50; else if ( @whispervar0$ == "warp" && @whispervar1$ == "3" ) warp "payon",151,50; else if ( @whispervar0$ == "warp" && @whispervar1$ == "4" ) warp "izlude",185,50; else end; }
  13. Just type on file name text box : DATA.ini
  14. Yaa ragnarok sql. There is an upgrade of sql on trunk/sql-files/upgrades/upgrade_svn17351.sql at SVN 17351.
  15. Data.ini is not part of kRO. You can create it
  16. Execute this on your database : ALTER TABLE `inventory` ADD COLUMN `bound` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `favorite`; ALTER TABLE `cart_inventory` ADD COLUMN `bound` TINYINT(3) UNSIGNED NOT NULL default '0' AFTER `expire_time`; ALTER TABLE `storage` ADD COLUMN `bound` TINYINT(3) UNSIGNED NOT NULL default '0' AFTER `expire_time`; ALTER TABLE `guild_storage` ADD COLUMN `bound` TINYINT(3) UNSIGNED NOT NULL default '0' AFTER `expire_time`;
  17. Nakalagay ung account sa login table?
  18. Patskie

    login Msg

    What you mean? When player login there is an announce script but only for people who login ( self ) ?
  19. set .NPC$, "[ " strnpcinfo(1)+ " ]"; Should be : set .NPC$, "[ " +strnpcinfo(1)+ " ]";
  20. Patskie

    Help please

    Below this? set .@sharedpoints, (50/$@partymembercount);
  21. lua files error
  22. getitem .freebie_item[.@x], ..quantity[.@x]; Should be : getitem .freebie_item[.@x], .quantity[.@x];
  23. An NPC that checks if a player has any item in the inventory, if no then warp to "prontera". if yes, then cancel. http://rathena.org/wiki/Getinventorylist setarray .@restricted[0],15000,15001; <item id> set .@size, getarraysize(.@restricted); for ( .@i = 0; .@i < .@size; .@i++ ) { if ( getequipid(EQI_ARMOR) == .@restricted[.@i] || getequipid(EQI_GARMENT) == .@restricted[.@i] ) warp "prontera",150,150; else end; }
  24. Patskie

    problems

    Did you update your svn?
×
×
  • Create New...