Hello, I'm trying to compile 0.3 in codeblocks and I just keep getting this error:
Hope someone can help me!
- - - Updated - - -
BUMP HELP PLEASE!
Just solved this problem:
change this:
for this:
Code:
||=== TheForgottenServer, Release Windows ===|
C:\Users\Victor\Desktop\0.3.r5958\luascript.cpp|9036|error: 'buttonEnter' may be used uninitialized in this function|
C:\Users\Victor\Desktop\0.3.r5958\luascript.cpp|9036|error: 'buttonEscape' may be used uninitialized in this function|
C:\Users\Victor\Desktop\0.3.r5958\luascript.cpp|9038|error: 'popup' may be used uninitialized in this function|
||=== Build finished: 3 errors, 0 warnings ===|
Hope someone can help me!
- - - Updated - - -
BUMP HELP PLEASE!
Just solved this problem:
change this:
Code:
std::string str, title, message;
uint8_t buttonEnter, buttonEscape;
std::vector<ModalChoice> buttons, choices;
bool popup;
for this:
Code:
std::string str, title, message;
uint8_t buttonEnter = 0, buttonEscape = 0;
std::vector<ModalChoice> buttons, choices;
bool popup = 0;
Last edited: