Jump to content

aishor

Members
  • Posts

    14
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by aishor

  1. 100 is only lvls dbc Due to the limitations and customer code, bug shaman.

    edit the code to remove the limitation of 100 maxlvl

    on exp, arenas, bgs, and other issues that involved the dbc therefore can not be treated here.

    google translated from SpanishEscuchar

    Leer fonéticamente

    Edit DBCEnums.h

    // Client expected level limitation, like as used in DBC item max levels for "until max player level"

    // use as default max player level, must be fit max level for used client

    // also see MAX_LEVEL and STRONG_MAX_LEVEL define

    #define DEFAULT_MAX_LEVEL 255

    // client supported max level for player/pets/etc. Avoid overflow or client stability affected.

    // also see GT_MAX_LEVEL define

    #define MAX_LEVEL 255

    // Server side limitation. Base at used code requirements.

    // also see MAX_LEVEL and GT_MAX_LEVEL define

    #define STRONG_MAX_LEVEL 255

  2. yes my solution for database in c++ I'm no programmer

    if questlevel = 0 crash

    if questlevel > 100 crash

    questlevel admits that only 1 to 100

    UPDATE quest_template SET questlevel = 1 WHERE questlevel <= 0;

    UPDATE quest_template SET questlevel = 80 WHERE questlevel => 100;

  3. linux centos 5.4 x32

    mangos 9320

    scriptdev2 1569

    YTDB 533

    Program received signal SIGSEGV, Segmentation fault.
    [switching to Thread 0xa3bfeb90 (LWP 20988)]
    0x0836f13d in Quest::XPValue (this=0xa55cdc40, pPlayer=0x9ddabf0)
       at ../../../src/game/QuestDef.cpp:235
    235    ../../../src/game/QuestDef.cpp: No such file or directory.
       in ../../../src/game/QuestDef.cpp
    
    MANGOS VERSION
    bash: mangos-worldd: command not found
    
    CRASH ON dom feb 7 18:48:41 CET 2010
       Using the running image of child Thread 0xa3bfeb90 (LWP 20988).
    Program stopped at 0x836f13d.
    It stopped with signal SIGSEGV, Segmentation fault.
    Type "info stack" or "info registers" for more information.
    
    BACKTRACE
    
    #0  0x0836f13d in Quest::XPValue (this=0xa55cdc40, pPlayer=0x9ddabf0)
       at ../../../src/game/QuestDef.cpp:235
    #1  0x081ec432 in PlayerMenu::SendQuestGiverOfferReward (this=0x8df5b90, 
       pQuest=0xa55cdc40, npcGUID=17379391455742755039, EnableNext=true)
       at ../../../src/game/GossipDef.cpp:785
    #2  0x084b2614 in WorldSession::HandleQuestgiverCompleteQuest (this=0x96589c8, 
       recv_data=@0xa0498d40) at ../../../src/game/QuestHandler.cpp:455
    #3  0x084394d3 in WorldSession::Update (this=0x96589c8)
       at ../../../src/game/WorldSession.cpp:186
    #4  0x0843191d in World::UpdateSessions (this=0xb7222a18, diff=48)
       at ../../../src/game/World.cpp:2064
    #5  0x08432249 in World::Update (this=0xb7222a18, diff=48)
       at ../../../src/game/World.cpp:1617
    #6  0x08134afa in WorldRunnable::run (this=0xad1089d8)
       at ../../../src/mangosd/WorldRunnable.cpp:60
    #7  0x084f26ad in ACE_Based::Thread::ThreadTask (param=0xad1089d8)
       at ../../../src/shared/Threading.cpp:183
    #8  0xb7f76247 in ACE_OS_Thread_Adapter::invoke (this=0xad108a08)
       at ../../../../dep/ACE_wrappers/ace/OS_Thread_Adapter.cpp:90
    #9  0xb7f22641 in ace_thread_adapter (args=0xad108a08)
       at ../../../../dep/ACE_wrappers/ace/Base_Thread_Adapter.cpp:124
    #10 0x4e8f273b in start_thread () from /lib/libpthread.so.0
    #11 0x4e847cfe in clone () from /lib/libc.so.6
    
    BACKTRACE FULL
    
    #0  0x0836f13d in Quest::XPValue (this=0xa55cdc40, pPlayer=0x9ddabf0)
       at ../../../src/game/QuestDef.cpp:235
       realXP = <value optimized out>
       baseLevel = <value optimized out>
       playerLevel = <value optimized out>
       xpMultiplier = 10
       pXPData = (const QuestXPLevel *) 0x0
       rawXP = <value optimized out>
    #1  0x081ec432 in PlayerMenu::SendQuestGiverOfferReward (this=0x8df5b90, 
       pQuest=0xa55cdc40, npcGUID=17379391455742755039, EnableNext=true)
       at ../../../src/game/GossipDef.cpp:785
       Title = {static npos = 4294967295, 
     _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
       _M_p = 0xb394731c "Demostración de gratitud"}}
       OfferRewardText = {static npos = 4294967295, 
     _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
       _M_p = 0xa55cc2ec "Groovy! You're my kind of $R."}}
       loc_idx = <value optimized out>
       data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, 
       _wpos = 89, 
       _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 = 0x9dc92a0 "ß\\200\\001ôr", 
             _M_finish = 0x9dc92f9 "¢ÿ\\031Y\\031\\030", 
             _M_end_of_storage = 0x9dc9332 ""}}, <No data fields>}}, 
     m_opcode = 397}
       EmoteCount = 0
       pItem = <value optimized out>
    #2  0x084b2614 in WorldSession::HandleQuestgiverCompleteQuest (this=0x96589c8, 
       recv_data=@0xa0498d40) at ../../../src/game/QuestHandler.cpp:455
       pQuest = (const Quest *) 0xa55cdc40
    #3  0x084394d3 in WorldSession::Update (this=0x96589c8)
       at ../../../src/game/WorldSession.cpp:186
       opHandle = (OpcodeHandler &) @0xcccccccd: <error reading variable>
       packet = (WorldPacket *) 0xa0498d40
       currTime = <value optimized out>
    #4  0x0843191d in World::UpdateSessions (this=0xb7222a18, diff=48)
       at ../../../src/game/World.cpp:2064
       next = {_M_cur = 0x8c311d0, _M_ht = 0xb7222a80}
       sess = (WorldSession *) 0x4e7f8fb6
    #5  0x08432249 in World::Update (this=0xb7222a18, diff=48)
       at ../../../src/game/World.cpp:1617
    No locals.
    #6  0x08134afa in WorldRunnable::run (this=0xad1089d8)
       at ../../../src/mangosd/WorldRunnable.cpp:60
       diff = 48
       realCurrTime = 2844535694
       realPrevTime = <value optimized out>
       prevSleepTime = 48
    #7  0x084f26ad in ACE_Based::Thread::ThreadTask (param=0xad1089d8)
       at ../../../src/shared/Threading.cpp:183
    No locals.
    #8  0xb7f76247 in ACE_OS_Thread_Adapter::invoke (this=0xad108a08)
       at ../../../../dep/ACE_wrappers/ace/OS_Thread_Adapter.cpp:90
       hook = (class ACE_Thread_Hook *) 0xa
       func = (
       ACE_THR_FUNC_INTERNAL) 0x84f2690 <ACE_Based::Thread::ThreadTask(void*)>
       arg = (void *) 0xad1089d8
       status = (void *) 0x5
    #9  0xb7f22641 in ace_thread_adapter (args=0xad108a08)
       at ../../../../dep/ACE_wrappers/ace/Base_Thread_Adapter.cpp:124
       status = (void *) 0x5
    #10 0x4e8f273b in start_thread () from /lib/libpthread.so.0
    No symbol table info available.
    #11 0x4e847cfe in clone () from /lib/libc.so.6
    No symbol table info available.  
    

  4. in mangos core files open dbcenums.h change 80 to 255

    // Client expected level limitation, like as used in DBC item max levels for "until max player level"

    // use as default max player level, must be fit max level for used client

    // also see MAX_LEVEL and STRONG_MAX_LEVEL define

    #define DEFAULT_MAX_LEVEL 80

    // client supported max level for player/pets/etc. Avoid overflow or client stability affected.

    // also see GT_MAX_LEVEL define

    #define MAX_LEVEL 80

    // Server side limitation. Base at used code requirements.

    // also see MAX_LEVEL and GT_MAX_LEVEL define

    #define STRONG_MAX_LEVEL 80

    in mangos conf max player leve lset to 255

    add 255 player levelstats , classlevelstats and petlevelstats

    ofc atm with 3.3.0 core the bug is that you cant see the xp bar but you can level and get xp so its no problem

    if anyone want i can post 255 levelstats and 255 xp gaining to...

    hace mucho tiempo, que trabajo con mangoes a lvls +100.

    todo lo dicho aqui para la correccion del mangoes es correcto

    la gran dificultad es mantener unas stats correctas

    long ago, I work with mangoes to +100 lvls.

    everything said here to the correct correction of mangoes

    the great difficulty is to maintain good stats

  5. darky88 thanks for answering.

    I am willing to work, not giving away my work.

    unfortunately do not have the knowledge to determine manually merge.

    so I have some questions

    working on centos linux x32

    Is there any command or application for such work?

    Do I have to take the diff of the referenced working version to version of the patch to make a pure merge?

    thanks

    translated by google (Spanish)

  6. I can not run, I'm wrong?, what I'm doing?

    I presents conflicts between

    there is the correct sequence, please

    git checkout -b anticheat

    git pull git://github.com/kaxias/mangos.git anticheat

    git checkout -b simple_jail

    git pull git://github.com/dythzer/mangos.git simple_jail

    git checkout -b chatlog

    git pull git://github.com/imalcolm/mangos.git chatlog

    git checkout -b ahbot

    git pull git://github.com/Naicisum/mangos.git ahbot

    git checkout -b mangchat

    git pull git://github.com/shinzon/mangos.git mangchat

  7. in centos 5 x32

    MaNGOS/0.13.0 (* * Revision 7571 - *) for Unix (little-endian) [world-daemon]

    [**************************************************] 100%

    >> Loaded 977 gameobject in pools

    [**************************************************] 100%

    >> Loaded 0 pools in pools

    Loading Game Event Data...

    woltk.sh: line 11: 31414 Violación de segmento ./mangos-worldd -c /var/www/vhosts/eivitux.es/private/mangos_redeye/config_woltk/mangosd.conf

    ThreadQueue created

    :(

  8. modifications that do not give me a problem with stats, of course it can be improved, but my knowledge does not come over.

    diff -aur git_mangos_303/src/game/MiscHandler.cpp mangos_produccion/src/game/MiscHandler.cpp
    --- git_mangos_303/src/game/MiscHandler.cpp    2009-02-22 15:04:21.000000000 +0100
    +++ mangos_produccion/src/game/MiscHandler.cpp    2009-02-22 17:15:39.000000000 +0100
    @@ -145,8 +145,8 @@
    
        // client send in case not set max level value 100 but mangos support 255 max level,
        // update it to show GMs with characters after 100 level
    -    if(level_max >= MAX_LEVEL)
    -        level_max = STRONG_MAX_LEVEL;
    +     if(level_max >= 100)
    +        level_max = 255;
    
        uint32 team = _player->GetTeam();
        uint32 security = GetSecurity();
    S├│lo en mangos_produccion/src/game: MiscHandler.cpp~
    diff -aur git_mangos_303/src/game/Player.cpp mangos_produccion/src/game/Player.cpp
    --- git_mangos_303/src/game/Player.cpp    2009-02-22 15:04:21.000000000 +0100
    +++ mangos_produccion/src/game/Player.cpp    2009-02-22 17:09:01.000000000 +0100
    @@ -4446,7 +4446,7 @@
        uint32 level = getLevel();
        uint32 pclass = getClass();
    
    -    if (level>GT_MAX_LEVEL) level = GT_MAX_LEVEL;
    +    if (level>70) level = 70;
    
        GtChanceToMeleeCritBaseEntry const *critBase  = sGtChanceToMeleeCritBaseStore.LookupEntry(pclass-1);
        GtChanceToMeleeCritEntry     const *critRatio = sGtChanceToMeleeCritStore.LookupEntry((pclass-1)*GT_MAX_LEVEL + level-1);
    @@ -4491,7 +4491,7 @@
        uint32 level = getLevel();
        uint32 pclass = getClass();
    
    -    if (level>GT_MAX_LEVEL) level = GT_MAX_LEVEL;
    +    if (level>70) level = 70;
    
        // Dodge per agility for most classes equal crit per agility (but for some classes need apply some multiplier)
        GtChanceToMeleeCritEntry  const *dodgeRatio = sGtChanceToMeleeCritStore.LookupEntry((pclass-1)*GT_MAX_LEVEL + level-1);
    @@ -4507,7 +4507,7 @@
        uint32 level = getLevel();
        uint32 pclass = getClass();
    
    -    if (level>GT_MAX_LEVEL) level = GT_MAX_LEVEL;
    +    if (level>70) level = 70;
    
        GtChanceToSpellCritBaseEntry const *critBase  = sGtChanceToSpellCritBaseStore.LookupEntry(pclass-1);
        GtChanceToSpellCritEntry     const *critRatio = sGtChanceToSpellCritStore.LookupEntry((pclass-1)*GT_MAX_LEVEL + level-1);
    @@ -4522,7 +4522,7 @@
    {
        uint32 level = getLevel();
    
    -    if (level>GT_MAX_LEVEL) level = GT_MAX_LEVEL;
    +    if (level>70) level = 70;
    
        GtCombatRatingsEntry const *Rating = sGtCombatRatingsStore.LookupEntry(cr*GT_MAX_LEVEL+level-1);
        if (Rating == NULL)
    @@ -4587,7 +4587,7 @@
        uint32 level = getLevel();
        uint32 pclass = getClass();
    
    -    if (level>GT_MAX_LEVEL) level = GT_MAX_LEVEL;
    +    if (level>70) level = 70;
    
        GtOCTRegenHPEntry     const *baseRatio = sGtOCTRegenHPStore.LookupEntry((pclass-1)*GT_MAX_LEVEL + level-1);
        GtRegenHPPerSptEntry  const *moreRatio = sGtRegenHPPerSptStore.LookupEntry((pclass-1)*GT_MAX_LEVEL + level-1);
    @@ -4608,7 +4608,7 @@
        uint32 level = getLevel();
        uint32 pclass = getClass();
    
    -    if (level>GT_MAX_LEVEL) level = GT_MAX_LEVEL;
    +    if (level>70) level = 70;
    
    //    GtOCTRegenMPEntry     const *baseRatio = sGtOCTRegenMPStore.LookupEntry((pclass-1)*GT_MAX_LEVEL + level-1);
        GtRegenMPPerSptEntry  const *moreRatio = sGtRegenMPPerSptStore.LookupEntry((pclass-1)*GT_MAX_LEVEL + level-1);
    S├│lo en mangos_produccion/src/game: Player.cpp~
    diff -aur git_mangos_303/src/shared/Database/DBCEnums.h mangos_produccion/src/shared/Database/DBCEnums.h
    --- git_mangos_303/src/shared/Database/DBCEnums.h    2009-02-22 15:04:22.000000000 +0100
    +++ mangos_produccion/src/shared/Database/DBCEnums.h    2009-02-22 17:10:32.000000000 +0100
    @@ -21,7 +21,7 @@
    
    // client supported max level for player/pets/etc. Avoid overflow or client stability affected.
    // also see GT_MAX_LEVEL define
    -#define MAX_LEVEL    100
    +#define MAX_LEVEL    255
    
    // Server side limitation. Base at used code requirements.
    // also see MAX_LEVEL and GT_MAX_LEVEL define
    S├│lo en mangos_produccion/src/shared/Database: DBCEnums.h~
    diff -aur git_mangos_303/src/shared/Database/DBCStructure.h mangos_produccion/src/shared/Database/DBCStructure.h
    --- git_mangos_303/src/shared/Database/DBCStructure.h    2009-02-22 15:04:22.000000000 +0100
    +++ mangos_produccion/src/shared/Database/DBCStructure.h    2009-02-22 17:11:16.000000000 +0100
    @@ -772,7 +772,7 @@
    };
    
    // All Gt* DBC store data for 100 levels, some by 100 per class/race
    -#define GT_MAX_LEVEL    100
    +#define GT_MAX_LEVEL    180
    
    struct GtBarberShopCostBaseEntry
    {
    S├│lo en mangos_produccion/src/shared/Database: DBCStructure.h~ 
    
    

  9. im tested

    linux ubuntu x64 intel celeron 1.200mhz 1gbram 5gb swap 100mb lan internet tested on 120testers online.. + web,foro 1word mangos ping 80ms... cpu use ( not remember )

    linux ubuntu x64 intel celeron core duo 2.200mhz 2gbram 10gb swap 100mb lan internet tested on 50 testers online..:mad: + web,foro 2word mangos ping 80ms... cpu use 6% 7%

    linux + fine configs = good server latency

    sorry i no speak english

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