[KoG]Rouche Posted June 15, 2010 Posted June 15, 2010 I recently added a script "userpanel" wich save account and stats in sql !!! How can i acced this sql to edit account or remove it ? Owner of Killer of GTA (Old =KoG= Servers)
Castillo Posted June 16, 2010 Posted June 16, 2010 I recently added a script "userpanel" wich save account and stats in sql !!!How can i acced this sql to edit account or remove it ? you must get "sqliteberowser" program and open settings.db San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
50p Posted June 16, 2010 Posted June 16, 2010 ...you must get "sqliteberowser" program and open settings.db What settings.db are you talking about? Since 1.0.4 all accounts are saved in interval.db and all SQLite data (saved with SQL functions) is saved in registry.db. - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
Castillo Posted June 16, 2010 Posted June 16, 2010 ...you must get "sqliteberowser" program and open settings.db What settings.db are you talking about? Since 1.0.4 all accounts are saved in interval.db and all SQLite data (saved with SQL functions) is saved in registry.db. sorry, i missunderstood the name San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
[KoG]Rouche Posted June 16, 2010 Author Posted June 16, 2010 Thak for your answers Owner of Killer of GTA (Old =KoG= Servers)
[KoG]Rouche Posted June 16, 2010 Author Posted June 16, 2010 Ok i've open the registry.db ! I would like to renew all account with 0$ ans 0 points !! How can i do that ? Thanks Owner of Killer of GTA (Old =KoG= Servers)
dzek (varez) Posted June 16, 2010 Posted June 16, 2010 sqlite browser can do that.. or do: UPDATE table_name SET column_name=0 replace table_name with the name of your table and column_name with the name of money column Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
The_Ex Posted June 16, 2010 Posted June 16, 2010 Sqlitebrowser can execute SQL queries and you should use default values for fields. MTASA.LV - Latvian MTA Community
[KoG]Rouche Posted June 16, 2010 Author Posted June 16, 2010 Thaks for replies, i'll try it now Owner of Killer of GTA (Old =KoG= Servers)
[KoG]Rouche Posted June 16, 2010 Author Posted June 16, 2010 sqlite browser can do that..or do: UPDATE table_name SET column_name=0 replace table_name with the name of your table and column_name with the name of money column I don't understant what i have to do ... I never used sqlbroswer before I would like that all account have 0$ and 0 points. Owner of Killer of GTA (Old =KoG= Servers)
[KoG]Rouche Posted June 16, 2010 Author Posted June 16, 2010 ok it's done I put the number in column to 0 (for the ponts) But the money is not in de Sqlite ... don't know where is it. How can i remove Admin rights to a member ? Owner of Killer of GTA (Old =KoG= Servers)
50p Posted June 16, 2010 Posted June 16, 2010 You can remove admin rights the same way you add them - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
[KoG]Rouche Posted June 16, 2010 Author Posted June 16, 2010 In admin panel there is only the button "Give admin Rights" I don't use acl. Acount aren't save into acl but in sqlite. Owner of Killer of GTA (Old =KoG= Servers)
50p Posted June 17, 2010 Posted June 17, 2010 Accounts are saved in database but ACL is not. You can't say "I don't use acl" because you do! You have to delete the player from acl.xml or I'm pretty sure there is a button "Revoke admin rights" or something like that... - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
[KoG]Rouche Posted June 17, 2010 Author Posted June 17, 2010 Oh Sorry ! Accounts aren't saved in accounts.xml but in sqlite ... in sqlite i don't see the money (Only race win, race lost and points) I've just see all account in acl (admins ...) Thanks Owner of Killer of GTA (Old =KoG= Servers)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now