This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[BUG]message_const.inc wrong info


  
 
 
Thread Tools Display Modes
Author Message
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 01-17-2007 , 11:21   [BUG]message_const.inc wrong info
#1

the bytes and other info for TE_DLIGHT are wrong

copy from message_const.inc:
Code:
#define TE_DLIGHT                   27       // Dynamic light, effect world, minor entity effect
// write_byte(TE_DLIGHT)
// write_coord(position.x)
// write_coord(position.y)
// write_coord(position.z)
// write_byte(radius in 10's) 
// write_byte(red)
// write_byte(green)
// write_byte(blue)
// write_byte(brightness)
// write_byte(life in 10's)
// write_byte(decay rate in 10's)
but the brightness byte shouldn't be there.. ill give clients a disconnect

P34nut.
__________________
All you need to change the world is one good lie and a river of blood
P34nut is offline
jopmako
Senior Member
Join Date: Jul 2006
Location: QQ:331537639
Old 01-17-2007 , 12:04   Re: [BUG]message_const.inc wrong info
#2

yes,it's wrong.I just got problem with this too.
__________________
QQ31537639
jopmako is offline
Send a message via MSN to jopmako
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 01-17-2007 , 13:03   Re: [BUG]message_const.inc wrong info
#3

Copied directly from HLSDK:
Code:
#define TE_DLIGHT           27      // dynamic light, effect world, minor entity effect // coord, coord, coord (pos) - 3 coords - correct // byte (radius in 10's) - 1 radius - correct // byte byte byte (color) - 3 colours - correct // byte (brightness) - 1 brightness - correct // byte (life in 10's) - 1 life - correct // byte (decay rate in 10's) - 1 decay - correct
I don't see any problem here?
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd

Last edited by Orangutanz; 01-17-2007 at 13:10.
Orangutanz is offline
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 01-17-2007 , 13:08   Re: [BUG]message_const.inc wrong info
#4

the HLSDK is wrong

for an example:
Flashbang Dynamic Light by XxAvalanchexX
__________________
All you need to change the world is one good lie and a river of blood
P34nut is offline
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 01-17-2007 , 13:14   Re: [BUG]message_const.inc wrong info
#5

Just looked on Valve Collective, why the hell didn't Valve amend this in the HLSDK

Committing fix...Revision 3231
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd

Last edited by Orangutanz; 01-17-2007 at 13:17.
Orangutanz is offline
 



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:35.


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