Jump to content
  • 0

[Zero Alpha] expected mangos client build


stantom

Question

Hi

i need help with some problem. Just want check something for testing, allow wow 5666 build log to my server ( zero core for wow 5875).

I have changed in src/game/sharedDefines.h:

#define EXPECTED_MANGOSD_CLIENT_BUILD {5875,5666, 0}

then i compiled it.

5875 logins nice, but when i try login with 5666 wow it says that is wrong wersion.

So thats my question how to allow login with this build, is there more version check in core ?

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

Unfortunately I can't compile a core to test at this time, I need to backup my files and wipe my desktop, sorry. I can however look through the server files to see if there is another check, but I believe there is a check in your realmlist database for client version, but I haven't dealt with MaNGOS in a long time. Sorry I can't be much help.

Link to comment
Share on other sites

AuthSocket.cpp

RealmList.cpp

and

sharedDefines.h:

+ dbc struc etc need to update

Just asking, because i'd like to allow support tbc alpha 5666, how much ist complicated, is that take lot of work for begginer ?

i have copared AuthSocket.cpp zero and one core - looks same line to line.

in RealmList.cpp are listed client builds, if i addd new "case" line with 5666, does realmd allow to connect with client ?

i think it will be problem with DBC, compared dbc's 5875 and 5666, most of them are identical, but some not, (some have more colums). Is very complicated DBC supporting ?

Thanks Stan

Link to comment
Share on other sites

AuthSocket.cpp

RealmList.cpp

and

sharedDefines.h:

+ dbc struc etc need to update

Just asking, because i'd like to allow support tbc alpha 5666, how much ist complicated, is that take lot of work for begginer ?

i have copared AuthSocket.cpp zero and one core - looks same line to line.

in RealmList.cpp are listed client builds, if i addd new "case" line with 5666, does realmd allow to connect with client ?

i think it will be problem with DBC, compared dbc's 5875 and 5666, most of them are identical, but some not, (some have more colums). Is very complicated DBC supporting ?

Thanks Stan

can you pls tell me what version is bulid 5666 i think its not 1.12.1 so what version is this 1.11.0 ?

Link to comment
Share on other sites

AuthSocket.cpp

RealmList.cpp

and

sharedDefines.h:

+ dbc struc etc need to update

Just asking, because i'd like to allow support tbc alpha 5666, how much ist complicated, is that take lot of work for begginer ?

i have copared AuthSocket.cpp zero and one core - looks same line to line.

in RealmList.cpp are listed client builds, if i addd new "case" line with 5666, does realmd allow to connect with client ?

i think it will be problem with DBC, compared dbc's 5875 and 5666, most of them are identical, but some not, (some have more colums). Is very complicated DBC supporting ?

Thanks Stan

can you pls tell me what version is bulid 5666 i think its not 1.12.1 so what version is this 1.11.0 ?

it is TBC early alpha (on login screen shows version 2.0.0 5666), ingame is almost same with 1.12, even objects m2 and wmo models are compatybile with 1.12.

in my oppinion this alpha version is more compatybile with 1.12 than 2.x.x so i decided to use zerocore, (dont care about tbc content just need working draeneis and belves), and i'd like to keep vanilla content much as possible.

Edit 17:10

after coming home, i did above changes in realmlist.cpp and authsocket, compiled... and it works :) logged to realm and entered word full of cubes instead of npc's :D probably database or dbc is not comaptybile.

Thanks for suggestion with those files Salia.

now i must figure what to do with those cubes :)

thanks Stan

thanks Stan

Link to comment
Share on other sites

Hi

I created new maps, vmaps and dbc. After running mangosd i recevied :

2013-02-04 18:22:18 MaNGOS Zero/ (* * Revision 2244 - *) for Linux_x32 (little-endian) [world-daemon]

2013-02-04 18:22:18 <Ctrl-C> to stop.

2013-02-04 18:22:18

MM MM MM MM MMMMM MMMM MMMMM

MM MM MM MM MMM MMM MM MM MMM MMM

MMM MMM MMM MM MMM MMM MM MM MMM

MM M MM MMMM MM MMM MM MM MMM

MM M MM MMMMM MM MMMM MMM MM MM MMM

MM M MM M MMM MM MMM MMMMMMM MM MM MMM

MM MM MMM MM MM MM MMM MM MM MMM

MM MM MMMMMMM MM MM MMM MMM MM MM MMM MMM

