Raised This Month: $51 Target: $400
 12% 

mysql


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
itsme1
Member
Join Date: Jun 2006
Location: Birmingham UK
Old 03-15-2024 , 19:49   mysql
Reply With Quote #1

cs1.6

Im using statsX.amxx that comes with v1.10 and stats are saving in nvault, how do i save them in mysql ?
itsme1 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-16-2024 , 14:34   Re: mysql
Reply With Quote #2

Moved to Suggestions/Requests
__________________
Bugsy is offline
itsme1
Member
Join Date: Jun 2006
Location: Birmingham UK
Old 03-16-2024 , 17:53   Re: mysql
Reply With Quote #3

Thanks
itsme1 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-16-2024 , 19:49   Re: mysql
Reply With Quote #4

To answer your question, look for topics that involve the sqlx module (just search for sqlx), and you will find examples on how to use it. Note that SQL is not as simple as nvault, as nvault does all of the work for you. With SQL, you need to create SQL statements for everything you want to do.

Here's a few:
https://forums.alliedmods.net/showthread.php?p=2817784
https://forums.alliedmods.net/showpo...62&postcount=2
__________________
Bugsy is offline
itsme1
Member
Join Date: Jun 2006
Location: Birmingham UK
Old 03-16-2024 , 20:06   Re: mysql
Reply With Quote #5

the answer id like is a step by step way iv doing this, im stupid ok and old, i just need a step by step instruction on how to change from nvault to mysql without losing data.
itsme1 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-16-2024 , 20:38   Re: mysql
Reply With Quote #6

Quote:
Originally Posted by itsme1 View Post
the answer id like is a step by step way iv doing this, im stupid ok and old, i just need a step by step instruction on how to change from nvault to mysql without losing data.
Ok, you will need to provide more info if you want someone to do it for you, ideally your entire plugin. We will need to know the specific fields that are needed in the db, and what type of queries/transactions are needed. It's not a simple one-line replacement like you may be thinking.
__________________
Bugsy is offline
itsme1
Member
Join Date: Jun 2006
Location: Birmingham UK
Old 03-16-2024 , 21:00   Re: mysql
Reply With Quote #7

thanks i will follow that step by step instructions,
itsme1 is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 03-17-2024 , 03:36   Re: mysql
Reply With Quote #8

last update was in 2018, not that much has changed regardless
https://forums.alliedmods.net/showthread.php?t=279483
__________________
bigdaddy424 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode