Raised This Month: $ Target: $400
 0% 

user origin 4 (bullet hit)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 10-12-2007 , 02:31   user origin 4 (bullet hit)
Reply With Quote #1

get_user_origin mode 4 (where bullet will hit)

on some servers the first place that the bullet hits somewhere
on some servers its the second(last?) place that the bullet hits somewhere

anyone experince this before?

i was trying to get an mushroom sprite on where the bullet first hits, one of my servers will create a mushroom on first bullet on ALL weapons, another one will only have a mushroom if the gun's ammo do not penetrate walls (glock usp mp5...), and ones that do penetrate walls(ak m4 awp...), will have a mushroom on the second hit point behind something(has to go through something in order to have a mushroom), which 95% of the time you wont see

the servers are on different boxes, thats probably the reason

any way to force it detect first bullet hit?
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 10-12-2007 , 03:00   Re: user origin 4 (bullet hit)
Reply With Quote #2

for example (last hitpoint), im aiming at a wall, bought m4, fired usp, m4, m4, usp, they get different origins


origin 4 279 2048 -82 (usp)
origin 4 -1546 -1423 -149 (m4a1)
origin 4 -1544 -1424 -169 (m4a1)
origin 4 279 2048 -82 (usp)
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 10-12-2007 , 13:39   Re: user origin 4 (bullet hit)
Reply With Quote #3

I can say that such issue(s) already known since it was reported few times. It was partially fixed but will not be fixed fully (see bugs section for details). Also i can say that if you care about accuracy i'd rather recommend use HS/FM modules for that.

Last edited by VEN; 10-12-2007 at 13:41.
VEN is offline
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 10-12-2007 , 14:20   Re: user origin 4 (bullet hit)
Reply With Quote #4

how i get bullet hit from fakemeta?
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 10-12-2007 , 21:01   Re: user origin 4 (bullet hit)
Reply With Quote #5

Code:
public plugin_init() {     register_forward( FM_TraceLine, "fwd_TraceLine" ); } public fwd_TraceLine( Float:start[3], Float:end[3], nomonsters, enttoskip, ptr ) {     // start is the starting point of the trace/bullet line     // end is the ending point of the trace/bullet line }

If this doesn't solve your problem, another idea is to shoot a trace and test if it makes it all the way.

By using FM Utilities, you can run:
fm_trace_line( id, fStartOrigin, fEndOrigin, fStop );

Then test if fStop is equal to fEndOrigin. If not, it hit something at fStop (such as a box or wall).
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 10-13-2007 , 13:43   Re: user origin 4 (bullet hit)
Reply With Quote #6

trace_line from player to endpoint worked thx
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow 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 07:58.


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