Register for your free account! | Forgot your password?

You last visited: Today at 17:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Some help-

Discussion on Some help- within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Some help-

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,
-Shunsui- is offline  
Old 02/10/2010, 18:56   #2
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
Code:
if (Map == 1010)
 TeleportTo(PreviousMap, PreviousX, PreviousY);
ImmuneOne is offline  
Old 02/10/2010, 20:27   #3
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
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
-Shunsui- is offline  
Old 02/10/2010, 21:11   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
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.
pro4never is offline  
Thanks
1 User
Old 02/11/2010, 00:25   #5
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,785
Received Thanks: 5,304
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.
Arcо is offline  
Thanks
1 User
Old 02/11/2010, 01:26   #6
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
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
-Shunsui- is offline  
Reply




All times are GMT +1. The time now is 17:15.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.