Raised This Month: $66 Target: $400
 16% 

[CSGO] Error Log


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 10-30-2019 , 01:43   [CSGO] Error Log
Reply With Quote #1

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

Last edited by Dr.Mohammad; 10-30-2019 at 01:44.
Dr.Mohammad is offline
September
Senior Member
Join Date: Jul 2015
Location: Russian Federation
Old 11-20-2019 , 14:33   Re: [CSGO] Error Log
Reply With Quote #2

Quote:
Originally Posted by Dr.Mohammad View Post
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?
September is offline
Send a message via Skype™ to September
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 11-21-2019 , 13:52   Re: [CSGO] Error Log
Reply With Quote #3

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.
Fyren is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 11-21-2019 , 20:20   Re: [CSGO] Error Log
Reply With Quote #4

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.
__________________
Veteran SourceMod Coder -> Activity channel
I am available for participate on communities for free -> INFO

You like my work? +Rep in my steam profile comments or donate me if you want.

Franc1sco is offline
Send a message via MSN to Franc1sco
Rohanlogs
Senior Member
Join Date: Nov 2015
Old 11-22-2019 , 14:26   Re: [CSGO] Error Log
Reply With Quote #5

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.
__________________
Rohanlogs is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:30.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode