- Joined
- Dec 3, 2011
- Messages
- 2,232
- Reaction score
- 1,518
So first of all, sorry for the delay, I wanted to investigate on this way earlier.
As promised here I took a look at why there are problems around monsters (spawning / quests) in the latest released source codes for Visual Studio 2013 by Aesir and St34lth4ng3l.
I found out that the appearing errors root from an empty map of monsters which was obviously supposed to hold monster information. Investigating on the empty map I found out that the places where it gets loaded in the initialization of the servers are just commented out, LOL. It looks like someone skipped the place where this compiler issue was thrown for the moment even though it was relevant :v
How to fix it
Masang uses their strange wrapper for maps sometimes and there is a mismatch between the parameter list of CMonsterDBAccess::GetAllMonsters and the monster map in CFieldIOCP.
You will need to edit:
FieldIOCP.cpp
Around to line 898:
Replace:
with:
this enables the loading of the monster information again.
FieldIOCP.h
Now to fix the parameter mismatching, declare the ez_map as map which does not effect any dependent code luckily. So replace around line 403:
with:
And here you go:
Monsters
Quests
Files
I attached the required files here:
View attachment Fixed mob files.zip
If this helped you, don't hesitate dropping a like for the efforts I put in fixing this
Have a nice day
As promised here I took a look at why there are problems around monsters (spawning / quests) in the latest released source codes for Visual Studio 2013 by Aesir and St34lth4ng3l.
I found out that the appearing errors root from an empty map of monsters which was obviously supposed to hold monster information. Investigating on the empty map I found out that the places where it gets loaded in the initialization of the servers are just commented out, LOL. It looks like someone skipped the place where this compiler issue was thrown for the moment even though it was relevant :v
How to fix it
Masang uses their strange wrapper for maps sometimes and there is a mismatch between the parameter list of CMonsterDBAccess::GetAllMonsters and the monster map in CFieldIOCP.
You will need to edit:
- FieldIOCP.cpp
- FieldIOCP.h
FieldIOCP.cpp
Around to line 898:
Replace:
Code:
//CMonsterDBAccess MonsterDBAccess;
//MonsterDBAccess.GetAllMonsters(&*m_mapMonsterInfo, &m_mapItemInfo, MONSTER_LOAD_TYPE_SIZE_FOR_CLIENT, &(g_pFieldGlobal->m_Localization));
with:
Code:
CMonsterDBAccess MonsterDBAccess;
MonsterDBAccess.GetAllMonsters(m_mapMonsterInfo, &m_mapItemInfo, MONSTER_LOAD_TYPE_SIZE_FOR_CLIENT, &(g_pFieldGlobal->m_Localization));
this enables the loading of the monster information again.
FieldIOCP.h
Now to fix the parameter mismatching, declare the ez_map as map which does not effect any dependent code luckily. So replace around line 403:
Code:
ez_map<int, MONSTER_INFO> m_mapMonsterInfo;
with:
Code:
map<int, MONSTER_INFO> m_mapMonsterInfo;
And here you go:
Monsters
Quests
Files
I attached the required files here:
View attachment Fixed mob files.zip
If this helped you, don't hesitate dropping a like for the efforts I put in fixing this
Have a nice day
Attachments
You must be registered for see attachments list
Last edited: