Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
local level = getPlayerLevel(cid)
if level < 101 then
doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 0)
else
doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 100)
end
if level < 101 then
doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 0)...
error code;
[03/07/2014 20:42:45] data/creaturescripts/scripts/firstitems.lua:77: attempt to index global 'q' (a nil value)
[03/07/2014 20:42:45] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/firstitems.lua)
.lua;
local cid = q.cid
if isPlayer(cid) ==...
Okay look; I added it after the quote
--[[ local giveItems = firstItems[getPlayerVocation(cid)]
if giveItems ~= nil then
for _, v in ipairs(giveItems) do
if getPlayerItemCount(cid, v.itemid) >= v.count then...
I added line
fakeAmmountPlayers
in config.lua, now another errors appears, have a look
[03/07/2014 18:34:00] Lua Script Error: [CreatureScript Interface]
[03/07/2014 18:34:00] data/creaturescripts/scripts/loginFake.lua:onLogin
[03/07/2014 18:34:00]...
I did remove the quote before, the whole script stopped working, about the firstItems and commonItems, I didn't do this yet, any further info regarding this specific thing?
The script shows no errors at the console, however it adds no items to the player.
Its a bit custom, let me explain how it is supposed to work.
On player first login, he is unable to move and supposed to receive his first items, server sends him a "not possible msg", the server automatically...