|
| 09 Apr 2012 06:05 AM |
recently nearly all of the raycast based gun scripts started to heal other humanoids when shot.
how did this happen and how can it be prevented?
It'll be a big help to the clan world if you could tell us what is wrong. |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 06:49 AM |
There's no way for us to know unless we can see the scripts.
Either roblox broke something (unlikely since every other game involving damaging humanoids is fine), the creator of the guns made a mistake, or you have a script which is increasing the humanoids' health.
Whatever it is, it's not related to raycasting. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 09 Apr 2012 09:50 AM |
:o this gives me a CTF idea.
-12-14 player server -Two teams, blue and red -A pistol, Button1Down red laser beam shoots and damages enemy shot at, Button2Down green laser beam shoots and heals team mates shot at -Gnarly |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 09 Apr 2012 10:01 AM |
It's cuz ur gun scwipts r local.
Yea, seriously. You fire at a person and it "damages" him but then the server's health script takes over and increases his health. |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 10:29 AM |
| What? Localscripts can modify server objects just fine. |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 01:11 PM |
Here iss the problem: The people who make your guns are stupid. |
|
|
| Report Abuse |
|
|
ZackZak
|
  |
| Joined: 26 Jul 2009 |
| Total Posts: 2811 |
|
|
| 09 Apr 2012 01:16 PM |
| You're probably using the humanoid damage function with a negative number. |
|
|
| Report Abuse |
|
|
sam6175
|
  |
| Joined: 16 Aug 2008 |
| Total Posts: 1391 |
|
|
| 09 Apr 2012 02:05 PM |
lololol
Humanoid.Health = Humanoid.Health - -10
Y U NO HURT |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 02:21 PM |
The scripters in the clan world are not that stupid. Some of the guys around here in this forum are in clans aswell.
|
|
|
| Report Abuse |
|
|
Valone
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 4371 |
|
|
| 09 Apr 2012 02:51 PM |
A ray isn't what damages the player? It'd be the line where the :TakeDamage() Method is used, or the property of health is edited manually. |
|
|
| Report Abuse |
|
|
NVI
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 4744 |
|
|
| 09 Apr 2012 02:56 PM |
Why can't any of you guys be nice? He asked a question. Grow up, guys.
To answer the question: can't be sure, Roblox probably messed something up, like they always do. |
|
|
| Report Abuse |
|
|
1Ra
|
  |
| Joined: 02 May 2010 |
| Total Posts: 2400 |
|
|
| 09 Apr 2012 02:59 PM |
He did
Humanoid:TakeDamage(-10) or something. |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 04:41 PM |
It's usually - - JGA1 probably knew his guns would be mass copied XD And the guy with the idea I'd prefer the gun, nothing else Pretty cool idea though I'll work on it :D |
|
|
| Report Abuse |
|
|
1waffle1
|
  |
| Joined: 16 Oct 2007 |
| Total Posts: 16381 |
|
| |
|
manatee20
|
  |
| Joined: 07 Apr 2010 |
| Total Posts: 111 |
|
| |
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 09 Apr 2012 07:54 PM |
| All my raycast guns have always been local, and yet they damage the player. Unless something changed with the server side health script, then I have no idea what your talking about, Legend. :/ |
|
|
| Report Abuse |
|
|
nightname
|
  |
| Joined: 10 Jun 2008 |
| Total Posts: 8960 |
|
| |
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 09 Apr 2012 10:04 PM |
Local scripts CAN become a problem. For example, on some people's computer's with bad connections, in my game, their ships become half CFramed because the server doesn't update the part's CFrame in time for the CFrame stuff...
|
|
|
| Report Abuse |
|
|
|
| 10 Apr 2012 11:26 AM |
This is lag between the local connection to the server connection. Since localscripts run client-side, they need time to send data to the server. Then, during this time, it is a glitch in where player's guns tend to heal other players.
Another way, is to make the humanoid-damager in a SCRIPT, not a LOCALSCRIPT.
"Knowledge talks, wisdom listens." |
|
|
| Report Abuse |
|
|
Valone
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 4371 |
|
|
| 10 Apr 2012 11:27 AM |
I believe :TakeDamage() is run server side anyway though? So, surely no matter what, they'd take the damage, just not straight away. |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2012 02:38 PM |
| I agree with ZakZack because it's a possibility but not exactly because most scripters (By that I mean me) compile it, look at the problem and fix it. But it's a possibility. |
|
|
| Report Abuse |
|
|