You know what files should be copied and has to do with the arena?You could use the scripts from https://github.com/PrinterLUA/FORGOTTENSERVER-ORTS
I have added my lib file and it is working for TFS 1.0, I got all the files from here, https://github.com/PrinterLUA/FORGOTTENSERVER-ORTSYou need to add the lib file as well, data/libs/svargrond~.
But I do not reccomend you to use them, you should atleast rewrite them to use the new meta tags functions if you need to use them.
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
local oldPit = getPlayerStorageValue(cid, STORAGE_PIT) - 1
local newPit = getPlayerStorageValue(cid, STORAGE_PIT)
print(oldPit)
print(newPit)
It printed out nil on both of them. What does that mean?Okay did you copy the map? Looks like you got the wrong items on your map compared to the one on the github project.
Either that or the lib you imported dosen't exist.
Code:function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) local oldPit = getPlayerStorageValue(cid, STORAGE_PIT) - 1 local newPit = getPlayerStorageValue(cid, STORAGE_PIT) print(oldPit) print(newPit)
Try using that and see if it prints out nil or a numberic value.
It printed out nil on both of them. What does that mean?![]()
Everything is copied and it is the right direction...That means that the file isent getting imported.
Try checking if you copied everything or that the direction is correct.
Thing is that I started up the server with everything copied over but I will try to get some kind of number then >.<Well no offence but it isent. Redo it until it prints a number value not a nil value.
Or hire someone if your over your head.
I know that, https://github.com/PrinterLUA/FORGO...s/scripts/svargrond arena quest/arena_pit.luatfs 1.0 doesn't read data/lib folder unless you tell it to at global.lua like dofile('data/lib/SvargrondArenaQuest.lua')
Like I think I am a pro at this and I think that it is a super bug...I know that, https://github.com/PrinterLUA/FORGOTTENSERVER-ORTS/blob/master/data/movements/scripts/svargrond arena quest/arena_pit.lua
What I told him was to print out the 2 storage values and both where nil, not a number.
But like always ppl think they know everything and except some super bug, once he comes down to earth he will be able to fix the error.