[0.3DL] My game crashes when resolving RPC_ShowDialog

Expl01T3R

Active member
Joined
Nov 20, 2022
Messages
133
Reaction score
21
Location
Czech Republic
C++:
    HuffmanEncodingTreeNode* currentNode;
    HuffmanEncodingTreeNode* root;

    unsigned outputWriteIndex;
    outputWriteIndex = 0;
    currentNode = root;

...
   
    if (input->ReadBit() == false)   // left!
         currentNode = currentNode->left; // access violation
    else
        currentNode = currentNode->right; // same ↑

You assign an unitialized pointer(root) to another unitialized pointer(currentNode), then you try to dereferencing it, it's bound to crash. It looks like you miss some important initialization code.
finally someone who understands cpp and its syntax !
 

Expl01T3R

Active member
Joined
Nov 20, 2022
Messages
133
Reaction score
21
Location
Czech Republic
Have you seen what they did from johnyproject's nametag? xD full of weird clones LOL
Mr. steal_every_single_project_and_dont_know_cpp .. go back to your discord server and stop sharing ur zero knowledge here.. all u know are insults, a guy here asked for help and its obvious u cant help.. right? so please ignore it and stop commenting this.. nobody asked.. BTW: Ur SobFox Projects are pasted too.. today u stolen my project which is not packed and patched strings.. how pathetic.. xD
 

Expl01T3R

Active member
Joined
Nov 20, 2022
Messages
133
Reaction score
21
Location
Czech Republic
For interested people.. here is the proof ^^

image.png


BTW: he took build 1.0.0.0 (BETA/First Release with full of bugs).. currently we are on build 1.0.0.6 x)
 
Top