Raised This Month: $51 Target: $400
 12% 

Client Crash with TE_DLIGHT


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SpannerSpammer
Member
Join Date: Mar 2006
Old 02-07-2016 , 02:00   Client Crash with TE_DLIGHT
Reply With Quote #1

I've discovered an error in the Half-Life SDK in the
common\const.h file, line 324. This is the list of parameters
for the TE_DLIGHT effect. Someone at VALVe added an extra
brightness parameter to the list. The TE_DLIGHT effect
takes only NINE parameters:
Code:
#define TE_DLIGHT	27
coord (origin x)
coord (origin y)
coord (origin z) 
byte  (radius in 10's) 
byte  (color r)
byte  (color g)
byte  (color b)
byte  (life in 10's)
byte  (decay rate in 10's)
The effect is used properly in the HL game code, (in islave.cpp)
its only the parameter list that they listed incorrectly in const.h

This incorrect parameter list was copied over into the AMX file:
include\message_const.INC, line 416.

If you USE the TE_DLIGHT effect in your code with the incorrect
(10) parameters with certain values, it will cause the clients
to CRASH with one of those SVC_BAD errors when the
effect is triggered. Please update your files.
__________________
[NeoTF|DEV]SpannerSpammer-[AoE]-
NeoTF Development Team.
http://steamcommunity.com/groups/neotf
SpannerSpammer is offline
Reply



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 15:37.


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