Jump to content

[THREE]Fehler beim kompilieren mit Scriptdev2


Arkenon

Recommended Posts

hi zusammen

Wenn ich mein Mangos Three mit Scriptdev2-cata unter Debian kompilieren will, erhalte ich jedemenge Fehler. Mit den Mangosscripts seltsamerweise nicht. Deshalb habe ich die fehlerhaften Scriptdev2-Scripts durch Mangos-Scripts ersetzt. Bei der ScriptMgr.cpp gehts allerdings nicht:

[ 47%] Building CXX object src/bindings/scriptdev2-cata/CMakeFiles/mangosscript.dir/ScriptMgr.cpp.o
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp: In function 'void DoScriptText(int32, WorldObject*, Unit*)':
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp:163: error: expected initializer before '*' token
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp:164: error: 'pData' was not declared in this scope
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp:173: error: 'pData' was not declared in this scope
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp: In function 'void DoOrSimulateScriptTextForMap(int32, uint32, Map*, Creature*, Unit*)':
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp:270: error: expected initializer before '*' token
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp:271: error: 'pData' was not declared in this scope
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp:278: error: 'pData' was not declared in this scope
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp: In function 'bool EffectDummyCreature(Unit*, uint32, SpellEffectIndex, Creature*)':
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp:569: error: too few arguments to function
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp: In function 'bool EffectDummyGameObject(Unit*, uint32, SpellEffectIndex, GameObject*)':
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp:580: error: too few arguments to function
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp: In function 'bool EffectDummyItem(Unit*, uint32, SpellEffectIndex, Item*)':
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp:591: error: too few arguments to function
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp: In function 'bool EffectScriptEffectCreature(Unit*, uint32, SpellEffectIndex, Creature*)':
/opt/habi/mangos/434/server/src/bindings/scriptdev2-cata/ScriptMgr.cpp:602: error: too few arguments to function
make[2]: *** [src/bindings/scriptdev2-cata/CMakeFiles/mangosscript.dir/ScriptMgr.cpp.o] Error 1
make[1]: *** [src/bindings/scriptdev2-cata/CMakeFiles/mangosscript.dir/all] Error 2

Ich glaube nicht dass Scriptdev so eine schlechte Arbeit leistet, deshalb vermute ich mal dass irgend ein anderes Problem besteht.

Wer kann mir helfen? :-)

Gruss Arkenon

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