jacksonmj
a5ea6555f1
Fix more bugs in the Lua API
...
Crash with sim.partKill(large number).
sim.neighbours() looking for particles in completely the wrong place.
Impossible to tell from sim.partID whether a particle exists, since it returns 0 both if there is no particle there and if particle 0 is there.
2014-03-04 23:34:51 +00:00
mniip
4152bb560e
Do not use loadstring to load autorun (who even wrote this?). Also print a message in case of successful autorun load
2014-03-04 15:26:35 +04:00
jacksonmj
64e16025d8
Fix bug in Lua API sim.neighbours() causing some particles to be missed out
...
Was excluding all particles with the same x or y as the centre instead of just the centre particle.
2014-03-03 22:42:21 +00:00
jacksonmj
224b25fae5
Fix Lua API sim.partNeighbours with 4 arguments
2014-03-03 20:09:35 +00:00
jacob1
d59253cfc7
fix sim.deleteStamp and sim.loadStamp (couldn't load/delete stamps with names like 530e908700)
2014-02-26 20:29:15 -05:00
nucular
8561976121
Fix (hopefully) most of the R/W errors inside the new Lua API
2014-02-22 10:13:09 -05:00
jacob1
71f90b5d59
new function: sim.deleteStamp
...
mostly for use in tpt multiplayer
2014-02-20 16:02:32 -05:00
mniip
a105ed9df8
Use system clock instead of used CPU time. Fixes key repeat and some
...
other stuff. close #206
2014-02-13 00:26:34 +04:00
jacob1
5b886fc51e
boxmein: Added clipboard support to Lua
2014-01-29 17:57:18 -05:00
jacob1
f66679e551
a little reorganization (maybe more later)
2014-01-20 13:52:53 -05:00