AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   need some help about erros (https://forums.alliedmods.net/showthread.php?t=154556)

lqlqlq 04-10-2011 08:19

need some help about erros
 
Round_Terminator Plugin, get:
Quote:

04/10/2011 - 15:17:49: [ORPHEU] Function "InstallGameRules" not found
L 04/10/2011 - 15:17:49: [AMXX] Displaying debug trace (plugin "round_terminator.amxx")
L 04/10/2011 - 15:17:49: [AMXX] Run time error 10: native error (native "OrpheuGetFunction")
L 04/10/2011 - 15:17:49: [AMXX] [0] round_terminator.sma::plugin_precache (line 253)
and COD MW2 plugin, get:
Quote:

L 04/10/2011 - 15:12:08: [AMXX] Displaying debug trace (plugin "codmod24.amxx")
L 04/10/2011 - 15:12:08: [AMXX] Run time error 10: native error (native "callfunc_push_int")
L 04/10/2011 - 15:12:08: [AMXX] [0] codmod24.sma::give_weapons (line 2542)
L 04/10/2011 - 15:12:08: [AMXX] [1] codmod24.sma::ham_PlayerSpawn_Post (line 3365)
Use:
AMXX 1.82 (not modifed)
Metamod 1.19p32
Modules: CSDM, Orpheu (loaded, required by COD MW plugin)

Arkshine 04-10-2011 08:24

Re: need some help about erros
 
Make sure you have installed the file InstallGameRules.

You can also paste here the output of orpheu parsing at the start of server or changemap in the console.

lqlqlq 04-10-2011 08:32

Re: need some help about erros
 
installGameRules file is located on: addons/amxmodx/configs/orpheu/functions
Error started at server startup and changemap, here is not debbuged log:
Quote:

L 04/10/2011 - 14:52:39: [AMXX] Run time error 10 (plugin "round_terminator.amxx") (native "OrpheuGetFunction") - debug not enabled!
L 04/10/2011 - 14:52:39: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

Arkshine 04-10-2011 08:52

Re: need some help about erros
 
Quote:

You can also paste here the output of orpheu parsing at the start of server or changemap in the console.
I need to see such output.

lqlqlq 04-10-2011 09:32

Re: need some help about erros
 
PHP Code:

Orpheu functions search started.

    
Parsing functions started.
        
Parsing file "InstallGameRules" started
                
Return has invalid type "CHalfLifeMultiplay *"
                
FAILED
        Parsing file 
"InstallGameRules" ended
        Parsing file 
"EndRoundMessage" started
                Argument type 
"char *" validated
                Argument has invalid type 
"int"
                
FAILED
        Parsing file 
"EndRoundMessage" ended
        Parsing folder 
"CHalfLifeMultiplay" started
            Parsing file 
"UpdateTeamScores" started
                
Class type not registered
                FAILED
            Parsing file 
"UpdateTeamScores" ended
            Parsing file 
"CheckWinConditions" started
                
Class type not registered
                FAILED
            Parsing file 
"CheckWinConditions" ended
        Parsing folder 
"CHalfLifeMultiplay" ended
    Parsing functions ended
.

Orpheu functions search ended.

Orpheu virtual functions search started.

    
Parsing virtual functions started.
    
Parsing virtual functions ended.

Orpheu virtual functions search ended.

Orpheu memory structures search started.

    
Parsing memory structures started.
        
Parsing memory file "CGameRulesOffsets"
            
Processing memory structure "m_fTeamCount"
                
Added memory search structure "m_fTeamCount"
            
Processing memory structure "m_fRoundCount"
                
Added memory search structure "m_fRoundCount"
            
Processing memory structure "m_iRoundTimeSecs"
            
Memory object identifier type "int" is invalid
            Processing memory structure 
"m_iAccountTerrorist"
            
Memory object identifier type "int" is invalid
            Processing memory structure 
"m_iAccountCT"
            
Memory object identifier type "int" is invalid
            Processing memory structure 
"m_iNumSpawnableTerrorist"
            
Memory object identifier type "int" is invalid
            Processing memory structure 
"m_iNumSpawnableCT"
            
Memory object identifier type "int" is invalid
            Processing memory structure 
"m_iHostagesRescued"
            
Memory object identifier type "int" is invalid
            Processing memory structure 
"m_iRoundWinStatus"
            
Memory object identifier type "int" is invalid
            Processing memory structure 
"m_iNumCTWins"
                
Added memory search structure "m_iNumCTWins"
            
Processing memory structure "m_iNumTerroristWins"
                
Added memory search structure "m_iNumTerroristWins"
            
Processing memory structure "m_bTargetBombed"
                
Added memory search structure "m_bTargetBombed"
            
Processing memory structure "m_bBombDefused"
                
Added memory search structure "m_bBombDefused"
            
Processing memory structure "m_bMapHasBombTarget"
                
Added memory search structure "m_bMapHasBombTarget"
            
Processing memory structure "m_bMapHasBombZone"
                
Added memory search structure "m_bMapHasBombZone"
            
Processing memory structure "m_bMapHasRescueZone"
                
Added memory search structure "m_bMapHasRescueZone"
            
Processing memory structure "m_bMapHasEscapeZone"
                
Added memory search structure "m_bMapHasEscapeZone"
            
Processing memory structure "m_iMapHasVIPSafetyZone"
                
Added memory search structure "m_iMapHasVIPSafetyZone"
            
Processing memory structure "m_bRoundTerminating"
                
Added memory search structure "m_bRoundTerminating"
            
Processing memory structure "m_flRequiredEscapeRatio"
                
Added memory search structure "m_flRequiredEscapeRatio"
            
Processing memory structure "m_iNumEscapers"
            
Memory object identifier type "int" is invalid
            Processing memory structure 
"m_iHaveEscaped"
            
Memory object identifier type "int" is invalid
            Processing memory structure 
"m_pVIP"
                
Added memory search structure "m_pVIP"
    
Parsing memory structures ended


Arkshine 04-10-2011 09:45

Re: need some help about erros
 
Download the latest orpheu version (orpheu_base.zip), and make sure to upload ALL the files located in configs/orpheu/

lqlqlq 04-10-2011 09:50

Re: need some help about erros
 
Yes, yes... thanks, errors gone..
remains a problem with the second error

Arkshine 04-10-2011 09:53

Re: need some help about erros
 
Give the full error ( you have cut the first line ), and attach the .sma.

lqlqlq 04-10-2011 09:55

Re: need some help about erros
 
1 Attachment(s)
Logs
Quote:

L 04/10/2011 - 16:52:02: Start of error session.
L 04/10/2011 - 16:52:02: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110410.log")
L 04/10/2011 - 16:52:02: callfunc_push_xxx called without callfunc_begin
L 04/10/2011 - 16:52:02: [AMXX] Displaying debug trace (plugin "codmod24.amxx")
L 04/10/2011 - 16:52:02: [AMXX] Run time error 10: native error (native "callfunc_push_int")
L 04/10/2011 - 16:52:02: [AMXX] [0] codmod24.sma::ham_PlayerSpawn_Post (line 3384)
L 04/10/2011 - 16:52:04: callfunc_push_xxx called without callfunc_begin
L 04/10/2011 - 16:52:04: [AMXX] Displaying debug trace (plugin "codmod24.amxx")
L 04/10/2011 - 16:52:04: [AMXX] Run time error 10: native error (native "callfunc_push_int")
L 04/10/2011 - 16:52:04: [AMXX] [0] codmod24.sma::give_weapons (line 2549)
L 04/10/2011 - 16:52:04: [AMXX] [1] codmod24.sma::class_menu_pushed (line 1266)
L 04/10/2011 - 16:53:38: callfunc_push_xxx called without callfunc_begin
L 04/10/2011 - 16:53:38: [AMXX] Displaying debug trace (plugin "codmod24.amxx")
L 04/10/2011 - 16:53:38: [AMXX] Run time error 10: native error (native "callfunc_push_int")
L 04/10/2011 - 16:53:38: [AMXX] [0] codmod24.sma::give_weapons (line 2549)
L 04/10/2011 - 16:53:38: [AMXX] [1] codmod24.sma::ham_PlayerSpawn_Post (line 3365)
Here is the plugin:

Arkshine 04-10-2011 10:02

Re: need some help about erros
 
You should check the return of callfunc_begin.

Your problem is either the function passed is not found, or the plugin not found.

Since that's not your plugin, I can suppose your don't have the plugin "domination24.amxx" installed and running, or you have renamed it.


All times are GMT -4. The time now is 20:07.

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