I saw badcc’s post a bit ago, and I thought he had a pretty great idea. However, I didn’t see him releasing anything, so I thought I’d make my own version. The program uses a “web server” (as in something I hacked together only capable of understanding basic GET requests) to communicate via HttpService with the plugin in ROBLOX Studio. Edit: I feel I should point out that your computer is acting as the web server, or in other words; your script never actually leaves your computer and is never in contact with the internet. Don’t worry about it being uploaded to some sketchy website or anything like that.
Caution: Saving a script with your external script editor while it is also opened in ROBLOX Studio will crash Studio. DON’T DO IT!
I haven’t had an opportunity to do any real bug testing yet, so sorry if you encounter any. Just message me the repo and I’ll try to get it fixed next weekend.
Thanks for the suggestion, but personally I prefer Java. I’ve never actually worked with Lua out of ROBLOX before, so for a quick project like this it really wouldn’t be worth learning my way around an entirely new API. Besides, the base for the Java web server took less than 5 minutes to write, and can be directly integrated into the rest of the desktop program (which is also written in Java).
Oops, ModuleScript doesn’t extend BaseScript. My bad, I’ve fixed that issue. It should work fine now.
Pretty much, although I feel I should emphasize just in case anyone takes that the wrong way. The only copy of your script and the only place your script ever is is on your computer. The script isn’t actually uploaded anywhere, it stays right on your computer. Your computer just pretends to be a website, which ROBLOX Studio then connects to.
TL;DR: Your script never leaves your computer, don’t worry about it being uploaded to some sketchy site or anything like that.
[strike]Edit: Although you did just make me realize that this would allow other computers on your direct network to connect and possibly steal your scripts. I’ll go fix that when I get home [/strike] Edit: Fixed the above.
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at twitter_at.damrnelson.roblox.external_script_support.Server$1.run(Server.java:90)
The error was caused by testing the game in play-solo. (F6)
Also, while you’re here, there is another bug where the links doesn’t work after restarting your computer. So everytime I start my computer I’ve to remake my links. It’s not that the links just gets removed, the links show up there in both the plugin and the java program, but they don’t work.