« first day (1 day earlier)      last day (824 days later) » 

00:49
anyone want to play ? :P
or at least tell me how to add bots
In theory, sm_cvar tf_bot_count 10 should do it, but it just gets set back to 0. I'll be on in a moment, @Conor
oh, cool! thanks
why is that, do you know?
shrug
I guess some configuration @Downgoat has put on it
hm, weird
wat
wat
01:10
anyone want to play?
01:38
@ArtOfCode not possible, I don't even know how to add configuration :P
wat
wat
01:51
Um.
wat
wat
yes?
I think Downgoat shut us down :)
wat
wat
y
01:51
@ArtOfCode rebooted lemme know if this fixes weird stuff
wat
wat
D:
no bots this time?
wat
wat
bots pls
 
1 hour later…
wat
wat
03:18
@everyone
@Downgoat can i have admin privs pls
@ArtOfCode halp how to remove bots
@Downgoat can I have root?
04:27
nvm goat aparently i am admin
 
3 hours later…
07:03
sm_rcon tf_bot add count
And sm_rcon tf_bot_kick all
@ConorO'Brien
 
4 hours later…
11:31
Or sm_cvar tf_bot_quota 0
 
2 hours later…
13:39
sm_cvar is a very useful command....
14:38
!status
c9 pls
14:49
C9 turns your servers off after a while
reasons I switched to EC2
15:09
@ArtOfCode Yeah, I know.
It's good enough for now though
Later if the goat wants a chat relay it'll probably need to be on the actual server anyways
!status
{'protocol': 17, 'server_name': 'PPCG Server', 'vac_enabled': 1, 'server_type': <ServerType 100 'Dedicated'>, 'max_players': 16, 'password_protected': 1, 'app_id': 440, 'map': 'pl_upward', 'folder': 'tf', 'version': '3690292', 'player_count': 0, 'bot_count': 0, 'response_type': 73, 'platform': <Platform 108 'Linux'>, 'game': 'Team Fortress'}
We should try some of the new maps sometime
@Downgoat Did you get pl_pier?
@quartata ah, rcon
@quartata do we have convoy?
No all Payload currently.
@quartata this command doesn't work
15:19
Which?
the one I replied to, the first one.
What happens?
@ConorO'Brien
oen sec
*one
16:07
!status
{'protocol': 17, 'server_name': 'PPCG Server', 'vac_enabled': 1, 'server_type': <ServerType 100 'Dedicated'>, 'max_players': 16, 'password_protected': 1, 'app_id': 440, 'map': 'pl_borneo', 'folder': 'tf', 'version': '3690292', 'player_count': 0, 'bot_count': 0, 'response_type': 73, 'platform': <Platform 108 'Linux'>, 'game': 'Team Fortress'}
Who set it to Borneo? :P
anyways I might get a chance to play for a bit here soon
!status
{'protocol': 17, 'server_name': 'PPCG Server', 'vac_enabled': 1, 'server_type': <ServerType 100 'Dedicated'>, 'max_players': 16, 'password_protected': 1, 'app_id': 440, 'map': 'pl_borneo', 'folder': 'tf', 'version': '3690292', 'player_count': 1, 'bot_count': 0, 'response_type': 73, 'platform': <Platform 108 'Linux'>, 'game': 'Team Fortress'}
!status
16:20
{'protocol': 17, 'server_name': 'PPCG Server', 'vac_enabled': 1, 'server_type': <ServerType 100 'Dedicated'>, 'max_players': 16, 'password_protected': 1, 'app_id': 440, 'map': 'pl_borneo', 'folder': 'tf', 'version': '3690292', 'player_count': 0, 'bot_count': 0, 'response_type': 73, 'platform': <Platform 108 'Linux'>, 'game': 'Team Fortress'}
 
