Raised This Month: $51 Target: $400
 12% 

New commands for server debugging


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gold Fish
Senior Member
Join Date: Mar 2020
Old 10-13-2020 , 08:23   New commands for server debugging
Reply With Quote #1

Hello.
recently found this message in the server console

(game L4D2)

Code:
Initializing Director's script
Anniversary Map Fixes: Restart with Launch Option -dev to reveal verbose entity debug dumps.
Anniversary Demo Mode: Run "script_execute z_developer_showupdate" >> "script ShowUpdate()".
I understand this is a new debugging function after the update

this text talks about the server launch parameter -dev and also about the script for debugging the map.
I haven't figured out how to use them yet, the -dev parameter didn't give me any entity dumps, who knows how to use it?

Last edited by Gold Fish; 10-13-2020 at 11:07.
Gold Fish is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-13-2020 , 09:33   Re: New commands for server debugging
Reply With Quote #2

...not exactly server debugging. For map debugging.

You need your L4D2 game.
- And in here forum, it would be nice to mention, which game we are talking about, in first post.
Not every topic related to Left 4 Dead 2 and other forum users not need guess a game.

You launch your game with -console -dev parameter.
Bind toggle console into one of keys.
Example bind F12 toggleconsole

In menu, type sv_cheats 1 in console.
Then start game: map c1m1_hotel coop

Once game load, open console with F12
You get lot of output text in console
Code:
...

[INTROS] Adding Bacardi to fully connected userid's. New count: 1

################################################################################
####
####    MAP FIXES :: DEAD CENTER - HOTEL ( ALL MODES )
####
################################################################################

env_physics_blocker "_cliphang_window" blocks Survivors w/ initialstate 1 @ setpos_exact 2335 6420 2804

env_physics_blocker "_cliphang_ledge" blocks Survivors w/ initialstate 1 @ setpos_exact 1222 6232 2912

env_physics_blocker "_barricadefire_bypass" blocks Survivors w/ initialstate 1 @ setpos_exact 1326 5624 2528


################################################################################
####
####    MAP FIXES :: DEAD CENTER - HOTEL ( BASE COOP )
####
################################################################################

Anniversary Map Fixes: Run or bind "script ShowUpdate()" and "script HideUpdate()"
to draw new blockers and glow new props. They are named according to purpose and
you can see entity definitions above. If you make/delete "anv_mapfixes"-prefixed
entities, toggle Hide/Show to apply changes. Please report all issues and concerns
to Tsuey's Workshop https://steamcommunity.com/sharedfiles/filedetails/?id=1959405608

[INTROS] 1 fully connected players matches 1 exptected players. Unfreezing team.
...
You can check map fixes, using those coordinates what have mention and using noclip.
noclip
setpos_exact 1326 5624 2528


And starting map with different game mode show different fixes on same map.
map c1m1_hotel coop
map c1m1_hotel versus
map c1m1_hotel realism
map c1m1_hotel survival
map c1m1_hotel scavenge
map c1m1_hotel holdout


When you run console command: script ShowUpdate()
Code:
Bacardi paused the game
] script ShowUpdate()

SHOW UPDATE DEMO MODE
_____________________

CLIP (blocker) color coding:

	RED		Everyone
	PINK		Survivors
	GREEN		SI Players
	BLUE		SI Players and AI
	LT BLUE		All and Physics

Other color coding:

	LT GREEN	Brush (blocks LOS & hitreg)
	ORANGE		Navigation blocked
	YELLOW		Trigger volume
	WHITE		Infected ladder clone
	BLACK		Lump and _commentary.txt blockers

Drawn boxes marked "ANGLED" unpreventably block Physics.
Adjust box opacity with "script g_BoxOpacity = #" (0-255).

Use "r_drawclipbrushes 2" or 1 to see BSP-baked brushes.

Recommended tester binds:

	bind [ "script ShowUpdate(); r_drawclipbrushes 2"
	bind ] "script HideUpdate(); r_drawclipbrushes 0"

Recommended "map mapname versus" test environment:

	"jointeam 2; sb_all_bot_game 1; sb_stop 1; god 1; director_stop"

Exit with "script HideUpdate()" (if used with nav_edit and
director_debug this also stops their flickering). If you use
a make_ function, run ShowUpdate() again to apply changes.

SCRIPT PERF WARNING --- "main" ran long at 5.294722ms
You see map fixes in game.
Attached Files
File Type: zip screenshots_l4d2.zip (4.45 MB, 81 views)
__________________
Do not Private Message @me
Bacardi is offline
Gold Fish
Senior Member
Join Date: Mar 2020
Old 10-13-2020 , 11:07   Re: New commands for server debugging
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
QUOTE

Thanks!

Last edited by Gold Fish; 10-13-2020 at 11:10.
Gold Fish is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode