General > Off-Topic

Fun with lua_socket

<< < (3/4) > >>

MrPresident:
Yes, the connections are set as an object which I have set incrementally in a table, so when the client goes to send information it will send it to every server(end user) it is connected to.

We've TESTED it with 3 people simultaneously, however Im certain it could handle many more with no performance issue.



Also, I will be willing to let some people have this program as is (meaning I designed it ultimately for myself, but it will work with everyone...) however you need the lua_socket module from facepunch. Get that now if you want to try this out and in a few days when I get all the bugs worked out, I'll post my .exe and server lua files as well as connection instructions here.

Meanwhile, if you have any suggestions, please feel free.

jay209015:
Idk if it's possible, but if it were. Could you incorporate a server restart or maybe map change timer into it? Like restart the server everyday at 6:00 A.m and reload/change the map every hour. that would be useful if possible.

I'm downloading lua_socket now :D

MrPresident:
I dont see how that would fit in this program. That would be easy enough to make into a seperate module for ULX or just a stand alone lua file.

Im working on figuring out how to send information from the user to the garrysmod server, at that point I'll add in the ability for you to be able to chat back with the server and run RCon commands. Maybe I'll add in custom commands you can sceduelle from inside the program too, so you'd be able to sceduelle a restart or a map change. =)

jay209015:
Oh, ok. is this the luasocket you're using? http://forums.facepunchstudios.com/showthread.php?t=495940

MrPresident:
Yes. You'll also need to download and install the VS2008 runtime files if you are running your server on your computer, or ask your host to do it if you pay, Both of my hosts did it for me no problem, so it shouldnt be an issue.

Also, once you download it get the patch thing sspboogie posted and just overwrite the first one you downloaded with his files (it's a fix).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version