• 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!

Crash & Bug reports

Status
Not open for further replies.

Mark

Administrator
Staff member
Administrator
Joined
May 27, 2007
Messages
6,390
Solutions
21
Reaction score
1,472
Please post all bugs/crashes that you find here, only for the latest forgottenserver SVN revision or the latest released version, older versions are not supported.
 
1.When I used !leaveguild command on the newest SVN of The Forgotten Server, my server crashed.

2. The server save in config.lua does not do 5 minutes when I put 05
 
1. Which revision of forgottenserver SVN are you using?
2. It says serverSaveHour, which is the hour of the day you want server save on, you put it 5 and it will be 05:00.
 
Is it possible to source edit the TFS version to make it into minutes?
 
Why it says You are not a Game Master? :/ Nice server :D
 
Because you are not a gamemaster and you are trying to login with -gamemaster parameter.
 
You can /r someone and they get bugged.
And I couldnt get the spells working (I did not touch (or look at) the xmls, I only tried to add it in the database.)
I also got debugged when alot of pharoes summoned minions.
 
Jonern said:
You can /r someone and they get bugged.
And I couldnt get the spells working (I did not touch (or look at) the xmls, I only tried to add it in the database.)
I also got debugged when alot of pharoes summoned minions.
in spells.xml change needlearn"1" to "needlearn"0"
 
Using the latest revision (133), my server crashes when trying to log in.

Code:
*****************************************************
Error report - Thu Jul 26 22:28:43 2007

Compiler info - gcc 3.4.2 (mingw-special)
Compilation Date - Jul 24 2007 21:21:53

Memory load: 53
Total phys: 1048575 K available phys: 970236 K
Start time: 26-7-2007  20:28:33
Kernel time: 0:0:0.781
User time: 0:0:4.406
Threads: 5

Exception: 0xc0000005 at eip = 0x538519
eax = 0xffffffff
ebx = 0xffffffff
ecx = 0xb4757c8 -> 0x3
edx = 0xb12402af
esi = 0
edi = 0x1
ebp = 0xfecba10 -> 0xfecbab0
esp = 0xfecba10 -> 0xfecbab0
efl = 0x10296

