AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Is there a way to change SQL based plugin to nVault? (https://forums.alliedmods.net/showthread.php?t=336547)

Alahmoh 02-27-2022 12:35

Is there a way to change SQL based plugin to nVault?
 
is there a tut or something that points how to change from sql to nVault?

Natsheh 02-27-2022 12:41

Re: Is there a way to change SQL based plugin to nVault?
 
To change ? no there is not.

BUT for how to use nVault?, There're alot of tutorials you can search for....

Alahmoh 02-27-2022 12:56

Re: Is there a way to change SQL based plugin to nVault?
 
Quote:

Originally Posted by Natsheh (Post 2772623)
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?

bigdaddy424 02-27-2022 13:20

Re: Is there a way to change SQL based plugin to nVault?
 
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.

Alahmoh 02-27-2022 14:20

Re: Is there a way to change SQL based plugin to nVault?
 
Quote:

Originally Posted by bigdaddy424 (Post 2772627)
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

kww 02-28-2022 12:22

Re: Is there a way to change SQL based plugin to nVault?
 
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

CrazY. 02-28-2022 13:32

Re: Is there a way to change SQL based plugin to nVault?
 
It is possible but you will have to show the database structure.

Alahmoh 02-28-2022 15:35

Re: Is there a way to change SQL based plugin to nVault?
 
Quote:

Originally Posted by CrazY. (Post 2772740)
It is possible but you will have to show the database structure.

https://forums.alliedmods.net/showthread.php?t=336568

Bugsy 02-28-2022 22:11

Re: Is there a way to change SQL based plugin to nVault?
 
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?

Alahmoh 03-02-2022 14:30

Re: Is there a way to change SQL based plugin to nVault?
 
Quote:

Originally Posted by Bugsy (Post 2772781)
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.


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

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