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 ?
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
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.
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.
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
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).
Cubrick Portals 06/26/2012 - Rappelz Private Server - 10 Replies Please help, need fix on portals in the cubrick dungeon
Portals 68-74 05/15/2012 - Shaiya PServer Development - 31 Replies (yet another portal thread, but several threads deal with this issue, so the easier reply is a new one).
I recently read:
<<getting very frustrated with all the fake Cant get into any of the 68-73 portals >>
and OOH:
<<Working dungeon Dimensions Passage (and no info of course)>>
I'm personally not frustrated but a bit disappointed by posts as useless as the second one.
but at the same time, weep not get an answer when one doesn't make the effort to 1) try himself, then 2) ask a...
portals darkorbit 09/05/2010 - DarkOrbit - 6 Replies + there is no boot that makes portals? all ko?
Problem mit portals 07/09/2010 - Metin2 Private Server - 6 Replies warum geht bei mir portal nicht aber wenn ich mich OT
Porte
geht ot nur zurück map1 durch portal kann nicht durch bitte um hillfe
[HELP]Portals 09/27/2008 - CO2 Private Server - 8 Replies How can u make custom portals? Just need a point in the right direction to start
Custom portals i mean adding portals any were not editing portals that are
already on the map