Как открыть логи в гаррис мод
[Edit: I do not mind people’s «necroing» this thread with relevant comments.]
Where are error logs stored in gmod’s file system. I didn’t find much in there. Do I need a command to enable logging?
Would be nice to be able to tell someone whose game crashes how to obtain whatever was in the console before the crash.
Using «log on» didn’t log much.
Condump doesn’t work now.
(Launch Options is found by right clicking Garry’s Mod, properties, click the Set Launch Options button. Then start gmod, or restart if gmod was already open.)
How do I get info besides what is in the console?
(Edit: Partial solution to that:
You can find crashlogs in your game folder. ( Usually Steam/steamapps/common/GarrysMod/ ) They end with «.mdmp». These contain information we can use to work out why you have crashed.
When you crash on OSX we will need to see your stack trace. You can get this when it crashes by clicking on «send report», then on «details». We need you to copy and paste everything from the white text box.»)
How do I obtain error logs, in Gmod, and in Steam. How do I get detailed information about problems? I need to know how to get the most info to be able to diagnose problems.
Not sure if this works for the game itself, however I usually put «-debug» in the startup line for my multiple SRCDS servers when things are going to sh*t. Perhaps you could give that a try? Just put it in the launch params for gmod in the steam client. Should spew the entire console into a text file in the game directory.
Thanks. Tried that. Went into a single player save and intentionally caused errors. Just did some stuff to make some log content. Exited Gmod. [Edited to correct spelling. Exited, not existed.]
What is the name of the text file that is produced? I don’t see anything that looks like it in /garrymod nor GarrysMod/garrysmod, nor specifically in GarrysMod/garrysmod/logs
should just be called debug.txt. in the folder with hl2.exe.
Thanks for getting me thinking of puting some debug command in launch options. This will be super helpful!
Anyone else know any other tricks for getting stuff like crash information?
should just be called debug.txt. in the folder with hl2.exe.
Thanks for getting me thinking of puting some debug command in launch options. This will be super helpful!
Anyone else know any other tricks for getting stuff like crash information?
Thanks for getting me thinking of puting some debug command in launch options. This will be super helpful!
Anyone else know any other tricks for getting stuff like crash information?
If the game crashes, it automatically makes a log. even without these commands.
What is the file called and what is the file path? Cause I see nothing.
I have no crash logs in there, yet my game has crashed many times in the last few weeks.
What is the file itself called?
I have no crash logs in there, yet my game has crashed many times in the last few weeks.
What is the file itself called?
I have no crash logs in there, yet my game has crashed many times in the last few weeks.
What is the file itself called?
Mine is «hl2_180226_crash_2018_3_7T22_15_4C0.mdmp»
Huh, I don’t have that. I don’t know why I don’t have that, possibly because I am on Linux. At least I know Windows users have access to mdmp files.
You can find crashlogs in your game folder. ( Usually Steam/steamapps/common/GarrysMod/ ) They end with «.mdmp». These contain information we can use to work out why you have crashed.
When you crash on OSX we will need to see your stack trace. You can get this when it crashes by clicking on «send report», then on «details». We need you to copy and paste everything from the white text box.»
So now my question is, where are the crash logs on linux?
Did you ever find the solution?
I believe I need to start the game in console and then see the output. I get error when trying to do this, probably need to start with sudo, but want to ask someone security aware if starting a game with root privileges is secure or not, before trying that. I’ve tried starting Steam with strace to get a stack trace, but that seems to just track steam and not the games run under it. Someone said I may need to find a launch option (I assume to put in the game’s launch option via right clicking the game, properties, and using the button there) to create a stack trace for the game, but this is hearsay until I find if there actually is such a launch option. Probably I am going to make a post on Steam for Linux asking how to get a proper stack trace and/or crash log, when I have time. Do you need to know this immediately?
If you need this for Mac or Windows, I did find that and its in the post, in case you overlooked it.
Источник
Как открыть логи в гаррис мод
/price Цена = Смотрим на микроволновку и пишем команду! И меняется цена (50-500)
/agenda = Когда вы лидер какой то профессии то можете делать задания для подчиненных.
/buymicrowave = Купить микроволновку (Повар).
/lockdown = Ком. час (Мэр).
/unlockdown = Прекратить Ком. час (Мэр).
/wanted Ник Причина = Розыск. (Полиция/мэр)
/warrant Ник Причина = Орден. (Полиция/мэр)
/demote Ник Причина = Увольнение. (Полиция/мэр)
/dropmoney число = Выкинуть деньги.
/toggleown = Продать/Купить дверь.
/ao Ник = Добавить владельца в дверь.
/ro Ник = Убрать владельца двери.
/title Название = Сменить название двери.
/cr написать сообщение полиции!
/name сменить ник в игре.
/channel (от 1 до 100) выбрать канал связи
/radio и сообщение, написать в канал связи выбранный вами
/lottery и сумма, чтобы провести лотерею. (Мэр)
/broadcast и сообщение (новости всему городу) (Мэр)
/addlaw (добавление и удаления закона города) (Мэр)
/removelaw(удалить закон города) (Мэр)
/placelaws (доска с законами) (Мэр)
/trade и ник (предложить обмен)
/call меню вызова помощи, как полиции, медика и многое другое.
/namechop— назвать свой магазин другим именем
/price и цена = Установить цену микроволновки
Источник
Как открыть логи в гаррис мод
sbox_bonemanip_npc 1 – Разрешить изменение костей нпс 0-Выкл. 1-Вкл.
sbox_bonemanip_player 1 – Разрешить изменение костей игроков 0-Выкл. 1-Вкл.
sbox_bonemanip_misc 1 – Разрешить изменение костей всего прочего 0-Выкл. 1-Вкл.
sbox_admin_nolimits 1 – Убрать лимит для админов 0-Выкл. 1-Вкл.
physgun_limited 1 – Ограничить Гравитационную пушку (Gravity Gun) 0-Выкл. 1-Вкл.
sv_gravity 600 – Устанавливает гравитацию. Подставляем нужные цифры (стандарт 600)
Сначала нужно обязательно прописать в консоле sv_cheats 1. Это включит режим читов.
physcannon_maxforce # – изменить силу, с которой гравипушка толкает предметы. Здесь и ниже вместо # подставляем цифры.
physcannon_maxmass # – изменить максимальный размер предметов, которые может притянуть гравипушка.
physcannon_pullforce # – изменить скорость, с которой гравипушка притягивает предметы.
physcannon_tracelength # – изменить максимальное расстояние, с которого гравипушка может притягивать предметы.
physcannon_cone # – изменить расстояние, с которого гравипушка может поднимать предметы в воздух.
sbox_maxprops 200 – Лимит на пропы
sbox_maxnpcs 200 – Лимит на нпс
sbox_maxragdolls 200 – Лимит на рагдолы
sbox_maxthrusters – Лимит на трастеры (Ускорители)
sbox_maxbuttons 200 – Лимит на кнопки
sbox_maxdynamite 200 – Лимит на динамитов
sbox_maxeffects 200 – Лимит на эффекты
sbox_maxemitters 200 – Лимит на эмиттеры
sbox_maxhoverballs 200 – Лимит на ховерболы
sbox_maxballoons 200 – Лимит на шары
sbox_maxlamps 200 – Лимит на лампы
sbox_maxlights 200 – Лимит на свет
sbox_maxvehicles 200 – Лимит на машины и стулья
sbox_maxwheels 200 – Лимит на колёса
Если у вас скачан инструмент Turrent
sbox_maxturrets 200 – Лимит на Turrent
Если у вас скачан инструмент KeyPad
sbox_maxkeypads 200 – Лимит на Кейпады
Если у вас скачан инструмент Door
sbox_maxdoors 200 – Лимит на двери
Сначала не забываем прописать в консоле sv_cheats 1. Это включит режим читов.
Сначала прописываем в консоле sv_cheats 1
npc_create npc_НазваниеНПС – Нужно вписать нужного НПС.
Повстанцы – alyx, barney, eli, mossman, dog, gman, citizen, kleiner, vortigaunt;
Комбайны – metropolice, combine_s, breen, stalker, combinedropship, combinegunship, helicopter, manhack;
Монстры – zombie, zombie_torso, fastzombie, poisonzombie, zombine (EP1), antlion, antlionguard, ministrider (EP1), headcrab, headcrab_fast, headcrab_poison, barnacle;
Нейтралы – monk, pigeon, seagull, crow.
Сначала прописываем в консоле sv_cheats 1
box_buckshot (патроны на дробовик), box_mrounds (на автомат), box_sniper_rounds (на снайперку), box_srounds (на пехаль), healthkit (большая аптечка), healthvial (маленькая аптечка), battery (батареи для костюма), suit (костюм), ml_grenade (заряды на ракетницу), ar2_grenade (лимонки для импульсного автомата)
kick НИК – Кикнуть игрока с севера
banid – Забанить игрока на время. Если вписать в минуты 0, то забанит навсегда
status – Выдаст в консоле таблицу с никами и ID Steam
map gm_flatgrass – Команда кикнет всех людей на сервере кроме вас и изменит карту
changelevel gm_flatgrass – Меняет карту
sv_password 123 – Установить пароль на сервере. Вместо 123 вписываем нужный пароль.
sv_kickerrornum 0 – Если кого-то выкидывает с сервера с ошибкой «Too Many Lua Errors», то эта команда для вас.
restart – Быстрый перезапуск сервера
Команды для удаления игроков, у которых слишком высокий или слишком низкий пинг:
sv_minrate 1 // Мин. пинг
sv_maxrate 130 // Макс. пинг
Прочее команды для сервера:
mp_flashlight 0 – Возможность использования фонарика 0-Выключить, 1-Включить
sv_noclipspeed # – Изменяет скорость Ноклипа. Подставить нужное значение вместо # (Стандартно 5)
ai_disabled 1 – Отключить NPC 0-Выключить, 1-Включить
ai_ignoreplayers 1 – NPC игнорят игроков 0-Выключить, 1-Включить
– act cheer
– act laugh
– act muscle
– act zombie
– act robot
– act dance
– act agree
– act becon
– act disagree
– act salute
– act wave
– act forward
– act halt
– act pers
Если нет хочется постоянно использовать какую-то из анимаций, то можно забиндить ее на ненужные клавиши/цифры
Например:
bind j «act salute»
Источник
Как открыть логи в гаррис мод
In this guide i will be defineing all of the console commands and explaining what they do. You can jump to any section you would like, the commands may be listed multiple times due to the different ranks.
— Kills/Slays The Selected Target(s)
ulx slaynr
—Marks The Target(s) To Be Slain The Following Round(s)
ulx rslaynr
—Removes/Revokes Slay(s) From The Selected Target(s)
ulx vslaynr
—Marks The Target(s) To Be What Role You Select Them (e,g Traitor, Innocent, Detective)
ulx credits
—Gives An Amount Of Credits To The Target(s)
ulx gag
—Gags The Target(s), Making It So They Cannot Talk/Use Microphone
ulx ungag
—Ungags The Target(s) Making It So They Can Talk
ulx mute
—Making It So The Target(s) Cannot Type In Chat, The Gag For Chat
ulx unmute
—Sends A Message To Specified Player(s)
ulx gimp
—Gimps The Specified Target(s), Making Them Say Pre-Set Messages Rather Then What They Typed, Easy To Abuse And Spam
ulx ungimp
—Sets The Specified targets(s) Armor
ulx blind
—Blinds The Selected/Specified Target(s)
ulx unblind
—Unblinds The Specified Target(s)
ulx cloak
—Cloaks The Specified Target(s)
ulx uncloak
—Uncloaks The Specified Target(s)
ulx freeze
—Freezes The Player In Place For However Long You Want, Default Is Indefinitely
ulx unfreeze
—Unfreezes Specified Target(s)
ulx god
—Grants God Mode Upon Selected Target(s)
ulx ungod
—Revokes God Mode From Selelected Target(s)
ulx hp
—Sets The Specified Target(s) HP Level (Health)
ulx ignite
—Ignites The Specified target(s) On Fire
ulx unignite
—Jails The Selected Target(s) For The Specified Time
ulx unjail
—Unjails The Selected Target(s)
ulx maul
—Ragdolls The Selected Target(s)
ulx unragdoll
—Unragdolls The Selected Target(s)
ulx slap
—Slaps The Selected Target(s) With Said Damage
ulx whip
—Whips The Selected Target(s) For Said Amount Of Times With Said Damage
ulx sslay
—Silently Slays The Selected Target(s)
ulx strip
—Moves The Selected Target(s) Into Spectator Mode(AFK)
ulx unafk
—Moves The Selected Target(s) Back To Player
ulx force
—Forces The Selected Target(s) To Take The Role Specified
ulx karma
—Sets The karma For The Specified Target(s)
ulx respawn
— Respawns The Player, Deleting The Corspe And Unid’ing It
ulx bodyarmor
—Gives The Specifed Target(s) Body Armor
ulx bring
—Brings The Selected Target To You
ulx goto
—Goto The Selected Target
ulx send
—Sends The Selected Target To Another Target
ulx teleport
—Teleports The Selected Target To You
ulx ban
—Bans The Selected Target(s) For The Said Amount Of Time
ulx unban
—Kicks The Selected target(s)
ulx noclip
—Arrests the specified target(s)
rp_unarrest
—Sets the specified target(s) name
rp_tell
—Sends a message to the specified target
+alt1
+alt2
+attack
+attack2
+back
+break
+camdistance
+camin
+cammousemove
+camout
+campitchdown
+campitchup
+camyawleft
+camyawright
+commandermousemove
+demoui2 // Bring the advanced demo player UI (demoui2) to foreground.
+duck
+forward
+graph
+grenade1
+grenade2
+jlook
+jump
+klook
+left
+lookdown
+lookup
+mat_texture_list
+movedown
+moveleft
+moveright
+moveup
+posedebug // Turn on pose debugger or add ents to pose debugger UI
+reload
+right
+score
+showbudget
+showbudget_texture
+showbudget_texture_global
+showscores
Источник