Author Topic: sv_cheats  (Read 2390 times)

0 Members and 1 Guest are viewing this topic.

Offline olie304

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
sv_cheats
« on: December 28, 2016, 06:05:25 PM »

My ULib/ULX versions:
ULib v2.61
ULX v3.71


Game mode(s) I am having this problem on: mainly sandbox but every mode too.

When I go to gametracker.com and search for servers with sv_cheats on I get results where it says it is enabled but when I join it is not. This isn't true for servers without ULX. Also, the few servers that say they have sv_cheats and actually do have sv_cheats while having ULX don't allow you to use many useful commands such as en_fire or the use of flags like !self, !activator, or !player in these commands. Not sure if this is a bug or how I could fix it on my server. Thank you!


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: sv_cheats
« Reply #1 on: December 28, 2016, 06:27:26 PM »
You seem to be double posting.
You mentioned much of the same exact problem 6 months ago in https://forums.ulyssesmod.net/index.php/topic,9638.0.html
Did you read what MrPresident said and asked?
Did you remove ULX from your server, run the same exact gamemode as before you had the problem, and did it affect the outcome?

Team Ulysses, MrPresident, and I as part of that team are not saying that somewhere in the unexpected folds of the time and space continuum that it isn't possible what you describe to be caused by ULX; we're just experienced enough with ULX antimatter physics that we want proof.

There's no code in ulx that would look for or touch, by themselves, the sv_cheats, ent_fire or its flags straight from console.
If you are trying ulx rcon or  "ulx ent" commands, THEN, and only then, there's slightly more complication involved, likely due to the fact Gmod doesn't allow transfer of some commands from lua. You likely wouldn't be able to use ulx ent or ulx rcon for what you're trying.
Prevention of ulx rcon/ent commands from client to server isn't a bug.
It's a Gmod limitation design to enhance security.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline olie304

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: sv_cheats
« Reply #2 on: December 28, 2016, 07:18:06 PM »
Yeah I did do what he said but also as I said before I am able to use the same commands while I am not on a ULX server.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: sv_cheats
« Reply #3 on: December 28, 2016, 08:44:25 PM »
I am able to use the same commands while I am not on a ULX server.
YOUR server, or someone else's?

the servers I have all have sv_cheats at 1 and I have tested the commands/scripts in single player
You said above in your other thread.
Testing sv commands in singleplayer is not the same.
Gmod has no limitations of sv_ commands in singleplayer, but does impose limitations for servers.

If you start your own dedicated servers without ULib and ULX in the addons folder, loading the same gamemode, map, and addons your normally would (again, without ULib/ULX), what commands can you run from console that do not work when ULib/ULX is added?
Please, provide exact command line's your trying to run. We'd like to test them ourselves.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline olie304

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: sv_cheats
« Reply #4 on: December 29, 2016, 10:51:12 AM »
Ah I see, I didn't know there were specific limitations that differed between dedicated and local servers :P