Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. check your configuration ...else...show the script...
  2. or ... this... ?? trunk/doc/sample/npc_test_pcre.txt
  3. you can queue max of 3 event ...
  4. trunk/src/map/map.h #define MAX_EVENTQUEUE 2
  5. "this" originally refer to the current map of the attached player for monster...and i don think this will work for mobcount ....
  6. you are using Amod ...the @costume only come from there ...in rAthena we dont have this...and we dont have custom src mod that convert normal headgear into custome headgear ... well you can still try like this atcommand "@costumeitem "+@bought_nameid[.@i];
  7. i think you can try this too .. query_sql "SELECT `account_id` FROM `char` WHERE `online` = 1 AND `account_id` NOT IN ( SELECT `account_id` FROM `login` WHERE `group_id` > 0 ) ORDER BY `name` DESC LIMIT 128", .@account_id; hope it work ~
  8. prontera,155,175,5 script Sample 757,{ if( select( "Disguise Monster","Un-Disguise" ) == 2 ){ mes "You are now un-disguised."; undisguise; }else{ mes "Enter Mob ID."; do{ input .@mob_id; if( !.@mob_id ) close; }while( getmonsterinfo( .@mob_id,MOB_NAME ) == "null" ); disguise .@mob_id; mes "Disguised into "+getmonsterinfo( .@mob_id,MOB_NAME ); } close; } alway make use of script command .... disguise and undisguise ... avoid of using @command in npc ...
  9. because the .@maps$[.@i] has been defined here.. setarray .@Maps$[0],"pvp_n_8-1","pvp_n_8-2","pvp_n_8-3","pvp_n_8-4","pvp_n_8-5"; setarray .@Maps$[0],"pvp_y_8-1","pvp_y_8-2","pvp_y_8-3","pvp_y_8-4","pvp_y_8-5"; you can use toastofdoom's warper too ... or annieruru's favourite warper ..or any other from the forum ...else just add the getmapusers yourself..
  10. my own version of Rock Paper Scissor Roulette http://pastebin.com/raw.php?i=X7WLLpRZ
  11. shouldnt use permanent variable in this case ...a temporary variable is more than enough ... beside..permanent variable are very limited too , shouldnt waste on these situation...xD if( getmapusers("yourmap") ){ mes "Someone inside the maps..."; close; }
  12. add the SC_AUTOTRADE ....
  13. Emistry

    Requesting <3

    1. check my topic in script release -> custom refiner 2. dont have 3. this ? https://rathena.org/board/index.php?/files/file/2550-%7B?%7D/
  14. if you have set afk_timeout ... then ... convert the value inside message variable into integer .... if the timeout( converted value ) larger than 0 .....@afk for a limited duration ... else...@afk unlimit time. afk_timeout = setting inside conf files timeout = minutes for @afk ( integer form ) message = minutes for @afk ( string form ) min( x,y ) = limit the value between x and y and..a typo mistake in battle_config.aa_timeout
  15. Emistry

    No Card Drop

    // The rate at which cards are dropped item_rate_card: 1000000 item_rate_card_boss: 250000 item_drop_card_min: 1 item_drop_card_max: 10000 try
  16. trunk/src\map\itemdb.h ITEMID_SKULL_ = 7420,
  17. set SkillPoint,127 + char_extra_skillpoint;
  18. not sure is it like this the way you want.. i didnt try the script.. http://pastebin.com/raw.php?i=sPXVYeps
  19. Emistry

    Private Mvp

    mobcount("<map name>","<event label>") read inside mobcount
  20. you can also do like this if not mistaken .. SELECT 1 FROM `guild` WHERE `name` but still i believe add the part that save it into a variable would be better.
  21. change setarray .Map$...................... to setarray .Map,.............................. then change if( strcharinfo(3) == .Map$[.@i] ) to if( BaseLevel < .Map[.@i] ) // greater or lower..up to you
  22. Emistry

    Private Mvp

    you can either add back the getmapmobs or change it to mobcount
  23. just check the baselevel ... if( BaseLevel < xyz ) blablablbal
  24. Emistry

    Asking

    the structure of eathena sql and rathena sql have slightly different ...
×
×
  • Create New...