Skip to content

Tags: NekerSqu4w/StarfallEx

Tags

4.8

Toggle 4.8's commit message
Add a few stack overflow protection

4.7

Toggle 4.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add various missing functions, and also fix a crash (thegrb93#1307)

* add Entity:getBoundingRadius

* add PhysObj:getSurfaceArea, PhysObj:isMoveable, PhysObj:getVolume, PhysObj:getStress

* fix bodygroup crash

* add Entity:getBodygroupCount

* oops! -(2^31-1) still crashes... just make the minimum bodygroup id 0 then

* add Entity:isDormant
not exposed in e2 either but very useful function

* add Entity:getNearestPoint

4.5

Toggle 4.5's commit message
Refactor and cleanup preprocessor. Also add doc info for url include

4.4

Toggle 4.4's commit message
Add vmatrix.getRotatedAroundAxis

4.3

Toggle 4.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update physobj.lua (thegrb93#1131)

* Update physobj.lua

Add phys_obj:getVolume()

* made return number optional in docs

applied information
thegrb93#1131 (comment)

4.2

Toggle 4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fixed big endian encoding of int32 and int16. (thegrb93#1102)

Before the fix
```lua
local stream = bit.stringstream("", 1, "big")
stream:writeInt32(90)
print(stream:size()) -- 3
```
only writes 3 bytes instead of 4.
```lua
local stream = bit.stringstream("", 1, "big")
stream:writeInt16(90)
print(stream:size())
```
fails with
```
addons/starfallex/lua/starfall/libs_sh/bit.lua:324: attempt to get length of local 'v' (a number value)
stack traceback:
	addons/starfallex/lua/starfall/libs_sh/bit.lua:324: in function 'size'
	SF:tests/stringstream_bigendian_test.txt:7: in main chunk
```
because `ss_methods:write(data)` expects a single string.

4.1

Toggle 4.1's commit message
Make convar default allowed. Fixes: thegrb93#1046

4.0

Toggle 4.0's commit message
localize class

3.9

Toggle 3.9's commit message
Fix some networking bugs from newly joined players. Fixes: thegrb93#1005