Search found 6 matches

by Protoss_Carrier
Wed Jun 22, 2016 1:54 am
Forum: Modding help
Topic: Serverside LUA Only?
Replies: 12
Views: 4524

Re: Serverside LUA Only?

Just keep track of which players have admin permission. You can give it to player 1 to start.

Do Player IDs change based on login order, or are they static? So if my headless server starts up a character, it would become admin based on its player ID, and people joing afterwards would have no ...
by Protoss_Carrier
Wed Jun 22, 2016 1:43 am
Forum: Modding help
Topic: Serverside LUA Only?
Replies: 12
Views: 4524

Re: Serverside LUA Only?

The server (and all clients) run a hash on memory values. If ANYTHING changes it's a desync.

Oh ok. My bad. So how would I go about implementing a faction-based system with an administrator on the server if everyone has the same mod? If you've played Minecraft, I'm basically looking to implement ...
by Protoss_Carrier
Wed Jun 22, 2016 1:35 am
Forum: Modding help
Topic: Serverside LUA Only?
Replies: 12
Views: 4524

Re: Serverside LUA Only?

Local cheating is not a problem, if the server detects that a client has changed anything it will desync them.

That is if the mod itself is changed on a filesystem level, yes. However, if one were to redirect execution or change a value in working memory, they could potentially give themselves ...
by Protoss_Carrier
Tue Jun 21, 2016 10:22 pm
Forum: Modding help
Topic: Serverside LUA Only?
Replies: 12
Views: 4524

Re: Serverside LUA Only?

No, any mod on a game has to be installed by every peer in order for them to play with each other.

Any security code you had in a mod wouldn't matter if it was distributed anyway since it should never contain anything that matters if anyone sees it (open source SSL for instance).

0.13 has admin ...
by Protoss_Carrier
Tue Jun 21, 2016 10:08 pm
Forum: Modding help
Topic: Serverside LUA Only?
Replies: 12
Views: 4524

Re: Serverside LUA Only?

You can create a custom scenario and edit the scenario's control.lua code. That should ensure that the mod code is distributed along with the savegame.

I was looking to keep the mod's code execution separate from the client's platform. This would require the mod's code to be executed on all ...
by Protoss_Carrier
Tue Jun 21, 2016 9:38 pm
Forum: Modding help
Topic: Serverside LUA Only?
Replies: 12
Views: 4524

Serverside LUA Only?

Hello,

I'm a fan of the game and I wanted to make a server-side mod for handling players. Is there a way I can only have the mod distributed on the server, rather than having all participants of the game have to install it? It wouldn't involve any new items or entities. Just a sort of admin ...

Go to advanced search