In the first,the problem is realmd.exe told me:realmd.sql is out of date(version:10008),because I can't find any update files for realmd.sql,so I simply rewrite the content of realmd.sql,changed the "10008_01_XXXX" to"12112_01_realmd_account_access",ok,realmd.exe no longer bother me since then.It works.
But when I run the mangosd.exe,it told me as follow:
Microsoft Windows [Version 6.1.7601]
All Rights Reserved (c) 2009 Microsoft Corporation。
C:\Users\robot>C:\GAMES\MaNGOS\bin\mangosd.exe
BOOT: [world-daemon] MangosR2/0.17 (Revision 2952), http://github.com/mangosR2/m
angos
BOOT: [world-daemon] mangosR2 branch (* * R2 Revision 2952 commit *) for Win32 (
little-endian)
BOOT: Please, visit to github branch or forum https://mangosr2.forumotion.com for r
eport bugs
BOOT: Using configuration file C:/GAMES/MaNGOS/etc/mangosd.conf.
BOOT: Using OpenSSL 1.0.0d 8 Feb 2011 (Library: OpenSSL 1.0.0d 8 Feb 2011)
BOOT: Using ACE 5.8.3
BOOT: World Database total connections: 2
BOOT: Connected to MySQL database root@127.0.0.1:3306/mangos
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Connected to MySQL database root@127.0.0.1:3306/mangos
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Character Database total connections: 2
BOOT: Connected to MySQL database mangos@127.0.0.1:3306/characters
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Connected to MySQL database mangos@127.0.0.1:3306/characters
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Login Database total connections: 2
BOOT: Connected to MySQL database root@127.0.0.1:3306/realmd
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Connected to MySQL database root@127.0.0.1:3306/realmd
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Realm running as realm ID 1
BOOT: Using World DB: YTDB_0.14.7_R641_cMaNGOS_R12539_SD2_R2913_ACID_R310_RuDB_R
63
BOOT: Using creature EventAI: ACID 3.1.0 'Another Wild Adventure' - Full Release
for CMaNGOS-WOTLK (3.3.5a Client)
BOOT: Using DataDir C:\games\mangos\Data/
BOOT: VMap support included. LineOfSight:1, getHeight:1, indoorCheck:1
BOOT: VMap data directory is: C:\games\mangos\Data/vmaps
BOOT: mmap pathfinding enabled
BOOT: reset duel area disabled
Loading MaNGOS strings...
Loading texts from mangos_string
=>> Loaded 864 MaNGOS strings from table mangos_string00%
Initialize data stores...
===================================================== 102%
>> Initialized 97 data stores
Using enUS DBC Locale as default. All available DBC locales: enUS
Loading opcodes for realm (client build 12340)...
SQL: SELECT `name`, `value`, `flags` FROM `opcodes` WHERE `version`= 12340
query ERROR: Table 'mangos.opcodes' doesn't exist
Loading opcodes - current opcodes set is empty!
..\..\..\src\game\ObjectMgr.cpp:10299: Error: Assertion in ObjectMgr::LoadOpcode
s failed: false
Stack Trace:
CreatureEventAI::~CreatureEventAI()+0xa2e5 [0x0]
Movement::MoveSplineInit<GameObject *>::Path()+0x802 [0x0]
SqlStmtFieldData::toUint8()+0x1336 [0x0]
EventProcessor::Update()+0x2264a [0x0]
BaseThreadInitThunk()+0x12 [0x0]
RtlInitializeExceptionChain()+0x63 [0x0]
RtlInitializeExceptionChain()+0x36 [0x0]
Loading GameObject models...
Loading SpellDbc...
SQL: SELECT MAX(Id) FROM spell_dbc
query ERROR: Table 'mangos.spell_dbc' doesn't exist
Error loading spell_dbc table (not exist?)
C:\Users\robot>
I just merely compiled mangosR2(use project_setup.bat).For Scriptdev2,I put it under the mangos/src/bindings folder(before compile mangosR2), it does not compile separately. Am I right?
Besides I had upgraded mangos' sql database,but didn't applied the Scriptdev2 sql patch to database.
But when I run the mangosd.exe,it told me as follow:
Microsoft Windows [Version 6.1.7601]
All Rights Reserved (c) 2009 Microsoft Corporation。
C:\Users\robot>C:\GAMES\MaNGOS\bin\mangosd.exe
BOOT: [world-daemon] MangosR2/0.17 (Revision 2952), http://github.com/mangosR2/m
angos
BOOT: [world-daemon] mangosR2 branch (* * R2 Revision 2952 commit *) for Win32 (
little-endian)
BOOT: Please, visit to github branch or forum https://mangosr2.forumotion.com for r
eport bugs
BOOT: Using configuration file C:/GAMES/MaNGOS/etc/mangosd.conf.
BOOT: Using OpenSSL 1.0.0d 8 Feb 2011 (Library: OpenSSL 1.0.0d 8 Feb 2011)
BOOT: Using ACE 5.8.3
BOOT: World Database total connections: 2
BOOT: Connected to MySQL database root@127.0.0.1:3306/mangos
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Connected to MySQL database root@127.0.0.1:3306/mangos
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Character Database total connections: 2
BOOT: Connected to MySQL database mangos@127.0.0.1:3306/characters
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Connected to MySQL database mangos@127.0.0.1:3306/characters
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Login Database total connections: 2
BOOT: Connected to MySQL database root@127.0.0.1:3306/realmd
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Connected to MySQL database root@127.0.0.1:3306/realmd
BOOT: MySQL client library: 5.1.49
BOOT: MySQL server ver: 5.1.50-community-log
BOOT: MySQL autocommit succesfully enabled
BOOT: MySQL successfully turned on MYSQL_OPT_RECONNECT.
BOOT: Realm running as realm ID 1
BOOT: Using World DB: YTDB_0.14.7_R641_cMaNGOS_R12539_SD2_R2913_ACID_R310_RuDB_R
63
BOOT: Using creature EventAI: ACID 3.1.0 'Another Wild Adventure' - Full Release
for CMaNGOS-WOTLK (3.3.5a Client)
BOOT: Using DataDir C:\games\mangos\Data/
BOOT: VMap support included. LineOfSight:1, getHeight:1, indoorCheck:1
BOOT: VMap data directory is: C:\games\mangos\Data/vmaps
BOOT: mmap pathfinding enabled
BOOT: reset duel area disabled
Loading MaNGOS strings...
Loading texts from mangos_string
=>> Loaded 864 MaNGOS strings from table mangos_string00%
Initialize data stores...
===================================================== 102%
>> Initialized 97 data stores
Using enUS DBC Locale as default. All available DBC locales: enUS
Loading opcodes for realm (client build 12340)...
SQL: SELECT `name`, `value`, `flags` FROM `opcodes` WHERE `version`= 12340
query ERROR: Table 'mangos.opcodes' doesn't exist
Loading opcodes - current opcodes set is empty!
..\..\..\src\game\ObjectMgr.cpp:10299: Error: Assertion in ObjectMgr::LoadOpcode
s failed: false
Stack Trace:
CreatureEventAI::~CreatureEventAI()+0xa2e5 [0x0]
Movement::MoveSplineInit<GameObject *>::Path()+0x802 [0x0]
SqlStmtFieldData::toUint8()+0x1336 [0x0]
EventProcessor::Update()+0x2264a [0x0]
BaseThreadInitThunk()+0x12 [0x0]
RtlInitializeExceptionChain()+0x63 [0x0]
RtlInitializeExceptionChain()+0x36 [0x0]
Loading GameObject models...
Loading SpellDbc...
SQL: SELECT MAX(Id) FROM spell_dbc
query ERROR: Table 'mangos.spell_dbc' doesn't exist
Error loading spell_dbc table (not exist?)
C:\Users\robot>
I just merely compiled mangosR2(use project_setup.bat).For Scriptdev2,I put it under the mangos/src/bindings folder(before compile mangosR2), it does not compile separately. Am I right?
Besides I had upgraded mangos' sql database,but didn't applied the Scriptdev2 sql patch to database.