Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 01:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement
Bitcoin Dice Game


Proper portal travelling

Discussion on Proper portal travelling within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2017
Posts: 30
Received Thanks: 0
Proper portal travelling

Hey guys,
first of all thanks to all of you who have contributed so much over the years.
I have been botting for a while and recently got into actually writing (very primitive) bots.

A current problem I have right now is that one of my bots runs through the portal, the area loads and it still tries to reach the last coordinate (the one to run through the portal) instead of moving on to the next line.

Another bot does that too, but the coordinate there seems to be set in a lucky way, so it isnt a big problem there.

Code:
moveto(-4211, 4280) ; through gate
waitmaploading()
now, i am sure this is a very ****** way to travel through a portal, so i was wondering if someone could tell me how to do that better. Sorry if this is too basic a question, i couldnt find an answer witht he search function.



wolf_of_the_north is offline  
Old 06/23/2020, 04:42   #2
 
elite*gold: 0
Join Date: Jul 2019
Posts: 69
Received Thanks: 36
Quote:
Originally Posted by wolf_of_the_north View Post
Hey guys,
first of all thanks to all of you who have contributed so much over the years.
I have been botting for a while and recently got into actually writing (very primitive) bots.

A current problem I have right now is that one of my bots runs through the portal, the area loads and it still tries to reach the last coordinate (the one to run through the portal) instead of moving on to the next line.

Another bot does that too, but the coordinate there seems to be set in a lucky way, so it isnt a big problem there.

Code:
moveto(-4211, 4280) ; through gate
waitmaploading()
now, i am sure this is a very shitty way to travel through a portal, so i was wondering if someone could tell me how to do that better. Sorry if this is too basic a question, i couldnt find an answer witht he search function.
Code:
MoveTo(x,y); in front of gate
Move(-4211, 4280) ; through gate
waitmaploading($mapid); waits until map is done rather than just the loading
The MoveTo function keeps repeating packets to move to the provided location. It can cause crashes or undefined behavior as your experience when going through a gate. Move function on the other hand is a one shot loading safe movement packet that doesn't repeat. So general idea is move to spot by gate, then call Move instead of MoveTo to actually enter the gate. Then you wait until the mapid changes rather than just a generic load state.


list comprehension is offline  
Thanks
1 User
Old 06/23/2020, 20:16   #3
 
elite*gold: 0
Join Date: Apr 2017
Posts: 30
Received Thanks: 0
Quote:
Originally Posted by list comprehension View Post
Code:
MoveTo(x,y); in front of gate
Move(-4211, 4280) ; through gate
waitmaploading($mapid); waits until map is done rather than just the loading
The MoveTo function keeps repeating packets to move to the provided location. It can cause crashes or undefined behavior as your experience when going through a gate. Move function on the other hand is a one shot loading safe movement packet that doesn't repeat. So general idea is move to spot by gate, then call Move instead of MoveTo to actually enter the gate. Then you wait until the mapid changes rather than just a generic load state.

So the Move function is amazing (lots of new functions that are hard to find when you don't knopw they exist) and pretty much solves my problem. what is very strange is that if i use waitloadmap() even with mapid, the problem comes back. so i will do some more testing, but for now it definitely works much better, thanks alot
wolf_of_the_north is offline  
Old 06/24/2020, 18:50   #4
 
elite*gold: 0
Join Date: Feb 2016
Posts: 43
Received Thanks: 31
I remember cocking that up on my first bot.

On a similar not I've recently built a separate function for maps which lack unique map ID's (DoA), I make use of the fact that the player's X&Y coordinates are temporarily zeroed when travelling between zones.
deroni93 is offline  
Reply



« Need help understanding GetRarity function | - »

Similar Threads Similar Threads
Verkaufe einen Steam Account mit Portal 1 und Portal 2
05/30/2011 - Steam Trading - 3 Replies
Hi verkaufe einen Steam Account mit Portal 1 und Portal 2 suche 30er psc edit : // bild folgt heute abend das mitm handy net klappt
Suche Portal 2 / Portal 2 Account für 1 Woche
05/02/2011 - Steam Trading - 3 Replies
Ich suche entweder einen Portal 2 Key für 30€ oder einen Steam Account mit Portal 2 und zahle dafür 15€ (25€ PSC Rest). Ich bezahle NACH ablauf der Zeit da ihr sonst einfach das Passwort ändern könnt. Mfg Ekto-Seller Bei Interesse freue ich mich über eine PN mit instant messenger daten.
[Guide] Portal to Portal Guide for Frozen Grotto 5
06/17/2010 - CO2 Guides & Templates - 13 Replies
Ok so i noticed you need to go to every single island on Frozen Grotto 5 to get to FG6, so I made a guide through the minimap :D It was a quick job but I hope it helps. save it over icecrypt-lev5.jpg Place this in ConquerOnline2.0>data>minimap Btw - Light Blue to Pink - the direction of the portals
[request] how to make any portal item to Crag Mine Field Portal
06/17/2008 - RF Online - 2 Replies
can any one make any portal item like, Armory 213 portal item, accretia HQ portal item to ->> crag mine field portal item.. it hard to go back to crag mine field when i got Disconnected from server..
TP scroll bug HQ portal to elan portal etc..
04/14/2008 - RF Online - 10 Replies
first must have bypass on rf to be able to use WPE 1. login to the game 2. alt tab open WPE 3. target to rfonline.bin then start logging 4. alt tab again to rf then use hq portal 5. back to wpe stop logging and search for packets that looks like this 06 00 04 1A 22 00 6.double click on filter 1 and copy the packets on the search 7.on the modify put 11 below 22ex.



All times are GMT +2. The time now is 01:56.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2020 elitepvpers All Rights Reserved.