---Stack Trace---
From: 0xfecba10 to: 0xfed0000
0xfecba10 | 0xfecbab0 -> 0xfecbad0 \\\ stack frame //////
0xfecba14 | 0x59c1d9 -> 0x8f0fc085 <-- ret
0xfecba18 | 0xb12402af
0xfecba1c | 0xffffffff
0xfecba20 | 0xfecba50 -> 0xfecbad0
0xfecba24 | 0x59b524 -> 0x9090c3c9
0xfecba28 | 0x490a060 -> 0x1272
0xfecba2c | 0
0xfecba30 | 0
0xfecba34 | 0xb12402a7
0xfecba38 | 0xb4757d4 -> 0x646f47
0xfecba3c | 0xb4757d4 -> 0x646f47
0xfecba40 | 0xdd2f4d4 -> 0xb12402b3
0xfecba44 | 0xfecbd80 -> 0xfecc114
0xfecba48 | 0x3
0xfecba4c | 0xffffffff
0xfecba50 | 0xfecbad0 -> 0xfecbfb0
0xfecba54 | 0x59e022 -> 0x8bf45d8b
0xfecba58 | 0xfecba74 -> 0xfecbd80
0xfecba5c | 0x52f4d0 -> 0x8de58955
0xfecba60 | 0x605aac -> 0x10d00ff
0xfecba64 | 0xfecba98 -> 0x59e062
0xfecba68 | 0x59c16c -> 0x8b18c583
0xfecba6c | 0xfecba18 -> 0xb12402af
0xfecba70 | 0x490a060 -> 0x1272
0xfecba74 | 0xfecbd80 -> 0xfecc114
0xfecba78 | 0x1
0xfecba7c | 0
0xfecba80 | 0x4900120 -> 0
0xfecba84 | 0xfecb9e4 -> 0
0xfecba88 | 0x62aff0 -> 0x623bd8
0xfecba8c | 0x52f4d0 -> 0x8de58955
0xfecba90 | 0x605ac3 -> 0x201ffff
0xfecba94 | 0xfecbab8 -> 0xdd2f4d4
0xfecba98 | 0x59e062 -> 0xc718c583
0xfecba9c | 0xfecba58 -> 0xfecba74
0xfecbaa0 | 0x34c8ad0 -> 0x396eb10
0xfecbaa4 | 0xdd2f4d4 -> 0xb12402b3
0xfecbaa8 | 0
0xfecbaac | 0
0xfecbab0 | 0xfecbad0 -> 0xfecbfb0 \\\ stack frame //////
0xfecbab4 | 0x59e185 -> 0x8914c483 <-- ret
0xfecbab8 | 0xdd2f4d4 -> 0xb12402b3
0xfecbabc | 0x4909f40 -> 0xb4757d4
0xfecbac0 | 0xfecbe58 -> 0xdd2f440
0xfecbac4 | 0x5eb0248 -> 0xadbec48
0xfecbac8 | 0
0xfecbacc | 0x5eb0248 -> 0xadbec48
0xfecbad0 | 0xfecbfb0 -> 0xfecff60 \\\ stack frame //////
0xfecbad4 | 0x51317d -> 0x50c458b <-- ret
0xfecbad4  random_range(int, int, DistributionType_t)(0x51313e)
0xfecbad8 | 0xdd2f4d4 -> 0xb12402b3
0xfecbadc | 0x4909f40 -> 0xb4757d4
0xfecbae0 | 0
0xfecbae4 | 0xfecff3c -> 0xfecff88
0xfecbae8 | 0x76fc8bf2 -> 0x8b55ff8b
0xfecbaec | 0x77008c0f -> 0x67006500
0xfecbaf0 | 0xfffffffe
0xfecbaf4 | 0x77021843 -> 0x909090c3
0xfecbaf8 | 0x770216dc -> 0xf685f08b
0xfecbda4  Vocation::getReqMana(int)(0x516d92)
0xfecbf8c | 0x605e24 -> 0x10d00ff
0xfecbf90 | 0xfecbfb0 -> 0xfecff60
0xfecbf94 | 0x121c8e8 -> 0x6216a0
0xfecbf98 | 0xdd2f328 -> 0x622294
0xfecbf9c | 0xfecc238 -> 0x1e1c94e9
0xfecbfa0 | 0x10
0xfecbfa4 | 0x5eb0248 -> 0xadbec48
0xfecbfa8 | 0
0xfecbfac | 0
0xfecbfb0 | 0xfecff60 -> 0xfecff98 \\\ stack frame //////
0xfecbfb4 | 0x4b5946 -> 0x858b35eb <-- ret
0xfecbfb4  MonsterType::MonsterType()(0x4b5540)
0xfecbfb8 | 0x626150 -> 0
0xfecbfbc | 0xdd2f328 -> 0x622294
0xfecbfc0 | 0xfecc2e8 -> 0xf413e0c
0xfecbfc4 | 0xfecc2c8 -> 0x490492c
0xfecbfc8 | 0
0xfecbfcc | 0
0xfecbfd0 | 0
0xfecbfd4 | 0
0xfecc138  Monsters::deserializeSpell(_xmlNode*, spellBlock_t&, std::string const&)(0x4b718e)
0xfecff3c | 0xfecff88 -> 0xfecffdc
0xfecff40 | 0x4421f6 -> 0x57e58955
0xfecff40  ExceptionHandler::LoadMap()(0x441fca)
0xfecff44 | 0
0xfecff48 | 0xdd2f108 -> 0
0xfecff4c | 0x7abc18 -> 0x7ffde210
0xfecff50 | 0x4b4298 -> 0xc1cc85c7
0xfecff50  Monster::getRandomStep(Position const&, Position const&, Direction&)(0x4b4234)
0xfecff54 | 0x5eb0248 -> 0xadbec48
0xfecff58 | 0
0xfecff5c | 0
0xfecff60 | 0xfecff98 -> 0xfecffa0 \\\ stack frame //////
0xfecff64 | 0x768ef471 -> 0xaed0e959 <-- ret
0xfecff68 | 0x2a4fb48 -> 0x258
0xfecff6c | 0x34cb97a6
0xfecff70 | 0
0xfecff74 | 0
0xfecff78 | 0x5eb0248 -> 0xadbec48
0xfecff7c | 0xfecff6c -> 0x34cb97a6
0xfecff80 | 0xfecff6c -> 0x34cb97a6
0xfecff84 | 0xfecffdc -> 0xffffffff
0xfecff88 | 0xfecffdc -> 0xffffffff
0xfecff8c | 0x768e13dd -> 0x8b55ff8b
0xfecff90 | 0x4da99c46
0xfecff94 | 0
0xfecff98 | 0xfecffa0 -> 0xfecffac \\\ stack frame //////
0xfecff9c | 0x768ef450 -> 0x909090cc <-- ret
0xfecffa0 | 0xfecffac -> 0xfecffec
0xfecffa4 | 0x76c63833 -> 0x815ff50 <-- ret
0xfecffa8 | 0x5eb0248 -> 0xadbec48
0xfecffac | 0xfecffec -> 0 \\\ stack frame //////
0xfecffb0 | 0x76ffa9bd -> 0xfefc45c7 <-- ret
0xfecffb4 | 0x5eb0248 -> 0xadbec48
0xfecffb8 | 0xfec8e2b
0xfecffbc | 0
0xfecffc0 | 0
0xfecffc4 | 0x5eb0248 -> 0xadbec48
0xfecffc8 | 0
0xfecffcc | 0
0xfecffd0 | 0
0xfecffd4 | 0xfecffb8 -> 0xfec8e2b
0xfecffd8 | 0
0xfecffdc | 0xffffffff
0xfecffe0 | 0x76fc8bf2 -> 0x8b55ff8b
0xfecffe4 | 0x770080cf -> 0x5d005b00
0xfecffe8 | 0
0xfecffec | 0 \\\ stack frame //////
0xfecfff0 | 0 <-- ret
0xfecfff4 | 0x768ef40d -> 0x8b55ff8b
0xfecfff8 | 0x5eb0248 -> 0xadbec48
0xfecfffc | 0
*****************************************************
 
