|
| 24 Mar 2016 10:43 AM |
My x10hosting got suspended cause its against their terms to host scripts off their website. rip me.
PLZ HELP
┞://EXTINCT: Peaceful...but deadly. |
|
|
| Report Abuse |
|
|
| |
|
fixylol
|
  |
| Joined: 14 Dec 2012 |
| Total Posts: 7412 |
|
|
| 24 Mar 2016 10:56 AM |
roblox is the best place to host scripts
Number of times opinion has changed: A lot. |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2016 10:58 AM |
Is it possible to make ROBLOX access a file on your computer (that isn't hosted online)?
┞://EXTINCT: Peaceful...but deadly. |
|
|
| Report Abuse |
|
|
fixylol
|
  |
| Joined: 14 Dec 2012 |
| Total Posts: 7412 |
|
|
| 24 Mar 2016 11:00 AM |
i think dofile() still works, so yeah.
Number of times opinion has changed: A lot. |
|
|
| Report Abuse |
|
|
fixylol
|
  |
| Joined: 14 Dec 2012 |
| Total Posts: 7412 |
|
|
| 24 Mar 2016 11:01 AM |
actually its loadfile, not dofile
Number of times opinion has changed: A lot. |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2016 11:05 AM |
lets say I have a folder in C drive called Scripts and the .txt file is called BaseScripts
how would I do it?
┞://EXTINCT: Peaceful...but deadly. |
|
|
| Report Abuse |
|
|
fixylol
|
  |
| Joined: 14 Dec 2012 |
| Total Posts: 7412 |
|
|
| 24 Mar 2016 11:06 AM |
loadfile("C:\Scripts\BaseScripts.txt")
Number of times opinion has changed: A lot. |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2016 11:14 AM |
I looked it up on the ROBLOX Wiki and it was do file so I tried
local dofile("C:\Users\Windows\Documents\ROBLOX\HTTP Scripts\BaseScripts.lua")
and it is giving me this error prntscr/ajfohe
┞://EXTINCT: Peaceful...but deadly. |
|
|
| Report Abuse |
|
|
fixylol
|
  |
| Joined: 14 Dec 2012 |
| Total Posts: 7412 |
|
|
| 24 Mar 2016 11:17 AM |
maybe its because you are putting "local" next to it.
Number of times opinion has changed: A lot. |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2016 11:23 AM |
Tried without local as well.
I found out there is a dofile and a loadfile and a load function.
prntscr/ajfr8k
I tried f= loadfile("C:\Users\Windows\Documents\ROBLOX\HTTP Scripts\BaseScripts.lua") f()
and
f = load(func["C:\Users\Windows\Documents\ROBLOX\HTTP Scripts"]) loadfile("BaseScripts.lua") print(f)
I feel like im not even close. Ideas?
┞://EXTINCT: Peaceful...but deadly. |
|
|
| Report Abuse |
|
|
OzzyFin
|
  |
| Joined: 07 Jun 2011 |
| Total Posts: 3600 |
|
| |
|
|
| 24 Mar 2016 11:32 AM |
loadfile/dofile are sandboxed and cannot be accessed without a higher security context; which you will never have, because there's no reason people should be accessing the file system.
the roblox api dump is just that: a dump of everything you can use in lua. just because it's there, doesn't mean you can use it.
whoever told you otherwise is a fool. cough up some money and buy an actual host that allows you complete freedom over your server if you want to get stuff done.
|
|
|
| Report Abuse |
|
|
fixylol
|
  |
| Joined: 14 Dec 2012 |
| Total Posts: 7412 |
|
|
| 24 Mar 2016 11:36 AM |
or you can just use modulescripts if you want to update all admin scripts at once.
Number of times opinion has changed: A lot. |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2016 11:38 AM |
also there is no way to execute code hosted externally or locally. you simply can't.
|
|
|
| Report Abuse |
|
|
|
| 24 Mar 2016 11:42 AM |
modulescripts?
┞://EXTINCT: Peaceful...but deadly. |
|
|
| Report Abuse |
|
|
fixylol
|
  |
| Joined: 14 Dec 2012 |
| Total Posts: 7412 |
|
|
| 24 Mar 2016 11:42 AM |
http://wiki.roblox.com/index.php?title=API:Class/ModuleScript
Number of times opinion has changed: A lot. |
|
|
| Report Abuse |
|
|
| |
|
Dr_Doge
|
  |
| Joined: 07 Dec 2011 |
| Total Posts: 645 |
|
|
| 24 Mar 2016 11:48 AM |
@Friend
"the roblox api dump is just that: a dump of everything YOU CAN USE in lua. just because it's there, doesn't mean you can use it."
Lol I just thought that was funny. Nothing else. |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2016 12:01 PM |
victoryyyyy
FIGURED IT OUT
┞://EXTINCT: Peaceful...but deadly. |
|
|
| Report Abuse |
|
|
c9_io
|
  |
| Joined: 15 Feb 2014 |
| Total Posts: 2642 |
|
|
| 24 Mar 2016 01:39 PM |
| You can use code from offset if you know the source github is an example |
|
|
| Report Abuse |
|
|