Jump to content

noblesse

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by noblesse

  1. @Winterfox Is it not possible to have the event trigger my script like mob search in the area after reaching the destination? getmapxy .@m$,.@x,.@y,BL_PC; getfreecell .@m$,.@to_x,.@to_y,.@x,.@y,10,10; unitwalk getcharid(3),.@to_x,.@to_y,"Walk::OnDest"; dispbottom "continue script"; OnDest: dispbottom "event label triggered"; This is my sample code, the problem is it didn't skip the "continue script" part. It just run continuously.
  2. Hi @tote thank you. but is it possible to run it on using areamobuseskill?
  3. Hello, how do you use NPC_METAMORPHOSIS to transform them to a specific mob? Like Thief Bug to Golden Thief Bug
  4. Hello, I am using unitwalk and it is indeed walking, but the problem is I am always getting this warning [Warning]: buildin_unitwalk: Unit has already been forced to walk and not reached it's destination yet. [Warning]: Script command 'unitwalk' returned failure. I can't even make the event label work "unitwalk <GID>,<x>,<y>{,"<event label>"};" Does anyone have a successful unitwalk with an event label?
  5. @crazyarashi just a question, how does the event label works in unitwalk. Tried it have but the event didn't trigger.
  6. Thank you so much @crazyarashi I just modified a bit of the script on dispbottom for steps checking and continuous attack. I am adding the detachrid inside the for loop before that's why I am not getting it right. - script test_bot -1,{ OnInit: bindatcmd "testsc",strnpcinfo(3) + "::OnAtcommand"; end; OnAtcommand: if (getgroupid() > 90) { getmapxy(.@m$,.@x0,.@y0,BL_PC); .@plusx = .@x0 + 5; .@plusy = .@y0 + 5; .@minx = .@x0 - 5; .@miny = .@y0 - 5; dispbottom .@m$ + " " + .@x0 + " " + .@y0; .@num = getareaunits(BL_MOB,.@m$,.@plusx,.@plusy,.@minx,.@miny,.@array[0]); dispbottom "1"; .@gid = getcharid(3); .@cid = getcharid(0); detachrid; dispbottom "the number of Monsters in Prontera in that Coordinates is " + .@num + " .",0x00FF00,.@cid; dispbottom "list of Monsters GID :",0x00FF00,.@cid; freeloop(1); // for if the list was too big. for(.@i=0;.@i<getarraysize(.@array);.@i++) { dispbottom (.@i + 1) + " " + .@array[.@i],0x00FF00,.@cid; //unitskilluseid getcharid(3),"WL_JACKFROST",5,getcharid(3),-4; unitattack .@gid,.@array[.@i],1; } freeloop(0); dispbottom "end",0x00FF00,.@cid; end; } else { dispbottom "Currently for testing only."; end; } }
  7. Hello, I am trying to use the unitattack command to a player using bindatcmd. Unfortunately, I can't make it work. I can get the GID of the mob that is close to my character. Can anyone help me please? Thanks! - script test_bot -1,{ OnInit: bindatcmd "testsc",strnpcinfo(3) + "::OnAtcommand"; end; OnAtcommand: if (getgroupid() > 90) { getmapxy(.@m$,.@x0,.@y0,BL_PC); .@plusx = .@x0 + 5; .@plusy = .@y0 + 5; .@minx = .@x0 - 5; .@miny = .@y0 - 5; dispbottom .@m$ + " " + .@x0 + " " + .@y0; .@num = getareaunits(BL_MOB,.@m$,.@plusx,.@plusy,.@minx,.@miny,.@array[0]); dispbottom "the number of Monsters in Prontera in that Coordinates is " + .@num + " ."; dispbottom "list of Monsters GID :"; freeloop(1); // for if the list was too big. for(.@i=0;.@i<getarraysize(.@array);.@i++) { dispbottom (.@i + 1) + " " + .@array[.@i]; //unitskilluseid getcharid(3),"WL_JACKFROST",5,getcharid(3),-4; unitattack getcharid(3),.@array[.@i]; unitattack 0,.@array[.@i]; } freeloop(0); dispbottom "end"; end; } else { dispbottom "Currently for testing only."; end; } }
  8. I tried but it is not working, i just changed the amount of required
  9. anyone has the working version for latest rathena?
  10. is there a way to reload the item_enchant.yml without restarting the server?
  11. +1 on this. I saw an instance id already for constellation tower but cannot find any script
  12. Anyone able to solve this? Getting the same error :((
  13. Hi, Whenever someone will try to whisper a player, the one who will receive the whisper will have their RO close. Can you help me with this issue please?
  14. Hi, Whenever I tried to whisper someone, yung makaka receive ng whisper is nag cloclose yung RO nila. Any suggestion po kung san possible error?
  15. noblesse

    GM Sprite

    We already figured it out. thanks
  16. noblesse

    GM Sprite

    Hi Guys, I dont know if I'm posting in the right place. But I just want to ask your help, I currently added a account as group_id of 99 and added his accounti id in clientinfo.xml <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <servicetype>korea</servicetype> <servertype>primary</servertype> <connection> <display>x</display> <balloon>x</balloon> <desc>x</desc> <address>x</address> <port>x</port> <version>x</version> <langtype>0</langtype> <registrationweb>x</registrationweb> <yellow> <aid> <admin>2000000</admin> <admin>2000074</admin> </aid> </yellow> </connection> </clientinfo> Now, we tried to re-patch and restart the server but the newly added account is still not using GM spirte Please note that I have 2 GRFS, should i try to update both clientinfo in the 2 grfs?
×
×
  • Create New...