XetaQuake Posted March 2, 2008 Share Posted March 2, 2008 i will try to find the cause! but again: can you say me witch line you a fixed in the new version? Link to comment
50p Posted March 2, 2008 Author Share Posted March 2, 2008 Line 123 in bank.gui.client.lua I was displaying it because I the first 'if' statement never passed but it should, it was caused by misspelling. I haven't tested the Transfer functionality since I was testing it myselft, but it should work. Link to comment
XetaQuake Posted March 2, 2008 Share Posted March 2, 2008 ah line 123 thanks for the info! And the problem with the accounts are this: 1. i start the server2. i conneting3. i make /register and deposit cash4. i restart the server(now the cash is in the accounts.xml)5. i connecting6. i login in, and then: "No account with your nick"7. then i show in the accounts.xml, and this is in it: <accounts> <autologin>0</autologin> <account name="Console" password=""/> </accounts> the file is fully reset to standard! Link to comment
50p Posted March 2, 2008 Author Share Posted March 2, 2008 I think I know what's the problem: NOTE: Editing account data while the server is running currently deletes the account I shouldn't use setAccountData I guess. Link to comment
XetaQuake Posted March 2, 2008 Share Posted March 2, 2008 try you to fix it in the next days? Link to comment
50p Posted March 3, 2008 Author Share Posted March 3, 2008 try you to fix it in the next days? If I'll get some free time, yeah sure. Weekend has finished, so it'll be more difficult to stay by the desk. Link to comment
Chicano_18 Posted March 7, 2008 Share Posted March 7, 2008 oh ok,you should make a bank in lsor can you easily edit where to put then bank or banks at ? Link to comment
50p Posted March 7, 2008 Author Share Posted March 7, 2008 It's good to refresh topics sometimes! I'll start working on it really soon. Link to comment
XetaQuake Posted March 7, 2008 Share Posted March 7, 2008 i can´t wait for the next release! i look every hour on this thread Link to comment
XetaQuake Posted March 14, 2008 Share Posted March 14, 2008 hey 50p, can we hope for a new version? I think you a realy busy because its a while ago that you have posting last times Link to comment
50p Posted March 14, 2008 Author Share Posted March 14, 2008 hey 50p, can we hope for a new version?I think you a realy busy because its a while ago that you have posting last times I'll continue improving it when my new PC will work as it should because my 2nd 1GB RAM stick "crashing" my PC, so I wait for help on other forums, hopefully they'll help me. It may require reinstalling OS. I don't want to install every software because I'll have to do it again... sorry if I disappointed you. Link to comment
XetaQuake Posted April 5, 2008 Share Posted April 5, 2008 Hey 50p, any news? your script have a big potential, but there is this serious bug. I don´t want to stress you, but can we have a statement how the script continues pleas? Link to comment
50p Posted April 5, 2008 Author Share Posted April 5, 2008 I don't want to disappoint you... I've stopped developing it because I am quiet busy writing something else. Really sorry. If I'll decide to improve it I'm sure I'll post it here. In the mean time please post suggestions if you have any and I'll probably think of adding it. Link to comment
XetaQuake Posted April 5, 2008 Share Posted April 5, 2008 oh pity to hear this because there a no other banking system for MTA out yet. but ok It is your decision, perhaps sometime there come a new version, then i am happy In the mean time please post suggestions if you have any and I'll probably think of adding it. i only have one suggestion: that the saving works right, without the accounts.xml file crashes thanks for replay, out Link to comment
[TTH]BiZkiT Posted May 6, 2008 Share Posted May 6, 2008 Somebody else have any idea how to solve this problem? Im having the same trouble it saves to accounts.xml but after restarting the server it sets all accountdata to 0 also the autologin. Link to comment
XetaQuake Posted May 6, 2008 Share Posted May 6, 2008 nice to hear that you have the same problem, so i am not alone, lol i am a beginner in lua, i don´t know how i can fix that ;/ Link to comment
50p Posted May 6, 2008 Author Share Posted May 6, 2008 Maybe when I have some time I'll change it to save to SQL instead of accounts.xml. Link to comment
[TTH]BiZkiT Posted May 6, 2008 Share Posted May 6, 2008 But its your script you made for public use, why not make it at least work properly:P plz make some time:) and be proud people use your script /me gives $50 to 50p... Link to comment
XetaQuake Posted May 6, 2008 Share Posted May 6, 2008 I don´t think you would give him $50...its his time and when 50p don´t have so many time i fully understand the problem... he said Maybe. When you creates a script, don´t see the problem befor you release it and then you have no time to fix it, what do you making? So, i just hope for a new version Link to comment
50p Posted May 7, 2008 Author Share Posted May 7, 2008 Ok, I've managed to get some time for it and I hope I got what all of you wanted! Changes: * fixed: accounts.xml does not get deleted anymore! * changed: money gets saved into SQLite database (only if you are/were logged in) not mentioned in the "Version history" at community website: * added: "withdraw all", "deposit all" and "transfer all" buttons for quick management Re-download the bank resource from the same place: https://community.multitheftauto.com/index.html?p ... ails&id=54 PS. Don't forget to report any bugs you found to improve the script! Thanks. Link to comment
XetaQuake Posted May 7, 2008 Share Posted May 7, 2008 YEA i love you! Its so long ago, the hope was away, but now 50p strikes back Thanks! Thanks thanks! //EDIT: a little question: the money saves in a database right? but how can i give the script the right infos to connect to a database (name, host, pw...)? Link to comment
50p Posted May 8, 2008 Author Share Posted May 8, 2008 It saves money to SQLite database which is included with MTA. It's not MySQL where you have to connect first. SQLite does not require any connection (as it's on the server itself). The database file is called 'registry.db' which is located in server's directory, you can open/edit it using SQLite Database Browser. _______________________________ I think I found a bug, but I won't tell you what it is as I want to see how long it will take you to find it, lol. Link to comment
CodeMaster Posted May 8, 2008 Share Posted May 8, 2008 YEA i love you! Its so long ago, the hope was away, but now 50p strikes back Thanks! Thanks thanks! . . . Lol XetaQuake easily becomes somebody's fan ^^ BTW: Nice job, now I'm sorry that I didn't checked it out before Also maybe we should have only one of all possible mods, which will be open to everyone for editing! We don't want to have thousands of same scripts all again! (like in SA-MP ^^) Cheers Nidza Link to comment
CodeMaster Posted May 8, 2008 Share Posted May 8, 2008 YEA i love you! Its so long ago, the hope was away, but now 50p strikes back Thanks! Thanks thanks! . . . Lol XetaQuake easily becomes somebody's fan ^^ BTW: Nice job, now I'm sorry that I didn't checked it out before Also maybe we should have only one of all possible mods, which will be open to everyone for editing! We don't want to have thousands of same scripts all again! (like in SA-MP ^^) Cheers Nidza Link to comment
Recommended Posts