Jump to content

scamp

Members
  • Posts

    18
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by scamp

  1. @bosit: yes they do. Some spikes and clouds mean a huge income of code, for example look for clouds around derex and ambal :)

    I think, the last minute or two are the most amazing when a lot of names appear around the mangos cloud.

    This video shows us the real progress of mangos project and growth of the number of people who help us.

    The frames for this video were rendered by code_swarm and the movie was encoded into x264 by mencoder.

  2. I am glad to present you the visualization of the MaNGOS source code development progress.

    You can watch it on YouTube

    , I suggest you to turn the HQ mode on.

    I hope you will like it, some of you will see your names there, yeah :)

    The video is based on the commits data from the very fist commit into SVN and up to lastest changes in GIT.

    Every dot is a file, the color matches the file type. The dots are circle floating around the names of who did the changes in them.

  3. Default questions:

    What CPUs?

    Vmaps enabled? (if yes, where?)

    What patches?

    2x quad-core Intel® Xeon® CPU E5430 @ 2.66GHz

    vmaps enabled

    vmap.enableLOS = 1
    vmap.enableHeight = 1
    vmap.ignoreMapIds = "369"
    

    mangos-0.12 7438

    patches: mtmaps, speed_cheat_fix, alterac, outdoor_pvp, procflag, some other

    mysql was heavily tuned

    we use innodb with huge buffers

    innodb_flush_log_at_trx_commit = 2

  4. How to compile mangos-0.12 branch + derex last mtmaps on Win32 VC.

    1. Uncomment #include "WorldSocket.h" in \\src\\game\\World.cpp line 24

    2. Add #include "WorldSocket.h" in \\src\\mangosd\\CliRunnable.cpp

    3. Add the files MapUpdater.h и MapUpdater.сpp to `game` project.

    4. Add the files DelayExecutor.h и DelayExecutor.сpp to `shared` project.

    5. PROFIT!

  5. On which revision? I tried several revisions but still struggling sometimes with GIT. So I am not sure if I use the commands incorrectly or that I am using the wrong rev. Can you tell me which one you mean?

    edit: Well, I managed to merge the mtmaps from Derex into the 0.12 branch. But I got several errors while compiling...

    And have this error several times. So I assume this is not working with latest 0.12 rev (7174)

    Which one is working in your opinion, scamp? I hope you know that we are trying to get it working with one of the latest 0.12 branch revisions....

    I'm running mangos-0.12 revision 7128 on Linux x86 compiled against system-wide ACE lib.

     libACE-5.6.6.so => /usr/local/lib/libACE-5.6.6.so (0xb7bd0000)
    

    We did try to build it on Windows and also got this error.

  6. http://github.com/derex/mangos/tree/mtmaps works perfectly on mangos-0.12

    32703 wow       20   0 2012m 1.8g  12m R   73 46.5  43:14.13 2 mangos-worldd
    32701 wow       20   0 2012m 1.8g  12m S   15 46.5  10:05.07 3 mangos-worldd
    32708 wow       20   0 2012m 1.8g  12m S   14 46.5   8:58.89 3 mangos-worldd
    32702 wow       20   0 2012m 1.8g  12m S   14 46.5  10:01.60 1 mangos-worldd
    32700 wow       20   0 2012m 1.8g  12m S   13 46.5  10:02.93 1 mangos-worldd
    32699 wow       20   0 2012m 1.8g  12m S   11 46.5  10:01.27 2 mangos-worldd
    

    But there are performance issuses, at 1100 online we have a noticeable delay up to 2-3 seconds in any in-game actions such as spell casting and hit count.

    In the lag time the main thread does not consume all CPU time of a single core.

    So, multithreading is not a panacea for uplifting mangos' online.

    And the reason of lags is not a single-core overload, maybe.

  7. I don't develop the multithreading maps but I try to keep it up to date, as I'm using it on my server ;)

    git pull git://github.com/HiTmAn/mangos.git mtmaps

    Working without conflicts by now ;) Maybe you could add it into the list in the first post.

    Thanks for update of branch, i`ve pulled your changes.

    HiTmAn, do you have a problem with guard in contested cities like Gadgetzan or Booty Bay when the guards don`t attack the player who started PvP battle in the city?

    And there is one more problem, with mobs too, but in instances. The problem is that the mobs do not come back to their initial position when they kill the player, who pulled them, and stay on the place where they did kill him.

  8. after changes in objectaccesor have problem to build mtmaps, anyone have working patch?)

    There's must be a bit of work to get mtmaps working after theese changes.

    So, I will try to update the branch a bit later.

    Hope, they will be still working.

  9. Show please the head of the top output after you pressed "1" in top window.

    The reason of theese lags may be in overloading one of the CPU cores.

    When ACE was added to SVN, only the network-threads part was added, but not the map-threads.

    And now the main thread of mangos-worldd uses ~100% of one cpu and there are no more cpu resources for mangos even if other core are almost free.

    Try to merge with git://github.com/scamp/mangos, i just added the mtmaps-part in the code, so all CPU cores of you system will be used almost in equal proportions and the server will be able to handle more users without lag.

  10. MaNGOS/0.12.0 (* * Revision 6817 - 408d5e2e30fad16f8cb07da0e9b4f8b12df06412)

    2008-11-12 11:38:05 ERROR:Pet or controlled creature (Entry: 636 GUID: 135) attempt targeted home
    2008-11-12 11:38:05 ERROR:Pet or controlled creature (Entry: 636 GUID: 134) attempt targeted home
    2008-11-12 11:38:06 ERROR:Pet or controlled creature (Entry: 636 GUID: 135) attempt targeted home
    2008-11-12 11:38:06 ERROR:Pet or controlled creature (Entry: 636 GUID: 134) attempt targeted home
    2008-11-12 11:38:06 ERROR:Pet or controlled creature (Entry: 636 GUID: 135) attempt targeted home
    

    (gdb) bt full
    #0  0x085b2c4b in Unit::SetVisibility (this=0xc2628f7b, x=VISIBILITY_GROUP_STEALTH) at Unit.cpp:8768
    No locals.
    #1  0x0853f29e in Aura::HandleModStealth (this=0x1a1510e8, apply=true, Real=true) at SpellAuras.cpp:3306
           mDummyAuras = (const std::list<Aura*,std::allocator<Aura*> > &) @0xaaefbd38: {<std::_List_base<Aura*,std::allocator<Aura*> >> = {
       _M_impl = {<std::allocator<std::_List_node<Aura*> >> = {<__gnu_cxx::new_allocator<std::_List_node<Aura*> >> = {<No data fields>}, <No data fields>},
         _M_node = {_M_next = 0x1, _M_prev = 0x853f134}}}, <No data fields>}
    #2  0x08534dd2 in Aura::ApplyModifier (this=0x1a1510e8, apply=true, Real=true) at SpellAuras.cpp:809
           aura = SPELL_AURA_MOD_STEALTH
    #3  0x085bb85f in Unit::AddAura (this=0x84424660, Aur=0x1a1510e8) at Unit.cpp:3785
           aurSpellInfo = (const SpellEntry *) 0xb2764f00
           spair = {first = 6408, second = 0 '\\0'}
           i = {_M_node = 0x84424800}
    #4  0x08574e37 in Spell::EffectApplyAura (this=0x1a2998c0, i=0) at SpellEffects.cpp:2115
           list = (const SpellImmuneList &) @0x84424778: {<std::_List_base<SpellImmune,std::allocator<SpellImmune> >> = {
       _M_impl = {<std::allocator<std::_List_node<SpellImmune> >> = {<__gnu_cxx::new_allocator<std::_List_node<SpellImmune> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0x84424778, _M_prev = 0x84424778}}}, <No data fields>}
           caster = (class Unit *) 0x84424660
           Aur = (class Aura *) 0x1a1510e8
           duration = -1
           added = 132
    #5  0x08550ec9 in Spell::HandleEffects (this=0x1a2998c0, pUnitTarget=0x84424660, pItemTarget=0x0, pGOTarget=0x0, i=0, DamageMultiplier=1) at Spell.cpp:3135
           eff = 6 '\\006'
           mechanic = 0
    #6  0x0855328e in Spell::DoSpellHitOnUnit (this=0x1a2998c0, unit=0x84424660, effectMask=3) at Spell.cpp:1029
           effectNumber = 0
    #7  0x0855382c in Spell::DoAllEffectOnTarget (this=0x1a2998c0, target=0x183d6050) at Spell.cpp:923
           mask = 3
           unit = (class Unit *) 0x84424660
           missInfo = SPELL_MISS_NONE
    #8  0x0855ce43 in Spell::handle_immediate (this=0x1a2998c0) at Spell.cpp:2143
           ihit = {_M_node = 0x183d6048}
    #9  0x0855c1cd in Spell::cast (this=0x1a2998c0, skipCheck=false) at Spell.cpp:2124
           castResult = 0 '\\0'
    #10 0x0855d7fd in Spell::update (this=0x1a2998c0, difftime=138) at Spell.cpp:2399
    No locals.
    #11 0x0855dc2c in SpellEvent::Execute (this=0x188bcec0, e_time=17672, p_time=138) at Spell.cpp:5017
    No locals.
    #12 0x086f386f in EventProcessor::Update (this=0x84424748, p_time=138) at Utilities/EventProcessor.cpp:47
           Event = (BasicEvent *) 0x188bcec0
           i = {_M_node = 0x1a0aafe0}
    #13 0x085ccfdc in Unit::Update (this=0x84424660, p_time=138) at Unit.cpp:262
    No locals.
    #14 0x0836f348 in Creature::Update (this=0x84424660, diff=138) at Creature.cpp:392
    No locals.
    #15 0x084c7a34 in Pet::Update (this=0x84424660, diff=138) at Pet.cpp:606
           __PRETTY_FUNCTION__ = "virtual void Pet::Update(uint32)"
    #16 0x08413b2e in MaNGOS::ObjectUpdater::Visit (this=0xaaefc380, m=@0x8a5af8c8) at GridNotifiersImpl.h:46
           iter = {_Ptr = 0x84425438}
    #17 0x08413b88 in VisitorHelper<MaNGOS::ObjectUpdater, Creature> (v=@0xaaefc380, c=@0x8a5af8c8) at ./../framework/GameSystem/TypeContainerVisitor.h:64
    No locals.
    #18 0x08413ba2 in VisitorHelper<MaNGOS::ObjectUpdater, Creature, TypeList<Corpse, TypeNull> > (v=@0xaaefc380, c=@0x8a5af8c8)
       at ./../framework/GameSystem/TypeContainerVisitor.h:70
    No locals.
    #19 0x08413be7 in VisitorHelper<MaNGOS::ObjectUpdater, Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > (v=@0xaaefc380, c=@0x8a5af8b0)
       at ./../framework/GameSystem/TypeContainerVisitor.h:71
    No locals.
    #20 0x08413c0a in VisitorHelper<MaNGOS::ObjectUpdater, TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > (v=@0xaaefc380, c=@0x8a5af8b0)
       at ./../framework/GameSystem/TypeContainerVisitor.h:94
    No locals.
    ---Type <return> to continue, or q <return> to quit---
    #21 0x08413c26 in TypeContainerVisitor<MaNGOS::ObjectUpdater, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > >::Visit
       (this=0xaaefc378, c=@0x8a5af8b0) at ./../framework/GameSystem/TypeContainerVisitor.h:105
    No locals.
    #22 0x08413c43 in Grid<Player, TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > >, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > >, MaNGOS::SingleThreaded<Player> >::Visit<MaNGOS::ObjectUpdater> (this=0x8a5af84c, visitor=@0xaaefc378)
       at ./../framework/GameSystem/Grid.h:101
    No locals.
    #23 0x08413c8f in NGrid<8u, Player, TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > >, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > >, MaNGOS::SingleThreaded<Player> >::Visit<MaNGOS::ObjectUpdater, TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > (this=0x8a5acf90, x=@0xaaefc2d4, y=@0xaaefc2d0, visitor=@0xaaefc378) at ./../framework/GameSystem/NGrid.h:117
    No locals.
    #24 0x0841c518 in Map::Visit<MaNGOS::SingleThreaded<ZThread::FairReadWriteLock>::Lock, MaNGOS::ObjectUpdater, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > > (this=0x9ac8d480, cell=@0xaaefc36c, visitor=@0xaaefc378) at Map.h:401
           x = 31
           y = 30
           cell_x = 7
           cell_y = 3
    #25 0x0841c57a in Cell::Visit<MaNGOS::SingleThreaded<ZThread::FairReadWriteLock>::Lock, MaNGOS::ObjectUpdater, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > > (this=0xaaefc374, l=@0xaaefc36c, visitor=@0xaaefc378, m=@0x9ac8d480) at CellImpl.h:47
           standing_cell = (const CoordPair<512u> &) @0x836cd6c0: {x_coord = 255, y_coord = 243}
           district = 16
           begin_cell = {x_coord = 2204948240, y_coord = 2320969388}
           end_cell = {x_coord = 2204948160, y_coord = 2204947728}
           __PRETTY_FUNCTION__ = "void Cell::Visit(const CellLock<LOCK_TYPE>&, TypeContainerVisitor<T, CONTAINER>&, Map&) const [with LOCK_TYPE = MaNGOS::SingleThreaded<ZThread::FairReadWriteLock>::Lock, T = MaNGOS::ObjectUpdater, CON"...
    #26 0x0840962e in Map::UpdateCells (this=0x9ac8d480, diff=138) at Map.cpp:1346
           cell_pair = (CellPair &) @0x836cd6c0: {x_coord = 255, y_coord = 243}
           cell = {data = {Part = {grid_x = 31, grid_y = 30, cell_x = 7, cell_y = 3, nocreate = 1, reserved = 16}, All = 34830239}}
           cell_lock = {i_cell = @0xaaefc374, i_cellPair = @0x836cd6c0}
           updater = {i_timeDiff = 138}
           grid_object_update = {i_visitor = @0xaaefc380}
           world_object_update = {i_visitor = @0xaaefc380}
    #27 0x08607274 in MapUpdateRequest::call (this=0x1a15cfb0) at MapUpdater.cpp:65
    No locals.
    #28 0x086e1b99 in DelayExecutor::svc (this=0x8ae43a4) at DelayExecutor.cpp:61
           rq = (struct ACE_Method_Request *) 0x1a15cfb0
    #29 0xb7d41df6 in ACE_Task_Base::svc_run () from /usr/local/lib/libACE-5.6.6.so
    No symbol table info available.
    #30 0xb7d42b0d in ACE_Thread_Adapter::invoke_i () from /usr/local/lib/libACE-5.6.6.so
    No symbol table info available.
    #31 0xb7d42cbe in ACE_Thread_Adapter::invoke () from /usr/local/lib/libACE-5.6.6.so
    No symbol table info available.
    #32 0xb7cad84d in ace_thread_adapter () from /usr/local/lib/libACE-5.6.6.so
    No symbol table info available.
    #33 0xb78c7240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
    No symbol table info available.
    #34 0xb774649e in clone () from /lib/tls/i686/cmov/libc.so.6
    No symbol table info available.
    

  11. make[2]: Entering directory `/home/wow/SVN/compile/src/game'
    g++ -DHAVE_CONFIG_H -I. -I../..    -I/usr/include/mysql    -I../../src/shared -I. -I./../../dep/include -I./../framework -I./../shared -I./../shared/vmap -I./../realmd     -DENABLE_RA -DENABLE_CLI -DDO_MYSQL -g -O2 -MT GameObject.o -MD -MP -MF .deps/GameObject.Tpo -c -o GameObject.o GameObject.cpp
    GameObject.cpp: In member function ‘void GameObject::Use(Unit*)’:
    GameObject.cpp:1261: error: ‘sOutdoorPvPMgr’ was not declared in this scope
    make[2]: *** [GameObject.o] Ошибка 1
    make[2]: Leaving directory `/home/wow/SVN/compile/src/game'
    make[1]: *** [install-recursive] Ошибка 1
    make[1]: Leaving directory `/home/wow/SVN/compile/src'
    make: *** [install-recursive] Ошибка 1

    mangos r6590

    sd2 r642

    instanced bgs + alterac patch

×
×
  • 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