Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 10:28

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

Advertisement



[Request] A little information ;)

Discussion on [Request] A little information ;) within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2006
Posts: 50
Received Thanks: 69
[Request] A little information ;)

1. Advance Zone second map

Eh, I'm having problems finding it . (The one with Basilisks) it should be map 1217 but it is neither referred to -outside of the monster spawn db- nor can I find any instance of it in the game files, TQ release or otherwise. So how are you suppose to get to it O.o. The map that is currently set as AZ is very small with no spawns and no portals (1017) and most definitely isn't the correct one.

2. A quick example for storing values

Since I'm obviously new to C >.>. I am native to java so, while I know how it works and have a vague idea of how I want it set up, I'm not sure how to code it exactly.
What I want to do is set a specific map for each Boxer and Conductress so that when they are used, it stores the map ID and a set of coords as a variable and I can return to that location from the training grounds or market with something like
"Teleport(variable,0, CSocket);"
or
if variable =
Teleport(map,co,ord, 0, CSocket);
velorian is offline  
Old 06/15/2009, 06:32   #2
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
@1
/gmove 1214 500 500

Map ID is 1214

@2
Make an int in the Entities/Character.cs, set it to
Code:
(int)CSocket.Client.Map;
every time you move to a new map (Scrolls, GC, etc. Just modify the teleport function to set it.) Then just refer to it later, i.e. you named it LastMap, Teleport(CSocket.Client.LastMap, X, Y, CSocket);
Zeroxelli is offline  
Old 06/15/2009, 07:20   #3
 
elite*gold: 0
Join Date: Jan 2006
Posts: 50
Received Thanks: 69
Wouldn't that still return to a single set of co-ords though (a set determined by the npc instead of a variable)? It kept returning case errors too >.<

So I did things my half-assed long way, based on what you gave me
Add public ints:
Code:
public int LastMap;
public int Xc;
public int Yc;
Each conductress/boxer gets something like:
Code:
CSocket.Client.LastMap = 1002;CSocket.Client.Xc = 439;CSocket.Client.Yc = 390;
and any return npc gets the same thing regardless of which it is:
Code:
Teleport(Csocket.Client.LastMap,CSocket.Client.Xc,CSocket.Client.Yc, 0, CSocket);

I feel you had a shorter way though xD

Edit: on the AZ map bit, I checked that one earlier too but it's still not the one I was looking for T.T. I suppose the one I'm thinking of could be considered AZ 1 or 2 depending on which direction you're going. The one I want has one bridge at the diagonal with SeniorSerpents and something else on one side and Basilisks and AlienSerpents on the other. It's one map away from 1214 but I can't find it >.<
velorian is offline  
Old 06/15/2009, 07:26   #4
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
Code:
public Dictionary<string, int> LastMap = new Dictionary<string, int>();
//...
CSocket.LastMap.Clear();
CSocket.LastMap.Add("map", (int)CSocket.Client.Map);
CSocket.LastMap.Add("x", CSocket.Client.X);
CSocket.LastMap.Add("y", CSocket.Client.Y);
//...
Teleport(CSocket.LastMap["map"], CSocket.LastMap["x"], CSocket.LastMap["y"], CSocket);
I just wrote that now, likely an easier way but that's the easiest I can think of in 10 seconds.

EDIT: Come to think of it;
Code:
public List<int> LastMap = new List<int>();
//...
CSocket.Client.LastMap = new List<int>(){(int)CSocket.Client.Map, CSocket.Client.X, CSocket.Client.Y};
//...
Teleport(CSocket.Client.LastMap[0], CSocket.Client.LastMap[1], CSocket.Client.LastMap[2], CSocket);
Zeroxelli is offline  
Old 06/15/2009, 20:58   #5
 
andyd123's Avatar
 
elite*gold: 20
Join Date: Apr 2006
Posts: 1,341
Received Thanks: 886
To answer your question,

the basi/serp/alienserp map is what is called an instanced/dynamic map.
It is a copy of the AC2 map, given an instanced/dynamic ID of 1217.

You'll have to setup a system like that for your server if you want to include access to those maps.
andyd123 is offline  
Old 06/15/2009, 23:26   #6
 
elite*gold: 0
Join Date: Jan 2006
Posts: 50
Received Thanks: 69
Quote:
Originally Posted by andyd123 View Post
To answer your question,

the basi/serp/alienserp map is what is called an instanced/dynamic map.
It is a copy of the AC2 map, given an instanced/dynamic ID of 1217.

You'll have to setup a system like that for your server if you want to include access to those maps.
Mmmm... would be easier to move the spawns
Oh well.
velorian is offline  
Reply


Similar Threads Similar Threads
[request] maps information/data
05/25/2010 - Nostale - 0 Replies
need information of current map - all about static objects on map- trees,buildings etc; structure of map data or hint how to find this info need unpacker/uncrypter for *.nos files
*REQUEST* How to get information of another PC
05/14/2009 - Tutorials - 2 Replies
Hey, I am trying to get information of one of the computers in my school where i can get some of the exams and stuff!! I already used a keykatcher (Device that i connected on the PC and i already got the PASSWORD for the computer account!) Computers in my schools are connected to a server, where u need to put a login and a password to LOGIN, everyone have a login but each person have acces JUST to their folders and not to others. Is there anyway i can acces to a folder that i dont have the...
[Request]Information about packets
09/28/2008 - CO2 Private Server - 21 Replies
Hi guys. I`m asking this question now : How can I search for new packets and implement it in my server? As I`d like to implement the rain stuff in my server, I`d need this information. Any useful information, or maybe some links or tutorial would make me really happy xD Cheers, ElDeRnEcRo
Lab4 Boss information request
03/09/2006 - Conquer Online 2 - 4 Replies
I've heard that the lab4 boss spawns like 3 times a day, is this true? What are the lab4 boss spawn coordinates? I only currently know lab1/3 boss spawn coordinates. You wont find me camping the boss spawn if you tell me, because i play on the dead test server, and I wont camp it anyway I'll just check for it every now and then. So, I'm wondering two things, how often does it actually spawn, and what are its coordinates?



All times are GMT +2. The time now is 10:28.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.