MM MM MM MMM MM MM MMMMMM MMMM MMMMM

MM MMM http://getmangos.eu

MMMMMM

2013-02-04 18:22:18 Using configuration file /home/tomek/mangos-server/etc/mangosd.conf.

2013-02-04 18:22:18 World Database total connections: 2

2013-02-04 18:22:18 MySQL client library: 5.5.29

2013-02-04 18:22:18 MySQL server ver: 5.5.29-0ubuntu0.12.04.1

2013-02-04 18:22:18 MySQL client library: 5.5.29

2013-02-04 18:22:18 MySQL server ver: 5.5.29-0ubuntu0.12.04.1

2013-02-04 18:22:18 Character Database total connections: 2

2013-02-04 18:22:18 MySQL client library: 5.5.29

2013-02-04 18:22:18 MySQL server ver: 5.5.29-0ubuntu0.12.04.1

2013-02-04 18:22:18 MySQL client library: 5.5.29

2013-02-04 18:22:18 MySQL server ver: 5.5.29-0ubuntu0.12.04.1

2013-02-04 18:22:18 Login Database total connections: 2

2013-02-04 18:22:18 MySQL client library: 5.5.29

2013-02-04 18:22:18 MySQL server ver: 5.5.29-0ubuntu0.12.04.1

2013-02-04 18:22:18 MySQL client library: 5.5.29

2013-02-04 18:22:18 MySQL server ver: 5.5.29-0ubuntu0.12.04.1

2013-02-04 18:22:18 Realm running as realm ID 1

2013-02-04 18:22:18 Using World DB: ZeroDatabase 2.0.1 for MaNGOSZero z2244+ and ScriptDevZero z2633+

2013-02-04 18:22:18 Using creature EventAI: MaNGOSZero Artificial Creature Intelligence Database

2013-02-04 18:22:18 Using DataDir ./

2013-02-04 18:22:18 WORLD: VMap support included. LineOfSight:1, getHeight:1, indoorCheck:1

2013-02-04 18:22:18 WORLD: VMap data directory is: ./vmaps

2013-02-04 18:22:18 WORLD: mmap pathfinding disabled

2013-02-04 18:22:18 ERROR:MODS: Unable to open configuration file. Configuration values will use default.

2013-02-04 18:22:18

2013-02-04 18:22:18 Loading MaNGOS strings...

2013-02-04 18:22:18

2013-02-04 18:22:18 >> Loaded 798 MaNGOS strings from table mangos_string

2013-02-04 18:22:18 Initialize data stores...

2013-02-04 18:22:18 ERROR:

Some required *.dbc files (7 from 50) not found or not compatible:

./dbc/AreaTable.dbc (exist, but have 26 fields instead 25) Wrong client version DBC file?

./dbc/ChrRaces.dbc (exist, but have 26 fields instead 29) Wrong client version DBC file?

./dbc/Map.dbc (exist, but have 69 fields instead 42) Wrong client version DBC file?

./dbc/Spell.dbc (exist, but have 175 fields instead 173) Wrong client version DBC file?

./dbc/SpellItemEnchantment.dbc (exist, but have 26 fields instead 24) Wrong client version DBC file?

./dbc/SpellShapeshiftForm.dbc (exist, but have 15 fields instead 14) Wrong client version DBC file?

./dbc/WorldMapArea.dbc (exist, but have 9 fields instead 8) Wrong client version DBC file?

There are 7 dbc's of 50 with difference

I did small ivestigation, compared listed dbc's, and realized that they isn't much different, for example:

areatable.dbc in 1.12.1 has 25 columns - alpha tbc got 26 ; 1-25 are the same on last 26th colum is always 1007026176

map.dbc in 1.12.1 has 42 columns -alpha tbc got 45 (1-42 + 3 additional named 51;60;69) last 3 always have 1507340

after analysis i found that (probably :) ) DBCfmt.h keeps how long each dbc is should be. Does it mean if i add a "X" at the end niiiixxxxxissssssssxixxxi of line const char AreaTableEntryfmt[] = "niiiixxxxxissssssssxixxxix"; mangos will no loger report an error with area.dbc ?

I'm sure that i x s - means variable format : i-integer; s- short; x- not used or string ?

if in xxxxxsssiii string is "s" or "i" that must be eplained in dbcstructure.h ?

