Baalzephom
Member
No, why you say that? o.o
if you know the error plx can u help me?
if you know the error plx can u help me?
I don't know, just telling you I don't occur it. Also, what OS are using affected guys?
Yes i know, BUT I HAVE MY OWN ITEMS, SO IF I REPLACE THE MAP CANT OPEN CUZ THE MAP HAVE ITEMS ON MY ITEMS ON THE GROUND
local commonItems = {
-- ITEMS ALL VOC RECEIVE
{itemid=2457, count=1}, -- steel helmet
{itemid=2463, count=1}, -- plate armor
{itemid=2647, count=1}, -- plate legs
{itemid=2152, count=5}, -- 50 platinum coins
{itemid=2120, count=1}, -- rope
{itemid=5710, count=1} -- shovel
}
local firstItems = {
{ -- SORC ITEMS
{itemid=2190, count=1}, -- wand of vortex
{itemid=7457, count=1}, -- spell book
{itemid=2200, count=1} -- aol
},
{ -- DRUID ITEMS
{itemid=2182, count=1}, -- snakebite rod
{itemid=7457, count=1}, -- spellbook
{itemid=2200, count=1} -- aol
},
{ -- PALADIN ITEMS
{itemid=2456, count=1}, -- bow
{itemid=7457, count=1}, -- spell book
{itemid=2544, count=100}, -- 100 arrows
{itemid=2200, count=1}, -- aol
{itemid=1294, count=20}
},
{ -- KNIGHT ITEMS
{itemid=2413, count=1}, -- clerical mace
{itemid=2518, count=1}, -- beholder shield
{itemid=2200, count=1} -- aol
}
}
for _, items in ipairs(firstItems) do
for _, item in ipairs(commonItems) do
table.insert(items, item)
end
end
function onLogin(cid)
if getPlayerGroupId(cid) < 2 then
local hasReceivedFirstItems = getPlayerStorageValue(cid, 90808)
if hasReceivedFirstItems ~= TRUE then
--[[local backpack = ]]doPlayerAddItem(cid, 1988, TRUE)
local giveItems = firstItems[getPlayerVocation(cid)]
if giveItems ~= nil then
for _, v in ipairs(giveItems) do
--doAddContainerItem(backpack, v.itemid, v.count or 1)
doPlayerAddItem(cid, v.itemid, v.count or 1)
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You received your first items depending on your vocation.")
end
setPlayerStorageValue(cid, 90808, TRUE)
end
end
return TRUE
end
sqlite3_step(): SQLITE ERROR: attempt to write a readonly database
sqlite3_step(): SQLITE ERROR: attempt to write a readonly database
sqlite3_step(): SQLITE ERROR: attempt to write a readonly database
> ERROR: Failed to save account: 1!
There are some new lines in config.lua
on Battle:
pushCreatureDelay = 2 * 1000
deathContainerId = 1987
on Connection Config:
premiumPlayerSkipWaitList = "no"
on Item Usage:
maximumDoorLevel = 500
on Startup:
confirmOutdatedVersion = "yes"
Just add this lines and the config will have all functions