game teleporting portals

12/07/2011 22:35 2slam#1
i was wandring on how to creat portals to travel from a map to another instead of npcs , in 5165 there is a file as i remember called portals.txt , then how to make 'em on 5375 or higher ?
12/07/2011 22:37 Lateralus#2
It requires adding the information to the DMap in the client. That's the only way to get the client to send the "enter portal" subtype of packet 1010/10010. The complete DMap file structure is public as far as I know.
12/08/2011 02:49 pro4never#3
Quote:
Originally Posted by Lateralus View Post
It requires adding the information to the DMap in the client. That's the only way to get the client to send the "enter portal" subtype of packet 1010/10010. The complete DMap file structure is public as far as I know.
When I get on school break I'm prob gonna write more with my map editor. When I do I may as well write a tool to add portals for people.
12/08/2011 07:47 2slam#4
Quote:
Originally Posted by pro4never View Post
When I get on school break I'm prob gonna write more with my map editor. When I do I may as well write a tool to add portals for people.
waitin for a release
12/08/2011 07:47 Lateralus#5
Quote:
Originally Posted by pro4never View Post
When I get on school break I'm prob gonna write more with my map editor. When I do I may as well write a tool to add portals for people.
You shouldn't release it. :(

By the way, I'm not sure if adding the portal information to the DMap is sufficient to display the portal graphic. I've never tested it, but I'd assume it is. In addition to adding the portal information to the DMap, you also obviously need to handle the newly created portal in your server.
12/08/2011 17:19 |xabi|#6
also my Friend it's

go this Portals.ini

bin\Debug\database

and you'll find it
12/08/2011 17:25 2slam#7
Quote:
Original Posted By |xabi| :
also my Friend it's

go this Portals.ini

bin\Debug\database

and you'll find it
thanks so muc *_^

ops, i added the portals but no thing appeared !!

ops, i added the portals but no thing appeared !!