Jump to content

Joseph

Members
  • Posts

    341
  • Joined

  • Last visited

Everything posted by Joseph

  1. 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
  2. What if there are 2 types of mount for that particular job?
  3. 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;
  4. Use disablenpc instead. disablenpc "<NPC object name>";
  5. Errr.. Based on trunk/doc/script_commmands.txt:
  6. This is for Sunday: gettime(4) == 0
  7. 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 ...
  8. All the SQL files are located in trunk/sql-files.
  9. Here: Used the wrong label. -.- http://upaste.me/d9cd453d89dee3b
  10. Try restarting your server.
  11. Long way to go..... 2348
  12. If you wanted to delete your char instantly, change it to 0.
  13. Change the value. trunk/conf/char_athena.conf: char_del_delay: 86400
  14. 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; }
  15. Should post this in database request. Add this in your item script: { set #CASHPOINTS, #CASHPOINTS + 1 },{},{}
  16. Use checkmadogear instead of checkriding.
  17. I think rAthena have fixed this issue. http://sourceforge.net/apps/trac/rathena/changeset/16152/
  18. Btw, rAthena removed getmapmobs. Use mobcount instead.
  19. Try this.. EDITED: http://upaste.me/d9cd453d89dee3b
  20. Fixed the areawarp.. http://pastebin.com/YwEv523D
×
×
  • Create New...