Edit: Nevermind, realized that the tibialoader simply doesn't change the port
 
Agostino said:
Using the latest revision (133), my server crashes when trying to log in.

Code:
*****************************************************
Error report - Thu Jul 26 22:28:43 2007

Compiler info - gcc 3.4.2 (mingw-special)
Compilation Date - Jul 24 2007 21:21:53

Memory load: 53
Total phys: 1048575 K available phys: 970236 K
Start time: 26-7-2007  20:28:33
Kernel time: 0:0:0.781
User time: 0:0:4.406
Threads: 5

Exception: 0xc0000005 at eip = 0x538519
eax = 0xffffffff
ebx = 0xffffffff
ecx = 0xb4757c8 -> 0x3
edx = 0xb12402af
esi = 0
edi = 0x1
ebp = 0xfecba10 -> 0xfecbab0
esp = 0xfecba10 -> 0xfecbab0
efl = 0x10296

---Stack Trace---
From: 0xfecba10 to: 0xfed0000
0xfecba10 | 0xfecbab0 -> 0xfecbad0 \\\ stack frame //////
0xfecba14 | 0x59c1d9 -> 0x8f0fc085 <-- ret
0xfecba18 | 0xb12402af
0xfecba1c | 0xffffffff
0xfecba20 | 0xfecba50 -> 0xfecbad0
0xfecba24 | 0x59b524 -> 0x9090c3c9
0xfecba28 | 0x490a060 -> 0x1272
0xfecba2c | 0
0xfecba30 | 0
0xfecba34 | 0xb12402a7
0xfecba38 | 0xb4757d4 -> 0x646f47
0xfecba3c | 0xb4757d4 -> 0x646f47
0xfecba40 | 0xdd2f4d4 -> 0xb12402b3
0xfecba44 | 0xfecbd80 -> 0xfecc114
0xfecba48 | 0x3
0xfecba4c | 0xffffffff
0xfecba50 | 0xfecbad0 -> 0xfecbfb0
0xfecba54 | 0x59e022 -> 0x8bf45d8b
0xfecba58 | 0xfecba74 -> 0xfecbd80
0xfecba5c | 0x52f4d0 -> 0x8de58955
0xfecba60 | 0x605aac -> 0x10d00ff
0xfecba64 | 0xfecba98 -> 0x59e062
0xfecba68 | 0x59c16c -> 0x8b18c583
0xfecba6c | 0xfecba18 -> 0xb12402af
0xfecba70 | 0x490a060 -> 0x1272
0xfecba74 | 0xfecbd80 -> 0xfecc114
0xfecba78 | 0x1
0xfecba7c | 0
0xfecba80 | 0x4900120 -> 0
0xfecba84 | 0xfecb9e4 -> 0
0xfecba88 | 0x62aff0 -> 0x623bd8
0xfecba8c | 0x52f4d0 -> 0x8de58955
0xfecba90 | 0x605ac3 -> 0x201ffff
0xfecba94 | 0xfecbab8 -> 0xdd2f4d4
0xfecba98 | 0x59e062 -> 0xc718c583
0xfecba9c | 0xfecba58 -> 0xfecba74
0xfecbaa0 | 0x34c8ad0 -> 0x396eb10
0xfecbaa4 | 0xdd2f4d4 -> 0xb12402b3
0xfecbaa8 | 0
0xfecbaac | 0
0xfecbab0 | 0xfecbad0 -> 0xfecbfb0 \\\ stack frame //////
0xfecbab4 | 0x59e185 -> 0x8914c483 <-- ret
0xfecbab8 | 0xdd2f4d4 -> 0xb12402b3
0xfecbabc | 0x4909f40 -> 0xb4757d4
0xfecbac0 | 0xfecbe58 -> 0xdd2f440
0xfecbac4 | 0x5eb0248 -> 0xadbec48
0xfecbac8 | 0
0xfecbacc | 0x5eb0248 -> 0xadbec48
0xfecbad0 | 0xfecbfb0 -> 0xfecff60 \\\ stack frame //////
0xfecbad4 | 0x51317d -> 0x50c458b <-- ret
0xfecbad4  random_range(int, int, DistributionType_t)(0x51313e)
0xfecbad8 | 0xdd2f4d4 -> 0xb12402b3
0xfecbadc | 0x4909f40 -> 0xb4757d4
0xfecbae0 | 0
0xfecbae4 | 0xfecff3c -> 0xfecff88
0xfecbae8 | 0x76fc8bf2 -> 0x8b55ff8b
0xfecbaec | 0x77008c0f -> 0x67006500
0xfecbaf0 | 0xfffffffe
0xfecbaf4 | 0x77021843 -> 0x909090c3
0xfecbaf8 | 0x770216dc -> 0xf685f08b
0xfecbda4  Vocation::getReqMana(int)(0x516d92)
0xfecbf8c | 0x605e24 -> 0x10d00ff
0xfecbf90 | 0xfecbfb0 -> 0xfecff60
0xfecbf94 | 0x121c8e8 -> 0x6216a0
0xfecbf98 | 0xdd2f328 -> 0x622294
0xfecbf9c | 0xfecc238 -> 0x1e1c94e9
0xfecbfa0 | 0x10
0xfecbfa4 | 0x5eb0248 -> 0xadbec48
0xfecbfa8 | 0
0xfecbfac | 0
0xfecbfb0 | 0xfecff60 -> 0xfecff98 \\\ stack frame //////
0xfecbfb4 | 0x4b5946 -> 0x858b35eb <-- ret
0xfecbfb4  MonsterType::MonsterType()(0x4b5540)
0xfecbfb8 | 0x626150 -> 0
0xfecbfbc | 0xdd2f328 -> 0x622294
0xfecbfc0 | 0xfecc2e8 -> 0xf413e0c
0xfecbfc4 | 0xfecc2c8 -> 0x490492c
0xfecbfc8 | 0
0xfecbfcc | 0
0xfecbfd0 | 0
0xfecbfd4 | 0
0xfecc138  Monsters::deserializeSpell(_xmlNode*, spellBlock_t&, std::string const&)(0x4b718e)
0xfecff3c | 0xfecff88 -> 0xfecffdc
0xfecff40 | 0x4421f6 -> 0x57e58955
0xfecff40  ExceptionHandler::LoadMap()(0x441fca)
0xfecff44 | 0
0xfecff48 | 0xdd2f108 -> 0
0xfecff4c | 0x7abc18 -> 0x7ffde210
0xfecff50 | 0x4b4298 -> 0xc1cc85c7
0xfecff50  Monster::getRandomStep(Position const&, Position const&, Direction&)(0x4b4234)
0xfecff54 | 0x5eb0248 -> 0xadbec48
0xfecff58 | 0
0xfecff5c | 0
0xfecff60 | 0xfecff98 -> 0xfecffa0 \\\ stack frame //////
0xfecff64 | 0x768ef471 -> 0xaed0e959 <-- ret
0xfecff68 | 0x2a4fb48 -> 0x258
0xfecff6c | 0x34cb97a6
0xfecff70 | 0
0xfecff74 | 0
0xfecff78 | 0x5eb0248 -> 0xadbec48
0xfecff7c | 0xfecff6c -> 0x34cb97a6
0xfecff80 | 0xfecff6c -> 0x34cb97a6
0xfecff84 | 0xfecffdc -> 0xffffffff
0xfecff88 | 0xfecffdc -> 0xffffffff
0xfecff8c | 0x768e13dd -> 0x8b55ff8b
0xfecff90 | 0x4da99c46
0xfecff94 | 0
0xfecff98 | 0xfecffa0 -> 0xfecffac \\\ stack frame //////
0xfecff9c | 0x768ef450 -> 0x909090cc <-- ret
0xfecffa0 | 0xfecffac -> 0xfecffec
0xfecffa4 | 0x76c63833 -> 0x815ff50 <-- ret
0xfecffa8 | 0x5eb0248 -> 0xadbec48
0xfecffac | 0xfecffec -> 0 \\\ stack frame //////
0xfecffb0 | 0x76ffa9bd -> 0xfefc45c7 <-- ret
0xfecffb4 | 0x5eb0248 -> 0xadbec48
0xfecffb8 | 0xfec8e2b
0xfecffbc | 0
0xfecffc0 | 0
0xfecffc4 | 0x5eb0248 -> 0xadbec48
0xfecffc8 | 0
0xfecffcc | 0
0xfecffd0 | 0
0xfecffd4 | 0xfecffb8 -> 0xfec8e2b
0xfecffd8 | 0
0xfecffdc | 0xffffffff
0xfecffe0 | 0x76fc8bf2 -> 0x8b55ff8b
0xfecffe4 | 0x770080cf -> 0x5d005b00
0xfecffe8 | 0
0xfecffec | 0 \\\ stack frame //////
0xfecfff0 | 0 <-- ret
0xfecfff4 | 0x768ef40d -> 0x8b55ff8b
0xfecfff8 | 0x5eb0248 -> 0xadbec48
0xfecfffc | 0
*****************************************************

