HP bug in core 2016 files

Results 1 to 17 of 17
  1. #1
    Account Upgraded | Title Enabled! GallantS is offline
    MemberRank
    May 2015 Join Date
    448Posts

    HP bug in core 2016 files

    Hello first of all thanks to R3volutioN for these files
    i'm just wondering why i've this bug in hp ,
    somebody have any clue how it could be fixed
    https://imgur.com/a/NaEgdkK
    would appraciate all comments :-)


  2. #2
    Account Upgraded | Title Enabled! Skansmer is offline
    MemberRank
    Jul 2015 Join Date
    204Posts

    Re: HP bug in core 2016 files

    Did u even look at help section before posting this?

    http://forum.ragezone.com/f316/healt...-cant-1149016/

  3. #3
    Account Upgraded | Title Enabled! GallantS is offline
    MemberRank
    May 2015 Join Date
    448Posts

    Re: HP bug in core 2016 files

    Quote Originally Posted by Skansmer View Post
    Did u even look at help section before posting this?

    http://forum.ragezone.com/f316/healt...-cant-1149016/
    ooh sorry , thanks for answer
    i'll take a look :-)

  4. #4
    Fusion Kal Reloaded V2 ItsTaP is offline
    MemberRank
    Feb 2013 Join Date
    UkraineLocation
    402Posts

    Re: HP bug in core 2016 files

    i used the thread u post above and i used Pulse.dll & Data.dll & Engine.dll from Flying Burrito but i dont want to use the core.dll because i am using the one for TranX so i dont want to lose his great stuff, but i still have this hp bug any help ?

  5. #5
    off@kal. - on@gw2/d3 :) TranX1337 is offline
    MemberRank
    May 2009 Join Date
    GermanyLocation
    776Posts

    Re: HP bug in core 2016 files

    there is nothing wrong on the released core.dll

  6. #6
    off@kal. - on@gw2/d3 :) TranX1337 is offline
    MemberRank
    May 2009 Join Date
    GermanyLocation
    776Posts

    Re: HP bug in core 2016 files

    what ever causes the bug, its not comming from the core.dll, even wont answer on that thread anymore, theres a server running on my newest version (which got tons of updates already), and everything is fine with

  7. #7
    Account Upgraded | Title Enabled! RevEngKal is offline
    MemberRank
    Mar 2016 Join Date
    229Posts

    Re: HP bug in core 2016 files

    .....
    Last edited by RevEngKal; 14-08-21 at 06:59 PM.

  8. #8
    off@kal. - on@gw2/d3 :) TranX1337 is offline
    MemberRank
    May 2009 Join Date
    GermanyLocation
    776Posts

    Re: HP bug in core 2016 files

    Quote Originally Posted by RevEngKal View Post
    That'd be a bold statement about any piece of software.
    ... natürlich musste sowas kommen, ich denke jeder weiß genau um was es geht...

  9. #9
    Fusion Kal Reloaded V2 ItsTaP is offline
    MemberRank
    Feb 2013 Join Date
    UkraineLocation
    402Posts

    Re: HP bug in core 2016 files

    guys i don't want the thread to start a war i am just wondering if anyone got a fix for this, nothing more or less.
    Screenshot by Lightshot

  10. #10
    off@kal. - on@gw2/d3 :) TranX1337 is offline
    MemberRank
    May 2009 Join Date
    GermanyLocation
    776Posts

    Re: HP bug in core 2016 files

    well, FlyingBurrito is doin it since 18 years, he should be able to help ya out :D

  11. #11
    off@kal. - on@gw2/d3 :) TranX1337 is offline
    MemberRank
    May 2009 Join Date
    GermanyLocation
    776Posts

    Re: HP bug in core 2016 files

    at first.. my english aint the best, i do know it, but you and others do understand me at all, so that's fine.
    you'r talking bullshit.. im not acting like that as u wrote it above.
    i did just watched what kind of shit you wrote to your players, and how you was acting like you are the best, and everyone else was a noob, and you just insult everyone, you even can not manage your own server, (i mean.. 3-4 times you stoped the whole project in 2 days).

    it did took me seconds 2 do that "NEW!" systems, i made? okay.
    ofc everyone is better as me, if it's rev, lafreak, striker, darn, rev0, or who ever.
    i just took the chance to learn from it what i got and managed to do my own stuff, aint the same with you? just that you are to lazy 2 do something, else you wouldnt ask me in discord to give yout his and that (source) of things i done already.

    and no, im not taking everything offensive people write, im just one of these who dont like storymakers like you, everyone would understand if they would just see what kind of shit you write in your discrod chat, and see the results you are working on, or your files.

    the release of the source will be happen once, but not yet, and not with the newest source, there will be fixxes for the one i released, but not yet as someone want me 2 do this and that.

    everything is full of bugs, ofc, thats why a server is running with mautareta system, intlilke dueltournament with 1v1 / 3v3 / 6v6, custom pvp systems, and shitload of other intlike featues, without a crash, or a bug. and that since weeks (Y)

    ah and btw, keep goin dislike anything im posting, just do show how mad you are.

  12. #12
    Member GekkeMikeNL is offline
    MemberRank
    Sep 2006 Join Date
    The NetherlandsLocation
    81Posts

    Re: HP bug in core 2016 files

    @TranX1337 Why u don't share the source updates ? If it took u only seconds to fix it ...

  13. #13
    off@kal. - on@gw2/d3 :) TranX1337 is offline
    MemberRank
    May 2009 Join Date
    GermanyLocation
    776Posts

    Re: HP bug in core 2016 files

    ehw sorry, after telling you how 2 do what it dont was enough for you, you wanted directly the source.
    want to see a screenshot of the chat? nvm..



    Code:
    Microrican - 24.05.2018
    oh. well i asked for it because you asked me the other day if i wanted it. i wont have any need for it when its released as i am working on my new project now and dont have time to wait for a release on RZ of code snippets i may or may not ever use because i am not planning to use your actual core dll at all im only interested in snippets.
    TranX - 24.05.2018
    ya ill send you it
    btw, i dont mean it by a bad way, but if you can not even figure out the easiest things, then u wont also be able 2do other things ^^
    sec
    // SecretBox
        if (IPlayer.IsOnline() && Item.CheckIndex() == SecretBox)
        {
            int Number = rand() % 100 + 1;
            if (Number <= 2)
            {
                CItem::InsertItem((int)IPlayer.GetOffset(), 27, BlackCube, 0, 1, -1);
                IPlayer.AddFxToTarget("Counterattack_Spear_2", 1, 0, 0);
                std::string msg = (std::string)IPlayer.GetName() + "got a [BlackCube] out of the SecretBox!";
                CPlayer::WriteAll(0xFF, "dsd", 247, msg.c_str(), 2);
            }
    Microrican - 24.05.2018
    ROFLMAO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    man i wasnt asking for your help or asking for YOUR code bc i want to steal ii or anything i only wanted to see how you did the hooks etc .... nevermind lol
    i do know how to do the simple things ..... i been doing this shit for 15 years now ...
    lol
    its only easy to you because you had people who helped you learn how to make it easy now lol i do not have anyone who helps me i have to learn it on my own which is 100% impossible to learn scratch kal coding just by googling info ......
    just sayin
    thanks for your example above
    oh and i have not done much with the 2016 source ONLY because i am busy running a live server that is not even using the 2016 source i have it is beshoys files so i had absolutely 0 need to edit the source i released since i was not using it until now
    i have already added refreshable buffs into it as well as my exp items
    ill do more as needed
    TranX - 24.05.2018
    Sorry that u feel attacked about my words
    Microrican - 24.05.2018
    i always feel attacked ^^\
    TranX - 24.05.2018
    I know
    Microrican - 24.05.2018
    lol
    TranX - 24.05.2018
    See it in Ur discord chat
    that's just something which proves how you are acting like, but well, Mr.15YearCoder, do ur shit urslef and dont beg people 2 do it for you.
    im out of that thread now, it makes no sense to talk with someone like you.

  14. #14
    Valued Member luizatena95 is offline
    MemberRank
    May 2018 Join Date
    122Posts

    Re: HP bug in core 2016 files

    I dont think the hp bug its from core, must be others dll, and Tranx made some new updates of the new core, you should just take it or pay for some one to fix this hp bug for you then, if you cant solve yourself.
    Cheers.

  15. #15
    off@kal. - on@gw2/d3 :) TranX1337 is offline
    MemberRank
    May 2009 Join Date
    GermanyLocation
    776Posts

    Re: HP bug in core 2016 files

    well he only have it with my core.dll, it is weird at all as he is the onlyone, there is also a server running since weeks w/o anykind of problem

  16. #16
    (293692665344 >> 8) Darn is offline
    MemberRank
    Mar 2009 Join Date
    GermanyLocation
    429Posts

    Re: HP bug in core 2016 files

    [QUOTE = ItsTaP; 8886157]
    guys i don't want the thread to start a war i am just wondering if anyone got a fix for this, nothing more or less.Screenshot by Lightshot
    [/QUOTE]

    seems like incorrect data gets passed to the client.
    following packets need to be changed
    S2C_UPDATEPROPERTY = 69,
    S2C_PROPERTY = 66,
    S2C_CREATEPLAYER = 50,
    The HP value has changed to DWORD from WORD.
    The client expects the HP value to be 4 bytes but the server writes only 2 bytes, the result is a incorrect displayed number.

    // The following is Lua code, so don't try to use it as is inside a dll.
    Spoiler:

    Code:
    function CPlayerFix_StatHP(Owner, Type, PacketFormat, PType, Hth, CurHP, MaxHP, Resist)
     if Owner ~= nil then
      Owner : Write(Type, "bwddw", PType, Hth, CurHP, MaxHP, Resist);
     end
    end
    
    function CPlayerFix_StatCurHP(Owner, Type, PacketFormat, PType, CurHP, MaxHP)
     if Owner ~= nil then
      Owner:Write(Type, "bdd", PType, CurHP, MaxHP);
     end
    end
    
    function CPlayerFix_StatWisdom(Owner, Type, PacketFormat, PType, points, curWisdom, maxWisdom, curse)
     if Owner ~= nil then
      Owner:Write(Type, "bwwwwww", PType, points, curWisdom, maxWisdom, Owner:GetMinMagic(), Owner : GetMaxMagic(), curse);
     end
    end
    
    function CPlayerFix_StatAgility(Owner, Type, PacketFormat, PType, points, otp, evasion, minAttack, maxAttack)
     if Owner ~= nil then
      Owner:Write(Type, "bwwwwww", PType, points, otp, evasion, evasion, minAttack, maxAttack);
     end
    end
    
    Mem = Memory();
    Mem:Set("0x4BAC34", "dbbwIbwwwwwddwwbbddddb", 23);   --CPlayer::SaveAllProperty() packet format
    Mem:Set("0x4babe0", "bsbwwwwwwddwwwwwbIwwwwwwbbbbbd", 31);  --CPlayer::_Create() packet format
    Mem:Set("0x4bac64", "bwwww", 6);       --str packet format
    Mem:Set("0x4bac5c", "bwwwwww", 8);       --Int packet format
    Mem:Set("0x4B92E0", "ddddb", 6);       --S2C_ATTACK packet format
    Mem:RegisterHook("0x458AA7", "CPlayerFix_StatHP");
    Mem:RegisterHook("0x459CA8", "CPlayerFix_StatHP");
    Mem:RegisterHook("0x45B587", "CPlayerFix_StatHP");
    Mem:RegisterHook("0x45903B", "CPlayerFix_StatCurHP");
    Mem:RegisterHook("0x45A61C", "CPlayerFix_StatCurHP");
    Mem:RegisterHook("0x45BF2B", "CPlayerFix_StatCurHP");
    Mem:RegisterHook("0x459556", "CPlayerFix_StatCurHP");
    Mem:RegisterHook("0x458e05", "CPlayerFix_StatWisdom");
    Mem:RegisterHook("0x45a301", "CPlayerFix_StatWisdom");
    Mem:RegisterHook("0x45bbf8", "CPlayerFix_StatWisdom");
    Mem:RegisterHook("0x458f6e", "CPlayerFix_StatAgility");
    Mem:RegisterHook("0x45a56f", "CPlayerFix_StatAgility");
    Mem:RegisterHook("0x45be72", "CPlayerFix_StatAgility");

    if this is not the reason for the incorrect displayed value there might gets something mixed up along the way.
    to which I can't say anything at the moment,
    since I did not write whatever code you use.
    in that case further investigation would be required.

    --update, you might wanna check thease first.
    Code:
    "bdd" Mem:RegisterHook("0x45903B", "CPlayerFix_StatCurHP"); Mem:RegisterHook("0x45A61C", "CPlayerFix_StatCurHP"); Mem:RegisterHook("0x45BF2B", "CPlayerFix_StatCurHP"); Mem:RegisterHook("0x459556", "CPlayerFix_StatCurHP");
    Last edited by Darn; 02-07-18 at 09:33 PM.

  17. #17
    Fusion Kal Reloaded V2 ItsTaP is offline
    MemberRank
    Feb 2013 Join Date
    UkraineLocation
    402Posts

    Re: HP bug in core 2016 files

    Thank you so much Darn <3
    I used Core.dll from R3vo's Web instead the one of TranX and the problem disappeared by itself :D

    Kind Regards,
    ItsTaP



Advertisement