Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Curious about - "Cannot run commands before entering ga
#1

I was gathering some info on servers that have 33-34 max players.
Top of the list was SourceOP.

So I typed: connect 67.228.59.146:27015;wait 200;status;wait 100;disconnect

I was promptly disconnected with this message
Disconnect: Cannot run commands before entering game.

What sort of exploit is this trying to prevent?

This is purely out of curiosity.
Reply
#2

a server-crashing command, what else?

derp

[Image: hell-met.jpg]
Reply
#3

Hell-met Wrote:a server-crashing command, what else?

derp

Didn't know there was such thing. Surprising not more servers have this protection.

Oh, maybe a sourceop specific command, okay.
Reply
#4

you can effectively run commands during the "Loading" time before you actually joined the server

[Image: hell-met.jpg]
Reply
#5

Hell-met Wrote:you can effectively run commands during the "Loading" time before you actually joined the server
\

I know, but I dont see how that would allow crashing a server only between the time your connecting, and the time you receive the server CVARs

But okay that still answers my original question.

Thanks!
Reply
#6

There are commands that expect the person running them to have a player entity. When you are loading, the player entity comes up null and these commands crash the server.

Also if you use the "say" command while loading, it will appear as if the message came from "Console" (the server console). So kicking players running commands while loading is also to prevent that.

Also, any server showing 34 max players is lieing as the maximum supported by the game DLLs is 33.
Reply
#7

yeah that happens sometimes when I type something and hit enter just as the map changes.
Reply
#8

Ya, and I was thinking of relaxing it during map changes because of that.
Reply
#9

Drunken_F00l Wrote:There are commands that expect the person running them to have a player entity. When you are loading, the player entity comes up null and these commands crash the server.

Also if you use the "say" command while loading, it will appear as if the message came from "Console" (the server console). So kicking players running commands while loading is also to prevent that.

Okay, thanks.

Drunken_F00l Wrote:Also, any server showing 34 max players is lieing as the maximum supported by the game DLLs is 33.

I was just trying to see what would be reported in the console at connection, and when using the "status" command. I was working on the tool used to gather information for Fireflash's server blacklists.
Reply
#10

Drunken_F00l Wrote:Ya, and I was thinking of relaxing it during map changes because of that.
that would be nice ive gotten booted for it many many times.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)