TABLES: Get back original tables?
Games4life
Member, PRO Posts: 279
If I have accidentally altered the original "PurchasedTable" Table, how can I reset it so I can start fresh with the original table?
Comments
Hi @Games4life very straightforward: if you've added any rows, delete them so there's only one row. Delete any entries in the fields Id, Name, Price and State, then make sure the Consumable boolean is set to False. That's it.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
thanks for your help
How can I delete these 25 columns? The number is blanked out. Also, should I reconstruct the table by inputting the names back in?
See below not this screenshot
Hi @Games4life How strange - what version GSC are you using? The reason I ask is in the version I'm using 1.24.38, the Columns are greyed out right at the beginning, so no more columns can be added to the 5 already there. So don't understand how you managed to change that aspect.
Wondering if you have a previous version where this was possible: or did you import the table info?
If there's no way of deleting the extra columns now, there's only two choices: start a fresh GSC file if your game is not too advanced, or make sure your first five columns are Text, Boolean, Text, Text and Text and hopefully (I don't see why not) the extra columns will be ignored, providing you don't access them -but even then, it should be OK, providing you've got the original 5 columns as they were. Hope that's helped.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Unfortunately neither of those options worked. Why does it not work if I created a new table as if it was a replica of the original?
i again @Games4life which aspect off the new table isn't working?
To be honest, I'm still puzzled how you managed to add columns to the PurchaeTable...
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
I changed the table a while back probably February of 2015.
I'm confused why my new table is not working as well.
Hi @Games4life OK, getting closer to solution, maybe. What aspect of the table isn't working as well?
And (for interest) how did you delete the extra columns if the Cols was greyed out?
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
It doesn't work because the code base in creator is tied into that default purchasetable. It's tied into the behaviors in the codebase. It doesn't work like a regular table. You will need to contact customer support.
I sent you a PM. I can fix the table but will need a copy of the file.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Just create a blank project and copy the xml file from the table folder within the project bundle - make sure you rename it to whatever your original purchase table was called eg id189999.xml
all obvious safety being followed of course ... make backups of you project etc etc
nicely edited guru
edit. but I was hasty I now see your timing but why not just post the solution?
Was not sure he could properly edit the xml file. I was just going to fix the xml file for him. Would save me the trouble of answering 5 more possible questions..lol
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
I feel bad asking one more question... How do I copy the XML from this bundle:
Thank you all for your tremendous help!
Adding on...
Wait... Why can't I just import and export the CSV?
Would this work?
@Lost_Oasis_Games I think you are right... just shoot me
@Games4life That looks like your downloads folder which seems to be showing the contents of a compiled app bundle. You can right click on regular GS project file to see contents and then navigate normally. (can't answer your last post as I am not equipped to do so) Happ ynew Bear
Ah thanks very much.
>
I've been answering questions on this forum for nearly five years..lol this is always how it goes.
@Games4life just send me your file. People know well I'm a very trust worthy person. I will trash the copy after I fix it and send it back to you.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS