Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. it's based on rAthena. the script command has been added into rAthena few month ago. some old achieve topic. http://rathena.org/board/topic/78149-rev1-countitem-storagecountitem-cartcountitem-count-how-many-item-in-player-inventorystoragecart/ http://rathena.org/board/topic/78276-cartcountitem-cartdelitem-script-count-or-delete-certain-item-in-cart-inventory/
  2. feel free to post at forum with full details will try it if i have free time xD
  3. it's nice to see everyone corporate to release something ... maybe could provide more info so that everyone could try ?? xD *I am interested too ...
  4. waitingroom " Test [ "+( getmapusers("custom_fild01") + getmapusers("custom_fild02") + getmapusers("custom_fild03") + getmapusers("custom_dun01") )+" ]",0; you mean add all value together ?
  5. @Kichi Your previous staff application has been rejected. Lack of activity I guess. Feel free to re-submit a new application.
  6. depend on how your @afk work, sone minor modification would be needed. @skorm haha , I totally forgotten that offline char will caused the invalid rid message to spam xD
  7. =='' it's already shown in the link given. .@item = F_checkitem( 5022,607,608,5353 ); if ( .@item ) { mes "Please remove "+getitemname( .@item ); close; } warp "prontera",155,181;
  8. try this http://pastebin.com/raw.php?i=2ZRaRWbf
  9. perhap client issue ? packet ? not sure or else just fix it by adding longer sleep duration to delay the next announcement.
  10. 1. getapmobs has been removed long ago. You can check monster count on specific map using mobcount 2. setarray .item,5001,5002,5003; .item_size = getarraysize( .item ); .@has_cart = checkcart(); for ( .@i = 0; .@i < .item_size; .@i++ ) { if ( countitem( .item[.@i] ) ) { mes "Remove "+getitemname( .item[.@i] )+" from your inventory."; close; } else if ( .@has_cart ) { if ( cartcountitem( .item[.@i] ) ) { mes "Remove "+getitemname( .item[.@i] )+" from your cart."; close; } } }
  11. prontera,155,181,5 script Sample#warper 757,{ getinventorylist; if ( @inventorylist_count ) { npctalk "Remove all your inventory items."; } else if ( BaseLevel > 1 ) { npctalk "Only level 1 player can enter."; } else { save "prontera",155,181; warp "prontera",155,181; } end; }
  12. if that is the case, there is one simple way you can try. mapname mapflag nosave warp disconnected char back to save point. is your vending map only 1 map ? or worldwide?
  13. do you know how your current merchant able to stand on same spot with each other ? teleport ? warp ?
  14. you can also do like this. setarray .headgear0_0[0],5210,2254,10,7063,50,7168,200,7038,200,10000000; setarray .headgear0_1[0],5254,5132,1,5068,1,2255,1,7023,5,983,1,10000000; .@x = .@y = 0; .@size = getarraysize( getd( ".headgear"+.@x+"_"+.@y ) ) // copy to a temporary array copyarray .@temp_array,getd( ".headgear"+.@x+"_"+.@y ),.@size; // check value for( .@i = 0; .@i < .@size; .@i++ ) mes ".headgear"+.@x+"_"+.@y+"["+.@i+"] = "+.@temp_array[.@i]; close; way better than having a nested for-loop
  15. https://rathena.org/board/index.php?/files/file/2505-%7B?%7D/
  16. not possible. char name is restricted to only 24 characters maximum ( included your "title" )
  17. if (isloggedin(.@acc[.@j],.@char[.@j])) { change tot his if (isloggedin(.@acc[.@j],.@char[.@j]) && !checkvending( rid2name(.@acc[.@j]) ) ) {
  18. duplicate ... so you mean MAC Address detect, do you have harmony or any feature that support your client MAC address ??
  19. @Moofie91 it seem fine for me, my map-server didnt crash even though i try to answer using your way. anyway, updated script to avoid this kind of "answer" which exploit the event behaviours.
×
×
  • Create New...