Way to disable "server may be cheating" pukename message?

Discuss all aspects related to modding Zandronum here.
Post Reply
foxx
New User
Posts: 5
Joined: Fri Nov 06, 2015 9:10 pm

Way to disable "server may be cheating" pukename message?

#1

Post by foxx » Fri Nov 06, 2015 9:28 pm

Is there some way to disable the scary server message, "server may be cheating, it's run puke [...]?" It's referenced in this ticket (http://zandronum.com/tracker/view.php?id=1031) however there hasn't been activity on it in some time so I didn't want to dredge up ancient history if not appropriate.

I'm writing a wrapper that basically works kinda like RCON, allowing a web server to run commands on a live-running game. Affecting the game directly via pukeable script is intentional and the players of this game are quite aware of it and expecting its behavior. With that said, it's annoying to have a message printed on the players screens and console every time it happens with essentially debugging-info.

Is there some way to mitigate this? Perhaps if not would it be acceptable perhaps to implement a one-time message when you join a server that it "could be cheating" and then leave it alone?

If not, is there a way to set a server to allow "cheats" but, perhaps via ACS script, send a notice to the server console if a player uses one? If possible this would be totally fine for my purposes.

If it's help I can link to the project but I don't want to give the impression I'm stumping for my own project.

User avatar
Hypnotoad
Retired Staff / Community Team Member
Posts: 528
Joined: Tue May 29, 2012 8:50 pm
Location: Britland

RE: Way to disable "server may be cheating" pukename message?

#2

Post by Hypnotoad » Sat Nov 07, 2015 2:27 am

Consider requestscriptpuke first, it may help. http://wiki.zandronum.com/RequestScriptPuke

foxx
New User
Posts: 5
Joined: Fri Nov 06, 2015 9:10 pm

RE: Way to disable "server may be cheating" pukename message?

#3

Post by foxx » Sat Nov 07, 2015 7:44 am

Hmm, interesting, but it looks like this always has to be activated by a player. Unfortunately that'd imply that players were triggering the server-side scripts, something I need to expressly avoid. Am I not understanding the documentation correctly? It looks like the only way I'd be able to get that done is to have some sort of extra spectator user which I'm not entirely fond of either for a number of reasons.

User avatar
Dark-Assassin
Maintenence Crew
Posts: 968
Joined: Fri May 25, 2012 4:25 am

RE: Way to disable "server may be cheating" pukename message?

#4

Post by Dark-Assassin » Sat Nov 07, 2015 8:59 am

Maybe compile a personal server binary with that message removed?
❗ Don't message me for technical or moderation support.
❔ Use the relevant support channels instead.

foxx
New User
Posts: 5
Joined: Fri Nov 06, 2015 9:10 pm

RE: Way to disable "server may be cheating" pukename message?

#5

Post by foxx » Sun Nov 08, 2015 4:14 am

Dark-Assassin wrote: Maybe compile a personal server binary with that message removed?
Yeah, I found the line in question that I'd need removed so I can just comment, make a patch, and then just do a custom build I think. I just wanted to see if perhaps we could just have a CLI option to disable it so I wouldn't have to go "off the reservation" and recompile.

Not a big deal, and I think that's probably going to be the way I'm going to have to go, it just would be nice if there's a "better" way to do it.

User avatar
Dark-Assassin
Maintenence Crew
Posts: 968
Joined: Fri May 25, 2012 4:25 am

RE: Way to disable "server may be cheating" pukename message?

#6

Post by Dark-Assassin » Sun Nov 08, 2015 12:01 pm

If you want it to be an official feature, make a ticket on the tracker about it.
Though, it should be handled like sv_cheats and require a map restart to take effect.
❗ Don't message me for technical or moderation support.
❔ Use the relevant support channels instead.

Post Reply