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

Problem with Dev-Cpp 1.4

kofel

Quietly
Joined
Aug 19, 2007
Messages
74
Reaction score
1
I think LuaSQL doesn't work on this version TFS Dev-Cpp, when i use command !deathlist "PlayerName then server crashed.

Yours,
Kofel
 
LuaSQL is working fine for me.

I'm not using the deathlist script, but if the LuaSQL were not running, the playerdeath script also not be.

Then the problem isn't with the compiler, I guess.
 
When i compiled TFS in TFS Dev-Cpp 1.3 then LuaSQL working fine.

Yours,
Kofel
 
Bump, i tested on the orginal tfs project file and this same problem. :/
rev 692
 
This is crash log:
Code:
*****************************************************
Error report - Sat Apr 05 16:54:40 2008

Compiler info - gcc 3.4.5 (mingw special)
Compilation Date - Apr  5 2008 16:50:17

Memory load: 46
Total phys: 2096620 K available phys: 1131620 K
Start time: 5-4-2008  14:54:13
Kernel time: 0:0:0.718
User time: 0:0:7.750
Threads: 4

Exception: 0xc0000005 at eip = 0x3ec5fb
eax = 0
ebx = 0x6e17e0 -> 0
ecx = 0x6e17e0 -> 0
edx = 0x1b67a10 -> 0
esi = 0x21a4840 -> 0x1f09420
edi = 0x21a4840 -> 0x1f09420
ebp = 0x1879a28 -> 0x1b67a10
esp = 0x12ff7d8 -> 0x21a4840
efl = 0x10216

