Register for your free account! | Forgot your password?

You last visited: Today at 15:59

  • 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
 
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
 
elite*gold: 0
Join Date: Nov 2009
Posts: 745
Received Thanks: 539
Code:
if (Map == 1010)
 TeleportTo(PreviousMap, PreviousX, PreviousY);


ImmuneOne is offline  
Old 02/10/2010, 20:27   #3
 
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,347
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
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,276
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
 
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



« [REQUEST] 5165+ Source | PvP Server Suggestion... »



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


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

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