Achievements
need help with my HNS Achievements
i got some problems 1. i doesnt save (when i change map evrything is gone) 2. it doesnt count bunnyjumps in the menu TE.X if you have bunnyhopp 10 times i should say 10/5000 please help me :) |
Re: Achievements
change all vJump[id] to iAchLevel[id][JUMP]
and saving doing with nvault. to test it just enter the game player some minutes, reconnect and if achievments setted ok, this means that saving good. if not, no steam no support. |
Re: Achievements
Quote:
Code:
change all vJump[id] to iAchLevel[id][JUMP]and i dont use nosteam look at this picture ! http://i.imgur.com/IztdT.jpg AND! i found another bug it counting other connections to so if i connect and my freind connect i say you got 2/1000 connections |
Re: Achievements
line 411
vJump[ id ]++ to iAchLevel[id][JUMP]++ as for this PHP Code:
PHP Code:
this is necessary exactly for iAchLevel[id][CONNECT] cause firstly you increase variable value, and after that with LoadData you reset it!! |
Re: Achievements
It stills dont counting JUMPS and vault doesnt save or load....
but the connection problem is solved :) here is the new code: |
Re: Achievements
with nvault is a lot of problems (such as a nvault is crashing and not loadning at map change.. and other.)
in your case you have called gVaultClose variable in plugin_end function but previosly you don't defined it. you need to remove gVaultClose variable and use gVault variable instead. as for jumps, you know that jumps has been calculated only for T? and also you use threeDimension array OldOrigins, but it's is not needed in this codes. new vOldOrigin[33][3]; PHP Code:
and my suggestion for you try to useing SQL, SQLite.. cause it's is better with saving, and in future to integrating with WEB... in my case server is working only when nvault file doesnt exist(I remove it and start the server). plugin creates .vault and .journal files, but after map change .journal file doesn't exist and server is crashing(probably because journal file doens't exist). P.S. also I tried with CHMOD 777 (full permissions). as for you if nvault is working correctly maybe try to set 777 permision for nvault folder. |
Re: Achievements
i changed it but it stills doesnt show how many jumps you got and i didnt understand what you was talking about with nvault saving and loading
And should i change nvault to sql? but how i dont know sql coding New code: |
Re: Achievements
oh.. finally the error is that the funtion player_spray doesnt found.
and forward for jump doesn't called at any time.. fix: PHP Code:
PHP Code:
should be after if statement, and distance should chekc a limit too (for spawn jumpfix) 50<=jump_distance<=300 |
Re: Achievements
Your are the best thanks evrything works now! :)
|
Re: Achievements
okay 1 more thing :D
I have added a Player info menu its works great but when i click on my freinds name it shows my ach not my freinds |
| All times are GMT -4. The time now is 13:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.