DB change error 1062
Attempting to use command prompt to edit a database table column. I entered this -
Code:
UPDATE char_create_combinations SET start_zone = 58; Quote:
This just a syntax error or am I way off track? Thanks in advance! |
which record are you trying to set the start_zone to 58 on? all of them?
|
This happens because there are multiple entries for the same class and race, due to multiple deities, I've tried this as well, never found a work around, but if you set it for the majority, most people will start in the start, you could disable all deities except for one if necessary.
|
you could use a script to move everyone to the zone you want them to start in as a work around. it's not an ideal solution, because they'd zone twice when they first enter the world, but then you could bind them.
|
c0ncrete,
Aye, I was trying to edit the char_create_combinations tables. Wanting to ensure all people start in zone 58. Could a script be used to catch the ones that fall through the cracks instead of being the default? I could set all to 58 except duplicates, and then set the few odd balls to zone_B - and make the script just on zone_B.. say the tutorial zone. Thanks! |
yeah. that'd work. just use the global player script in templates to check for a gqglobal that you set the first time anyone logs in. if the qgloabl isn't set and they're in another zone, move them, bind them, and set a permanent qglobal so it doesn't ever move them again. you'd want to set the qglobal for everyone else when they first log in as well, there would just be no need to move them.
|
Interesting, I've never worked with qglobal. I'll have to try and figure this out.
Thanks! |
you can change the start zone in variables also, make entry StartZone then zone short name, For zone 58 would be varname-Startzone, value- crushbone
|
All times are GMT -4. The time now is 09:00 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.