i need to know about this creating a new map id

08/12/2013 09:05 marcbacor6666#1
i need to know about this creating a new map id.

what i did is: i created new map id from navicat

id mapdoc type weather
60000 1020 8192 0

now, the problem is, when i logout from the map 60000, when i login ill go back to twincity. any help i can get from the community?

bump
08/15/2013 15:37 marcbacor6666#2
bump, anyone have ideas?
08/15/2013 16:33 abdoumatrix#3
may be there is a code that send u to city as u log in from unknow maps.
08/15/2013 16:37 marcbacor6666#4
Quote:
Originally Posted by abdoumatrix View Post
may be there is a code that send u to city as u log in from unknow maps.
cool thanks for the info,

do u know how can i save client.Entity.PreviousMapID; when they enter into unknown map?

cause i tried to teleport to the new map , bat the PreviousMapID will not be updated to the new MapID where i teleported.
08/15/2013 22:02 pro4never#5
add it into your teleport code..

ideally you then use map status flags to determine if the new map allows 'record'. If not then you make them 'revive' on the previous map when they disconnect.

All of those things are handled by the map status flags. No combat, no resources (tg), no fly, no save, no scrolls, etcetc.
08/15/2013 22:39 shadowman123#6
well its Teleport Method which can be Called From anywhere but i guess its in SetLocation Void in PacketHandler.cs since its the void which check the Player Cords and then send them according to Their Previous Map
08/16/2013 02:53 marcbacor6666#7
thanks for the reply guys