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. |
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); |
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); |
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 :) |
ill give it a try. thanks :lol:
|
haha, the same post, in 2 minutes.
|
hmmm i put in nexus and they all seem to be starting in qeynos...
|
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.