Jump to content

Atari007

Members
  • Posts

    11
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Atari007

  1. Hello,

    I was looking into the system of distributing arena ratings, when I saw this method used for calculating the chance of winning:

    1.0f/(1.0f+exp(log(10.0f)*(float)((float)enemy_rating - (float)own_rating)/400.0f));

    This doesn't do the same as what's told on wowwiki: http://www.wowwiki.com/Arena_PvP_system#Arena_rating_system (I don't know if that's a reliable source though).

    If it would need to do the same as on wowwiki, we'd need to used "ln" (logarithm to the base e) instead of "log" (logarithm to the base 10).

    It would be:

    1.0f/(1.0f+exp(ln(10.0f)*(float)((float)enemy_rating - (float)own_rating)/400.0f));

    I haven't tried to understand the ELO system yet, but if someone could explain me where I'm wrong, I'd much appreciate that :)

    Thanks,

    Atari007

  2. Revision 8138 (branch 0.12), no custom patches, SD2 1204, acid 0.1.0, UDB 365.

    Crashes multiple times per hour... I really don't have a clue...

    Revision: * * 8107 *
    Date 6:7:2009. Time 7:15 
    //=====================================================
    *** Hardware ***
    Processor: Intel(R) Core(TM)2 CPU         E8400  @ 3.00GHz
    Number Of Processors: 2
    Physical Memory: 4181744 KB (Available: 2041532 KB)
    Commit Charge Limit: 4194303 KB
    
    *** Operation System ***
    Microsoft Windows Server 2003 Standard Edition Service Pack 2 (Version 5.2, Build 3790)
    
    //=====================================================
    Exception code: C00000FD STACK_OVERFLOW
    Fault address:  00436B47 01:00035B47 C:\\MaNGOS\\mangosd.exe
    
    Registers:
    EAX:03EF2000
    EBX:0BE2F568
    ECX:03EF02CC
    EDX:000000E2
    ESI:00000000
    EDI:008AD3F0
    CS:EIP:001B:00436B47
    SS:ESP:0023:03F0D918  EBP:03F0D920
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010206
    
    Call stack:
    Address   Frame     Function      SourceFile
    00436B47  00000000  _chkstk+27
    0070B6BF  00000000  Spell::Prepare+1BF
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    00460178  00000000  Unit::SpellNonMeleeDamageLog+128
    0085454A  00000000  Spell::EffectSchoolDMG+16DA
    00710070  00000000  Spell::HandleEffects+110
    007074B6  00000000  Spell::DoSpellHitOnUnit+5D6
    00706CA6  00000000  Spell::DoAllEffectOnTarget+126
    0070C2A7  00000000  Spell::handle_immediate+E7
    0070C0FE  00000000  Spell::cast+50E
    0070B7BB  00000000  Spell::Prepare+2BB
    0045EEAD  00000000  Unit::CastCustomSpell+16D
    0045ED32  00000000  Unit::CastCustomSpell+82
    00460EE7  00000000  Unit::CalcAbsorbResist+7F7
    0068D168  00000000  Aura::PeriodicTick+6E8
    0067DBA5  00000000  Aura::Update+415
    00465E52  00000000  Unit::_UpdateSpells+322
    0045BF17  00000000  Unit::Update+37
    004C83BF  00000000  Player::Update+DF
    004A58F9  00000000  Map::Update+D9
    00836587  00000000  MapInstanced::Update+117
    0065846A  00000000  MapManager::Update+17A
    00638DC6  00000000  World::Update+7E6
    004369CE  00000000  WorldRunnable::run+8E
    008AD407  00000000  ACE_Based::Thread::ThreadTask+17
    00AB1B84  00000000  ?invoke@ACE_OS_Thread_Adapter@@UAEKXZ+74
    78543433  00000000  _endthreadex+44
    785434C7  00000000  _endthreadex+D8
    77E6482F  00000000  GetModuleHandleA+DF
    
    Call stack:
    Address   Frame     Function      SourceFile
    7C82860C  00000000  KiFastSystemCallRet+0
    77E61C8D  00000000  WaitForSingleObject+12
    
    
    

  3. Revision: Unknown Unknown Unknown
    Date 12:11:2008. Time 19:4 
    //=====================================================
    *** Hardware ***
    Processor: Intel(R) Core(TM)2 CPU          6320  @ 1.86GHz
    Number Of Processors: 2
    Physical Memory: 3135364 KB (Available: 1148852 KB)
    Commit Charge Limit: 4194303 KB
    
    *** Operation System ***
    Microsoft Windows Server 2003 Standard Edition Service Pack 2 (Version 5.2, Build 3790)
    
    //=====================================================
    Exception code: C0000005 ACCESS_VIOLATION
    Fault address:  7C8417AF 01:000407AF C:\\WINDOWS\\system32\\ntdll.dll
    
    Registers:
    EAX:00000000
    EBX:00000085
    ECX:003D05D0
    EDX:00002000
    ESI:003D0188
    EDI:003D01A0
    CS:EIP:001B:7C8417AF
    SS:ESP:0023:043BE93C  EBP:043BEB58
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010246
    
    Call stack:
    Address   Frame     Function      SourceFile
    7C8417AF  00000000  RtlSecondsSince1970ToTime+13D
    78583A58  00000000  malloc+79
    78583B58  00000000  ??2@YAPAXI@Z+1F
    00478E87  00000000  std::_Allocate<std::_List_nod<Aura *,std::allocator<Aura *> >::_Node>+57
    00474274  00000000  std::allocator<std::_List_nod<Aura *,std::allocator<Aura *> >::_Node>::allocate+14
    00470A1C  00000000  std::list<Aura *,std::allocator<Aura *> >::_Buynode+3C
    0046D1D7  00000000  std::list<Aura *,std::allocator<Aura *> >::list<Aura *,std::allocator<Aura *> >+57
    008B5F13  00000000  `eh vector constructor iterator'+27
    00448214  00000000  Unit::Unit+134
    0064EDA0  00000000  Creature::Creature+30
    00750E95  00000000  LoadHelper<Creature>+A5
    00750691  00000000  ObjectGridLoader::Visit+101
    007514DF  00000000  VisitorHelper<ObjectGridLoader,Creature>+F
    00751390  00000000  VisitorHelper<ObjectGridLoader,Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > >+10
    00751283  00000000  VisitorHelper<ObjectGridLoader,GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > >+23
    007511C0  00000000  VisitorHelper<ObjectGridLoader,TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > >+10
    007507BC  00000000  ObjectGridLoader::Load+1C
    007508DF  00000000  ObjectGridLoader::LoadN+CF
    0051DC0F  00000000  Map::EnsureGridLoadedForPlayer+10F
    005325AF  00000000  Map::Visit<RGuard<ZThread::FairReadWriteLock,ZThread::Lockable>,MaNGOS::PlayerNotifier,TypeMapContainer<TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeNull> > > > >+AF
    0052EF67  00000000  Cell::Visit<RGuard<ZThread::FairReadWriteLock,ZThread::Lockable>,MaNGOS::PlayerNotifier,TypeMapContainer<TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeNull> > > > >+347
    005208FE  00000000  Map::UpdatePlayerVisibility+4E
    0051ED82  00000000  Map::PlayerRelocation+302
    00635F6D  00000000  DestinationHolder<Traveller<Player> >::UpdateTraveller+18D
    00633D85  00000000  FlightPathMovementGenerator::Update+65
    0043ECB7  00000000  MovementGeneratorMedium<Player,FlightPathMovementGenerator>::Update+17
    0047C7A2  00000000  MotionMaster::UpdateMotion+52
    00449110  00000000  Unit::Update+230
    00499D9B  00000000  Player::Update+DB
    005EF8AB  00000000  ObjectAccessor::Update+14B
    0062D992  00000000  MapManager::Update+1A2
    0060FE2F  00000000  World::Update+B0F
    00433171  00000000  WorldRunnable::run+91
    0086BF65  00000000  ZThread::ThreadImpl::Dispatch+1D5
    0086C3C3  00000000  ZThread::`anonymous namespace'::Launcher::run+33
    00870477  00000000  ZThread::ThreadOps::_dispatch+17
    78543433  00000000  _endthreadex+44
    785434C7  00000000  _endthreadex+D8
    77E64829  00000000  GetModuleHandleA+DF
    
    Call stack:
    Address   Frame     Function      SourceFile
    7C8285EC  00000000  KiFastSystemCallRet+0
    77E61C8D  00000000  WaitForSingleObject+12
    
    Call stack:
    Address   Frame     Function      SourceFile
    7C8285EC  00000000  KiFastSystemCallRet+0
    77E61C8D  00000000  WaitForSingleObject+12
    0086FE8E  00000000  ZThread::Monitor::wait+9E
    0086BB60  00000000  ZThread::ThreadImpl::sleep+60
    0086ACDC  00000000  ZThread::Thread::sleep+C
    00852D90  00000000  SqlDelayThread::run+20
    0086BF65  00000000  ZThread::ThreadImpl::Dispatch+1D5
    0086C3C3  00000000  ZThread::`anonymous namespace'::Launcher::run+33
    00870477  00000000  ZThread::ThreadOps::_dispatch+17
    78543433  00000000  _endthreadex+44
    785434C7  00000000  _endthreadex+D8
    77E64829  00000000  GetModuleHandleA+DF
    
    Call stack:
    

    Windows 2003 SP2

    MaNGOS b256b42b9132e5d82973019162bf55b0cf5c4010+_UDB_363+ sd2_735+ACID_0.0.5

  4. Revision: Unknown Unknown Unknown
    Date 10:11:2008. Time 22:4 
    //=====================================================
    *** Hardware ***
    Processor: Intel(R) Core(TM)2 CPU          6320  @ 1.86GHz
    Number Of Processors: 2
    Physical Memory: 3135364 KB (Available: 1359792 KB)
    Commit Charge Limit: 4194303 KB
    
    *** Operation System ***
    Microsoft Windows Server 2003 Standard Edition Service Pack 2 (Version 5.2, Build 3790)
    
    //=====================================================
    Exception code: C0000005 ACCESS_VIOLATION
    Fault address:  00466463 01:00065463 C:\\MaNGOS\\mangosd.exe
    
    Registers:
    EAX:00000008
    EBX:0BACC4E0
    ECX:043BF480
    EDX:00000000
    ESI:00001277
    EDI:00000000
    CS:EIP:001B:00466463
    SS:ESP:0023:043BF430  EBP:043BF488
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010202
    
    Call stack:
    Address   Frame     Function      SourceFile
    00466463  00000000  Unit::GetDiminishing+93
    00681CAE  00000000  Spell::DoSpellHitOnUnit+38E
    006817C2  00000000  Spell::DoAllEffectOnTarget+F2
    00686A67  00000000  Spell::handle_immediate+E7
    006868F3  00000000  Spell::cast+513
    0044FF9A  00000000  Unit::AttackerStateUpdate+BA
    0EC2A986  00000000  ?next@GroupReference@@QAEPAV1@XZ+2876
    0EB45AEE  00000000  ?AI@Creature@@QAEPAVCreatureAI@@XZ+37DE
    006501F7  00000000  Creature::Update+3C7
    00606F97  00000000  MaNGOS::ObjectUpdater::Visit+97
    00606EF2  00000000  VisitorHelper<MaNGOS::ObjectUpdater,Creature>+12
    00606E40  00000000  VisitorHelper<MaNGOS::ObjectUpdater,Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > >+10
    00606D83  00000000  VisitorHelper<MaNGOS::ObjectUpdater,GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > >+23
    00606D00  00000000  VisitorHelper<MaNGOS::ObjectUpdater,TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > >+10
    00605422  00000000  Map::Visit<MaNGOS::SingleThreaded<ZThread::FairReadWriteLock>::Lock,MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > > >+F2
    00603A02  00000000  Cell::Visit<MaNGOS::SingleThreaded<ZThread::FairReadWriteLock>::Lock,MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > > >+62
    005EFCAF  00000000  ObjectAccessor::Update+54F
    0062D992  00000000  MapManager::Update+1A2
    0060FE2F  00000000  World::Update+B0F
    00433171  00000000  WorldRunnable::run+91
    0086BF65  00000000  ZThread::ThreadImpl::Dispatch+1D5
    0086C3C3  00000000  ZThread::`anonymous namespace'::Launcher::run+33
    00870477  00000000  ZThread::ThreadOps::_dispatch+17
    78543433  00000000  _endthreadex+44
    785434C7  00000000  _endthreadex+D8
    77E64829  00000000  GetModuleHandleA+DF
    
    Call stack:
    Address   Frame     Function      SourceFile
    7C8285EC  00000000  KiFastSystemCallRet+0
    77E61C8D  00000000  WaitForSingleObject+12
    
    Call stack:
    Address   Frame     Function      SourceFile
    
    00605422  00000000  Map::Visit<MaNGOS::SingleThreaded<ZThread::FairReadWriteLock>::Lock,MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > > >+F2
       Local  <user defined> 'this'
       Local  <user defined> 'cell'
       Local  <user defined> 'visitor'
       Local  <user defined> 'cell_y'
       Local  <user defined> 'x'
       Local  <user defined> 'y'
       Local  <user defined> 'cell_x'
    
    ETC...
    
    

    OS: windows 2003

    b256b42b9132e5d82973019162bf55b0cf5c4010+_UDB_363+sd2_735+ACID_0.0.5

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