Raised This Month: $ Target: $400
 0% 

Is there a way to change SQL based plugin to nVault?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alahmoh
Member
Join Date: Jun 2018
Old 02-27-2022 , 12:35   Is there a way to change SQL based plugin to nVault?
Reply With Quote #1

is there a tut or something that points how to change from sql to nVault?
Alahmoh is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 02-27-2022 , 12:41   Re: Is there a way to change SQL based plugin to nVault?
Reply With Quote #2

To change ? no there is not.

BUT for how to use nVault?, There're alot of tutorials you can search for....
__________________
@Jailbreak Main Mod v2.6.6 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Alahmoh
Member
Join Date: Jun 2018
Old 02-27-2022 , 12:56   Re: Is there a way to change SQL based plugin to nVault?
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
To change ? no there is not.

BUT for how to use nVault?, There're alot of tutorials you can search for....
so if i have a SQL based plugin i cant change it to nVault?

like just change removing SQL and making a new nVault system?
Alahmoh is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: United States
Old 02-27-2022 , 13:20   Re: Is there a way to change SQL based plugin to nVault?
Reply With Quote #4

A lot of plugins support that feature but what lacks is that once you switch you start with fresh stats unless you make a script to transfer them to nVault which wouldn't take long to code.
bigdaddy424 is offline
Alahmoh
Member
Join Date: Jun 2018
Old 02-27-2022 , 14:20   Re: Is there a way to change SQL based plugin to nVault?
Reply With Quote #5

Quote:
Originally Posted by bigdaddy424 View Post
A lot of plugins support that feature but what lacks is that once you switch you start with fresh stats unless you make a script to transfer them to nVault which wouldn't take long to code.
i mean i want to know if there is a tut which shows sql scripts that refers to nvault so i can change my sql system to nvault since i know nothing about nvault
Alahmoh is offline
kww
Senior Member
Join Date: Feb 2021
Location: Russia
Old 02-28-2022 , 12:22   Re: Is there a way to change SQL based plugin to nVault?
Reply With Quote #6

afaik sql is a table so i can't imagine how much vaults u gonna create to replace 1 sql table...

not to lie i don't understand nvault and sql but i am sure it is technically possible
__________________
Now working on: Side Weapons
Avatar source: https://bit.ly/3BAk19g

Last edited by kww; 02-28-2022 at 12:35.
kww is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 02-28-2022 , 13:32   Re: Is there a way to change SQL based plugin to nVault?
Reply With Quote #7

It is possible but you will have to show the database structure.
__________________




CrazY. is offline
Alahmoh
Member
Join Date: Jun 2018
Old 02-28-2022 , 15:35   Re: Is there a way to change SQL based plugin to nVault?
Reply With Quote #8

Quote:
Originally Posted by CrazY. View Post
It is possible but you will have to show the database structure.
https://forums.alliedmods.net/showthread.php?t=336568
Alahmoh is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-28-2022 , 22:11   Re: Is there a way to change SQL based plugin to nVault?
Reply With Quote #9

I'd use nVault Array and create an array structure to simulate table columns. You would then read all records from the table(s), calling nvault_set_array() for each -- use steam id as the unique key.

What's wrong with leaving it on SQL? Are you having issues?
__________________

Last edited by Bugsy; 02-28-2022 at 22:13.
Bugsy is offline
Alahmoh
Member
Join Date: Jun 2018
Old 03-02-2022 , 14:30   Re: Is there a way to change SQL based plugin to nVault?
Reply With Quote #10

Quote:
Originally Posted by Bugsy View Post
I'd use nVault Array and create an array structure to simulate table columns. You would then read all records from the table(s), calling nvault_set_array() for each -- use steam id as the unique key.

What's wrong with leaving it on SQL? Are you having issues?
i dont want an external database nor webhosting to store my files so i would rather store data on nvault.
but since i know nothing about sql,sqlite i dont know how to change them to nvault.
Alahmoh is offline
Reply


Thread Tools
Display Modes

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 17:17.


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