adamdburton / pointshop

PointShop is a shop system for Garry's Mod 13
http://pointshop.burt0n.net/
MIT License
69 stars 101 forks source link

Pointshop resets points to 0 #201

Open backstab42 opened 9 years ago

backstab42 commented 9 years ago

I've tried install pointshop and it kind of works. I'm trying to get MySQL to work, but I don't think I did it right :(. It seems that SQLite resets the points and I've looked online and people said switching to MySQL would fix it. My mysql is allowing external connections. I also have the pointshop-mysql-master with my credentials. I also went in and changed the 'pdata' to 'mysql' in sh_config, but that didn't do anything.

I've noticed that pointshop has this folder called providers (pointshop-master/lua/pointshop), and there is a file called mysql.lua. It seems identical to the lua file in pointshop-mysql-master. I have put my info in that one too, but the points still reset.

Please help!

Thanks, Backstab

backstab42 commented 9 years ago

Also, I have mysqloo downloaded (server host did it for me. I use other addons that use MySQL and they work fine).

backstab42 commented 9 years ago

It seems to be a mysql problem. I changed the 'mysql' back to 'pdata' in sh_config (in pointshop-master/lua) and it works fine now. I don't understand why it didn't work before :(. I hope this helps other people with the same problem. When I change back to mysql, it resets everything!!