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 » ROBLOX Studio
Home Search
 

Re: What's up with the GuiService keyboard commands?

Previous Thread :: Next Thread 
m2mm4m is not online. m2mm4m
Joined: 05 Feb 2008
Total Posts: 337
08 Jan 2013 12:39 PM
Eg
G_GUIs = game:GetService("GuiService");
G_GUIs:AddKey('a');
18:38:37.556 - An error occurred

Etc.
Report Abuse
m2mm4m is not online. m2mm4m
Joined: 05 Feb 2008
Total Posts: 337
08 Jan 2013 04:05 PM
It looks like all the keyboard commands are busted now. :-(
Including 'KeyPressed'
Or is it just me, sadly my plugins don't now. £-P

Please can it be fix by the morning as I be off to bed soon?
Report Abuse
explodingsquirrel is not online. explodingsquirrel
Joined: 31 May 2012
Total Posts: 2
09 Jan 2013 11:29 AM
Thanks for the report! We are looking into this. Recently, we changed a few things about how our lua engine works, and this seems to be an unfortunate result. I'll post back here with more info when we know the fix.
Report Abuse
m2mm4m is not online. m2mm4m
Joined: 05 Feb 2008
Total Posts: 337
09 Jan 2013 04:33 PM
Is "explodingsquirrel" impersonating a Roblox member of stuff or is this post from a genuine member of stuff?
As the user has no 'Administrator Badge'.
£-(

'If' you're genuine thanks for the feed back and get you're self 'Administrator Badge'.

Report Abuse
Ravenger7 is not online. Ravenger7
Joined: 11 Sep 2012
Total Posts: 809
09 Jan 2013 10:47 PM
Could be a programmer's account. I heard that they changed the security level on some of the services. You can get keyboard information through PlayerMouse (I think it's called that, I'm not a Lua expert).
Report Abuse
jeditkacheff is not online. jeditkacheff
Joined: 25 Mar 2010
Total Posts: 231
10 Jan 2013 03:40 PM
I can confirm explodingsquirrel's info.

Unforunately, I think this particular API is going to be restricted from scripters (it wasn't meant to be exposed in the first place actually). This is because plugins have a mouse they can grab (see PluginManager:GetMouse() ). You can use this mouse to bind key events. Sorry for any inconvenience this has caused.
Report Abuse
m2mm4m is not online. m2mm4m
Joined: 05 Feb 2008
Total Posts: 337
10 Jan 2013 11:11 PM
I HAVE GOD!
http://www.roblox.com/Forum/ShowPost.aspx?PostID=86528922


HELP so what should I do now!?

  I 'was' using the commands to map Roblox tools to keys.

  Eg. n=move, m=Resize, yu=anchored, yi=lock etc. etc.

How can I (or any else) do it with:
  L_oMouse=PluginManager:GetMouse();
Becouse as soon as a one of the Roblox tools is select by the user 'L_oMouse' become inaccessible.
Eg.
  A disable user (or me) select the 'm' tool for resizing. BUT there no why back to select the 'n' tool for moving.

Here is a VERY basic version of my binding script, try it in the Roblox 1.0 as it still works (Not for long I bet!) Even able bodied users would see how much quick editing world be, by not having to move the mouse pointer away from the work area to go and located a tool in a small icon (that some of us can see), instead they could just a press a key or two.

Run this a plugin or Tools->Execute Sctipt.

http://www.roblox.com/BasicMapping-Plugin-item?id=103283938
-- - - - - 8< - - - -
-- [W:\Roblox\RbxIDE\BasicMapping_Plugin.Lua
-- m2mm4m 11/01/2013 04:08:36 UK

  local op=print;
  op("RbxBinding:SOF[");

  local L_oSvGUI=game:GetService("GuiService");
  local L_oSvTest=game:GetService('TestService');
  for L_i=0,255 do
    L_oSvGUI:AddKey(string.char(L_i));
  end
  local L_tBinds={
  [',']="SelectionDown", ['.']="SelectionUpBrick",
  ['n']="AxisMoveTool", ['m']="ResizeTool",
-- ... etc.
  };
  L_oSvGUI.KeyPressed:connect(function(I_sKey)
    if(L_tBinds[I_sKey])then
      op("Selected"..tostring(L_tBinds[I_sKey]));
      L_oSvTest:DoCommand(L_tBinds[I_sKey]);
    else
      op("Up mapped key.");
    end
  end);
  op("RbxBinding:EOF]");
-- ]BasicMapping_Plugin.Lua
-- - - - - >8 - - - -


Report Abuse
nforeman is not online. nforeman
Joined: 21 Jul 2010
Total Posts: 521
11 Jan 2013 10:20 PM
Nice, I can't Help any. Normally I can. D:
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » ROBLOX Studio
   
 
   
  • 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