1 hour later…
17:20
!status
Name:PPCG Server
Mod: Team Fortress/tf (440)
Map: pl_borneo
Players: 15/16 (14 bots)
Much better.
@Downgoat What do you think?
17:32
@ArtOfCode Crap, I forgot the goat doesn't have FastDL
it says missing map
@Downgoat Please run net_maxfilesize 64 in the console
yeah, map missing
For the time being you can get it from here: gamebanana.com/maps/173638
17:34
how to dl
oh, there's a download link near the bottom
where am I putting it, @quartata?
tf/maps/
The default file size a server will send is 16 MB which is why it won't give it to you
wait why is the executable called hl2
Most Valve games are
half-life 2
they just never changed it
probably the same game engine
So valve can't count to 3 and is too lazy to change the executable name? :P
17:37
Games past the orange box have different executable names
 
1 hour later…
19:05
I should probably give someone else ssh acees into server but idk is safe
It's as safe as giving the keys of your house to someone
@Downgoat you can set it up so they only get access to certain files
i.e. it's fine if you trust 'em
@Downgoat Why? I don't think we need it with RCON
In theory: (a) create a user (b) add the person's public key to the new user account (c) create a group (d) add you and the other person to the group (e) chown all relevant files to the group
@Downgoat How much data usage does your VPS have?
19:12
@quartata data usage? Meaning?
like how much internets
bandwidth
1TH IIRC
Oh wow.
@ArtOfCode tho it seems like dangerous idea
19:16
@Downgoat yeah, it's not something you should go around doing just because, but if there's a need and you trust someone enough then it's okay
I am not admin
Yea still trying ti loginto server
 
