Coder Social home page Coder Social logo

ttt-2 / ttt2 Goto Github PK

View Code? Open in Web Editor NEW
173.0 12.0 71.0 31.82 MB

Trouble in Terrorist Town 2 for Garry's Mod (gmod)

Home Page: https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556

Lua 100.00%
ttt gmod garrysmod trouble-in-terroristtown addon ttt2-roles ttt2 hud addons gamemodes

ttt2's Issues

TTTPlayerSpeedModifier Hook

Describe the bug
"TTTPlayerSpeedModifier" Hook dont work correctly
Gmod Changes the Hook for Player speed. Now in the shared.lua
Weapons like Homerun Bat wont give movement speed

To Reproduce
Equip a Homerunbat

Expected behaviour
25% more Movement Speed

Additional context
see In the player_ext.lua the plymeta:SetSpeed function

Jester respawn jester

Jester respawned after death with the same role. On one of the screenshots you can see his role after death, on the other one his death logs.
default
default

INFECTED ROLE BUG

If the infected, kills someone, the weapon is not issued to him and his servant goes without weapons, apparently the weapon is registered, which is not. Also, if GL.infected kills someone, and until the emergence of Ml.infected, kill the Main, then reborn Ml.infected innocent, although I should die.

jester bug

The murder of a clown, if murder is made a sidekick, the jester reborn accomplice, but without a team and the Jackal does not appear as an accomplice of the Jackal. This happens occasionally.

Sometimes the jester's changing role the role of the killer.

Sometimes the jester dies and isn't reborn, and the killer is still alive. (This often happens to a traitor)

All these bugs happen sometimes, which is why I don't know.

I have used version https://github.com/Alf21/ttt2-role_jes

Bug Instead of an innocent, a traitor.

For some reason, the role of the person together innocent, became a traitor on the definition of roles, in the logs or on the player to direct, he was a traitor, but on the logs innocent. He could do the same thing as a traitor. After that, an error in the logs for this round began to appear. It was held after the end of the next round.
wa

[ERROR] lua/includes/extensions/net.lua:182: net.ReadType: Couldn't read type 64

  1. error - [C]:-1
  2. ReadType - lua/includes/extensions/net.lua:182
    3. ReadType - lua/includes/extensions/net.lua:121
    4. ReadTable - lua/includes/extensions/net.lua:124
    5. func - addons/tttdamagelogs-master/lua/damagelogs/client/tabs/damagetab.lua:466
    6. unknown - lua/includes/extensions/net.lua:32

Infected the notice as at a jackal

Предлагаю сделать уведомление, когда тебя убивает зараженный, а то так же как и с шакалом некоторые убивают главного зараженного, а вообще лучше будет здесь отключить урон помощникам зараженного, так-как они с ножами и выглядят как зомби, тут ничего странного в этом не будет

Bug with the notice of a role

Когда я определил труп survivalist, то мне написало в центре уведомление, мне выпала роль survivalist как в самом начале.

Traitorvoicechat bug

The traitor voicechat can be heard by everyone sometimes, everyone who knows about it can reveal him as a traitor.

Radar issue

Currently, the radar doesn‘t work properly.

vampire blod start game

Бывает, что при появлении ролью вампир, жажда крови сразу на нуле и начинает тратиться HP. Хотя ты ничего не делал.

Role‘s index

Change role‘s initialization of data from dynamic (with syncing) to static (init shared on start). There, use a GetIndex function to get the index of a role (like equipment addons do).
Last but not least, remove ROLES.team and change it to subroles. Traitor, Hitman and Vampire will have ROLE = 1 while T has SUBROLE 0, H SUBROLE 1,... This will support the compatibility with other addons to check eg if someone is a Traitor.

Damagelogs additional roles.

Can you make "Damagelog.ULX_Autoslay_ForceRole" function in Damagelogs to work properly? It doesn't work properly with new roles. It is very sad to see when some active role dies because of RDM. Currently if this function is enabled, all new roles will disappear or will not work properly.

The notification to the accomplice from a jackal

Is it possible to make some notification with the Jackal's Sidekick Deagle when he turns someone into Sidekick? For example: (at the center of the screen) «You are now a Sidekick! is your master. Kill all others!». Because I often see that Sidekick can almost immediately kill Jackal by accident. In my opinion, the best option is to add notification and disable friendly fire on 30 seconds after Jackal turns someone into Sidekick.