i think most problems brings me ChrRaces.DBC because its different most.

1-10 column same +3 new collumns with identical entries ; 14->29 identical.

pls help Salja :)

Stan

Link to comment
Share on other sites

thats hard i have not this client version to check self =) but dbcfmt and dbc struc need update i think you can look in the mangos git history of this build and than you can add the fmt ad struc

check this https://github.com/VladimirMangos/mangos-svn/tree/master/tags/0.7

0.7 is for client 2.0.X

https://github.com/VladimirMangos/mangos-svn/blob/master/tags/0.7/ChangeLog

==== Server Features ====

* Added: full support for 2.0.x client branch.

Link to comment
Share on other sites

tried to compile this 0,7 branch but stuck on:

/home/mangos/0.7/src/realmd/AuthSocket.cpp:833: undefined reference to `MD5_Init'

/home/mangos/0.7/src/realmd/AuthSocket.cpp:839: undefined reference to `MD5_Update'

/home/mangos/0.7/src/realmd/AuthSocket.cpp:846: undefined reference to `MD5_Final'

../shared/libmangosdatabase.a(DatabaseMysql.o): In function `~DatabaseMysql':

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:58: undefined reference to `mysql_close'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:62: undefined reference to `mysql_server_end'

../shared/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql::_TransactionCmd(char const*)':

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:261: undefined reference to `mysql_query'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:264: undefined reference to `mysql_error'

../shared/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql::Execute(char const*)':

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:223: undefined reference to `mysql_query'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:226: undefined reference to `mysql_error'

../shared/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql::Query(char const*)':

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:180: undefined reference to `mysql_query'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:191: undefined reference to `mysql_store_result'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:193: undefined reference to `mysql_affected_rows'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:194: undefined reference to `mysql_field_count'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:183: undefined reference to `mysql_error'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:203: undefined reference to `mysql_free_result'

../shared/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql':

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:45: undefined reference to `mysql_server_init'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:47: undefined reference to `mysql_thread_safe'

../shared/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql::Initialize(char const*)':

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:72: undefined reference to `mysql_init'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:100: undefined reference to `mysql_options'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:131: undefined reference to `mysql_real_connect'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:118: undefined reference to `mysql_options'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:142: undefined reference to `mysql_error'

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:143: undefined reference to `mysql_close'

../shared/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql::ThreadEnd()':

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:34: undefined reference to `mysql_thread_end'

../shared/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql::ThreadStart()':

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:29: undefined reference to `mysql_thread_init'

../shared/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql::escape_string(char*, char const*, unsigned long)':

/home/mangos/0.7/src/shared/Database/DatabaseMysql.cpp:320: undefined reference to `mysql_real_escape_string'

../shared/libmangosdatabase.a(QueryResultMysql.o): In function `QueryResultMysql::EndQuery()':

/home/mangos/0.7/src/shared/Database/QueryResultMysql.cpp:72: undefined reference to `mysql_free_result'

../shared/libmangosdatabase.a(QueryResultMysql.o): In function `QueryResultMysql::NextRow()':

/home/mangos/0.7/src/shared/Database/QueryResultMysql.cpp:49: undefined reference to `mysql_fetch_row'

../shared/libmangosdatabase.a(QueryResultMysql.o): In function `QueryResultMysql':

/home/mangos/0.7/src/shared/Database/QueryResultMysql.cpp:28: undefined reference to `mysql_fetch_fields'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:25: undefined reference to `BN_new'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:31: undefined reference to `BN_dup'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:37: undefined reference to `BN_new'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:38: undefined reference to `BN_set_word'

