ALTER TABLE player_items MODIFY itemtype INT NOT NULL DEFAULT '0'
ALTER TABLE player_items MODIFY itemtype SMALLINT NOT NULL DEFAULT '0'
sorry gentlemen, use i use tfs 1.3dude you gave us no info at all, the main one: what server are you using?
it didn't work, it still doesn't save. I added some normal giant emerald, sapphire and ruby items. I also added some dolls to use on some systems. Nothing out of the ordinary ...What kind of items did you add? Looks like 'itemtype' needs a bigger int, Try this sql query.
SQL:ALTER TABLE player_items MODIFY itemtype SMALLINT NOT NULL DEFAULT '0'
ALTER TABLE player_items MODIFY itemtype INT NOT NULL DEFAULT '0'
do this query in the player_itens table?The default storage for itemtype in latest TFS is small int, You can increase it to INT but I am not sure how this will affect the server.
SQL:ALTER TABLE player_items MODIFY itemtype INT NOT NULL DEFAULT '0'
I ran the command and apparently solved it, I managed to save the game without error. Thank you very much for your help my friend!just insert it in the database
I just tested, the houses are not saving. when the player uses the command! leave items from the houses instead of going to the deposit, they disappear !!First 2 lines looks like its a house check script like this one
others are normal TFS startup consoleLua - Problem check house
My script work, but when the house is clear, items dont go inside depot, they disappear :o how to solve? tfs 1.2 local function doCheckHouses() local dias = 15 local tempo = os.time() - (dias * 24 * 60 * 60) local registros = db.storeQuery("SELECT `houses`.`owner`, `houses`.`id`...otland.net
I just tested it, when the player uses the! leavehouse command their items disappear and are not returned to the depotNo, it check the houses left, Like when a player do (!leavehouse).
ok ty manThat's different bug/issue and not related to this thread, Create a different thread with all the information and house/scripts you added lately.