Aurum KodEXo

Mod

Total Posts: 2,575
Online Status: Online
Mon Aug 18 18:10:23 EDT 2014

We suspect that there's something wrong with random number generator that prevents various parts of games functioning properly (CM and attacking), Credit Multiplier seems to have gone nuts and Lufia seems to be sure there's something wrong with blocking and missing, here's the convo:

    AurumKodEXo    Hmm, is it actually possible for random number generator to eventually rot unless it's constantly maintained?
    Jean-Ralphio    what do you mean rot?
    Jean-Ralphio    stop working?
    AurumKodEXo    stop working properly, I mean CM has gone nuts
    Jean-Ralphio    i would a**ume it would work the same unless something changed in it
    AurumKodEXo    same here
    Jean-Ralphio    so ck probably changed something
    Lufia_Maxim    idk, frp inherently has some of the worst rng ive ever seen
    AurumKodEXo    without telling anything before tho?
    Lufia_Maxim    i.e. pvp and CM
    Lufia_Maxim    if you dont have 100% acc, you pretty much have 50% acc
    Lufia_Maxim    the other side blocks a LOT for having <10% to block
    Jean-Ralphio    i wonder how he has it set up
    Lufia_Maxim    well theres not much to using an rng, its pretty straight forward, so i doubt he "set it up" wrong
    Lufia_Maxim    you seed it and call rand() thats it
    Jean-Ralphio    i mean how he checks against the percantage of accuracy and block chance
    AurumKodEXo    Does the range have anything to do with this? For example, I used mt_rand(0,10000) for various modifiers (crit, block, evade) in battle
    Lufia_Maxim    ah idk jean, but its def messed up, i watch alot of my battles and its quite obvious its flawed lol
    Lufia_Maxim    everytime i attack someone 30 levels below me i have to pray to the gods that rng works out, or i lose... thats just stupid
    Lufia_Maxim    never seen a game where you need to be 100 levels above someone to guarantee victory
    Lufia_Maxim    if its not evenly distributed AurumKodEXo then it would matter, but idk how to find that out
    AurumKodEXo    (well, to be fair, I needed quite a bit of effort to finally beat CG who at the time was 72 lvls above me)
    AurumKodEXo    well, I guess we should make a thread in bug reporting about it
    Lufia_Maxim    maybe he doesnt reseed the rngidk
    AurumKodEXo    hmmm
    AurumKodEXo    (Though I never particularly seeded anything in P:U either)
    Lufia_Maxim    well lets see if jrady gets a 4x win
    AurumKodEXo   


P.S. on offtopic side, should I switch back to normal text type (right now I have small-caps style on)? Is it too hard to read?


¯\_(ツ)_/¯
Edited 1 time(s). Last edited by Aurum KodEXo @ Mon Aug 18 18:11:30 EDT 2014

Cyberkilla

Admin

Total Posts: 5,984
Online Status: Online
Mon Dec 8 8:37:38 EST 2014

You don't need to seed them yourself any more. It does it for you. There may be a few places that use the older RNG, but I wouldn't have thought the attack code would. I'll certainly take a look.

Invisible War ][