generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: you're scripters, so you must know.. I guess.

Previous Thread :: Next Thread 
Shadowpurky is not online. Shadowpurky
Joined: 21 Oct 2009
Total Posts: 11535
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
Brandonhare is not online. Brandonhare
Joined: 02 May 2007
Total Posts: 11005
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 is not online. 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 is not online. 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
Brandonhare is not online. Brandonhare
Joined: 02 May 2007
Total Posts: 11005
09 Apr 2012 10:29 AM
What? Localscripts can modify server objects just fine.
Report Abuse
TheCapacitor is not online. TheCapacitor
Joined: 19 Jan 2011
Total Posts: 7045
09 Apr 2012 01:11 PM
Here iss the problem:
The people who make your guns are stupid.
Report Abuse
ZackZak is not online. 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 is not online. 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
Shadowpurky is not online. Shadowpurky
Joined: 21 Oct 2009
Total Posts: 11535
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 is not online. 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 is not online. 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 is not online. 1Ra
Joined: 02 May 2010
Total Posts: 2400
09 Apr 2012 02:59 PM
He did

Humanoid:TakeDamage(-10)
or something.
Report Abuse
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
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 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
09 Apr 2012 04:44 PM
Legend26 was right.
Report Abuse
manatee20 is not online. manatee20
Joined: 07 Apr 2010
Total Posts: 111
09 Apr 2012 07:28 PM
LOLVAK
Report Abuse
jode6543 is not online. 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 is not online. nightname
Joined: 10 Jun 2008
Total Posts: 8960
09 Apr 2012 08:59 PM
You are doing it wrong.
Report Abuse
Quenty is not online. 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
Candymaniac is not online. Candymaniac
Joined: 08 Oct 2009
Total Posts: 8985
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 is not online. 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
ultimategamer9500 is not online. ultimategamer9500
Joined: 20 Mar 2011
Total Posts: 39
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image