Hello,
In TFS 0.2.x i hadnt problem with it, i could just add a variable in player.h
then just use it without problems in the player.cpp functions.
Just like this below:
Now when i try to add a variable in newest tfs 0.3.6~ the server crashes as soon as the player tries to login in.
I think its something with the memory, therefore could someone tell me the correct way how to fix it?
Regards,
In TFS 0.2.x i hadnt problem with it, i could just add a variable in player.h
Code:
int32_t team;
then just use it without problems in the player.cpp functions.
Just like this below:
Code:
soulMax = 100;
capacity = 400.00;
team = 0;
Now when i try to add a variable in newest tfs 0.3.6~ the server crashes as soon as the player tries to login in.
I think its something with the memory, therefore could someone tell me the correct way how to fix it?
Regards,