• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Help compiling 0.3 in Codeblocks

ArcoSoft

New Member
Joined
May 16, 2013
Messages
27
Reaction score
1
Hello, I'm trying to compile 0.3 in codeblocks and I just keep getting this error:

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:
Back
Top