Raised This Month: $ Target: $400
 0% 

[nVault] Invalid vault id: 0


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 05-15-2010 , 13:39   Re: [nVault] Invalid vault id: 0
Reply With Quote #1

Quote:
Originally Posted by NiQu View Post
Like this:
PHP Code:
    if( g_vault == INVALID_HANDLE )
    {
        
set_fail_state"Error opening nVault" );
    } 
?
Yep.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-15-2010 , 13:42   Re: [nVault] Invalid vault id: 0
Reply With Quote #2

Actually, that won't be your problem, but it's still safe to make sure.
You are somehow saving the client's data without ever opening the vault.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-15-2010 , 13:50   Re: [nVault] Invalid vault id: 0
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
Actually, that won't be your problem, but it's still safe to make sure.
You are somehow saving the client's data without ever opening the vault.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
NiQu
Veteran Member
Join Date: Nov 2009
Old 05-15-2010 , 13:52   Re: [nVault] Invalid vault id: 0
Reply With Quote #4

Yh i read that but the line in plugin_init, shouldnt that open that vault ?-
__________________
My Projects
  • RoTAPI V0.0.1 ------- Private
    • Progress - [||||||||||]
  • CashMod V0.0.6 ----- Public
    • Progress - [||||||||||]
  • CashMod V0.0.7 ----- Public
    • Progress - [||||||||||]
NiQu is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-15-2010 , 13:53   Re: [nVault] Invalid vault id: 0
Reply With Quote #5

Oh my god, please have common sense.
client_disconnect() is being called before plugin_init().
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 03:35.


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