1 hour later…
20:51
!status
Name: PPCG Server
Mod: Team Fortress/tf (440)
Map: cp_process_final
Players: 15/16 (13 bots)
21:01
!players
ThatGuy: 25
The Combine: 19
ZAWMBEEZ: 17
The G-Man: 15
Numnutz: 13
TAAAAANK!: 12
NotMe: 11
Hat-Wearing MAN: 10
TheKsp25: 10
10001011101: 8
CEDA: 5
ArtOfCode: 5
Pow!: 3
Black Mesa: 2
THEM: 0
There we go
It shouldn't cause problems with Sourcemod I don't think and writing Python is a lot easier for me than writing Pawn
wat
wat
21:18
asdf\
21:29
!players
Numnutz: 49
The G-Man: 49
Hat-Wearing MAN: 44
ZAWMBEEZ: 43
ArtOfCode: 39
The Combine: 38
10001011101: 34
TAAAAANK!: 31
CEDA: 29
NotMe: 27
TheKsp25: 26
Black Mesa: 21
Pow!: 13
DuckHunter85: 12
THEM: 2
: 0
What?
Oh, I see. Hrm.
wat
wat
21:57
@Downgoat
wat
wat
22:10
@Downgoat @Downgoat @Downgoat Can we please generate navmeshes
y'know it's helpful if you tell people what you're pinging about rather than just pinging 'em
Context: a number of the maps don't have navmeshes, so the bots can't actually move in them. There's a command to generate navmeshes, but it's CPU intensive - will that push your VPS over any limits?
@ArtOfCode hm, probably not (i assume generating them doesn't use lots of network requests)
wat
wat
@Downgoat Where are you hosting said VPS?
wat
wat
:(
i have a $10 promo code that I give to people
22:26
okay, yea what am i supposed to do
wat
wat
@Downgoat you have to sign up with it
no i mean like i have gotten lots of ping to do thing i forgot what
wat
wat
run the command nav_generate
also can i pls have admin?
steam id?
@wat in server console?
wat
wat
yes
22:32
ok
btw restarting server
@Downgoat Don't do it unless you want the workspace to freeze for like 3 minutes
It's super CPU intensive
but i have to do it sometime right
@quartata workspace?
3 minutes? Hardly intensive :P
Not really, I already have navmeshes for a lot of the maps (some of which I've tweaked by hand)
@ArtOfCode 3 minutes per map
Yeah, could be worse
wat
wat
22:33
STEAM_0:1:91550932
@Downgoat Did you add Source.Python?
no doing rn
Anyways for now just generate them for the Payload maps
Look in maps/ to see which ones have navmeshes already
You don't want to overwrite those
@quartata how do i do that?
@Downgoat Go to each map and do nav_generate
It's essentially a flood fill
The result is a "mesh" of 2D traversable rectangles
22:35
btw, did give weapon work?
@quartata how to go to "a map" in this context
@Downgoat changelevel
changelevel ctf_2fort then nav_generate
and then the rest of 'em
@quartata okay installed source_python, restarting now
22:37
cd into tf/addons/source-python/plugins
mkdir test
then put this in test/test.py:
from commands.typed import TypedSayCommand
from engines.server import engine_server
from entities.helpers import pointer_from_index
from entities.hooks import EntityCondition, EntityPreHook
from players import UserCmd
from memory import make_object

superhot_address = None

@TypedSayCommand("!superhot")
def superhot(command_info):
  global superhot_address
  superhot_address = pointer_from_index(command_info.index).address

@EntityPreHook(EntityCondition.is_player, "run_command")
def usercmd_tick(stack):
A fun little test
ImportError: libz.so.1: cannot open shared object file: No such file or directory
uhhh :|
That's zlib.
Install it; it's a staple
pip install zlib, probably
sudo apt-get install zlib1g
ok server segfault
22:40
@ArtOfCode No, not pip. Source.Python is mostly C
@Downgoat because you're missing libraries
It actually embeds its own Python
same bork still:
Traceback (most recent call last):
  File "/home/tf2server/serverfiles/tf/addons/source-python/packages/source-python/__init__.py", line 58, in unload
    unload_plugins()
  File "/home/tf2server/serverfiles/tf/addons/source-python/packages/source-python/__init__.py", line 310, in unload_plugins
    from core.manager import core_plugin_manager
  File "/home/tf2server/serverfiles/tf/addons/source-python/packages/source-python/core/manager.py", line 12, in <module>
    from plugins.manager import PluginManager
may need to restart the server
i did
apt-get installs for all users right?
should do
wat
wat
...
22:43
did you restart after installing zlib?
wat
wat
apt-get installs into /usr i think
@ArtOfCode i restart tf2 server
not the entire VPS
yeah, that's what I meant
@Downgoat You need the 32-bit version, sorry.
you mean restart entire VPS?
22:44
Append :i386 to the package name
do that first :)
quart is better at debugging this stuff than I
okay hopefully this work now :D
It's because Source is ancient so now anything that hooks into it needs to be 32 bit
Steam is too, that's why you have to install a bunch of 32 bit bullshit with it on Linux
@Downgoat Once it loads do sp plugin load test
okay cool, I don't see any uber-bork happening :D
sp plugin load test
[SP] Loading plugin 'test'...
[SP] Successfully loaded plugin 'test'.
okay this seems good @quartata
22:48
I'll test it one second
@Downgoat Console output? (That must have thrown an error)
okay bork is happening
Ah yes, I forgot they had changed that. My bad.
Replace server_command with execute_server_command
Then do sp plugin unload test; sp plugin load test
ill restart server
You don't need to turn off the server for that.
Just unload it and reload it again
[SP] Loading plugin 'test'...
[SP] Successfully loaded plugin 'test'.
@quartata console is scrolling way to fast for me to type it in tho
22:54
What's wrong this time
it has no attribute execute_server_command
wat
Oh I'm dumb
queue_command_string should do the trick.
wat
wat
@quartata yes?
@Downgoat Did you reload it?
oh crap sorry yeah will do
@quartata okay done
23:04
@Downgoat Still broken, what's the error this time
lmao
> AttributeError: '_EngineServer' object has no attribute 'queue_command_string'
What the fuck is going on
Ohh I know
maybe engine server is undefined
Change from engines.server import engine_server to from engines import server
Then do server.queue_command_string
They totally restructured this
@quartata okay done
23:06
And reloaded?
wat
wat
@Downgoat can i have root pls?
idk
what do u need root for
root means you can perform uber-bork on server
wat
wat
Don't plan on doing that
Just some commands that are pretty useful
okay
first sign of abuse i take away however
wat
wat
23:10
Ok
okay done
wat
wat
Thanks!!!!!
That was very obviously necessary
wat
wat
I thought that it would disable the time thing
@Downgoat can you run sp plugin unload test
23:49
@ArtOfCode already unloaded

« first day (1 day earlier)      last day (824 days later) »