TTT-2 / TTT2

Trouble in Terrorist Town 2 for Garry's Mod (gmod)
https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556
178 stars 74 forks source link

karma set role failed save #289

Closed dok441 closed 5 years ago

dok441 commented 5 years ago

При попытке сохранить в настройках через ulx, минимальное значение кармы для определения роли, при смене карты сбрасывается.

saibotk commented 5 years ago

Ok i tried setting the percentage for a role via ULX and it worked for me after a map change. So can you give me some more information about this, like which role in particular you were trying to adjust and the version of TTT2 you used?

dok441 commented 5 years ago

Recent version. I must clarify that this is an attempt to change the ulx in the Department of TTT, when you change the value of cvar is not even written in the chat, if you change for example the detective at once reported the change, and with the other roles there was no response. (Original Последнюю версию. Я уточняю, это попытка изменять в ulx в отделе ТТТ, когда ты меняешь значение, даже cvar не пишутся в чат, если ты меняешь к примеру детектива, то сразу сообщает изменения, а с другими ролями никакой реакции.)

saibotk commented 5 years ago

I still cannot reproduce the issue, do you mean the "ttt_ROLENAME_pct" convar?

dok441 commented 5 years ago

ttt_ROLENAME_karma_min я про это.

saibotk commented 5 years ago

i see, and this is not working on other roles right? I have also noticed this bug and already put it on our Todo list :+1:

dok441 commented 5 years ago

Что-то фикс просто убрал теперь в ulx эту функцию.

dok441 commented 5 years ago

С последнем патчем функция была добавлена, но она опять не сохраняет настройки.