VampTY wrote: ↑Thu Jan 11, 2024 10:09 pm
Uh, you can save your stuff and whatnot.I've pretty much explained it up, do a
cmp or use a
base address.
Here's some example with what you said you'd like, in this case is just a
level skip, same thing though and it does save when is exited and is using only
names.
Video will be removed in 24 hrs
Perhaps you're not using any base address or the real offsets?Or something is set wrong, paste me the table or soem part from it through PM and name the game (in order for me to download it), perhaps share also a saved game to it and in case i'll download a suitable version to match your game and if that saved game will work, then i can take a look into this matter, if it won't work, though luck!
Ok, I have the table working with the drop down list. However, once I close the game / table it resets the list back to: Empty on all. Is there a way to save it to what I select each one?
I seen that you can do it through a .txt or .lua file, but I cannot figure out how to do so as I always get a syntax error (Still trying to figure it out). I'm using this through the main.lua file inside the CE main folder.
This is what I have so far:
[1] ID=tonumber(settings.Value['Coins'])
[1] ID=settings.Value['Coins']
[2] ID=settings.Value['Bones']
[3] ID=settings.Value['Iron Ore']
[4] ID=settings.Value['Metal Flint']
[5] ID=settings.Value['Dwarven Stone']
But I get a syntax error when loading CE. Am I even on the right track?
Here is what my table looks like:
[Link]
How would I write it to save?
if settings.Value['Empty'] ~= nil then
UDF1.CE[1] ID.caption = settings.Value['Coins']
UDF1.CE[2] ID.caption = settings.Value['Bones']
UDF1.CE[3] ID.caption = settings.Value['Iron Ore']
end
end
This isn't correct, what am I doing wrong?
EDIT: Ok, so I got rid of the syntax errors, however it still will not change my drop down list.. why?
settings=getSettings('MyTable')
settings.Value['Empty']=0
settings.Value['Coins']=1
settings.Value['Bones']=2
settings.Value['Iron Ore']=3
settings.Value['Metal Flint']=4
settings.Value['Dwarven Stone']=5
settings=getSettings('MyTable')
ID1=tonumber(settings.Value['Coins'])
if ID1==settings.Value['Empty'] then ID1=settings.Value['Coins']
end
Both of these bottom lines work, but neither of them will actually change the drop down menu inside the table, any reason why?