r/ComputerCraft • • Nov 25 '25

problem with code

(BEEN FIXED) hey guys im having a problem with my code im working on a credit deposit and withdrawal for a casino on a server im in and i have no clue whats happened, it was working completely fine then i started working on the deposit button but it broke and have no clue what happened. the error is showing up on line 251 and im lost on fixing it, can anyone help?

here's my pastebin so you can look at all of it https://pastebin.com/DkW385R4

4 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/Drum__Stick Nov 27 '25

thank you so much, i removed the second saveCreditsToDisk() and managed to fix it by addding disk infront of /credits.txt i the saveCreditsToDisk() and loadCreditsFromDisk() which managed to fix it, but thank you for your help!!!!