---Stack Trace---
From: 0x12ff7d8 to: 0x1300000
0x12ff7d8 | 0x21a4840 -> 0x1f09420
0x12ff7dc | 0x1879a28 -> 0x1b67a10
0x12ff7e0 | 0x13b8f98 -> 0x6e610000
0x12ff7e4 | 0x1dda1a0 -> 0x13b8f80
0x12ff7e8 | 0x3ec551 -> 0x5b0cc483
0x12ff7ec | 0x1dda1a0 -> 0x13b8f80
0x12ff7f0 | 0x21a4840 -> 0x1f09420
0x12ff7f4 | 0x1879a28 -> 0x1b67a10
0x12ff7f8 | 0x18799f8 -> 0x21a4840
0x12ff7fc | 0x1879a48 -> 0x1f64938
0x12ff800 | 0x1dda1a0 -> 0x13b8f80
0x12ff804 | 0x3e1e84 -> 0x83f04f8b
0x12ff808 | 0x1dda1a0 -> 0x13b8f80
0x12ff80c | 0x21a4840 -> 0x1f09420
0x12ff810 | 0x1879a28 -> 0x1b67a10
0x12ff814 | 0x1dda1a0 -> 0x13b8f80
0x12ff818 | 0x2
0x12ff81c | 0x158a030 -> 0x158a03c
0x12ff820 | 0x1dda1a0 -> 0x13b8f80
0x12ff824 | 0x1
0x12ff828 | 0x80165a -> 0xc483c38b
0x12ff82c | 0x1dda1a0 -> 0x13b8f80
0x12ff830 | 0x2
0x12ff834 | 0x1dda1a0 -> 0x13b8f80
0x12ff838 | 0x1879a18 -> 0x21a5450
0x12ff83c | 0x12ff8a0 -> 0x12ff990
0x12ff840 | 0x1
0x12ff844 | 0xff335488
0x12ff848 | 0x158a030 -> 0x158a03c
0x12ff84c | 0x8bf4b8 -> 0xb
0x12ff850 | 0x18585d8 -> 0x61
0x12ff854 | 0x583fc7 -> 0xd285c289
0x12ff858 | 0x1dda1a0 -> 0x13b8f80
0x12ff85c | 0
0x12ff860 | 0x12ff880 -> 0x12ff8a0
0x12ff864 | 0x58040b -> 0x8b0c4689
0x12ff868 | 0x1879958 -> 0
0x12ff86c | 0
0x12ff870 | 0
0x12ff874 | 0x21a4840 -> 0x1f09420
0x12ff878 | 0x1dda1a0 -> 0x13b8f80
0x12ff87c | 0
0x12ff880 | 0x12ff8a0 -> 0x12ff990
0x12ff884 | 0x5805d1 -> 0x8910c483
0x12ff888 | 0
0x12ff88c | 0x21a4840 -> 0x1f09420
0x12ff890 | 0x80
0x12ff894 | 0x1
0x12ff898 | 0x1dda1a0 -> 0x13b8f80
0x12ff89c | 0x19d91bc -> 0x1c5014b
0x12ff8a0 | 0x12ff990 -> 0x12ff9b0
0x12ff8a4 | 0x57fab4 -> 0x840fc085
0x12ff8a8 | 0x1dda1a0 -> 0x13b8f80
0x12ff8ac | 0x18799d8 -> 0x1bb64c8
0x12ff8b0 | 0x1
0x12ff8b4 | 0x18799d8 -> 0x1bb64c8
0x12ff8b8 | 0x18
0x12ff8bc | 0x18
0x12ff8c0 | 0x12ff920 -> 0x12ff930
0x12ff8c4 | 0x5a79bb -> 0x8bbc458b
0x12ff8c8 | 0x12ff8e0 -> 0x12ff97c
0x12ff8cc | 0x1b9a580 -> 0
0x12ff8d0 | 0x12fff5c -> 0x12fffa4
0x12ff8d4 | 0x77c25c94 -> 0x83ec8b55
0x12ff8d8 | 0x77c02070 -> 0xffffffff
0x12ff8dc | 0x1def728 -> 0x1
0x12ff8e0 | 0x12ff97c -> 0x12ffbf0
0x12ff8e4 | 0x1
0x12ff8e8 | 0x6662fe8 -> 0xa
0x12ff8ec | 0x1
0x12ff8f0 | 0x12ff920 -> 0x12ff930
0x12ff8f4 | 0x64bdac -> 0x9090c3c9
0x12ff8f8 | 0x5a4cd0 -> 0x8de58955
0x12ff8fc | 0x6bfeb8 -> 0x10d00ff
0x12ff900 | 0x12ff914 -> 0x2195eb4
0x12ff904 | 0x5a79d0 -> 0x830cc583
0x12ff908 | 0x12ff8c8 -> 0x12ff8e0
0x12ff90c | 0x1b9a58c -> 0xa
0x12ff910 | 0x6662ff4 -> 0x61656421
0x12ff914 | 0x2195eb4 -> 0x1f72c6c
0x12ff918 | 0x2195eb0 -> 0x6c25bc
0x12ff91c | 0x2195eac -> 0x1
0x12ff920 | 0x12ff930 -> 0x12ff950
0x12ff924 | 0x61c162 -> 0x8955c3c9
0x12ff928 | 0x18
0x12ff92c | 0x12ff978 -> 0x1def728
0x12ff930 | 0x12ff950 -> 0x1d5f398
0x12ff934 | 0x6aa1ad -> 0x83fc4589
0x12ff938 | 0x8
0x12ff93c | 0x1def738 -> 0x100010e8
0x12ff940 | 0
0x12ff944 | 0x2195eb4 -> 0x1f72c6c
0x12ff948 | 0x18799d8 -> 0x1bb64c8
0x12ff94c | 0x19d91bc -> 0x1c5014b
0x12ff950 | 0x1d5f398 -> 0x1d74ea8
0x12ff954 | 0x187dcc8 -> 0x187dca8
0x12ff958 | 0x1bc2228 -> 0x1dda1a0
0x12ff95c | 0x12ffb10 -> 0x6bc01e
0x12ff960 | 0x5
0x12ff964 | 0x1e05680 -> 0xb
0x12ff968 | 0x1bc2228 -> 0x1dda1a0
0x12ff96c | 0x12ff928 -> 0x18
0x12ff970 | 0x5
0x12ff974 | 0x186dcc8 -> 0x1bb48b8
0x12ff978 | 0x1def728 -> 0x1
0x12ff97c | 0x12ffbf0 -> 0x12ffd04
0x12ff980 | 0x30
0x12ff984 | 0x1dda1a0 -> 0x13b8f80
0x12ff988 | 0x1
0x12ff98c | 0x1
0x12ff990 | 0x12ff9b0 -> 0x12ff9d0
0x12ff994 | 0x584321 -> 0x1c89b1eb
0x12ff998 | 0x1dda1a0 -> 0x13b8f80
0x12ff99c | 0x1
0x12ff9a0 | 0x1
0x12ff9a4 | 0x30
0x12ff9a8 | 0x1dda1a0 -> 0x13b8f80
0x12ff9ac | 0x1
0x12ff9b0 | 0x12ff9d0 -> 0x12ffa40
0x12ff9b4 | 0x57b371 -> 0xb68dc3c9
0x12ff9b8 | 0x1dda1a0 -> 0x13b8f80
0x12ff9bc | 0x1879988 -> 0x187dcc8
0x12ff9c0 | 0x1
0x12ff9c4 | 0x5
0x12ff9c8 | 0x12ff9e0 -> 0x1def728
0x12ff9cc | 0x1def728 -> 0x1
0x12ff9d0 | 0x12ffa40 -> 0x12ffa70
0x12ff9d4 | 0x583870 -> 0x8ba8458b
0x12ff9d8 | 0x1dda1a0 -> 0x13b8f80
0x12ff9dc | 0x12ffa98 -> 0x1879988
0x12ff9e0 | 0x1def728 -> 0x1
0x12ff9e4 | 0x1ffffff -> 0x72662064
0x12ff9e8 | 0
0x12ff9ec | 0x12ffa40 -> 0x12ffa70
0x12ff9f0 | 0x30
0x12ff9f4 | 0x1
0x12ff9f8 | 0x1dda1a0 -> 0x13b8f80
0x12ff9fc | 0x12ff9d4 -> 0x583870
0x12ffa00 | 0x583847 -> 0x1574c085
0x12ffa04 | 0x12fff5c -> 0x12fffa4
0x12ffa08 | 0x12fff4c -> 0
0x12ffa0c | 0x30000 -> 0xc8
0x12ffa10 | 0x12ff808 -> 0x1dda1a0
0x12ffa14 | 0x1
0x12ffa18 | 0x12ffa58 -> 0x12ffac0
0x12ffa1c | 0x7c90ee18 -> 0x83ec8b55
0x12ffa20 | 0x7c9106f0 -> 0xffffffff
0x12ffa24 | 0xffffffff
0x12ffa28 | 0x7c9106eb -> 0x90000cc2
0x12ffa2c | 0
0x12ffa30 | 0x30000 -> 0xc8
0x12ffa34 | 0
0x12ffa38 | 0x77c1c3ce -> 0xccccccc3
0x12ffa3c | 0
0x12ffa40 | 0x12ffa70 -> 0x12ffab0
0x12ffa44 | 0x58463e -> 0xc789c085
0x12ffa48 | 0x1dda1a0 -> 0x13b8f80
0x12ffa4c | 0x57b350 -> 0x83e58955
0x12ffa50 | 0x12ffa98 -> 0x1879988
0x12ffa54 | 0
0x12ffa58 | 0x12ffac0 -> 0x1
0x12ffa5c | 0
0x12ffa60 | 0
0x12ffa64 | 0x30
0x12ffa68 | 0x1dda1a0 -> 0x13b8f80
0x12ffa6c | 0x1
0x12ffa70 | 0x12ffab0 -> 0x12ffb70
0x12ffa74 | 0x57b3d7 -> 0x8b1d7447
0x12ffa78 | 0x1dda1a0 -> 0x13b8f80
0x12ffa7c | 0x57b350 -> 0x83e58955
0x12ffa80 | 0x12ffa98 -> 0x1879988
0x12ffa84 | 0x30
0x12ffa88 | 0
0x12ffa8c | 0x77c1c774 -> 0xccccccc3
0x12ffa90 | 0x1c
0x12ffa94 | 0
0x12ffa98 | 0x1879988 -> 0x187dcc8
0x12ffa9c | 0x1
0x12ffaa0 | 0x30000 -> 0xc8
0x12ffaa4 | 0x2195eb4 -> 0x1f72c6c
0x12ffaa8 | 0x2195eb0 -> 0x6c25bc
0x12ffaac | 0x2195eac -> 0x1
0x12ffab0 | 0x12ffb70 -> 0x12ffba0
0x12ffab4 | 0x49f900 -> 0x840fc085
0x12ffab4  LuaScriptInterface::callFunction(unsigned int)(0x49f884)
0x12ffab8 | 0x1dda1a0 -> 0x13b8f80
0x12ffabc | 0x3
0x12ffac0 | 0x1
0x12ffac4 | 0
0x12ffac8 | 0x77c020a0 -> 0xffffffff
0x12ffacc | 0xffffffff
0x12ffad0 | 0x77c1c774 -> 0xccccccc3
0x12ffad4 | 0x586303 -> 0xc689c085
0x12ffad8 | 0
0x12ffb18  LuaScriptInterface::callFunction(unsigned int)(0x49f884)
0x12ffb74  TalkAction::executeSay(Creature*, std::string const&, std::string const&)(0x52017a)
0x12ffba4  TalkActions::playerSaySpell(Player*, SpeakClasses, std::string const&)(0x51f4d6)
0x12ffc14  TalkActions::playerSaySpell(Player*, SpeakClasses, std::string const&)(0x51f4d6)
0x12ffc24  Game::playerSayCommand(Player*, SpeakClasses, std::string const&)(0x460f1e)
0x12ffca4  Game::playerSaySpell(Player*, SpeakClasses, std::string const&)(0x4610d2)
0x12ffcc4  Game::playerSay(unsigned int, unsigned short, SpeakClasses, std::string const&, std::string const&)(0x460ac2)
0x12ffd28  Game::playerSay(unsigned int, unsigned short, SpeakClasses, std::string const&, std::string const&)(0x460ac2)
0x12ffde8  Game::playerSay(unsigned int, unsigned short, SpeakClasses, std::string const&, std::string const&)(0x460ac2)
0x12ffef4  Dispatcher::dispatcherThread(void*)(0x520702)
0x12fff44  Dispatcher::dispatcherThread(void*)(0x520702)
0x12fff60  _SEHHandler(_EXCEPTION_RECORD*, void*, _CONTEXT*, void*)(0x44d02c)
*****************************************************
 
