Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    409

Everything posted by Emistry

  1. try this - script Sample -1,{ OnPCLoadMapEvent: if( strcharinfo(3) == .Map$ ){ set .@i, query_sql("SELECT `last_ip` FROM `login` WHERE account_id="+getcharid(3)+"",.@IP); set .@i, query_sql("SELECT `account_id` FROM `login` WHERE last_ip="+.@IP+""); if( .@i >= .Limit ){ mes "We detected there is "+.Limit+" or more users with same IP Logged in."; mes "Please log off these unused account."; close2; warp "prontera",155,181; } } end; OnInit: // How many Account with Same IP to trigger this Event set .Limit,2; // What Map will trigger the script set .Map$,"payon"; setmapflag .Map$,mf_loadevent; end; } Error...so removed..and ip remained upon log off...bugged the script...dont use...
  2. set at here about the command settings conf/groups.conf the level refer to the gm groupd id that u configure in the mysql the inherit just allow the group to be able to use the command that already defined at the inherit group for the command part..just set the command to 'true' to enable the users with with level to use it
  3. 952
  4. It should be OR(||) or it wont work unless that person has 2 identity that exist in those 2 maps at the same time. ...check the script carefully.... he want to NOT apply to this 2 maps only..... quiz00 or quiz01 if he is out of these 2 map....the script will run... that's why.......... when u see the inside the script...separately... it is like this .@amap$ != "quiz_00" .@amap$ != "quiz_00" as you can can see here....he using "NOT EQUAL TO" ( != ) symbol so..when your script like this... if( .@amap$!="quiz_00" || .@amap$!="quiz_00" ) end; the code run like this.. if the character not located at quiz_00 OR not located at quit_01....then script stop so....your script will never run..because your char cant be at these 2 place at the same time... so you must use && and not || the correct 1 is this if( .@amap$!="quiz_00" && .@amap$!="quiz_00" ) end; if the char is not located at quiz_00 AND not located at quiz_01 ..the script will stop..
  5. below this line.... AtCommandInfo atcommand_info[] = { but you wont be able to use this way in rAthena SVN..because rAthena has changed... so this only work in eAthena / 3Ceam
  6. http://rathena.org/tools/diff_patcher.php?client=2010-08-03aRagexeRE
  7. 950
  8. 942
  9. 937
  10. 935
  11. Hello Lucian ~ welcome
  12. 929
  13. 927
  14. i think nope.... go try....
  15. what about post#14 ??
  16. sine you are just looking to prevent them from vending or open chatroom within the red rectangle you have drawn.. there is no need to write so much ..... - script Sample -1,{ OnInit: setcell "prontera",147,130,164,194,cell_novending,1; setcell "prontera",147,130,164,194,cell_novending,1; end; } @person.. please make use of codebox for long content ~
  17. 924
  18. 922
  19. read this... it will help you about the modification of @go @go
  20. 919
  21. are you missing the Default AI file ?? Defaul Homunculus AI Files
  22. 917
  23. Basic_Scripting Another similar script i made http://pastebin.com/raw.php?i=uPTNLFqT and please make sure you did read everything in those wiki or article or anything...
  24. ya i know that way....but...there is...too much Quest to be done if using this way xD just just trying to look for an easier way.. if we modify from NPC to NPC...it could take forever for me to edit..coz i am damn lazy hahaha besisde...for the SQL Alter... >.< i am suck in SQL.. anyway just let it be.. if someone have the idea / way to do so, please let me know~ xD
  25. 915
×
×
  • Create New...