Portals ?

05/19/2013 12:46 tariqx111#1
hi epvp,

I have question about how to get the portals in a map,
I can get the portals using DMap but i can't get the destination map and X,Y,
The question : Can i get the destination cords automaticlly ?
05/19/2013 12:53 InfamousNoone#2
no, you have to map them out yourself, had the client actually had knowledge of where you were suppose to go, this would be easily exploitable (the server trusting the client) and you wouldn't be able to do cool things like dynamic portals
05/19/2013 12:59 tariqx111#3
Quote:
Originally Posted by InfamousNoone View Post
no, you have to map them out yourself, had the client actually had knowledge of where you were suppose to go, this would be easily exploitable (the server trusting the client) and you wouldn't be able to do cool things like dynamic portals
Heh understand,
mods please close this
question answered.
05/19/2013 13:02 GalaxyOne#4
I have this Problem too.
05/19/2013 15:43 tariqx111#5
i solved the problem,
when client send use portal packet i will set( bool SaveNextPortal ) to True and (Point Portal) to current pos and (int PortalMapID) to current map
after server sends Teleport data packet if(savenextportal == true && notsavedportal) save the new map and point + save the old map and point into portals.ini

now i will enter the portal's and the bot will save it automaticlly.
05/19/2013 20:24 pro4never#6
Keep in mind that portal IDs are on a per map basis.

I believe TQ uses a portal entrance table to map out every map/x/y/portalID/transitID as well as a route table to map out each route including frommap/fromx/fromy/tomap/tox/toy
05/20/2013 00:32 tariqx111#7
Quote:
Originally Posted by pro4never View Post
Keep in mind that portal IDs are on a per map basis.

I believe TQ uses a portal entrance table to map out every map/x/y/portalID/transitID as well as a route table to map out each route including frommap/fromx/fromy/tomap/tox/toy
yeah but this table is server side,i can get fromx/y/map from DMaps but i can't get tox/y/map cause this is server side and normal player dont need this,,, i solved the problem (in previous reply).
05/20/2013 02:50 Super Aids#8
You could make a proxy that travels to every single portal and then log the destination from the server.
05/20/2013 02:51 Spirited#9
You could also make use of TQ's database that was leaked back around patch 5065. It should have the basic portals that you'll need to get started.
05/20/2013 06:57 tariqx111#10
Quote:
Originally Posted by Super Aids View Post
You could make a proxy that travels to every single portal and then log the destination from the server.
yeah i know, see my previous replies.