hansihinter
Member
- Joined
- Nov 11, 2010
- Messages
- 197
- Reaction score
- 6
What website distrib runs with it?
1>c:\users\anthony\downloads\tibia related\0.2.14.r101\luascript.h(35): fatal error C1083: Cannot open include file: 'luajit.h': No such file or directory
Thanks, been waiting for this!
When I try to compile, I get this error:
Code:1>c:\users\anthony\downloads\tibia related\0.2.14.r101\luascript.h(35): fatal error C1083: Cannot open include file: 'luajit.h': No such file or directory
I try to compile in Windowns 32bits
GUI\tools.o:tools.cpp: undefined reference to `_imp__xmlFree'
6 errors, 0 warnings
[27/08/2012 13:05:20] Missing skill id.
[27/08/2012 13:05:20] Missing skill id.
[27/08/2012 13:05:20] Missing skill id.
[27/08/2012 13:05:20] Missing skill id.
[27/08/2012 13:05:20] Missing skill id.
[27/08/2012 13:05:20] Missing skill id.
[27/08/2012 13:05:20] Missing skill id.
[27/08/2012 13:05:20] Missing skill id.
[27/08/2012 13:05:20] Missing skill id.
[27/08/2012 13:05:20] >> Loading commands
[27/08/2012 13:05:20] Warning: Missing group id for command !buyhouse
[27/08/2012 13:05:20] Warning: Missing acctype level for command !buyhouse
[27/08/2012 13:05:20] Warning: Missing log command !buyhouse
[27/08/2012 13:05:20] Warning: Missing group id for command !createguild
[27/08/2012 13:05:20] Warning: Missing acctype level for command !createguild
[27/08/2012 13:05:20] Warning: Missing log command !createguild
[27/08/2012 13:05:20] Warning: Missing group id for command !joinguild
[27/08/2012 13:05:20] Warning: Missing acctype level for command !joinguild
[27/08/2012 13:05:20] Warning: Missing log command !joinguild
[27/08/2012 13:05:20] Warning: Missing group id for command !kills
[27/08/2012 13:05:20] Warning: Missing acctype level for command !kills
[27/08/2012 13:05:20] Warning: Missing log command !kills
[27/08/2012 13:05:20] Warning: Missing group id for command !online
[27/08/2012 13:05:20] Warning: Missing acctype level for command !online
[27/08/2012 13:05:20] Warning: Missing log command !online
[27/08/2012 13:05:20] Warning: Missing group id for command !sellhouse
[27/08/2012 13:05:20] Warning: Missing acctype level for command !sellhouse
[27/08/2012 13:05:20] Warning: Missing log command !sellhouse
[27/08/2012 13:05:20] Warning: Missing group id for command !serverinfo
[27/08/2012 13:05:20] Warning: Missing acctype level for command !serverinfo
[27/08/2012 13:05:20] Warning: Missing log command !serverinfo
[27/08/2012 13:05:20] Warning: Missing group id for command /B
[27/08/2012 13:05:20] Warning: Missing acctype level for command /B
[27/08/2012 13:05:20] Warning: Missing log command /B
[27/08/2012 13:05:20] Warning: Missing group id for command /a
[27/08/2012 13:05:20] Warning: Missing acctype level for command /a
[27/08/2012 13:05:20] Warning: Missing log command /a
[27/08/2012 13:05:20] Warning: Missing group id for command /addskill
[27/08/2012 13:05:20] Warning: Missing acctype level for command /addskill
[27/08/2012 13:05:20] Warning: Missing log command /addskill
[27/08/2012 13:05:20] Warning: Missing group id for command /b
[27/08/2012 13:05:20] Warning: Missing acctype level for command /b
[27/08/2012 13:05:20] Warning: Missing log command /b
[27/08/2012 13:05:20] Warning: Missing group id for command /ban
[27/08/2012 13:05:20] Warning: Missing acctype level for command /ban
[27/08/2012 13:05:20] Warning: Missing log command /ban
[27/08/2012 13:05:20] Warning: Missing group id for command /c
[27/08/2012 13:05:20] Warning: Missing acctype level for command /c
[27/08/2012 13:05:20] Warning: Missing log command /c
[27/08/2012 13:05:20] Warning: Missing group id for command /clean
[27/08/2012 13:05:20] Warning: Missing acctype level for command /clean
[27/08/2012 13:05:20] Warning: Missing log command /clean
[27/08/2012 13:05:20] Warning: Missing group id for command /closeserver
[27/08/2012 13:05:20] Warning: Missing acctype level for command /closeserver
[27/08/2012 13:05:20] Warning: Missing log command /closeserver
[27/08/2012 13:05:20] Warning: Missing group id for command /down
[27/08/2012 13:05:20] Warning: Missing acctype level for command /down
[27/08/2012 13:05:20] Warning: Missing log command /down
[27/08/2012 13:05:20] Warning: Missing group id for command /gethouse
[27/08/2012 13:05:20] Warning: Missing acctype level for command /gethouse
[27/08/2012 13:05:20] Warning: Missing log command /gethouse
[27/08/2012 13:05:21] Warning: Missing group id for command /ghost
[27/08/2012 13:05:21] Warning: Missing acctype level for command /ghost
[27/08/2012 13:05:21] Warning: Missing log command /ghost
[27/08/2012 13:05:21] Warning: Missing group id for command /goto
[27/08/2012 13:05:21] Warning: Missing acctype level for command /goto
[27/08/2012 13:05:21] Warning: Missing log command /goto
[27/08/2012 13:05:21] Warning: Missing group id for command /i
[27/08/2012 13:05:21] Warning: Missing acctype level for command /i
[27/08/2012 13:05:21] Warning: Missing log command /i
[27/08/2012 13:05:21] Warning: Missing group id for command /info
[27/08/2012 13:05:21] Warning: Missing acctype level for command /info
[27/08/2012 13:05:21] Warning: Missing log command /info
[27/08/2012 13:05:21] Warning: Missing group id for command /kick
[27/08/2012 13:05:21] Warning: Missing acctype level for command /kick
[27/08/2012 13:05:21] Warning: Missing log command /kick
[27/08/2012 13:05:21] Warning: Missing group id for command /m
[27/08/2012 13:05:21] Warning: Missing acctype level for command /m
[27/08/2012 13:05:21] Warning: Missing log command /m
[27/08/2012 13:05:21] Warning: Missing group id for command /mccheck
[27/08/2012 13:05:21] Warning: Missing acctype level for command /mccheck
[27/08/2012 13:05:21] Warning: Missing log command /mccheck
[27/08/2012 13:05:21] Warning: Missing group id for command /n
[27/08/2012 13:05:21] Warning: Missing acctype level for command /n
[27/08/2012 13:05:21] Warning: Missing log command /n
[27/08/2012 13:05:21] Warning: Missing group id for command /newtype
[27/08/2012 13:05:21] Warning: Missing acctype level for command /newtype
[27/08/2012 13:05:21] Warning: Missing log command /newtype
[27/08/2012 13:05:21] Warning: Missing group id for command /openserver
[27/08/2012 13:05:21] Warning: Missing acctype level for command /openserver
[27/08/2012 13:05:21] Warning: Missing log command /openserver
[27/08/2012 13:05:21] Warning: Missing group id for command /owner
[27/08/2012 13:05:21] Warning: Missing acctype level for command /owner
[27/08/2012 13:05:21] Warning: Missing log command /owner
[27/08/2012 13:05:21] Warning: Missing group id for command /pos
[27/08/2012 13:05:21] Warning: Missing acctype level for command /pos
[27/08/2012 13:05:21] Warning: Missing log command /pos
[27/08/2012 13:05:21] Warning: Missing group id for command /q
[27/08/2012 13:05:21] Warning: Missing acctype level for command /q
[27/08/2012 13:05:21] Warning: Missing log command /q
[27/08/2012 13:05:21] Warning: Missing group id for command /r
[27/08/2012 13:05:21] Warning: Missing acctype level for command /r
[27/08/2012 13:05:21] Warning: Missing log command /r
[27/08/2012 13:05:21] Warning: Missing group id for command /raid
[27/08/2012 13:05:21] Warning: Missing acctype level for command /raid
[27/08/2012 13:05:21] Warning: Missing log command /raid
[27/08/2012 13:05:21] Warning: Missing group id for command /reload
[27/08/2012 13:05:21] Warning: Missing acctype level for command /reload
[27/08/2012 13:05:21] Warning: Missing log command /reload
[27/08/2012 13:05:21] Warning: Missing group id for command /s
[27/08/2012 13:05:21] Warning: Missing acctype level for command /s
[27/08/2012 13:05:21] Warning: Missing log command /s
[27/08/2012 13:05:21] Warning: Missing group id for command /serverdiag
[27/08/2012 13:05:21] Warning: Missing acctype level for command /serverdiag
[27/08/2012 13:05:21] Warning: Missing log command /serverdiag
[27/08/2012 13:05:21] Warning: Missing group id for command /summon
[27/08/2012 13:05:21] Warning: Missing acctype level for command /summon
[27/08/2012 13:05:21] Warning: Missing log command /summon
[27/08/2012 13:05:21] Warning: Missing group id for command /t
[27/08/2012 13:05:21] Warning: Missing acctype level for command /t
[27/08/2012 13:05:21] Warning: Missing log command /t
[27/08/2012 13:05:21] Warning: Missing group id for command /town
[27/08/2012 13:05:21] Warning: Missing acctype level for command /town
[27/08/2012 13:05:21] Warning: Missing log command /town
[27/08/2012 13:05:21] Warning: Missing group id for command /unban
[27/08/2012 13:05:21] Warning: Missing acctype level for command /unban
[27/08/2012 13:05:21] Warning: Missing log command /unban
[27/08/2012 13:05:21] Warning: Missing group id for command /up
[27/08/2012 13:05:21] Warning: Missing acctype level for command /up
[27/08/2012 13:05:21] Warning: Missing log command /up
[27/08/2012 13:05:21] > ERROR: Unable to load commands!
[28/08/2012 08:46:59] Lua Script Error: [Npc interface]
[28/08/2012 08:46:59] data/npc/scripts/bank.luanCreatureSay
[28/08/2012 08:46:59] data/global.lua:1452: attempt to call global 'getBooleanFromString' (a nil value)
[28/08/2012 08:46:59] stack traceback:
[28/08/2012 08:46:59] [C]: in function 'getBooleanFromString'
[28/08/2012 08:46:59] data/global.lua:1452: in function 'doPlayerDepositMoney'
[28/08/2012 08:46:59] data/npc/scripts/bank.lua:162: in function 'callback'
[28/08/2012 08:46:59] data/npc/lib/npcsystem/npchandler.lua:390: in function 'onCreatureSay'
[28/08/2012 08:46:59] data/npc/scripts/bank.lua:15: in function <data/npc/scripts/bank.lua:15>
[28/08/2012 08:46:59] Lua Script Error: [Npc interface]
[28/08/2012 08:46:59] data/npc/scripts/bank.luanCreatureSay
[28/08/2012 08:46:59] data/global.lua:1452: attempt to call global 'getBooleanFromString' (a nil value)
[28/08/2012 08:46:59] stack traceback:
[28/08/2012 08:46:59] [C]: in function 'getBooleanFromString'
[28/08/2012 08:46:59] data/global.lua:1452: in function 'doPlayerDepositMoney'
[28/08/2012 08:46:59] data/npc/scripts/bank.lua:162: in function 'callback'
[28/08/2012 08:46:59] data/npc/lib/npcsystem/npchandler.lua:390: in function 'onCreatureSay'
[28/08/2012 08:46:59] data/npc/scripts/bank.lua:15: in function <data/npc/scripts/bank.lua:15>
I assume you're both trying to compile under Windows, so I suggest using Visual Studio with TFS SDK released by Kornholijo to compile. Compiling with MinGW in Windows is currently not recommended (someone needs to update the libraries, especially the SQLite one).
@tibea1022
acc type = 5
char group = 3
------------------------------------------------
is there any bank system deployed in TFS 9.61?
I'm trying to use the functions: "doPlayerWithdrawMoney", "doPlayerDepositMoney"
but they do not work, the parameters are passed into the function (cid, amount).
Everytime I try to use them of this error:
[28/08/2012 08:46:59] Lua Script Error: [Npc interface]
[28/08/2012 08:46:59] data/npc/scripts/bank.luanCreatureSay
[28/08/2012 08:46:59] data/global.lua:1452: attempt to call global 'getBooleanFromString' (a nil value)
[28/08/2012 08:46:59] stack traceback:
[28/08/2012 08:46:59] [C]: in function 'getBooleanFromString'
[28/08/2012 08:46:59] data/global.lua:1452: in function 'doPlayerDepositMoney'
[28/08/2012 08:46:59] data/npc/scripts/bank.lua:162: in function 'callback'
[28/08/2012 08:46:59] data/npc/lib/npcsystem/npchandler.lua:390: in function 'onCreatureSay'
[28/08/2012 08:46:59] data/npc/scripts/bank.lua:15: in function <data/npc/scripts/bank.lua:15>
function getBooleanFromString(str)
return str == "1" or str:lower() == "yes" or str:lower() == "true"
end
@Talaturen
How I can set the time of the black skull?
0.2 doesn't have getBooleanFromString which your NPC seems to be using. You can add it to global.lua, I think it's something like this:
Lua:function getBooleanFromString(str) return str == "1" or str:lower() == "yes" or str:lower() == "true" end
config.lua
string.boolean = function (input)
local tmp = type(input)
if(tmp == 'boolean') then
return input
end
if(tmp == 'number') then
return input > 0
end
local str = string.lower(tostring(input))
return (str == "yes" or str == "true" or (tonumber(str) ~= nil and tonumber(str) > 0))
end
getBooleanFromString = string.boolean
[28/08/2012 08:46:59] data/global.lua:1452: in function 'doPlayerDepositMoney'
[28/08/2012 08:46:59] data/npc/scripts/bank.lua:162: in function 'callback'
[28/08/2012 08:46:59] data/npc/lib/npcsystem/npchandler.lua:390: in function 'onCreatureSay'