Try the latest rev.
 
I've got a problem with MySQL :S

Last week, I was able to change someones account number, but now, I keep getting this error:
Code:
Cannot delete or update a parent row: a foreign key constraint fails (`forgotten/players`, CONSTRAINT `players_ibfk_1` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE)
I also tried it in cmd:
Code:
mysql> UPDATE accounts SET id = 10 WHERE id = 5598489;
ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`forgotten/players`, CONSTRAINT `players_ibfk_1` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE)
 
It's because the account number you're changing to doesn't exist.
 
Then how come I could do that before? Maybe I did it before they created characters on the accounts?

And what is the solution?

Edit: Seems like it cant be any chars on that account when I want to change the account number.
 
You have to create an account with that account number in the accounts table before setting someones account number to something that doesn't exist..
 
All I could say is....

PLEASE ADD ALL NPCS TO THE FILES! PLEASE PLEASE!
 
Hey,
Guess I found a bug, im using 0.2.2 version.
Im making a script that when you step in a tile u'll teleport
but when I step in, don't happens nothing, changed function "OnStepIn" to "OnUse" to make a test and worked, well i guess its a bug cuz the script is right, look it here (id of tile and actionid is both right):
PHP:
function onStepIn(cid, item, topos)

if item.itemid == 471 and item.actionid == 4907 then
local pos = {x=55, y=108, z=8}
doTeleportThing(cid,pos,0)
end
end
And on movements.xml
PHP:
<movement event="StepIn" actionid="4907" script="script.lua" />
<movement event="StepOut" actionid="4907" script="script.lua" />
 
You don't need "and item.actionid == 4907" check in the script as you already registered it as actionid 4907, I can't see anything wrong in your script, login on your server as a gamemaster and look at the tile and post the look message.
 
Status
Not open for further replies.
Back
Top