Morphau
-
Posts
205 -
Joined
-
Last visited
-
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by Morphau
-
-
I have the same error as alein and as Snake_Plissken
-
I have found the mistake, is not CharactersDatabase, but it's CharacterDatabase; ...
-
Thanks it's work it at the compilation but what it's the good : extern DatabaseMysql XXXXXXXXXXXXDatabase; for the characters database please ?
Thanks
-
Hello all, I want make a "simple scripts" who can verify it's a tester have allready one or more level 80 in his account ...
I am not a good of scripts and the gestion with the database it's hard for me ^^
Please can i have help ?
I have one error for the comparison of the sql result:
../../../../src/bindings/ScriptDev2/scripts/custom/npc_level_reroll.cpp: In function 'bool GossipSelect_ok_npc_level_reroll(Player*, Cre onst char*)': ../../../../src/bindings/ScriptDev2/scripts/custom/npc_level_reroll.cpp:64: error: ISO C++ forbids comparison between pointer and intege
How do make this part properly ? :
QueryResult *result; result = CharactersDatabase.PQuery("SELECT count(*) as guid from characters WHERE account = '%u' and level = '80'", pPlayer->GetSession()->GetAccountId()); Field *Fields = result->Fetch(); int32 count = Fields[0].GetUInt32(); //Get if have a level 80 from database if (result == 1) // test if have a level 80 in the account of player, HERE YES {
-
Thanks, i will test it
-
Have someone can update this PVPtoken System please ?
-
Bumps, can you update your branch ?
-
Core 9127
ScriptDev2 1520
DualSpect Kaxias
[New Thread 23565] [New Thread 23566] [New Thread 23527] [New Thread 23528] [New Thread 23526] [New Thread 23567] [New Thread 23524] [New Thread 23568] Core was generated by `./mangos-worldd'. Program terminated with signal 8, Arithmetic exception. #0 0x00000000006aa8e9 in Aura::HandlePeriodicEnergize (this=0x2a26e80, apply=true, Real=<value optimized out>) at ../../../src/game/SpellAuras.cpp:4616 4616 m_modifier.m_amount = int32(caster->GetCreateMana() * GetBasePoints() / (100 * GetAuraMaxTicks())); #0 0x00000000006aa8e9 in Aura::HandlePeriodicEnergize (this=0x2a26e80, apply=true, Real=<value optimized out>) at ../../../src/game/SpellAuras.cpp:4616 caster = <value optimized out> loading = <value optimized out> #1 0x00000000006a658a in Aura::ApplyModifier (this=0x2a26e80, apply=168, Real=false) at ../../../src/game/SpellAuras.cpp:943 aura = <value optimized out> #2 0x00000000007212d1 in Unit::AddAura (this=0x5077740, Aur=0x2a26e80) at ../../../src/game/Unit.cpp:3726 aurSpellInfo = 0x7f18b1b90510 aurName = SPELL_AURA_PERIODIC_ENERGIZE #3 0x00000000007215f2 in Unit::RemoveAurasDueToSpellBySteal (this=0x7f18944be780, spellId=29166, casterGUID=1512, stealer=0x5077740) at ../../../src/game/Unit.cpp:4069 basePoints = 224 new_aur = 0xbf300 aur = 0x7f189e5cd610 iter = {_M_node = 0x7f18992a8330} #4 0x00000000006e912a in Spell::EffectStealBeneficialBuff (this=0x66e3310, i=<value optimized out>) at ../../../src/game/SpellEffects.cpp:7013 spellInfo = 0x7f18b1b90510 count = <value optimized out> data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, _wpos = 20, _storage = {<std::_Vector_base<unsigned char, std::allocator<unsigned char> >> = { _M_impl = {<std::allocator<unsigned char>> = {<__gnu_cxx::new_allocator<unsigned char>> = {<No data fields>}, <No data fields>}, _M_start = 0x7fa6740 "\\003è\\005\\003I\\006ñv", _M_finish = 0x7fa6754 "", _M_end_of_storage = 0x7fa675e ""}}, <No data fields>}}, m_opcode = 819} success_list = {<std::_List_base<std::Pair<unsigned int, unsigned long>, std::allocator<std::Pair<unsigned int, unsigned long> > >> = { _M_impl = {<std::allocator<std::_List_node<std::Pair<unsigned int, unsigned long> > >> = {<__gnu_cxx::new_allocator<std::_List_node<std::Pair<unsigned int, unsigned long> > >> = {<No data fields>}, <No data fields>}, _M_node = { _M_next = 0x170b780, _M_prev = 0x170b780}}}, <No data fields>} list_size = <value optimized out> steal_list = {<std::_Vector_base<Aura*, std::allocator<Aura*> >> = { _M_impl = {<std::allocator<Aura*>> = {<__gnu_cxx::new_allocator<Aura*>> = {<No data fields>}, <No data fields>}, _M_start = 0x37e62f0, _M_finish = 0x37e6308, _M_end_of_storage = 0x37e6310}}, <No data fields>} dispelMask = <value optimized out> #5 0x00000000006c0988 in Spell::DoSpellHitOnUnit (this=0x66e3310, unit=0x7f18944be780, effectMask=1) at ../../../src/game/Spell.cpp:1173 effectNumber = 0 realCaster = 0x5077740 #6 0x00000000006c0f5b in Spell::DoAllEffectOnTarget (this=0x66e3310, target=0x237e3e0) at ../../../src/game/Spell.cpp:974 mask = 0 unit = 0x7f18944be780 caster = 0x5077740 missInfo = SPELL_MISS_NONE procVictim = 131072 procAttacker = 65536 procEx = <value optimized out> #7 0x00000000006cba54 in Spell::handle_immediate (this=0x66e3310) at ../../../src/game/Spell.cpp:2731 No locals. #8 0x00000000006d0d58 in Spell::cast (this=0x66e3310, skipCheck=false) at ../../../src/game/Spell.cpp:2705 castResult = <value optimized out> #9 0x00000000006d1600 in SpellEvent::Execute (this=0x2cde720, e_time=4870193, p_time=0) at ../../../src/game/Spell.cpp:6104 No locals. #10 0x00000000007f8b5f in EventProcessor::Update (this=0x5077850, p_time=101) at ../../../src/framework/Utilities/EventProcessor.cpp:47 Event = 0x2cde720 #11 0x000000000072024c in Unit::Update (this=0x5077740, p_time=101) at ../../../src/game/Unit.cpp:197 No locals. #12 0x000000000068a5f1 in Player::Update (this=0x5077740, p_time=101) at ../../../src/game/Player.cpp:1114 now = <value optimized out> pet = <value optimized out> #13 0x00000000005d3700 in Map::Update (this=0x7f18983cabc0, t_diff=@0x7f18b54f0ffc) at ../../../src/game/Map.cpp:598 plr = 0x3e8 updater = {i_timeDiff = 101} __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)" #14 0x0000000000799859 in MapInstanced::Update (this=0x4d184a0, t=@0x7f18b54f0ffc) at ../../../src/game/MapInstanced.cpp:63 i = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<unsigned int const, Map*>, false>> = { _M_cur_node = 0x7f189f2c9830, _M_cur_bucket = 0x4b5cae8}, <No data fields>} #15 0x00000000005e08b7 in MapManager::Update (this=0x7f18aea49670, diff=<value optimized out>) at ../../../src/game/MapManager.cpp:265 No locals. #16 0x0000000000740f09 in World::Update (this=0x7f18b800af70, diff=40) at ../../../src/game/World.cpp:1688 No locals. #17 0x00000000004e197c in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 diff = 40 realCurrTime = 856514951 realPrevTime = <value optimized out> prevSleepTime = 38 #18 0x00000000007df83c in ACE_Based::Thread::ThreadTask (param=0x3e8) at ../../../src/shared/Threading.cpp:183 _task = 0x7f18ac32a550 #19 0x00007f18be442a04 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #20 0x00007f18bda0180d in clone () from /lib/libc.so.6 No symbol table info available. #21 0x0000000000000000 in ?? () No symbol table info available.
-
Bumps please
-
is the gossipmenu implementet in SD2?
Yes for npc and gameobject
-
try adding
SendInitialPacketsAfterAddToMap();
in void Player::ActivateSpec(uint8 spec) function, here:
//if (plrTalent != m_talents[m_activeSpec]->end()) // plrTalent->second->state = PLAYERSPELL_REMOVED; } } SendInitialPacketsAfterAddToMap(); // set glyphs for (uint8 slot = 0; slot < MAX_GLYPH_SLOT_INDEX; ++slot) { // remove secondary glyph if(uint32 oldglyph = m_Glyphs[m_activeSpec][slot]) { if(GlyphPropertiesEntry const *old_gp = sGlyphPropertiesStore.LookupEntry(oldglyph)) {
this worked for me.
Where you see this part of the code ?
-
Indeed, it's true
-
Core 9127
ScriptDev2 1541
DualSpect Kaxias
[New Thread 5078] [New Thread 5080] [New Thread 5050] [New Thread 5049] [New Thread 5079] [New Thread 5048] [New Thread 5046] [New Thread 5077] Core was generated by `./mangos-worldd'. Program terminated with signal 11, Segmentation fault. #0 MapInstanced::CreateBattleGroundMap (this=0x2cad670, InstanceId=48, bg=0x0) at ../../../src/game/MapInstanced.cpp:217 217 sLog.outDebug("MapInstanced::CreateBattleGroundMap: instance:%d for map:%d and bgType:%d created.", InstanceId, GetId(), bg->GetTypeID()); #0 MapInstanced::CreateBattleGroundMap (this=0x2cad670, InstanceId=48, bg=0x0) at ../../../src/game/MapInstanced.cpp:217 __FUNCTION__ = "CreateBattleGroundMap" __PRETTY_FUNCTION__ = "BattleGroundMap* MapInstanced::CreateBattleGroundMap(uint32, BattleGround*)" spawnMode = <value optimized out> #1 0x0000000000798d15 in MapInstanced::CreateInstance (this=0x2cad670, mapId=<value optimized out>, player=0x7f898f79ea60) at ../../../src/game/MapInstanced.cpp:138 map = <value optimized out> NewInstanceId = 48 __FUNCTION__ = "CreateInstance" __PRETTY_FUNCTION__ = "Map* MapInstanced::CreateInstance(uint32, Player*)" #2 0x00000000005e055c in MapManager::CreateMap (this=<value optimized out>, id=489, obj=0x7f898f79ea60) at ../../../src/game/MapManager.cpp:136 __FUNCTION__ = "CreateMap" __PRETTY_FUNCTION__ = "Map* MapManager::CreateMap(uint32, const WorldObject*)" m = 0x0 #3 0x000000000079a657 in WorldSession::HandleMoveWorldportAckOpcode (this=0x7f899eb64900) at ../../../src/game/MovementHandler.cpp:73 mEntry = 0x7f89b83c55f0 mInstance = 0x7f89b89f9aa8 corpse = <value optimized out> #4 0x0000000000746fad in WorldSession::Update (this=0x7f899eb64900) at ../../../src/game/WorldSession.cpp:230 packet = 0x7f89973a6660 currTime = <value optimized out> #5 0x00000000007404aa in World::UpdateSessions (this=0x7f89b8019250, diff=51) at ../../../src/game/World.cpp:2096 itr = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<unsigned int const, WorldSession*>, false>> = { _M_cur_node = 0x7fffc7798f60, _M_cur_bucket = 0xffffffffff60041c}, <No data fields>} sess = <value optimized out> #6 0x00000000007406c5 in World::Update (this=0x7f89b8019250, diff=51) at ../../../src/game/World.cpp:1649 No locals. #7 0x00000000004e18ec in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 diff = 51 realCurrTime = 328463193 realPrevTime = <value optimized out> prevSleepTime = 44 #8 0x00000000007df13c in ACE_Based::Thread::ThreadTask (param=0x1) at ../../../src/shared/Threading.cpp:183 _task = 0x7f89ad485370 #9 0x00007f89bde52a04 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #10 0x00007f89bd4117bd in clone () from /lib/libc.so.6 No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available.
-
-
Update when you vant !
Mangos will update when he want
-
Core 9020
ScriptDev2 1520
DualSpect Kaxias
[New Thread 10627] Core was generated by `./mangos-worldd'. Program terminated with signal 6, Aborted. #0 0x00007f35ab1dd4b5 in raise () from /lib/libc.so.6 #0 0x00007f35ab1dd4b5 in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00007f35ab1e0f50 in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00007f35aba7ccc5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6 No symbol table info available. #3 0x00007f35aba7b0f6 in ?? () from /usr/lib/libstdc++.so.6 No symbol table info available. #4 0x00007f35aba7b123 in std::terminate() () from /usr/lib/libstdc++.so.6 No symbol table info available. #5 0x00007f35aba7b21e in __cxa_throw () from /usr/lib/libstdc++.so.6 No symbol table info available. #6 0x00000000004df6e0 in MaNGOS::ObjectLifeTime<Log>::OnDeadReference () at ../../../src/mangosd/../framework/Policies/ObjectLifeTime.h:47 No locals. #7 0x00000000004df7a4 in MaNGOS::Singleton<Log, MaNGOS::SingleThreaded<Log>, MaNGOS::OperatorNew<Log>, MaNGOS::ObjectLifeTime<Log> >::Instance () at ../../../src/mangosd/../framework/Policies/SingletonImp.h:46 No locals. #8 0x00000000004df894 in FreezeDetectorRunnable::run (this=0xa162ef0) at ../../../src/mangosd/Master.cpp:114 No locals. #9 0x00000000007de1cc in ACE_Based::Thread::ThreadTask (param=0x2983) at ../../../src/shared/Threading.cpp:183 _task = 0xa162ef0 #10 0x00007f35abccaa04 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #11 0x00007f35ab2897bd in clone () from /lib/libc.so.6 No symbol table info available. #12 0x0000000000000000 in ?? () No symbol table info available.
-
Hello all, I search in the source the gestion of mount for ulduar instance ...
In fact in Ulduar instance normally we can use mount but actually we don't ...
Thanks and sorry for my english
-
Oo Thanks and i hope somone help you/us for have this arena too
And the arena of Orgrimmar is not script in Trinity ?
-
on which vehicle can this patch beeing usefull ?
The mamouth, the moto (mechano) ...
-
In this days i update the post, with more interesting scripts. Chears.
Thanks ! (l)
-
For all happy year and be happy
-
i've resolved the problem
How ?
Can you tell us how please ?
Sorry for my english ><
-
The string masage is ok but the chat masage gives me an <error> Masage
The reason of the problem it's the db configuration of the announce ...
-
Core 9020
ScriptDev2 1520
DualSpect Kaxias
[New Thread 5414] Core was generated by `./mangos-worldd'. Program terminated with signal 6, Aborted. #0 0x00007f5c43a174b5 in raise () from /lib/libc.so.6 #0 0x00007f5c43a174b5 in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00007f5c43a1af50 in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00007f5c442b6cc5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6 No symbol table info available. #3 0x00007f5c442b50f6 in ?? () from /usr/lib/libstdc++.so.6 No symbol table info available. #4 0x00007f5c442b5123 in std::terminate() () from /usr/lib/libstdc++.so.6 No symbol table info available. #5 0x00007f5c442b521e in __cxa_throw () from /usr/lib/libstdc++.so.6 No symbol table info available. #6 0x00000000004de580 in MaNGOS::ObjectLifeTime<Log>::OnDeadReference () at ../../../src/mangosd/../framework/Policies/ObjectLifeTime.h:47 No locals. #7 0x00000000004de644 in MaNGOS::Singleton<Log, MaNGOS::SingleThreaded<Log>, MaNGOS::OperatorNew<Log>, MaNGOS::ObjectLifeTime<Log> >::Instance () at ../../../src/mangosd/../framework/Policies/SingletonImp.h:46 No locals. #8 0x00000000004de734 in FreezeDetectorRunnable::run (this=0x7f5c3c474300) at ../../../src/mangosd/Master.cpp:114 No locals. #9 0x00000000007da2fc in ACE_Based::Thread::ThreadTask (param=0x1526) at ../../../src/shared/Threading.cpp:183 _task = 0x7f5c3c474300 #10 0x00007f5c44504a04 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #11 0x00007f5c43ac37bd in clone () from /lib/libc.so.6 No symbol table info available. #12 0x0000000000000000 in ?? () No symbol table info available.
[9219][patch] Allow configure to find OpenSSL if pkg-config fails
in ... acceptedOld
Posted
same ...