Rafael Hamdan
OT Developer
Config.lua problem AND revision 872
Revision 872 problem
Well, I've just updated my project to revision 872, and I'm getting an error which says: "Memory could not be "read"".
PS: It happens when someone tries to log in the game, so, when a character is being loaded. I'm going to compile my project on revision 871 and try to execute it, I'll answer what have happenned in the last post.
CONFIG.LUA problem
Well, some days ago, I was trying to change to players get just one day of banishment instead of seven days when they get banished because of excessive player killing.
Well, I changed "banLenght" option of config.lua from :
to:
So, I reloaded config.lua, but it didn't change anything. So I thought it was something wrong at sources, but I dind't find anything wrong.
So, I saw that in configmanager.cpp, we have:
If you see, it looks for "banLength", and "finalBanLength", while we have banLenght, finalBanLenght at config.lua, they're differente from each other.
banLength != banLenght
finalBanLength != finalBanLenght
Hope you fix that, or, a lot of people will have problem with that
Yours,
Rafael Hamdan;
Revision 872 problem
Well, I've just updated my project to revision 872, and I'm getting an error which says: "Memory could not be "read"".
PS: It happens when someone tries to log in the game, so, when a character is being loaded. I'm going to compile my project on revision 871 and try to execute it, I'll answer what have happenned in the last post.
CONFIG.LUA problem
Well, some days ago, I was trying to change to players get just one day of banishment instead of seven days when they get banished because of excessive player killing.
Well, I changed "banLenght" option of config.lua from :
Code:
banLenght = 7 * 24 * 60 * 60
to:
Code:
banLenght = 1 * 24 * 60 * 60
So, I reloaded config.lua, but it didn't change anything. So I thought it was something wrong at sources, but I dind't find anything wrong.
So, I saw that in configmanager.cpp, we have:
Code:
m_confNumber[BAN_LENGTH] = getGlobalNumber(L, "banLength", 7 * 24 * 60 * 60);
m_confNumber[FINALBAN_LENGTH] = getGlobalNumber(L, "finalBanLength", 30 * 24 * 60 * 60);
If you see, it looks for "banLength", and "finalBanLength", while we have banLenght, finalBanLenght at config.lua, they're differente from each other.
banLength != banLenght
finalBanLength != finalBanLenght
Hope you fix that, or, a lot of people will have problem with that
Yours,
Rafael Hamdan;
Last edited: