nVault Problem
What is wrong with this nvault system? (My server dont give logs, but he dont start and I have sure that nvault have the problem).
PHP Code:
|
Re: nVault Problem
I have a few notes. And because i'm writing this while i'm reading through the code I may not actually solve the problem, but i'm looking.
1. in load function, you do not need to call get_user_authid again. You never use use gAuthID anyway. 2. g_iAuthID is a string, not an int. name it g_szAuthID -just a suggestion 3. I thaknk ParseLoadData should look like this: ParseLoadData(iPlayer, data, iMaxLen) i'm sure you can figure out why. 4. you seem to be missing a lot of variable declarations. cFirstTime, iPoint, pStart, Tlevel, etc 5. you should use charsmax() instead of sizeof(szString) - 1 -that's just easier to read, though functionally equivalent. Other than that...i don't see the issue. I'd suggest logging everything that happens with the vault. The data saved, the data retrieved. etc etc. This will give you more of an idea of what's going on. use log_to_file native if you're not familiar with it. |
Re: nVault Problem
I can send to you the complete code for PM? It's a private plugin x:
|
Re: nVault Problem
i'm lazy ATM and about to go AFK.
if those are actually defined i'll take your word for it. Do the logging i suggested and report anything you learn from that. |
Re: nVault Problem
The logging is useless, because my server crash, not if the pointmod is new, but when is "old". In the first time that I install the plugin, all works fine, but now the server crash...
|
Re: nVault Problem
OH! That happens to me a lot.
Its quite an unfortunate problem, but with a simple solution. Delete your .vault file from your /data/nvault on your ftp This should fix it. I don't know why it happens. |
Re: nVault Problem
But my players will lose the XP that they fight for..
|
Re: nVault Problem
Quote:
|
Re: nVault Problem
I fix this without delete anything.
Code:
1º- Download nVault Reader |
Re: nVault Problem
Quote:
|
| All times are GMT -4. The time now is 08:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.