jester bug respawn

Иногда шута убивают, к примеру вампир и он не возрождается, даже после смерти вампира. У меня такое лично было, когда я был шутом.

Weaponshop sync bug

If the server is crashed or closed with [STRG] + [C] (I don't know why people does not use "exit"), the server is not able to sync the ConVars and gets async with clients ConVars. Initialize them as NetworkVars on server start-up.

Sidekickdeagle ConVar not working

Describe the bug
Im ULX menu unter dem TAB TTT -> Weapons kann man die SideKickDeagle nicht umstellen. Heißt, es speichert sich nicht. Sobald man neu connected/map wechselt steht es automatisch wieder auf 0

To Reproduce
Steps to reproduce the behaviour:
Bereits oben erklärt

Expected behaviour
ConVar sollte sich speichern

Desktop (please complete the following information):

  • Collection-Link of your Server: [e.g. https://steamcommunity.com/workshop/filedetails/?id=1357745995]

Keine Errors oder sonstiges. Beim umstellen wird die ConVar auch nicht im Chat angezeigt, wie z.B. bei anderen.

adaptation HUD

Hello, I would like that you made adaptation of this HUD

Bug the ever-living

bug damagelogs

There may be a bug, I suppose due to damagelogs they don't work, this happens when changing cards, in 1 round(Sometimes, for whatever reason I don't know yet). People who come in, become like that, if they're killed, they can talk to other people.

When it writes the same error:
[ERROR] gamemodes/terrortown/gamemode/cl_voice_main.lua:157: attempt to concatenate local 'tm' (a nil value)

  1. unknown - gamemodes/terrortown/gamemode/cl_voice_main.lua:157

Suggestions to improve damagelogs role mapping.

Can do in damagelogs that showed who shoots from ttt2_sidekickdeagle Jackal. And that is the role that change in the game, and changed in the logs, but not so that a jester or an accomplice in the logs was a clown, not a role which it was issued, I would be grateful.

TeamChat BUG

Currently, the TeamChat doesn‘t support the custom roles.

voicechat bug

If a player forces another role, the voice chat vars won't reset.

The strangeness of the jester

The clown the problem is, sometimes when he kills a traitor/innocent, then he is still a buffoon. But if you kill him, he will be Inno or a traitor, but he will not know and would not work. There are also times when he after 1 death, remains a buffoon, kill it again and then it becomes let's say a traitor, but the shop With, he will not have to work, and only write when you murder someone that you have been given credit for the store.

Change weapons during prep-phase is causing an error

After this update i was nervous when a new error would show up in the console, but you almost got it, since didn't notice anything besides this one below. 💯

To Reproduce
When the match starts, while the preparation phase, if you get 2 weapons and change one to another this error show up for both server and client:

[ERROR] ttt2/gamemodes/terrortown/gamemode/cl_wepswitch.lua:73: attempt to index local 'c' (a nil value)
  1. DrawBarBg - addons/[ttt]_ttt2/gamemodes/terrortown/gamemode/cl_wepswitch.lua:73
   2. Draw - addons/[ttt]_ttt2/gamemodes/terrortown/gamemode/cl_wepswitch.lua:159
    3. unknown - addons/[ttt]_ttt2/gamemodes/terrortown/gamemode/cl_hud.lua:333

Expected behaviour
Change weapons without errors? =)

Scoreboard ([TAB]) issue

<1% of the players have the issue that there wont be any players shown as MIA or dead. Sometimes, they disappear looks like they have been disconnected. This is a rare problem in TTT and TTT2.

2 accomplices, one bullet

У шакала есть баг с его оружием weapon_ttt2_sidekickdeagle.lua только, что шакал превратил 2 человек в сообщников, я не знаю каким образом, вроде мы шли цепочкой, но я протестировал еще раз, но это не повторилось, но возможность такая есть, это факт.

Bug of the shop infected.

При открытии магазина у зараженного появилась такая ошибка.
[TTT2] gamemodes/terrortown/gamemode/cl_equip_main.lua:290: attempt to call method 'IsEquipment' (a nil value)

  1. unknown - gamemodes/terrortown/gamemode/cl_equip_main.lua:290
  2. unknown - lua/includes/modules/concommand.lua:54

