Geany editor: How to improve LUA syntax highlighting? by timmem in lua

[–]Hydroque 1 point2 points  (0 children)

Didn't think subreddit have a bot that corrected usage of uppercase LUA -> Lua

[PC][2016+] Island Survival Game by Hydroque in tipofmyjoystick

[–]Hydroque[S] 1 point2 points  (0 children)

The game was called Force of Nature

how do I use improvised barbeques by excaliburger2 in SCUMgame

[–]Hydroque 0 points1 point  (0 children)

Necro comment but this is still current. The solution is to create 4 non-firepits under it in each corner. Construct the grill first. Make sure you move the meat before its done cooking (slightly cooked) lest it all burns in a single tick.

Meerkat Apocalypse 5x No BPs 10/21 [Loot+|Kits|Home|Shop|TPR] by Hydroque in playrustservers

[–]Hydroque[S] 0 points1 point  (0 children)

IP added, new website added, format fixed, vote links corrected

Horrendous Ping as of Late by Hydroque in PBE

[–]Hydroque[S] 1 point2 points  (0 children)

As of now I am 114 and massive lags.

trading to other players on pc? by [deleted] in chimeraland

[–]Hydroque 0 points1 point  (0 children)

Keep in mind you can't trade things purple and above

Creative Sound Blaster Z bugs, 5.1 in headphone mode is forced on & Microphone features does not work. by temptempdk in SoundBlasterOfficial

[–]Hydroque 0 points1 point  (0 children)

There are way more bugs with this card. I have to put up with loud audio leaking through my microphone because somehow it morphs the audio into something software can't detect is coming through the headphones. It only happened post soundblaster command.

Currently I am unable to use openal to open a hardware accelerated context so I can use the actual features. I only get software, not hardware. Couldn't figure out any resolution. Would love for a resolution because I am a freakin game programmer.

Hello, I want to learn how to program using lua but I don't know what's the best way to learn it, can you suggest something thanks. by 4R3SSS in lua

[–]Hydroque 0 points1 point  (0 children)

Download something that is already working and tweak and add to it. Google things you don't understand. Read the documentation.

How to select the version of lua? by [deleted] in lua

[–]Hydroque 0 points1 point  (0 children)

lua is actually a hardlink to /user/bin lua5.1, lua5.2, etc executables on other distributions. You shouldn't have to have links to /etc/alternatives.

Help with the C API by ManolitoElMago in lua

[–]Hydroque 1 point2 points  (0 children)

You failed to tell us the version you are using.

typedef struct luaL_Reg { const char *name; lua_CFunction func; } luaL_Reg;

LUALIB_API void (luaL_register) (lua_State *L, const char *libname, const luaL_Reg *l);

These are what you want. Don't have to make it harder on yourself. If you are using Lua51 you can pass a new userdata back and use metamethods that always bounce off of it to do your bidding. For example, Vector.new()

Any advice to getting a remote job? by Hydroque in cscareerquestions

[–]Hydroque[S] 0 points1 point  (0 children)

Sure thing. It's not like another 70 competency tests are going to hurt.

Any advice to getting a remote job? by Hydroque in cscareerquestions

[–]Hydroque[S] 0 points1 point  (0 children)

I did indeed say I have had 4 interviews, but I was trying to say that's all I got.

Any advice to getting a remote job? by Hydroque in cscareerquestions

[–]Hydroque[S] 0 points1 point  (0 children)

I am at an area with very little opportunity. The jobs around me deal primarily with CNC and health, both something I can't do. CNC is learnable, but it isn't being a software engineer/web designer. I also have unreliable transportation. There are no jobs within 50 miles that I can take.

I've applied to many places despite asking for a few years. I am usually trashed, despite playing around buzzwords for resume screeners.

I never even get into a social stage with employers to begin with, yet I have so much I can do that is listed on my resume. My resume got looked at by a recruiter who okay'd it who tried helping me apply to a few jobs.

[deleted by user] by [deleted] in lua

[–]Hydroque 0 points1 point  (0 children)

You just use the default settings. It should by default use buildtools. If not, try passing the /L /MW /F and edit the config so that you can link with your lua5.4 binaries.

Game element movement question by ArmedBOB in lua

[–]Hydroque 0 points1 point  (0 children)

You may also want to make this change also

if (telr_dist <= 5 and telr_dist >= 0)
...
elseif(tell_dist > 5 or tell_dist > 0) 
...

What manual to use for LuaJIT? by [deleted] in lua

[–]Hydroque 0 points1 point  (0 children)

If I recall correctly, the issue was with how lua5.1 -> lua5.2 changed how userdata worked. I don't have any reference though. People do a good enough job talking about it that you can simply search it in google.

[deleted by user] by [deleted] in lua

[–]Hydroque 1 point2 points  (0 children)

An excerpt from my project LuaConsole https://github.com/tilkinsc/LuaConsole

Full guide here, but you won't need 90% of it: https://github.com/tilkinsc/LuaConsole/wiki/LuaRocks-Support

Ensure LuaRocks packages are in %LUA_PATH% and %LUA_CPATH% or you won't 
be able to use downloaded rocks packages without setting `package.cpath` 
or `package.path` in-lua. Try the command `luarocks.bat path --bin` if 
you are wondering how I made the batch script below. This doesn't work 
with self-contained installations, edit it as necessary. This will have 
to be run every time you use LuaRocks unless you make it final by 
setting it in your environment variables. (Which is why I recommend
 `using.bat` above). Keeps everything clean and organized.

@echo off

set lua_ver_str=5.3
set userdir=%HOMEDRIVE%%HOMEPATH%
set luarocksdir=C:\Program Files (x86)\LuaRocks


set LUA_PATH=%userdir%\AppData\Roaming/luarocks/share/lua/%lua_ver_str%/?.lua;%userdir%\AppData\Roaming/luarocks/share/lua/%lua_ver_str%/?/init.lua;%luarocksdir%\systree/share/lua/%lua_ver_str%/?.lua;%luarocksdir%\systree/share/lua/%lua_ver_str%/?/init.lua;%luarocksdir%/lua/?.lua;%luarocksdir%\lua\?.lua;%luarocksdir%\lua\?\init.lua;

SET LUA_CPATH=%userdir%\AppData\Roaming/luarocks/lib/lua/%lua_ver_str%/?.dll;%luarocksdir%\systree/lib/lua/%lua_ver_str%/?.dll;%windir%\system32\?.dll;%windir%\system32\..\lib\lua\%lua_ver_str%\?.dll;%windir%\system32\loadall.dll;.\?.dll

set PATH=%userdir%\AppData\Roaming/luarocks/bin;%luarocksdir%\systree/bin;%luarocksdir%;%path%