Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Releases: Hexcede/H3x

Beta 1.3b

09 Nov 22:28
10ea39c
Compare
Choose a tag to compare
Beta 1.3b Pre-release
Pre-release
  • Added Stack API
  • Stack passed as new argument to all hook functions
  • Added bool Stack:Is(string indexNames...)
  • Added int Stack:Length()
  • Added StackItem Stack:Get(int index)
  • Added Variant StackItem.Value (value at index)
  • Added Variant StackItem.Index (index)
  • Added int StackItem.Position (index numeric position/order)
  • A Stack can be indexed with a numeric position to get the index Variant, or it can be indexed with a string to get the value Variant.

(Internal functions, feel free to mess with them)

  • Added void Stack:Append(index, value) - Only meant to be used internally, don't recommend using it in your code since it will effect the whole stack
  • Added Stack Stack:Clone() - Only meant to be used internally, can be used without any issues

Release 1.2

02 Nov 04:32
2bca473
Compare
Choose a tag to compare

Version 1.2

  • Added Runner API test
  • Improved Runner API (no more icky sticky blatantly obvious bugs)
  • Fixed the aforementioned icky sticky blatantly obvious bugs
  • Added function arguments to Runner API
  • Script:Start() now yields until the script completes and returns its values
  • Renamed Runner:LoadFunctionInScript() to Runner:LoadFunction() (because I decided I really don’t like typing)
  • Dispatcher can now run multiple times (oof)
  • Context:Create() now accepts Context:Load arguments
  • Added Context:GetFunction() - Gets the context’s currently loaded function.
  • Added Runner:LoadScript(Instance.Script script, table environment, bool mergeMode) [PluginSecurity] - Loads a * Script instance into a Runner Script (plugins/command bar only).
  • Added Runner:LoadContext(ctx) - Loads a context into a Runner Script.

Release 1.1

02 Nov 04:26
957c9cf
Compare
Choose a tag to compare

Version 1.1
Mention list is now PM based (to avoid cluttering. Suggested by @buildthomas)

  • Added hook return value to Sandbox:Load
  • Added Runner API - For running sandboxed code in scripts
  • Added Script script Runner:LoadFunctionInScript(function func, Context ctx=nil) - Returns a Script object with the given function loaded into it
  • Added void Runner:StopScript(Script scr) - Used to stop a Script object
  • Added void Runner:StartScript(Script scr) - Used to start a Script object
  • Added Script type - A table containing two values:
  • Added void Script:Start()
  • Added void Script:Stop()
  • Added Instance Script.ScriptInstance - The script instance
  • Added table Script.Shared - A shared table

Release 1.0

02 Nov 04:25
2bca473
Compare
Choose a tag to compare

Version 1.0

  • Initial release
  • Add Hook APIs
  • Fix some bugs with the environment sandbox returning incorrect values
  • Download: Version (1.0): ServerSandbox.rbxm (6.2 KB)