Untrue report of a hitman

image

When at the person merge and he has a role Hitman and he dies, in a chat reports that it was hitman and killed not that...

ERROR

Sometimes appears when trying to talk.

[TTT2 BETA + all TTT2 add-ons] gamemodes/terrortown/gamemode/cl_voice_main.lua:157: attempt to concatenate local 'tm' (a nil value)

  1. unknown - gamemodes/terrortown/gamemode/cl_voice_main.lua:157

Additional cost of items from shop C

Would like to suggest to make possible to set the value of the object to buy traitor/detective, and so on. So as now all the items cost 1 credit, I would like to install 2 or more credits for something, for example a defibrillator detective 2 credits and so on, so you can add interesting things and increase their cost, so that people chose different as his possibility. This will make the gameplay more interesting and allow you to add more interesting things to active roles.

Bug with display of the status

Теперь после обновления, если вы выставляете статус подозрительный к примеру в TAB, то на игроке это не отображается.

Scoring issue

If a player gets another role, at the end of a role, the score will be multiplied by the specific multiplier of the custom role. That's wrong because the points the player got if he was another role had another multiplier

ERROR coonect

При входе на сервер или же при открытии !menu, выскакивает эта ошибка. Из-за этой ошибки не работает в !menu отдел истории банов, в остальном просто спам ошибки. Появилась это ошибка после последнего вашего обновления беты, возможно здесь есть моя вина, но я вроде ничего не делал серьезного.

[ERROR] lua/includes/modules/hook.lua:120: attempt to index local 'gm' (a number value)

  1. Call - lua/includes/modules/hook.lua:120
  2. fn - addons/ulib/lua/ulib/cl_init.lua:58
    3. func - addons/ulib/lua/ulib/client/cl_util.lua:22
    4. unknown - lua/includes/extensions/net.lua:32

ULib queue error: lua/includes/modules/hook.lua:120: attempt to index local 'gm' (a number value)

Так же бывает пишет при открытии !menu

[ERROR] lua/includes/modules/hook.lua:120: attempt to index a string value with bad key ('UCLAuthed' is not part of the string library)

  1. error - [C]:-1
  2. __index - lua/includes/extensions/string.lua:297
    3. Call - lua/includes/modules/hook.lua:120
    4. fn - addons/ulib/lua/ulib/cl_init.lua:58
    5. func - addons/ulib/lua/ulib/client/cl_util.lua:22
    6. unknown - lua/includes/extensions/net.lua:32

Whether the karma normally works?

Я хотел узнать, карма работает нормально или если убить шакала к примеру, то ты получаешь - карму?

SURVIVALIST has no shop

SURVIVALIST has no shop.
SURVIVALIST does not have the possibility of choosing your store, there is only a choice at another role, or disable, although it should be a choice like all other choices of his store with a choice for him personally weapons.
image

As we can see, there is no possibility to choose your store on C

Unkown bug dead

Меня убили, когда моя роль была неизвестный, но после этого я не возродился.
bug unkown

Secondary goal

Add a secondary goal, e.g. for Jester. So, if the Jester wins, the round is not over.

Change to SteamID64

Is your feature request related to a problem? Please describe.
Bots are differable with SteamID64

Describe the solution you'd like
Change to SteamID64

Describe alternatives you've considered
Not staying to SteamID

Additional context
Nothing to add

Bug with clairvoyant

When a psychic someone dies from the active roles marked, it ceases to be marked at the TAB and that means he died, this is a bug? Or so intended?

jester

Из-за последнего обновления шута, сервер крашится, по какой причине из-за него не знаю, но причина в нем, убрал его, краш сервера убрался.

After updating writes a mistake.

[ERROR] addons/animations/lua/autorun/rv_init.lua:113: bad argument #1 to '(for generator)' (table expected, got nil)

  1. (for generator) - [C]:-1
  2. func - addons/animations/lua/autorun/rv_init.lua:113
    3. unknown - lua/includes/extensions/net.lua:32

Infected with weapon

Теперь помощники зараженного, могут носить и использовать оружие кроме ножа. Это началось после обновления роли или режима, тут я не могу сказать точно,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.