Jump to content

Joseph

Members
  • Posts

    341
  • Joined

  • Last visited

Everything posted by Joseph

  1. Its the total length of it.
  2. Basically, it gets the date and/or time data (%Y - Year; %m - Month; %d - Day; %H - Hour; %M - Minute; %S - Second). Script: http://upaste.me/1163480d0d50146
  3. I found a problem.. warp "ides01",
  4. What if there are 2 types of mount for that particular job?
  5. 2363
  6. Try this... setarray .@item_req, 671,1,672,1; // Item Required ( <item_id>,<amount>... ) setarray .@item_list, 1234,4321,1234,4321; // Item List for ( set .@i, 0; .@i < getarraysize(.@item_list); set .@i, .@i + 1 ) set .@menu$, .@menu$ + (.@i?": ":"") + getitemname(.@item_list[.@i]); mes "Possible Items"; set .@j, select ( .@menu$ ) - 1; for ( set .@i, 0; .@i < getarraysize(.@item_req); set .@i, .@i + 2 ) { if ( countitem(.@item_req[.@j]) < .@item_req[.@j + 1] ) set .@fail, 1; } if ( .@fail ) { mes "Infsufficient materials."; close; } for ( set .@i, 0; .@i < getarraysize(.@item_req); set .@i, .@i + 2 ) delitem .@item_req[.@i], .@item_req[.@i + 1]; getitem .@item_list[.@j], 1;
  7. Use disablenpc instead. disablenpc "<NPC object name>";
  8. Errr.. Based on trunk/doc/script_commmands.txt:
  9. This is for Sunday: gettime(4) == 0
  10. I think this will do... if ( #mg_time_1 != gettimestr(%Y%m%d,9) ) { set #mg_time_1, gettimestr(%Y%m%d,9); set #mg_time_2, 0; } if ( #mg_time_2 > 3 ) { // Have played this event for 3 times ... } set #mg_time_2, #mg_time_2 + 1; // Start Event ...
  11. All the SQL files are located in trunk/sql-files.
  12. Here: Used the wrong label. -.- http://upaste.me/d9cd453d89dee3b
  13. 2363
  14. Try restarting your server.
  15. Long way to go..... 2348
  16. If you wanted to delete your char instantly, change it to 0.
  17. Change the value. trunk/conf/char_athena.conf: char_del_delay: 86400
  18. Add this: query_sql "SELECT `account_id` and FROM `char` WHERE `last_map`='guild_vs1' AND `online`=1",.@aid; for ( set .@i, 0; .@i < getarraysize(.@aid); set .@i, .@i + 1 ) { if ( getcharid(2) == $koegid ) { attachrid(.@aid); getitem 14232, 5; getitem 7829, 50; getitem 7711, 100; } if ( .@i % 10 == 0 ) sleep 100; }
  19. Should post this in database request. Add this in your item script: { set #CASHPOINTS, #CASHPOINTS + 1 },{},{}
  20. Use checkmadogear instead of checkriding.
  21. I think rAthena have fixed this issue. http://sourceforge.net/apps/trac/rathena/changeset/16152/
  22. Btw, rAthena removed getmapmobs. Use mobcount instead.
  23. Try this.. EDITED: http://upaste.me/d9cd453d89dee3b
  24. Fixed the areawarp.. http://pastebin.com/YwEv523D
×
×
  • Create New...