In the code I posted, it says
change that toCode:Battleground::AddObject(
and see if that does anythingCode:BattleGround::AddObject(
In the code I posted, it says
change that toCode:Battleground::AddObject(
and see if that does anythingCode:BattleGround::AddObject(
Not much changed, i wounder where can i get mangos scripting codes? i guess Trinitycore isn't the same.
11>..\..\src\game\BattleGround\BattleGroundAB.cpp(162): error C3867: 'BattleGround::SpawnBGObject': function call missing argument list; use '&BattleGround::SpawnBGObject' to create a pointer to member
11>..\..\src\game\BattleGround\BattleGroundAB.cpp(432): error C2276: '!' : illegal operation on bound member function expression
11>..\..\src\game\BattleGround\BattleGroundAB.cpp(433): error C2059: syntax error : ')'
11>..\..\src\game\BattleGround\BattleGroundAB.cpp(433): error C2660: 'BattleGroundAB::AddObject' : function does not take 11 arguments
11>..\..\src\game\BattleGround\BattleGroundAB.cpp(434): error C2059: syntax error : ')'
11>..\..\src\game\BattleGround\BattleGroundAB.cpp(434): error C2276: '!' : illegal operation on bound member function expression
11>..\..\src\game\BattleGround\BattleGroundAB.cpp(434): error C2146: syntax error : missing ';' before identifier 'BG_AB_OBJECT_SPEEDBUFF_STABLES'
11>..\..\src\game\BattleGround\BattleGroundAB.cpp(434): error C2059: syntax error : ')'
11>..\..\src\game\BattleGround\BattleGroundAB.cpp(436): error C2143: syntax error : missing ';' before 'MaNGOS::Singleton<T>::Instance'
11> with
11> [
11> T=Log
11> ]
11> BattleGroundEY.cpp
11> BattleGroundHandler.cpp
11> BattleGroundMgr.cpp
11> BattleGroundNA.cpp
11>..\..\src\game\BattleGround\BattleGround.cpp(1656): error C2065: 'BgObjects' : undeclared identifier
11>..\..\src\game\BattleGround\BattleGround.cpp(1656): error C2228: left of '.size' must have class/struct/union
11> type is ''unknown-type''
11>..\..\src\game\BattleGround\BattleGround.cpp(1656): error C3861: 'ASSERT': identifier not found
11>..\..\src\game\BattleGround\BattleGround.cpp(165: error C3861: 'FindBgMap': identifier not found
11>..\..\src\game\BattleGround\BattleGround.cpp(1665): error C2819: type 'ObjectMgr' does not have an overloaded member 'operator ->'
11> C:\Users\Fleetwood\Desktop\server\src\game\ObjectMgr.h(451) : see declaration of 'ObjectMgr'
11> did you intend to use '.' instead?
11>..\..\src\game\BattleGround\BattleGround.cpp(1665): error C2039: 'GenerateLowGuid' : is not a member of 'ObjectMgr'
11> C:\Users\Fleetwood\Desktop\server\src\game\ObjectMgr.h(451) : see declaration of 'ObjectMgr'
11>..\..\src\game\BattleGround\BattleGround.cpp(1666): error C2065: 'PHASEMASK_NORMAL' : undeclared identifier
11>..\..\src\game\BattleGround\BattleGround.cpp(1669): error C2065: 'm_InstanceID' : undeclared identifier
11>..\..\src\game\BattleGround\BattleGround.cpp(166: error C3861: 'TC_LOG_ERROR': identifier not found
11>..\..\src\game\BattleGround\BattleGround.cpp(1671): error C2065: 'm_InstanceID' : undeclared identifier
11>..\..\src\game\BattleGround\BattleGround.cpp(1670): error C3861: 'TC_LOG_ERROR': identifier not found
11>..\..\src\game\BattleGround\BattleGround.cpp(1677): error C2039: 'AddToMap' : is not a member of 'Map'
11> c:\users\fleetwood\desktop\server\src\game\Map.h(9 : see declaration of 'Map'
11>..\..\src\game\BattleGround\BattleGround.cpp(1682): error C2065: 'BgObjects' : undeclared identifier
11>..\..\src\game\BattleGround\BattleGround.cpp(1682): error C2039: 'GetGUID' : is not a member of 'GameObject'
11> c:\users\fleetwood\desktop\server\src\game\GameObject.h(566) : see declaration of 'GameObject'
Unfortunately none of the newer Mangos versions seem to include this feature...
Here's mangos for Mists of Pandaria:
https://github.com/mangosfour/
And here's mangos for Burning Crusade
https://github.com/mangosone/
Let me do some research.
i have the burning crusade, and i have looked on some forums and google it for codes and how to script but it is mostly for trinitycore :/
You can probably directly invoke the GameObject.Create method in this class: https://github.com/mangosone/server/...e/GameObject.h
I gotta be honest with you tho, I'm not a MaNGOS dev, I do C++, yes, but I usually don't work with MaNGOS, so there are people here that might be more helpful than me, but I'm trying my best.
im verry happy that you helped me, have linked this in mangos forum to and but it is no one who answear so im just happy that you have helped me this far and yes if you still wanna try we can do that, or i can try to find somone els
I have solved the problem i took the original scripts and downloaded another database with pool system and then it worked but thanks for your help and support And i have an another problem with my mangoszero. If you wanna help me with that if you got time ofc. when a player or a npc casting a spell it works perfectly but if you interrupt the spell player/npc the spell is still glowing in their hands like if they are still casting. It stops when they die or cast another spell that dont get interrupted.
//Kalle
character which already got the acm.
___________________
Buy Aion Gold
Last edited by jackchenlong; 01-13-2014 at 05:06 AM.
Thansks for looking into it d3rrial
__________________