notgoodusename/OsirisAndExtra

Prediction class issue

Closed this issue · 11 comments

class Prediction {
public:
PAD(4)
std::uintptr_t lastGround;
bool inPrediction;
bool isFirstTimePredicted;
bool enginePaused;
bool oldCLPredictValue;

@notgoodusename We have reversed it in IDA, I am pretty sure you inverted two variables. (incorrect order)

Could you post the correct struct for this pls?

class Prediction {
public:
    PAD(4);
    std::uintptr_t lastGround;
    bool inPrediction;
    bool oldCLPredictValue;
    bool isFirstTimePredicted;
    bool enginePaused;

You should double check in IDA, but this should be correct as of latest SDK.

class Prediction {
public:
PAD(4)
std::uintptr_t lastGround;
bool inPrediction;
bool isFirstTimePredicted;
bool enginePaused;
bool oldCLPredictValue;

@notgoodusename We have reversed it in IDA, I am pretty sure you inverted two variables. (incorrect order)

i dont think it will affect anything tho

What do you mean lol?

wrong struct = wrong values

What do you mean lol?

wrong struct = wrong values

not always

What do you mean lol?
wrong struct = wrong values

not always

What?

Sorry I don't understand what you are trying to explain.

Either it's correct or not correct.

What do you mean lol?
wrong struct = wrong values

not always

What?

Sorry I don't understand what you are trying to explain.

Either it's correct or not correct.

a wrong struct cant always result in wrong values

@notgoodusename I let you explain, I'm done.

if it’s incorrect, how can it return correct values? that doesn’t make any sense.

@codecheck01 is correct

if it’s incorrect, how can it return correct values? that doesn’t make any sense.

ma fuck my teacher