rusfighter
Members-
Posts
38 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
rusfighter's Achievements
Advanced Member (3/3)
0
Reputation
-
No i dont want to learn C++ , i already know a bit of it(ofcourse want to be better) only example i want to fix a spell and dont even know where to write the script , spell.cpp or spell spellAura.cpp or SpellEffects.cpp
-
Hey , I wonder how hard mangos is with c++ , i know basic of C++ but when i look into mangos src i can understand what there stands but al those variables(uint32) are hard to know , so how can i get them so i know what to use
-
Create a .patch file and copy&paste and then go into git and do: patch -d . -p1 < spelldisable.patch
-
Thx for your reply , i still dont understand it exactly because i dont get the first code that you have i just get this [New Thread 18977] [New Thread 18976] [New Thread 18975] [New Thread 18974] [New Thread 18973] [New Thread 18972] [New Thread 18971] [New Thread 18964] [New Thread 18968] [New Thread 18967] [New Thread 18966] Core was generated by `/home/Luwow/server/bin/funserver -c ../etc/mangosd.conf'. Program terminated with signal 11, Segmentation fault. #0 std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_M_find_node ( this=0xa9fed58, pl=0xa0567390, update_players=...) at /usr/include/c++/4.3/tr1_impl/hashtable:896 896 if (this->_M_compare(__k, __code, __p)) #0 std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_M_find_node ( this=0xa9fed58, pl=0xa0567390, update_players=...) at /usr/include/c++/4.3/tr1_impl/hashtable:896 No locals. #1 std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::find (this=0xa9fed58, pl=0xa0567390, update_players=...) at /usr/include/c++/4.3/tr1_impl/hashtable:764 No locals. #2 Object::BuildUpdateDataForPlayer (this=0xa9fed58, pl=0xa0567390, update_players=...) at ../../../src/game/Object.cpp:1059 __PRETTY_FUNCTION__ = "void Object::BuildUpdateDataForPlayer(Player*, UpdateDataMapType&)" #3 0x0825a6ab in void Map::Visit<WorldObjectChangeAccumulator, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > >(Cell const&, TypeContainerVisitor<WorldObjectChangeAccumulator, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > >&) () No symbol table info available. #4 0x08257842 in Visit<WorldObjectChangeAccumulator, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > > (this=0xa9fed58, update_players=...) at ../../../src/game/CellImpl.h:210 No locals. #5 WorldObject::BuildUpdateData (this=0xa9fed58, update_players=...) at ../../../src/game/Object.cpp:1957 cell = {data = {Part = {grid_x = 6, grid_y = 32, cell_x = 7, cell_y = 1, nocreate = 1, reserved = 31}, All = 1057257478}} notifier = {i_updateDatas = @0xa7bff120, i_object = @0xa9fed58} player_notifier = {i_visitor = @0xa7bff0a8} aMap = 0xad900018 #6 0x08229912 in Map::SendObjectUpdates (this=0xad900018) at ../../../src/game/Map.cpp:3568 update_players = {<std::tr1::__unordered_map<Player*, UpdateData, std::tr1::hash<Player*>, std::equal_to<Player*>, std::allocator<std::Pair<Player* const, UpdateData> >, false>> = {<std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>> = {<std::tr1::__detail::_Rehash_base<std::tr1::__detail::_Prime_rehash_policy, std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true> >> = {<No data fields>}, <std::tr1::__detail::_Hash_code_base<Player*, std::Pair<Player* const, UpdateData>, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, false>> = { _M_extract = {<std::unary_function<std::Pair<Player* const, UpdateData>, Player* const>> = {<No data fields>}, <No data fields>}, _M_eq = {<std::binary_function<Player*, Player*, bool>> = {<No data fields>}, <No data fields>}, _M_h1 = {<std::unary_function<Player*, unsigned int>> = {<No data fields>}, <No data fields>}, _M_h2 = {<No data fields>}}, <std::tr1::__detail::_Map_base<Player*, std::Pair<Player* const, UpdateData>, std::_Select1st<std::Pair<Player* const, UpdateData> >, true, std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true> >> = {<No data fields>}, _M_node_allocator = {<__gnu_cxx::new_allocator<std::tr1::__detail::_Hash_node<std::Pair<Player* const, UpdateData>, false> >> = {<No data fields>}, <No data fields>}, _M_buckets = 0xa0598e68, _M_bucket_count = 11, _M_element_count = 1, _M_rehash_policy = { _M_max_load_factor = 1, _M_growth_factor = 2, _M_next_resize = 11}}, <No data fields>}, <No data fields>} packet = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 2, _wpos = 1065353216, _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 = 0x2 <Address 0x2 out of bounds>, _M_finish = 0x37f0c7f <Address 0x37f0c7f out of bounds>, _M_end_of_storage = 0xad900018 "\\b\\206K\\b¸o\\215\\n"}}, <No data fields>}}, m_opcode = 7} #7 0x08235703 in Map::Update (this=0xad900018, t_diff=@0xa0ebbbd0) at ../../../src/game/Map.cpp:698 updater = {i_timeDiff = 101} grid_object_update = {i_visitor = @0xa7bff2bc} world_object_update = {i_visitor = @0xa7bff2bc} __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)" #8 0x0824352c in MapUpdateRequest::call (this=0xa0ebbbc0) at ../../../src/game/MapUpdater.cpp:47 No locals. #9 0x084514b8 in DelayExecutor::svc (this=0xadc01108) at ../../../src/shared/DelayExecutor.cpp:60 rq = 0xa0ebbbc0 #10 0xb7eb0952 in ACE_Task_Base::svc_run (args=0xadc01108) at ../../ace/Task.cpp:275 svc_status = <value optimized out> #11 0xb7eb1e1d in ACE_Thread_Adapter::invoke_i (this=0xae17c608) at ../../ace/Thread_Adapter.cpp:149 hook = 0x4548a1c3 func = 0xb7eb0900 <ACE_Task_Base::svc_run(void*)> arg = 0xadc01108 status = 0xe937ede #12 0xb7eb1e96 in ACE_Thread_Adapter::invoke (this=0xae17c608) at ../../ace/Thread_Adapter.cpp:98 exit_hook_instance = 0x8f93070 exit_hook_maybe = {instance_ = 0x0} exit_hook_ptr = <value optimized out> #13 0xb7e0f0d1 in ace_thread_adapter (args=0xae17c608) at ../../ace/Base_Thread_Adapter.cpp:124 status = 0xe937ede #14 0xb78504c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 No symbol table info available. #15 0xb76ad6de in clone () from /lib/i686/cmov/libc.so.6 No symbol table info available.
-
I think that is a Mtmaps crash
-
Im testing now it. Btw i have a question about CPU usage , if i use command "top" then the usage is about 50% for the PID of the core , but the average is 7% , so it means that i use 7% of the CPU and take alot of more and i can cross 100% for the PID? I have quad core BTW . homuch do i need to set ACEmap thread? i have set it at 1
-
Hey , i have some crashes that i want to solve but how to read the crash logs that GDB produce? AND DONT give me guide of GDB please, i already have that. I just need to know where to read so i can fix the crashes , crash very often now and that is annoying
-
Make third "faction", which can attack alliance and horde players
rusfighter replied to a topic in OldCore modifications
Modify faction in script maybe? -
I have crash BTW how to read exactly those crashfiles?
-
I will try , but i can run still the server if gonna do that?
-
I always get this error, i follow the How-to use custom ACE and TBB libs guid and it still dont work Really need help I use ACE 5.7.6
-
Thx for VERY VERY fast reply BTw , you have made a typo if(!pPlayer->HasAura(SPELL_ID_PASSIVE_RESURRECTION_SICKNESS,EF FECT_INDEX_0)) Should be if(!pPlayer->HasAura(SPELL_ID_PASSIVE_RESURRECTION_SICKNESS,EFFECT_INDEX_0))
-
Heey , i have a problem , when i compile the newest core i get a error . It is about my custom script . This is error : invalid conversion from 'int' to 'SpellEffectIndex' at line 938 I have on line 938 this script: if(!pPlayer->HasAura(SPELL_ID_PASSIVE_RESURRECTION_SICKNESS,0)) Never failed before , i think something is changed in mangos definitions?
-
Hey i get error How to fix , i have installed tbb correclty i think
-
Hey , is it a big difirence if i use the standart ACE(5.6.6?) with mtmaps patch? And how can i check if the usage is decreased? with mtmaps, on debian i use top command.... Thank you
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®