../shared/libmangosauth.a(BigNumber.o): In function `~BigNumber':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:44: undefined reference to `BN_free'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::SetQword(unsigned long long)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:55: undefined reference to `BN_add_word'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:56: undefined reference to `BN_lshift'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::SetBinary(unsigned char const*, int)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:64: undefined reference to `BN_bin2bn'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::SetRand(int)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:74: undefined reference to `BN_rand'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::operator=(BigNumber const&)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:79: undefined reference to `BN_copy'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::operator+=(BigNumber const&)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:85: undefined reference to `BN_add'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::operator-=(BigNumber const&)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:91: undefined reference to `BN_sub'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::operator*=(BigNumber const&)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:99: undefined reference to `BN_CTX_new'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:100: undefined reference to `BN_mul'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:101: undefined reference to `BN_CTX_free'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::operator/=(BigNumber const&)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:110: undefined reference to `BN_CTX_new'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:111: undefined reference to `BN_div'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:112: undefined reference to `BN_CTX_free'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::operator%=(BigNumber const&)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:121: undefined reference to `BN_CTX_new'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:122: undefined reference to `BN_div'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:123: undefined reference to `BN_CTX_free'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::Exp(BigNumber const&)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:133: undefined reference to `BN_CTX_new'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:134: undefined reference to `BN_exp'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:135: undefined reference to `BN_CTX_free'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::ModExp(BigNumber const&, BigNumber const&)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:145: undefined reference to `BN_CTX_new'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:146: undefined reference to `BN_mod_exp'

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:147: undefined reference to `BN_CTX_free'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::GetNumBytes()':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:154: undefined reference to `BN_num_bits'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::AsByteArray()':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:170: undefined reference to `BN_bn2bin'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::SetDword(unsigned int)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:50: undefined reference to `BN_set_word'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::SetQword(unsigned long long)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:57: undefined reference to `BN_add_word'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::SetHexStr(char const*)':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:69: undefined reference to `BN_hex2bn'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::AsDword()':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:159: undefined reference to `BN_get_word'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::AsHexStr()':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:194: undefined reference to `BN_bn2hex'

../shared/libmangosauth.a(BigNumber.o): In function `BigNumber::AsDecStr()':

/home/mangos/0.7/src/shared/Auth/BigNumber.cpp:199: undefined reference to `BN_bn2dec'

../shared/libmangosauth.a(Sha1.o): In function `Sha1Hash::Finalize()':

/home/mangos/0.7/src/shared/Auth/Sha1.cpp:64: undefined reference to `SHA1_Final'

../shared/libmangosauth.a(Sha1.o): In function `Sha1Hash':

/home/mangos/0.7/src/shared/Auth/Sha1.cpp:24: undefined reference to `SHA1_Init'

../shared/libmangosauth.a(Sha1.o): In function `~Sha1Hash':

/home/mangos/0.7/src/shared/Auth/Sha1.cpp:29: undefined reference to `SHA1_Init'

../shared/libmangosauth.a(Sha1.o): In function `Sha1Hash::UpdateData(unsigned char const*, int)':

/home/mangos/0.7/src/shared/Auth/Sha1.cpp:34: undefined reference to `SHA1_Update'

../shared/libmangosauth.a(Sha1.o): In function `Sha1Hash::Initialize()':

/home/mangos/0.7/src/shared/Auth/Sha1.cpp:59: undefined reference to `SHA1_Init'

collect2: ld returned 1 exit status

any suggestions ?

Link to comment
Share on other sites

i did homework with DBCFmt.h , adjust those xxxx'es to new dbc's lenght, recompiled

new dbc, maps and vmaps are in propper folders.

ater running mangosd it shows Initialize data stores...

[***************************************************] 102%

You have _outdated_ DBC files. Please re-extract DBC files for one from client build: 5666 5875 5991 6005

is there dbc version check ? where to find it ?

edit :)

i foundit in datastores.cpp, fixed to my alpha ones.

i wonder what suprises awaits next :)

Link to comment
Share on other sites

A question to those who know how support new/old client version.

i Trying in my home poject port alpha tbc to sero core.

After logging to zero core server build 5875 , with tbc alpha client 5666 it shows like that: wowscrnshot020913230923.jpg

Uploaded with ImageShack.us

there are chess cubes instead of npcs and char, but its possible to interact with them, fight etc..

there was little difference in dbc files betwenn v.5875 and v.5666, 7 of 50 was too long, after chcecking i realized that columns are unused (probably, because all were filled with same entry or 0), so i added "XX" in DBFmt. Cant find solution for this.

is this dbc, sql, or framexml error?

server DATABASE log show sme no error, just clean log

guys could you suggest me what to do, where to check..

thanks Stan

Link to comment
Share on other sites

At last i run sucessfully my alpha client on zero core, (sometimes it was like figt with windmills). At first sight everything look works, except interface.... :(

for example:

- experience bar shows "bloodsails buccaners"

- cant equip anything, or put something to bag, bags always looks empty

- cant see how many point spent in talents

What could be reason of this, framexml or something else ?

I still dont understand many things, and asking you guys for suggerstions how to resolve this

Thanks for help Stan

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use