Hello!
Revision 1994
DB patched up to 11773, based on complete UDB + UDB patches up to 401 + additional mangos patches
Hopefully can some helpful soul shed some light on a rather obscure issue!
Quite a lot of gameobjects are simply missing in the game after startup. MaNGOS starts without problems, and reports for gameobjects:
>> Loaded 101586 gameobjects
There are LOTS of items in the game, but one item that is missing almost overall is gameobject with id = 1731, that is based on gameobject_template entry = 1731. Minerals overall are sorely lacking...
Tried in-game adding an object with id 1731 (.gobject add 1731) and it appears without problem, respawns also. So just to test... in the db, I deleted all gameobjects with id = 1731 and then re-inserted all rows without specifying guid, having the db create new guid for all rows. So as an example for one row:
delete from gameobject where id = 1731;
insert into `gameobject` (`id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) values('1731','0','1','1','-392','-1775','113.071','5.827','0','0','0','0','60','255','1');
All inserts are based on the original id = 1731 rows, given guids > 200000 (default I guess).
Now every object with id 1731 appear as wanted after startup! But not a good solution of course this will mess upp guids and table dependencies, not to mention future patching will be a mess.
Any ideas or thoughts???