Register for your free account! | Forgot your password?

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

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

Advertisement



Spawning character at log in

Discussion on Spawning character at log in within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2011
Posts: 84
Received Thanks: 2
Spawning character at log in

Hello, does anyone know where is the teleport code written where people are sent by when they log in? (in 12Tails source)
I mean like
Code:
client.Entity.Teleport(1002, 386, 395);
I want the characters to be spawned/teleported in Birth Village so they will talk to a NPC telling them they want to be teleported to Twin City.
I tried searching for (with exactly the right coords where the char spawns in Twin City but I can't find it)
Code:
client.Entity.Teleport(1002, 386, 395);
I mean if I will modify the code to
Code:
client.Entity.Teleport(1030, 70, 100);
it will send all new characters to Birth Village.
BUT I CAN'T FIND WHERE.
Thanks!
HerpDerpNigga is offline  
Old 07/26/2011, 14:28   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 84
Received Thanks: 2
i know, that was only a random ID, i just don't know WHERE is the code located in 12Tails source, the code that spawns/sends your NEW CHARACTER in Twin City, I want to change this, I want to be spawned/sent to Birth Village, but I CAN'T find the code, I know its something like:
Code:
client.Entity.Teleport(1002, 389, 368);
.

12Tails, please help me!
HerpDerpNigga is offline  
Old 07/26/2011, 14:47   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Check the database to see the default values. I know my source simply used a default value when you inserted a new character to the database to set its Map/X/Y and some other values to a pre-set value.

The easiest way is just track through the character creation code. Find it (if you need to ask how... do a bit of reading before you continue with coding... Just do some simple searches related to the subject inside the source. You'll find it). Then follow each method as they are executed. Sooner or later you will find a section where the position is being set/changed before the character is completely logged in.
pro4never is offline  
Thanks
1 User
Old 07/26/2011, 18:23   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,205
Received Thanks: 4,107
Quote:
Originally Posted by HerpDerpNigga View Post
i know, that was only a random ID, i just don't know WHERE is the code located in 12Tails source, the code that spawns/sends your NEW CHARACTER in Twin City, I want to change this, I want to be spawned/sent to Birth Village, but I CAN'T find the code, I know its something like:
Code:
client.Entity.Teleport(1002, 389, 368);
.

12Tails, please help me!
Open your database in Navicat or whatever, change the default values for the Map, X, and Y to be what you want. Done.
Spirited is offline  
Thanks
1 User
Old 07/26/2011, 21:38   #5
 
elite*gold: 0
Join Date: May 2011
Posts: 84
Received Thanks: 2
Thanks both of you!
I got it!
HerpDerpNigga is offline  
Reply


Similar Threads Similar Threads
Mob Spawning
01/02/2016 - Cabal Private Server - 5 Replies
Hello communty, Can one tell me how I can create in the game mobs. wenns goes with the id's Thanks in advance than in! MFG: <ZeroCool> GERMAN: Hallo kann mir vielleicht einer sagen wie ich im game mob spawne? und hat vielleicht jemand die idīs Danke als im vorraus."!"
Spawning Character Items 5361
02/11/2011 - CO2 Private Server - 25 Replies
Problem solved, Thank you everybody #request close
[HELP]Spawning a NPC
05/24/2010 - CO2 Private Server - 3 Replies
Hey guys I was wondering if you can help me to spawn a single NPC like this... I'm using LOTF 5017... I'm trying to add Blue Mouse Quest and spawn the Blue Mouses.... What I know: Spawn the mob(s) at a certain time after click. What I don't know:
Db spawning????
03/17/2008 - Conquer Online 2 - 2 Replies
Hi! I have 117 archer on eagle server, and i want to know , when the db spawns and what places ( min maks, thunder apes, sand elfs etc.) When is the server maintenances and how many hours i need to wait for db spawn on the right place:) Waiting for replies. Thank you.



All times are GMT +1. The time now is 10:48.


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.