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

[8.41/42] The Forgotten Server 0.3.4PL2 (Crying Damson)

Status
Not open for further replies.
Buy donator and you are able to watch priv svn changes... even download a tarball... So stop blaming Elf for his great job for ot community. Peace xD
 
As I saw well, elf isn't at home, and he's always making a threads with new tfs version, so it will take some time ;]
 
[21/07/2009 17:26:04] SQLITE ERROR sqlite_exec: UPDATE `accounts` SET `premdays` = 65535, `warnings` = 0, `lastday` = 1248218764 WHERE `id` = 1 LIMIT 1; near "LIMIT": syntax error
[21/07/2009 17:26:04] > ERROR: Failed to save account: 1!
[21/07/2009 17:26:07] Account Manager has logged in.
[21/07/2009 17:26:07] > Broadcasted message: "New record: 1 players are logged in.".
[21/07/2009 17:26:07] SQLITE ERROR sqlite_exec: UPDATE `players` SET `online` = 1 WHERE `id` = 1 LIMIT 1; near "LIMIT": syntax error
how to fix tha help
 
otlandder i have fixed this bug of accounts, but for create new accounts the server create bugued player, 1248218764 is lastday, go edit your database, change 0 for 1248218764 =)
Help!! I need database for sqlite =X
 
Guys What's the ReleaseDates thread for?? You should change the name of that thread on ReleaseDates History that's the only one Thing which we can get from there, knowlage about the past, not future.
 
Anybody know how i can change the items i start out with if i make a character with the account manager?
 
In creature scripts/scripts/login.lua you can change the first items :D

no??

to change the items you estart is in

\data\creaturescripts\scripts\firstitems

if you want to start with p set, normal weapons etc here the one who need to change ur items at the start put this :

local firstItems =
{
2525,
2399,
2647,
2643,
2457,
2173,
2463

}

function onLogin(cid)
if getPlayerStorageValue(cid, 30001) <= 0 then
for i = 1, table.maxn(firstItems) do
doPlayerAddItem(cid, firstItems, 1)
end

local bag = doPlayerAddItem(cid, 9774, 1)
doAddContainerItem(bag, 2120, 1)
doAddContainerItem(bag, 2554, 1)
doAddContainerItem(bag, 2160, 5)
doAddContainerItem(bag, 2674, 1)
doAddContainerItem(bag, 2409, 1)
doAddContainerItem(bag, 2190, 1)
doAddContainerItem(bag, 2182, 1)
setPlayerStorageValue(cid, 30001, 1)
end

return TRUE
end








i hope i help anyone XD

ow you will need to put that the new players start in lv 20 because the items wont appear for cap only some items will appear if you put lv 20 it have to appear all.
 
Status
Not open for further replies.
Back
Top