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

Latest update = knives only?


Post New Thread Reply   
 
Thread Tools Display Modes
.ice
Junior Member
Join Date: Jun 2011
Old 10-15-2011 , 00:33   Re: Latest update = knives only?
Reply With Quote #21

My bad. Now the bodies dissapear after 1.5 secs after they die, but we still spawn like we are buried and that stays so for 1.5-2sec. Please let us know if there's any fix for that.
.ice is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 10-15-2011 , 03:17   Re: Latest update = knives only?
Reply With Quote #22

ive got the opposite, spawn is fine, ragdolls wont disolve
__________________
Happy Happy Joy Joy

sinblaster is offline
KaiserJeeĈ
Member
Join Date: Dec 2009
Old 10-15-2011 , 04:46   Re: Latest update = knives only?
Reply With Quote #23

failed to compile.. took the smx and the sp.. now i got
[SM] Plugin dm_spawn_protection.smx failed to load: Required extension "CS:S DM" file("cssdm.ext") not running.

was told it was a fix for zombie reloaded users.. our zombie models get stuck half under the floor can i get some help?
__________________
KaiserJeeĈ is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 10-15-2011 , 05:17   Re: Latest update = knives only?
Reply With Quote #24

Quote:
Originally Posted by Peace-Maker View Post
I was talking about the sourcemod gamedata. cssdm didn't change afaik.

To fix the visual spawning glitch, change line 135 of dm_spawn_protection.sp from
PHP Code:
SetEntData(clientg_HealthOffset1012);    /* This overflows to show "500" */ 
to
PHP Code:
SetEntData(clientg_HealthOffset1524);    /* This overflows to show "500" */ 
Edit: Attached a compiled one for the lazy guys.
hey could you please explain me why 1524 and not 1012?
__________________
nikooo777 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 10-15-2011 , 08:17   Re: Latest update = knives only?
Reply With Quote #25

Quote:
Originally Posted by nikooo777 View Post
hey could you please explain me why 1524 and not 1012?
Both number's first 9 bits equal 500 in binary.
500: 111110100
1012: 1111110100
1524: 10111110100
2036: 11111110100
2548: 100111110100
+512....

It seems the client has a signed 10bit health buffer, if the 10th bit is 1 it can't handle it, as it'd be negative.

As you can see, 1012 has the 10th bit as 1, so raising it to 1524 is fine.

This is only a solution for cssdm, since it's always the same value. ZR would need to handle the health internally and only start displaying from 511 on. Like hooking OnTakeDamage and decrease a global variable of health instead of using the m_iHealth property. That would break compatability with other plugins changing the health though. one would need to monitor m_iHealth and mirror changes to the intern health array..
__________________
Peace-Maker is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 10-15-2011 , 12:19   Re: Latest update = knives only?
Reply With Quote #26

thanks for the explaination!
seems that valve has screwed it up quite well.
do you know if there is a ways to hook the health hud to always show a certain value? that would be faster i guess but i couldn't find the function that updates the HUD.
__________________

Last edited by nikooo777; 10-15-2011 at 12:23.
nikooo777 is offline
Old 10-15-2011, 16:23
BIGFAT
This message has been deleted by BIGFAT.
.ice
Junior Member
Join Date: Jun 2011
Old 10-15-2011 , 22:51   Re: Latest update = knives only?
Reply With Quote #27

Hello,
So after I did what you guys said to, the ragdolls dissapear right after they die. But the glitch where you spawn like buried is not fixed yet. Please let me know.

Thank you in advance.
.ice is offline
away000
Veteran Member
Join Date: Sep 2010
Old 10-15-2011 , 22:57   Re: Latest update = knives only?
Reply With Quote #28

Quote:
Originally Posted by .ice View Post
Hello,
So after I did what you guys said to, the ragdolls dissapear right after they die. But the glitch where you spawn like buried is not fixed yet. Please let me know.

Thank you in advance.
Use the temporari fix of Peace_Maker...
__________________
away000 is offline
.ice
Junior Member
Join Date: Jun 2011
Old 10-15-2011 , 23:31   Re: Latest update = knives only?
Reply With Quote #29

Quote:
Originally Posted by away000 View Post
Use the temporari fix of Peace_Maker...
I did but still the same for me.
.ice is offline
away000
Veteran Member
Join Date: Sep 2010
Old 10-15-2011 , 23:32   Re: Latest update = knives only?
Reply With Quote #30

Quote:
Originally Posted by .ice View Post
I did but still the same for me.
Strange, for me is working well, what MM and SM version are u using? any plugis who interact with dm?
__________________
away000 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 16:46.


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