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: ignoring "blah" should be "Blah" for gui output

Previous Thread :: Next Thread 
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 05:23 PM
I'm making an output gui, and I want to ignore the warnings about things like
"Player.getMouse" should be "GetMouse"

But not ignore all warnings

codepad;
/2gBK6dFf

I'm not very good with string patterns, this seems to work but getMouse() is the only thing I can find that returns that warning to test it on


Please don't say I should just use GetMouse instead that isn't what this is about or why I'm doing this, I just don't want those suggestions to show up in the gui
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 05:25 PM
Oh and since I don't have the gui part done yet I was testing it in the command bar, thats why I edit the scripts source
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
07 Nov 2014 05:27 PM
getAsync is another example, if you want extra gotcha producing scripts
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 05:30 PM
Alright, it seems to work
2 tests is enough to convince me
Thanks :3
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 05:31 PM
Also just noticed
print(ignore('"Player.getMouse" should be "GetMouse"')) -->true
That line returns false because I added that part to check if it was a warning message
print(ignore('"Player.getMouse" should be "GetMouse"', Enum.MessageType.MessageWarning)) -->true
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
07 Nov 2014 05:34 PM
Oki
By the way, it's warning you for a reason hehe.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 07:42 PM
I finished the gui btw
Its nothing fancy but I like it better than the default one
(No it terms of looks, but I prefer to use things I made)
http://www.roblox.com/output-gui-item?id=185965464

I finished it a while ago but I just now uploaded it because I want someone to say what they think and give me suggestions
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 07:43 PM
Oh and also I decided to not exclude 'blah' should be 'Blah'
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 07:52 PM
Besides just showing you it,


I'm not very experienced with guis
If someone tests it and the size is messed up please tell me
Report Abuse
Seranok is online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
07 Nov 2014 07:53 PM
Tip: Make a demo place showcasing it, people will be more likely to use it
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 07:55 PM
http://www.roblox.com/128GBs-Place-place?id=153752522

It has a list for who can use it but I changed it slightly so anyone can use it at my place

its the 'O' in the bottom right to open it
Report Abuse
CategoricalSyllogism is not online. CategoricalSyllogism
Joined: 30 Aug 2013
Total Posts: 7680
07 Nov 2014 08:03 PM
when i right click it won't open

in play solo
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 08:03 PM
You're supposed to left click
Report Abuse
CategoricalSyllogism is not online. CategoricalSyllogism
Joined: 30 Aug 2013
Total Posts: 7680
07 Nov 2014 08:06 PM
"its the 'O' in the bottom right to open it"

Sorry I read that as "its the 'O' on the bottom right click to open it" x3
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 08:08 PM
So does it work correctly? Is the size correct I mean or does it spam stuff randomly onto the gui
Report Abuse
CategoricalSyllogism is not online. CategoricalSyllogism
Joined: 30 Aug 2013
Total Posts: 7680
07 Nov 2014 08:09 PM
Looks cool! The text is slightly cut off, and I had to set it visible manually for some reason but it worked nicely.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 08:11 PM
Clicking the 'O' didn't set it to visible for you?


Are you sure it was cut off? Its supposed to scroll left and right with the bottom drag bar
Report Abuse
CategoricalSyllogism is not online. CategoricalSyllogism
Joined: 30 Aug 2013
Total Posts: 7680
07 Nov 2014 08:16 PM
I think the GUIs were frozen then.

Play Solo mode isn't reliable enough, so I'd disregard my experiences if the GUIs work for you.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 08:17 PM
Its very possible that I messed it up with the scale/offset

Can you go to my place and see what happens with it there
http://www.roblox.com/128GBs-Place-place?id=153752522
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 08:21 PM
Oh I see
You can't use TextBounds in a server script

Any ideas?
It needs to be local
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 08:21 PM
It needs to not be local*
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 Nov 2014 08:42 PM
I changed the TextBounds.X to #output * 8
It gets it close enough
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