XenoBot Forums - Powered by vBulletin

User Tag List

Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35

Thread: I Came From Windbot

  1. #11

    Join Date
    Jun 2013
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Adding another doubt: In "WB", I can use "islocation()" It will check if character is on that exactly sqm.. I use it after important ways like down stais.. After that I'll check if really is down.

  2. #12
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    WB needs islocation because it skips waypoints if you get stuck, XB doesnt unless you're on the wrong floor so you almost never need to do location checking.

  3. #13

    Join Date
    Jun 2013
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by shadowart View Post
    WB needs islocation because it skips waypoints if you get stuck, XB doesnt unless you're on the wrong floor so you almost never need to do location checking.
    In this case. If in wrong floor how I check it?

  4. #14
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    You can use Self.Position().z to check your z-coordinate. However, you don't need to do this after stuff like holes, ladders and stairs. Those waypoints are not going to fail. If you passed a rope waypoint you will always have managed to rope yourself up etc... Position checking are for when you custom lua code to move yourself around, like when you're opening and walking through a door.

  5. #15
    Senior Member Trykon's Avatar
    Join Date
    Nov 2014
    Location
    UK
    Posts
    952
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by duuhduuh View Post
    Yeah... Guess is easy to learn the basics.. Saw that you registered a event at the beginning and then it goes with if and elseif so it recognize each waypoint and do the action for each one. BUT... I case of server down. It will reopen bps or I'll have to do one "persistent" or a loop?
    This is done in Bollo's free lua script that is available to download on his thread, my doesnt do that... also Solid Scripts and Official Xeno scripts do that, dunno about shadowart but I bet his as well...
    All my full afk scripts are accessible at:
    My thread
    My store
    My project
    Looking for RL Tibia testers - RP and EK scripts for FREE. Link to info.

  6. #16

    Join Date
    Jun 2013
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Trykon View Post
    This is done in Bollo's free lua script that is available to download on his thread, my doesnt do that... also Solid Scripts and Official Xeno scripts do that, dunno about shadowart but I bet his as well...
    Well i'm creating something from 0. How my Walker know what .lua file im using?

  7. #17
    Senior Member Trykon's Avatar
    Join Date
    Nov 2014
    Location
    UK
    Posts
    952
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by duuhduuh View Post
    Well i'm creating something from 0. How my Walker know what .lua file im using?
    Instead creating label to reset or open bps you need module that will open them when they are closed. This will be loop that simply checks if given color bps are open (could be just check if main bp is open). This should stop the walker, close bps (in case you lost only one), open them and start the walker again.
    This is the function like registerevent or something, forgot that as I always copy and past this bit xD you can check it in the scripts, then if you have it you need to just execute this script in client using scripter
    All my full afk scripts are accessible at:
    My thread
    My store
    My project
    Looking for RL Tibia testers - RP and EK scripts for FREE. Link to info.

  8. #18

    Join Date
    Jun 2013
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Trykon View Post
    Instead creating label to reset or open bps you need module that will open them when they are closed. This will be loop that simply checks if given color bps are open (could be just check if main bp is open). This should stop the walker, close bps (in case you lost only one), open them and start the walker again.
    This is the function like registerevent or something, forgot that as I always copy and past this bit xD you can check it in the scripts, then if you have it you need to just execute this script in client using scripter
    First i`d like to thank you for helping me.. Second (kkk) i`m not familiar with Module. Do you have some example or any tutorial of it or just explain how it works?

  9. #19
    Senior Member Trykon's Avatar
    Join Date
    Nov 2014
    Location
    UK
    Posts
    952
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by duuhduuh View Post
    First i`d like to thank you for helping me.. Second (kkk) i`m not familiar with Module. Do you have some example or any tutorial of it or just explain how it works?
    It works like while loop through the whole script, but is not disrupting other scripts and modules... I use this for example to fill supply bps, refilling mana when no monsters on screen or ignore monsters when low ammo. Download my free rp 15+ ankrahmun tarpit tomb to see the structure. It is at the bottom of lua script
    All my full afk scripts are accessible at:
    My thread
    My store
    My project
    Looking for RL Tibia testers - RP and EK scripts for FREE. Link to info.

  10. #20

    Join Date
    Jun 2013
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks!

    Another one.. Now in Depositer.. I`ll explain how I do in Windbot:

    Action:
    01. Open MainBP

    02. Open LootBP (And keep going through all other bps inside with same color until no more bps available to open.. I mean he open the LootBP to the last one even if no more items on it..)

    03. Open Depot Chest

    04. Open ONE backpack inside Depot Chest with another 20 backpacks (2 stack and 18 non-stack)

    05. Then he goes through the loot backpacks from end to the begining one by one until it gets to the MainBP taking each loot for it respective category (a=stack b=nonstack)

    Any idea how I can do this? Remember i`m playing in OTSERVER and I don`t have the new depot chest (with 16 (?) other depot - 1 for each city inside)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •