Fixed "start_zones"
Hi,
if not already done, i've fixed the source code for "Start_zones and BindPoints". I've testet it for example with "all" Human Wizards possibilities and it works 100% so if any of the developers wants to save time, i would be glad to give out the code fixes.... Avatarius (bad english....i know :) PS: just forgot....it's for the newest CVS version of EQEmu |
Post the code diffs in this thread and we'll take a look at it..
Thanks |
CVS (Original) database.cpp -> Line 12815
Code:
if (RunQuery(query, MakeAnyLenString(&query, "SELECT x,y,z,zone_id FROM start_zones WHERE player_choice=%i and player_class=%i and player_deity=%i and player_race=%i", in_cc->start_zone, in_cc->class_, in_cc->deity, in_cc->race), errbuf, &result)) { Code:
if (mysql_num_rows(result) == 4) { Code:
if (RunQuery(query, MakeAnyLenString(&query, "SELECT x,y,z,zone_id,bind_id FROM start_zones WHERE player_choice=%i and player_class=%i and player_deity=%i and player_race=%i", in_cc->start_zone, in_cc->class_, in_cc->deity, in_cc->race), errbuf, &result)) { MYSQL Table for "start_zones" must be changed also: Code:
CREATE TABLE start_zones ( --kathgar: I added [CODE] tags |
ok 2 qestions.
1. will this be going into the release 2. if so, what does bind_id equal? |
This didnt make it into the 0.5.0 release, but we can add it for the next one.
What should bind_id equal? What will change this bind_id field when you have your character somewhere else, how does this value change? Initially , shouldnt all the bind id's be the same as the zone_ids? |
Quote:
|
worked that way in halas too.. now i remember..
|
freeport iirc you start by your class guild and then respawn just outside the gates
|
All times are GMT -4. The time now is 07:44 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.