Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-2002, 05:18 PM
Wynsom
Sarnak
 
Join Date: Oct 2002
Posts: 36
Default Start Locs and Races in source?

I have been searching the source for the starting locs and races but i havent found it. I want to move all the start locs to the same zone. Any tips?

Thanks
Reply With Quote
  #2  
Old 10-12-2002, 11:33 PM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default

Client coded. Only way to do this would be to insert your own one-time code in the login packets.
Reply With Quote
  #3  
Old 10-13-2002, 05:30 AM
Wynsom
Sarnak
 
Join Date: Oct 2002
Posts: 36
Default

wierd, i thought it was hard coded because at one point, all characters started in qeynos, and the fact some of the locs now are still off, like in west freeport for instance.
Reply With Quote
  #4  
Old 10-13-2002, 07:50 AM
devn00b's Avatar
devn00b
Demi-God
 
Join Date: Jan 2002
Posts: 15,658
Default

last i checked starting zones where configued via database..client will say when the char is made you are in whatever zone but when you log you will be in whatever zone...

Malv used to have somthing like this for a bit if i recall.
__________________
(Former)Senior EQEMu Developer
GuildWars Co-Founder / World Builder.
World Builder and Co-Founder Zek [PVP/Guild Wars/City Takeovers]
Member of the "I hate devn00b" Club
Most Senior EQEMu Member.

Current Work: EverQuest 2 Emulator. Zeklabs Server
Reply With Quote
  #5  
Old 10-13-2002, 09:54 AM
DeletedUser
Fire Beetle
 
Join Date: Sep 2002
Posts: 0
Default

starting_points in DB :P
Reply With Quote
  #6  
Old 10-13-2002, 10:47 PM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default

Blah. :p

I was told they were client hardcoded in chat back when I asked this. /grumble
Reply With Quote
  #7  
Old 10-21-2002, 03:54 AM
kunta
Sarnak
 
Join Date: Sep 2002
Posts: 83
Default

I looked through all the db tables, and couldnt find where the starting_points was. Is it supposed to be its own table? Sorry if I just missed it, but could someone tell me where it is?
Reply With Quote
  #8  
Old 10-22-2002, 02:46 AM
Xarslik
Hill Giant
 
Join Date: Oct 2002
Location: System.Web
Posts: 107
Default

It IS hard coded, actually.

I just checked the code in database.cpp, under Database::CreateCharacter, this line:

"sprintf(end, "UPDATE character_ SET zonename=\'%s\', x = %f, y = %f, z = %f, profile=", GetZoneName(pp->current_zone), pp->x, pp->y, pp->z);"

GetZoneName(pp->current_zone) is getting the zone selected during creation (which is contained in the PlayerProfile struct), and appending it to the SQL Query. Which in turn sets the starting zone to that result. I commented out the line and replaced it with "arena", and sure enough - started in the arena.

Possibly later I'll write a small method to retrieve it from a table in the database instead.
__________________
~ Xarslik
[ Xarslik's Arena Challenge Server ]
Reply With Quote
  #9  
Old 10-22-2002, 02:48 AM
DeletedUser
Fire Beetle
 
Join Date: Sep 2002
Posts: 0
Default

The client takes care of the starting locations... Server can change them if needed.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:20 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3