AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Repair this plugin (https://forums.alliedmods.net/showthread.php?t=204230)

bloody806 12-28-2012 17:11

[HELP] Repair this plugin
 
1 Attachment(s)
I need repair this plugin please. I attach a file

Here is log:

L 12/28/2012 - 22:22:37: [AMXX] Run time error 10 (plugin "VIPAWP.amxx") (native "set_user_footsteps") - debug not enabled!
L 12/28/2012 - 22:22:37: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

AngeIII 12-28-2012 17:14

Re: [HELP] Repair this plugin
 
in plugins.ini add debug word after this plugin name.
example:
VIPAWP.amxx debug

and after that post here the error logs.

possible errors: client not connected, client not alive, invalid client.
PHP Code:

if (|| gpGlobals->maxClients) { \
        
MF_LogError(amxAMX_ERR_NATIVE"Player out of range (%d)"x); \
        return 
0; \
    } else { \
        if (!
MF_IsPlayerIngame(x) || FNullEnt(MF_GetPlayerEdict(x))) { \
            
MF_LogError(amxAMX_ERR_NATIVE"Invalid player %d"x); \
            return 
0; \
        } \
    } 


wickedd 12-28-2012 17:17

Re: [HELP] Repair this plugin
 
Quote:

Originally Posted by AngeIII (Post 1862221)
after that post here the error logs.

Don't post anything here. Post your problem in the plugin thread.

simanovich 12-28-2012 17:25

Re: [HELP] Repair this plugin
 
put the plugin in debug mod and post here the full error code

bloody806 12-28-2012 18:01

Re: [HELP] Repair this plugin
 
I add debug and no show error logs..

LAMMPARD8_PRO 12-28-2012 19:47

Re: [HELP] Repair this plugin
 
He may mean that he do not have any problems.
And yes, his error was because of the debug requirement. Since you can add debug ..this will repair the problem.

YamiKaitou 12-28-2012 22:28

Re: [HELP] Repair this plugin
 
Quote:

Originally Posted by LAMMPARD8_PRO (Post 1862296)
He may mean that he do not have any problems.
And yes, his error was because of the debug requirement. Since you can add debug ..this will repair the problem.

You have no idea what you are talking about. Adding debug does not fix any problems, it just logs more details when the error is encountered again.

LAMMPARD8_PRO 12-28-2012 22:56

Re: [HELP] Repair this plugin
 
But he said that he dont have anymore problems after this.. else I KNOW
ZzZ. btw please dont spam.

YamiKaitou 12-28-2012 23:22

Re: [HELP] Repair this plugin
 
Quote:

Originally Posted by LAMMPARD8_PRO (Post 1862404)
But he said that he dont have anymore problems after this.. else I KNOW
ZzZ. btw please dont spam.

If you know, then don't make a comment like that. Adding 'debug' will NEVER solve a problem, regardless what anybody claims. Also, I'm not spamming.


All times are GMT -4. The time now is 13:28.

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