Managed to reproduce it, it's because of bad DLL files. I'll reupload the OpenTibia DLL package in the thread at download section in a few minutes.

EDIT: Uploaded to the sticky in Downloads -> Distributions.
 
Hmm i downloaded DLL's 1.4b, put into TFS folder, and this same, server crashing when i use !deathlist "nick, i must make changes in TFS Dev-Cpp 1.4? In TFS Dev-Cpp 1.3 LuaSQL working perfect.
 
Last edited:
Are you using MySQL or SqLite? I tried with SqLite and it worked without any crash when typing !deathlist "talaturen.
 
Try using the old DLL files and old lib files with TFDev-Cpp v1.4, see if that works.
 
Ok i used lua 5.1.2, luasql-mysql, luasql-sqlite3 from TFS Dev-Cpp 1.3 and working fine.
 
could someone explain what's dev-ccp is?
*i'm retarded (a)
 
Ok i used lua 5.1.2, luasql-mysql, luasql-sqlite3 from TFS Dev-Cpp 1.3 and working fine.

Which version of LuaSQL is that you're using? Or could you upload it so I can put it in TFDev-Cpp if others have the same issue?
 
Thanks I'll try that lib, and I'll commit few fixes in approx one hour.

EDIT: Sorry for not commiting fixes yet, but I've been investigating this case and it seems like LuaSQL 2.1.1 doesn't support Lua 5.1.3, so you only have to downgrade Lua to 5.1.2 until a LuaSQL version which supports Lua 5.1.3 is released.
 
Back
Top