AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CSGO] Error Log (https://forums.alliedmods.net/showthread.php?t=319407)

Dr.Mohammad 10-30-2019 00:43

[CSGO] Error Log
 
hi guys!
i used sm 1.10.
i have this errors for this cod on log file:
cod:
PHP Code:

                    #if SOURCEMOD_V_MAJOR >= 1 && SOURCEMOD_V_MINOR >= 8
                        
SetPackPosition(JumpPackPositionview_as<DataPackPos>(96));//this line have problem
                    #else
                        
SetPackPosition(JumpPackPosition96);
                    
#endif 

errors:
HTML Code:

L 10/29/2019 - 22:40:02: [SM] Exception reported: Invalid data pack position, 96 is out of bounds (18)
L 10/29/2019 - 22:40:02: [SM] Blaming: sm_hosties.smx
L 10/29/2019 - 22:40:02: [SM] Call stack trace:
L 10/29/2019 - 22:40:02: [SM]  [0] SetPackPosition
L 10/29/2019 - 22:40:02: [SM]  [1] Line 1667, hosties/lastrequest.sp::LastRequest_PlayerJump

thank you

September 11-20-2019 13:33

Re: [CSGO] Error Log
 
Quote:

Originally Posted by Dr.Mohammad (Post 2671373)
hi guys!
i used sm 1.10.
i have this errors for this cod on log file:
cod:
PHP Code:

                    #if SOURCEMOD_V_MAJOR >= 1 && SOURCEMOD_V_MINOR >= 8
                        
SetPackPosition(JumpPackPositionview_as<DataPackPos>(96));//this line have problem
                    #else
                        
SetPackPosition(JumpPackPosition96);
                    
#endif 

errors:
HTML Code:

L 10/29/2019 - 22:40:02: [SM] Exception reported: Invalid data pack position, 96 is out of bounds (18)
L 10/29/2019 - 22:40:02: [SM] Blaming: sm_hosties.smx
L 10/29/2019 - 22:40:02: [SM] Call stack trace:
L 10/29/2019 - 22:40:02: [SM]  [0] SetPackPosition
L 10/29/2019 - 22:40:02: [SM]  [1] Line 1667, hosties/lastrequest.sp::LastRequest_PlayerJump

thank you

have you fixed it?

Fyren 11-21-2019 12:52

Re: [CSGO] Error Log
 
You should only ever pass a position that you got from ReadPackPosition. How SM decides to index things/lay out the datapack is an implementation detail.

Franc1sco 11-21-2019 19:20

Re: [CSGO] Error Log
 
It seems that sm 1.10 decreased the max size of pack positions to 18.

You can try to open a issue on sourcemod and hosties github for see if someone could fix it.

Rohanlogs 11-22-2019 13:26

Re: [CSGO] Error Log
 
Yeah that's from gun toss distance meter HintText.
I just removed that code and carried on with my life cuz nobody even reads the distance meter.
Instead they compare the guns tips on ground where they landed, usually at least.


All times are GMT -4. The time now is 16:38.

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