Dateien

> > CS2D > Lua Scripts > [LuaJIT/LuaFFI] Fix for os.clock
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch [LuaJIT/LuaFFI] Fix for os.clock >

8 Kommentare908 b, 512 Downloads

alt [LuaJIT/LuaFFI] Fix for os.clock

Starkkz
Moderator Off Offline

Some of you might not have noticed it yet but the way that os.clock works on Linux is much different than it does on windows even in normal Lua 5.1. It just counts the time that the cpu has been running while it skips the sleep/vsync delay time. This replacement should fix that and it would make it work exactly like in Windows.

Installation is normal, just extract it and it'll be working.
1× editiert, zuletzt 28.07.15 14:21:22
Zugelassen von Sparty

Download Download

908 b, 512 Downloads

Kommentare

8 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

mrc
User Spielt CS2D

LUA ERROR: sys/lua/autorun/main.lua:3: attempt to index global 'jit' (a nil value)

alt

SpriNG
User Off Offline

Nice job.
Ich mag es!

alt

Marcell
Super User Off Offline

Nice, good to see you working hard on these LuaJIT stuffs.
Ich mag es!

alt

BcY
Reviewer Spielt CS2D

Again thanks for solving the problem.
Ich mag es!

alt

GeoB99
Moderator Off Offline

Seems very useful to cover the bug about os.clock. Nice job anyway.

alt

Infinite Rain
Reviewer Off Offline

Very useful, thanks.
Ich mag es!

alt

sheeL
User Off Offline

Awesome!
Nice job.
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang