EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=616)
-   -   changing starting zones. (https://www.eqemulator.org/forums/showthread.php?t=13191)

Cripp 04-18-2004 05:31 AM

changing starting zones.
 
Hey, im havin a little trouble changing the starting zones. i changed the source in database.cpp to...

end += sprintf(end, "UPDATE character_ SET timelaston=0,guild=0, zonename=\'nexus\', x=0, y=0, z=-30, profile=\'", 152, 0, 0, -30);

compiled.. but it still doesnt seem to be working.

any help would be awsome.
thanks:)

PS: i also changed all the start_zones tables in the DB.

Cripp 04-18-2004 05:38 AM

would i perhaps change it like this?..

end += sprintf(end, "UPDATE character_ SET timelaston=unix_timestamp(now()),name=\'%s\', zonename=\'nexus\', zoneid=152, x = 0, y = 0, z = -30, profile=\'", pp->name, GetZoneName(current_zone), current_zone, pp->x, pp->y, pp->z);

KhaN 04-18-2004 05:50 AM

I dont know if its that you want to make, but if its set start zone for all players, you can add a variable to your DB

Code:

INSERT INTO variables (varname, value, information, ts) VALUES ('startzone', 'NEXUS', '', NULL);

Liscadipesce 04-18-2004 05:52 AM

Are you trying to make a starting zone for everyone? Cause their is a much easier way. In your variables table, create a new row.

varname = startzone
value = zoneshortname
information = Default Starting Zone
ts = 00000000000000

Hope that helps :)

Cripp 04-18-2004 05:55 AM

ill give it a try. thanks :lol:

Liscadipesce 04-18-2004 05:57 AM

haha, the same post, in 2 minutes.

Cripp 04-18-2004 06:01 AM

hmmm i put in nexus and they all seem to be starting in qeynos...

Cripp 04-18-2004 06:11 AM

NM it works woot thanks alot guys :D :D :D :D :D :!:


All times are GMT -4. The time now is 11:24 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.