Some help-

02/10/2010 17:20 -Shunsui-#1
Can someone help me out, iam having some trouble coding in 5165 so that if you are logged of in a sertain map when you login, you go to your previous map,

also can someone post the Dis City Correct Name with their Meches,
02/10/2010 18:56 ImmuneOne#2
Code:
if (Map == 1010)
 TeleportTo(PreviousMap, PreviousX, PreviousY);
02/10/2010 20:27 -Shunsui-#3
Quote:
Originally Posted by ImmuneOne View Post
Code:
if (Map == 1010)
 TeleportTo(PreviousMap, PreviousX, PreviousY);
ugh, i got that but i need help making check that hes offline, cause then hes just gona get teleported to prev map when hes at that map
02/10/2010 21:11 pro4never#4
Quote:
Originally Posted by -Shunsui- View Post
ugh, i got that but i need help making check that hes offline, cause then hes just gona get teleported to prev map when hes at that map
You do that code at login. When players are logging into the server you check if their map is a specific value and if so teleport them to the previous map.
02/11/2010 00:25 Arcо#5
If your talking 5165 then go to database.cs and go to
Code:
        public static Game.Character LoadCharacter(string Name, ref string Account)
Then go a little down and you'll see
Code:
                    C.Loaded = true;
Then under that do what p4n said.
02/11/2010 01:26 -Shunsui-#6
Quote:
Originally Posted by .Arco View Post
If your talking 5165 then go to database.cs and go to
Code:
        public static Game.Character LoadCharacter(string Name, ref string Account)
Then go a little down and you'll see
Code:
                    C.Loaded = true;
Then under that do what p4n said.
++++K for helping over tv, #Close