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 » Scripting Helpers
Home Search
 

Re: It's been a while

Previous Thread :: Next Thread 
Xtreme101 is not online. Xtreme101
Joined: 03 Jan 2009
Total Posts: 4385
09 Jul 2013 11:27 AM
I've been gone for a very long time, but I decided to pick up an old project. When I play my old game I receive this ouput as I select the hopperbin that runs the entire game.

11:14:45.125 - Disconnected event because of exception
11:14:49.175 - ToolTip is not a valid member of HopperBin
11:14:49.176 - Script "CoreGui.RobloxGui.CurrentLoadout.CoreScripts/BackpackScript", Line 585
11:14:49.177 - stack end
11:14:49.177 - Disconnected event because of exception
11:14:50.184 - ToolTip is not a valid member of HopperBin
11:14:50.185 - Script "CoreGui.RobloxGui.CurrentLoadout.CoreScripts/BackpackScript", Line 591
11:14:50.186 - stack end
11:14:50.187 - Disconnected event because of exception

I'm not sure how much I am asking for because I don't know the scale of my problem, so please correct me if it's too much and help me if it's possible. Thanks in advance.
Report Abuse
TheAwesomenessDude is not online. TheAwesomenessDude
Joined: 17 Jul 2011
Total Posts: 11602
09 Jul 2013 11:30 AM
On line 585 you are trying to access something called 'ToolTip', which does not exist in the HopperBin.
Report Abuse
Xtreme101 is not online. Xtreme101
Joined: 03 Jan 2009
Total Posts: 4385
09 Jul 2013 11:34 AM
In what script? I have never seen that address before.
Report Abuse
Xtreme101 is not online. Xtreme101
Joined: 03 Jan 2009
Total Posts: 4385
09 Jul 2013 11:48 AM
I have never seen that location in my life. Is it a new thing? Anyone?
Report Abuse
expressmyself is not online. expressmyself
Joined: 19 Apr 2011
Total Posts: 1768
09 Jul 2013 11:50 AM
DOn't worry ROBLOX gripes about Hopperbins
Report Abuse
expressmyself is not online. expressmyself
Joined: 19 Apr 2011
Total Posts: 1768
09 Jul 2013 11:51 AM
It's not a worry, it's because ROBLOX dislikes their own creation
Report Abuse
Zkiller11 is not online. Zkiller11
Joined: 25 Aug 2009
Total Posts: 2914
09 Jul 2013 11:58 AM
It's a corescript glitching out because they aren't expecting you to use hopperbins, because they are "depreciated," meaning Roblox pretends that they no longer exist. It's nothing your code is doing; it is merely a corescript expecting a Tool and receiving a hopperbin. One method to fix this is to use :GetMouse() instead of a hopperbin, but that's up to you. :GetMouse() is somewhat more limited than a hopperbin, chiefly being unable to change the Mouse.Icon.
Report Abuse
Xtreme101 is not online. Xtreme101
Joined: 03 Jan 2009
Total Posts: 4385
09 Jul 2013 12:07 PM
Thanks. Where and how would I use :GetMouse()? As an event in the first function?
Report Abuse
Xtreme101 is not online. Xtreme101
Joined: 03 Jan 2009
Total Posts: 4385
09 Jul 2013 12:23 PM
Help me with my final question (hopefully)?
Report Abuse
Xtreme101 is not online. Xtreme101
Joined: 03 Jan 2009
Total Posts: 4385
09 Jul 2013 12:30 PM
Bump up.
Report Abuse
Zkiller11 is not online. Zkiller11
Joined: 25 Aug 2009
Total Posts: 2914
09 Jul 2013 03:12 PM
Sorry, I was on BF:PR. Here's what you want to know:

http://wiki.roblox.com/index.php/RBX.lua.PlayerMouse_(Object)

What I do, if I want to replace a hopperbin with :GetMouse(), is use a LocalScript, which I put in the PlayerGui, and go from there. Like I stated earlier, you can do virtually everything that you can do with a hopperbin with :GetMose(). I have had some issues with removing objects via :GetMouse(), by checking the part that the Mouse was hovering over and then removing it, but eh.
Report Abuse
Xtreme101 is not online. Xtreme101
Joined: 03 Jan 2009
Total Posts: 4385
09 Jul 2013 04:28 PM
Okay. That should help. Thanks again!
Report Abuse
Xtreme101 is not online. Xtreme101
Joined: 03 Jan 2009
Total Posts: 4385
09 Jul 2013 04:32 PM
Wait, are you telling me I can replace the entire hopperbin (which means I don't need it?) need it with :GetMouse()? I was looking at this the completely wrong way.
Report Abuse
Zkiller11 is not online. Zkiller11
Joined: 25 Aug 2009
Total Posts: 2914
09 Jul 2013 08:26 PM
Um.. Yes? Mainly, for most instances, you can use :GetMouse() and completely get rid of the hopperbin, yes. But, it is somewhat more limited, unfortunately. But for most cases, you can use it to replace the hopperbin.

Report Abuse
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11060
09 Jul 2013 08:46 PM
*Although if you don't want to, you don't have to. Those errors look scary but as far as I can tell they don't cause anything to not work at all.
Report Abuse
Zkiller11 is not online. Zkiller11
Joined: 25 Aug 2009
Total Posts: 2914
09 Jul 2013 08:50 PM
^
Exactly. I don't understand why everyone thinks when something becomes "depreciated" it becomes unusable.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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