Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 3 4 5 6 7 … 18 Next »
Quite a few feature requests
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Quite a few feature requests
30-04-2020, 07:43 PM,
#1
frdhog Offline
Hasn't finished a ship in 2 years
****
Posts: 72
Threads: 31
Joined: Feb 2016
Quite a few feature requests
I have plans for a couple of ambitious projects now that I am getting into Starfall and there are some features that would ease the projects along

Existing libraries and functions in GLua
  • Base64 encoding and decoding functions
  • SQL library
  • A compression library (online sf docs say fastzl but it's not in-game)

More ambitious features
  • Global and persistent storage (possibly requiring a key to read from and a key to write to) (would be most appreciated)
  • Packing (string.pack/unpack and table.pack/unpack from Lua 5.3) (I'm aware this is unlikely)

Other requests
  • ESC closing the autocomplete dialogue in the SF editor (opt-in option?)
  • Variable/function browser in the SF editor (even as simple as IDLE's module browser would be very nice indeed)
  • Documentation update on teamscm.co.uk/sfdoc/ (I know it's not an easy task but the fastzl lib made me request this)

I know it is a lot to ask but I'm also curious to see if anyone else is interested in these features too
Website Find
Reply
01-05-2020, 04:37 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Quite a few feature requests
I've added a base64 encoding/decoding library and re-added the old fastlz library.

As for the other requests:
(30-04-2020, 07:43 PM)frdhog Wrote: SQL library
This would require some work to sanitise queries to stop Starfall interfering with tables it shouldn't. There'd also have to be sanitisation rules around the amount and structure of tables that can be created. It's not impossible, but it's not going to happen soon.

(30-04-2020, 07:43 PM)frdhog Wrote: Global and persistent storage (possibly requiring a key to read from and a key to write to) (would be most appreciated)
You can store data in files for persistence. There's also global tables to share data between instances, though it is not persistent.

(30-04-2020, 07:43 PM)frdhog Wrote: Packing (string.pack/unpack and table.pack/unpack from Lua 5.3) (I'm aware this is unlikely)
The table packing functions already exist, they just weren't being highlighted in the editor which is now fixed. As for the string packing functions, those aren't the nicest interface for binary data handling. A buffer type with read/write methods would be more useful.

(30-04-2020, 07:43 PM)frdhog Wrote: ESC closing the autocomplete dialogue in the SF editor (opt-in option?)
Handling the escape key in GMod is a nightmare as nothing can truly stop it opening the game's menu, so this wouldn't really work well.

(30-04-2020, 07:43 PM)frdhog Wrote: Variable/function browser in the SF editor (even as simple as IDLE's module browser would be very nice indeed)
You can use the command bar to jump to functions in the code. Press Ctrl + L (by default) or click the button with the console icon at the top left of the editor to open it, then type @<function name> to see a list of all matching functions. Clicking one or using the arrow keys will take you to it.

(30-04-2020, 07:43 PM)frdhog Wrote: Documentation update on teamscm.co.uk/sfdoc/ (I know it's not an easy task but the fastzl lib made me request this)
I haven't updated the docs there for a long time. It'd probably be better to make something that can read and display the docs directly from the latest docs on the server so I don't have to upload to multiple places.
Kosmos also created a documentation viewer a while ago that gets its information direct from the server that might be useful:
https://teamscm.co.uk/showthread.php?tid=2642
Find
Reply
01-05-2020, 10:32 PM,
#3
frdhog Offline
Hasn't finished a ship in 2 years
****
Posts: 72
Threads: 31
Joined: Feb 2016
RE: Quite a few feature requests
Thank you very much for the response, clear explanation and addition of the libraries. Now it's time to get my hands dirty
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.