v496 GM Privileges Fix

Results 1 to 9 of 9
  1. #1
    Would You Kindly? Bola is offline
    DeveloperRank
    Dec 2011 Join Date
    BrazilLocation
    1,758Posts

    v496 GM Privileges Fix

    After a long time without work on Forsaken world
    a friend asked me for a forsaken world private v496, and i remember about that shit issue with GM.
    so i start to research and understand the origin of issue.
    it seems that some login packet get stuck in the process until another login packet reach the server, so i just create a realtime log watcher and fire an invalid login packet after a GM log-in the game, the result is the privilege packets unstuck and works perfectly.
    i wont give the code because i spend some around 8 hours of research on that to give the trick in few minutes for you, don't be lazy and code it yourself.



  2. #2
    Account Upgraded | Title Enabled! Milos is offline
    MemberRank
    Nov 2015 Join Date
    127.0.0.1Location
    281Posts

    Re: v496 GM Privileges Fix

    i just launch two clients, one for gm account, one for non gm account, and log both at the same time. this usually works the first time, but at times can take 2 or 3 attempts

  3. #3
    Would You Kindly? Bola is offline
    DeveloperRank
    Dec 2011 Join Date
    BrazilLocation
    1,758Posts

    Re: v496 GM Privileges Fix

    Quote Originally Posted by Milos View Post
    i just launch two clients, one for gm account, one for non gm account, and log both at the same time. this usually works the first time, but at times can take 2 or 3 attempts
    i have checked about what you say, but i've rewrite UserAcquirePrivileges to know when the request reach to authd, and don't require to be logged at same time
    you can just log in the GM account, wait 2 minutes or two hours inside the role selection page, and then log in another account, or just fire a invalid login like "tst" "tst", and server will unstuck the privilege request packet, understanding that i always send a invalid packet after a gm login so it will receive account privileges as it should be working.
    there many other possible solutions, but with this one, i spend around 150 lines of code and fixed the entire problem permanently.

  4. #4
    Account Upgraded | Title Enabled! Milos is offline
    MemberRank
    Nov 2015 Join Date
    127.0.0.1Location
    281Posts

    Re: v496 GM Privileges Fix

    for those that don't code, i wonder what such a fix would cost in usd

  5. #5
    Apprentice ByGabrieL2018 is offline
    MemberRank
    Jul 2018 Join Date
    10Posts

    Re: v496 GM Privileges Fix

    This is useless and unnecessary, to get the GM icon work, just change the realm. Or use a dev client with permissions only for perssonage ID, which we agree, is infinitely better than the GM dashboard.

  6. #6
    Would You Kindly? Bola is offline
    DeveloperRank
    Dec 2011 Join Date
    BrazilLocation
    1,758Posts

    Re: v496 GM Privileges Fix

    Quote Originally Posted by ByGabrieL2018 View Post
    This is useless and unnecessary, to get the GM icon work, just change the realm. Or use a dev client with permissions only for perssonage ID, which we agree, is infinitely better than the GM dashboard.
    yep, be alone in a virtual box server and try to change the realm.
    as i mention, and you probably should have read my thread, the problem is under a packet stuck, you only will receive the GM permissions once another rpc packet be send by gdelivery to authd, this could be useless for you, as well you can keep changing the realm to someday get permissions that will never reach playing alone in a virtual box.

  7. #7
    Account Upgraded | Title Enabled! Milos is offline
    MemberRank
    Nov 2015 Join Date
    127.0.0.1Location
    281Posts

    Re: v496 GM Privileges Fix

    Quote Originally Posted by ByGabrieL2018 View Post
    This is useless and unnecessary, to get the GM icon work, just change the realm. Or use a dev client with permissions only for perssonage ID, which we agree, is infinitely better than the GM dashboard.
    if you have a working dev client please share

  8. #8
    Apprentice ByGabrieL2018 is offline
    MemberRank
    Jul 2018 Join Date
    10Posts

    Re: v496 GM Privileges Fix

    Do a test using SQL Server, this problem does not exist when SQL Server is used. It only exists for MySQL, in versions 496 onwards.

  9. #9
    Would You Kindly? Bola is offline
    DeveloperRank
    Dec 2011 Join Date
    BrazilLocation
    1,758Posts

    Re: v496 GM Privileges Fix

    Quote Originally Posted by ByGabrieL2018 View Post
    Do a test using SQL Server, this problem does not exist when SQL Server is used. It only exists for MySQL, in versions 496 onwards.
    so i need to ask to you to prove your point if you're saying the problem is MySQL vs MSSQL Server, @GiantAxe reach the same conclusion as mine years ago, and as he mention, he implements a watcher on privileges acquire in the server, he mention about sending by himself the privileges protocols, my method just unstuck packet on gdelivery, both reached a successfull solution, and both has the same conclusion the problem isnt authd but gdeliveryd, i mention in fact that gdelivery has nothing related to MySql or MSSQL and everything is managed by Authd which is only a handler to a sgdb.




Advertisement