Jump to content

noblesse

Members
  • Posts

    17
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1013 profile views

noblesse's Achievements

Santa Poring

Santa Poring (3/15)

  • Collaborator
  • First Post
  • Conversation Starter
  • Dedicated
  • Week One Done

Recent Badges

0

Reputation

  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. can you show how it is done in nemo
  13. Anyone able to solve this? Getting the same error :((
  14. 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?
  15. 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?
×
×
  • Create New...