• 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 issues (Row slot machine)

Joriku

Working in the mines, need something?
Joined
Jul 16, 2016
Messages
1,084
Solutions
15
Reaction score
379
Location
Sweden
YouTube
Joriku
Hi,
trying to get this to work but sadly my c++ knowledge is none existent for the moment being..

Trying to get this in:

From:

With:

This is what happens:
playerOnMove
063dfd3f76cb36d4038f58d4a137c5be.png



event (Event)PlayerOnMove. eventPlayerOnMove takes me onto EventPlayerOnMove which gave this.. (Not declared?)
f72dc6c8f16cdd108ffa54340373b2ee.png



Also:
Could not locate this:
Putted it inside events.h
int32_t playerOnMove = -1;
Lua:
[TABLE]
[TR]
[TD]playerOnTradeRequest = -1;[/TD]
[TD][/TD]

[TD][/TD]
[/TR]
[TR]
[TD][/TD]

[TD][/TD]

[TD]    playerOnMove = -1;[/TD]
[/TR]
[/TABLE]

And this was in events.h instead of .cpp
Skipped adding: int32_t playerOnMove;
Could not locate an position..
Lua:
int32_t playerOnTradeRequest;


Could this have to do with missing:
int32_t playerOnMove; ?

a3f6a32b850fdc5d319d134901c374aa.png
 
Last edited:
eventPlayerOnMove, lower case "e".

Even if you fix that, I am not sure if it will solve your original problem.
Sadly not, putted the information here:
Lua:
event (Event)PlayerOnMove. eventPlayerOnMove takes me onto EventPlayerOnMove which gave this.. (Not declared?)

ac8c4384798aba4cf7cc37a7e0ce2a48.png

I can't see the img so here:


Edit:
Managed to compile it by using info.playerOnMove (Due to it being in the step above)



Now to this.. Somehow this just doesn't want to work:
Lua:
SETUP.POS[lever][tile+101] = Position(position.x, position.y+tile, position.z, 1)
 
Last edited:
Back
Top