Raised This Month: $ Target: $400
 0% 

nvault problems


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-17-2015 , 18:05   Re: nvault problems
Reply With Quote #1

Quote:
Originally Posted by ironskillz1 View Post
With the new loading code it wont load at all. The saving are working great tho.

It wont load anything.

Code:
public LoadData( id )
{
	new szBuffer[ 66 ] , iTS;
	
	if ( nvault_lookup( g_Vault , g_szAuthID[id] , szBuffer , charsmax( szBuffer ) , iTS ) )
	{
		parse( szBuffer , g_iMarriedSteamID[ id ] , charsmax( g_iMarriedSteamID[] ) , g_iMarriedName[ id ] , charsmax( g_iMarriedName[] ) );

		server_print("LOAD steamid: %s. Marriedsteamid: %s marriedname: %s", g_szAuthID[id], g_iMarriedSteamID[id], g_iMarriedName[id])
	}

}
The server print is blank at marriedsteamid and steamname.
So i guess something is wrong.
Are you reading player authid into g_szAuthID[id] at client_authorized()?
__________________
Bugsy is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 10-17-2015 , 18:36   Re: nvault problems
Reply With Quote #2

Quote:
Originally Posted by Bugsy View Post
Are you reading player authid into g_szAuthID[id] at client_authorized()?
Code:
g_szAuthID[ 33 ][ 34 ]; 

public client_putinserver(id)
{
	LoadData(id)
	get_user_authid( id , g_szAuthID[ id ] , charsmax( g_szAuthID[] ) ); 
}
Yes
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.

Last edited by ironskillz1; 10-17-2015 at 18:36.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
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 18:10.


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