Garry's Mod

Garry's Mod

Lythos Mapvote (TTT & co.)
103 Comments
[TR] James [YT] 23 Aug, 2024 @ 10:23am 
any chance this can work with mercury?
https://github.com/TwistedTail/Mercury
Lytho  [author] 2 Jul, 2024 @ 5:52am 
ich schätze mal ULX hatte updates und die haben paar ihrer funktionen umbenannt. Ich muss mal schauen wann ich das fixe.
ILoveBeer 2 Jul, 2024 @ 5:08am 
Hey, probiere das Addon für mein TTT2 Server mit ULX aus. Sobald ich per ULX ein Mapvote starten will passiert nichts und in der Konsole kommt ein LUA Error:

[ERROR] lua/mapvote/sv_mapvote.lua:29: attempt to call method 'Init' (a nil value)
1. Start - lua/mapvote/sv_mapvote.lua:29
2. call - lua/ulx/modules/sh/mapvote.lua:7
3. __fn - lua/ulib/shared/commands.lua:951
4. execute - lua/ulib/shared/commands.lua:1331
5. routedCommandCallback - lua/ulib/shared/commands.lua:1358
6. unknown - lua/ulib/shared/commands.lua:1374
7. unknown - lua/includes/modules/concommand.lua:54

Ich kann daraus leider nichts Lesen, bitte um Hilfe. :D
iTz_ElKay 7 Feb, 2024 @ 8:37am 
Im OctagonalHUD, das (glaube ich) in TTT2 standardmäßig integriert ist, ist zentriert oben der Timer für die Rundenzeit. Dieser war am Überlappen mit dem Countdown des Mapvotes.
Lytho  [author] 6 Feb, 2024 @ 8:21am 
Funktioniert das TTT2 Hud anders bzw. ist größer?
iTz_ElKay 6 Feb, 2024 @ 6:45am 
Habe jetzt in der "cl_mapframe.lua" lokal bei mir angepasst, dass die Start-Position folgendermaßen gesetzt wird "self:SetPos(0, math.Round(ScrH() / 14))". So skaliert es in TTT/2 mit dem OctagonalHUD korrekt (zumindest bei FullHD, WQHD und UHD) und überlappt nicht mehr mit dem Counter/ der Zeitanzeige.
iTz_ElKay 6 Feb, 2024 @ 5:45am 
Ist es möglich, das Layout anzupassen? Bei mir überlappen die Icons mit dem Countdown. Gibt es eine Datei, die das standardmäßig ermöglicht oder muss ich per gmad die Grunddateien editieren?
Fresh Garry 14 Aug, 2022 @ 12:56pm 
I am not sure because its on my friends server. At my local installation it is working. I will try to check the server again.
Lytho  [author] 10 Aug, 2022 @ 4:51am 
Is there no Lua error? hmm. Maybe ULX or even TTT2 overriding some behaviour.
Fresh Garry 28 Jul, 2022 @ 12:29pm 
Hi,
Since some time this addon is not working anymore. I am using ULX and TTT2. Are there any known issues? It does not appear at the end of the round and there is not the point in the ULX menu.
Physics Dude 26 Jun, 2021 @ 10:28am 
I would think a minVote of 1 and a percentage of 0.75 would have this behavior, but GetNecessaryVoteAmount() would always return 1 if less than 3 people are on regardless of percentage. (meaning 1 !rtv is required to start the vote)

Could be fixed by rounding instead of doing math.floor in that function.
like: math.floor((playerCount * percentage)+0.5)
Lytho  [author] 25 Jun, 2021 @ 1:57am 
Sadly no. There is no ruleset for different percentages on the amount of players
Physics Dude 22 Jun, 2021 @ 6:40pm 
Awesome addon. We use it for sandbox.
Is it possible to configure it so if the server has 1 to 2 people in it, 100% of people need to !rtv, but 3 or more people requires a normal majority vote?
Lytho  [author] 6 Jan, 2021 @ 2:48am 
Thanks a lot!
Klee (UwU) 5 Jan, 2021 @ 2:13pm 
Here's link to the thumbs/maps folder for my ttt maps you can add to your collection:

https://drive.google.com/drive/folders/1IP3jSM_s3I9umsAOJHe6n2nRdxrlAbKq?usp=sharing
Lytho  [author] 5 Jan, 2021 @ 4:01am 
of course yes. I start working again on the addon and want to update all icons. U can send me a friend request if u want
Klee (UwU) 5 Jan, 2021 @ 2:34am 
Never mind I got it working. Would you guys like me to link you my map vote icon pack for lythos mapvote? ttt maps btw
Lytho  [author] 1 Jan, 2021 @ 3:11pm 
should be possible. Will need to check the code from murder how they handle map changes
Zorikune 1 Jan, 2021 @ 11:06am 
Yes there is. Would there be a way to work it with the mu_roundlimit convar?
Lytho  [author] 31 Dec, 2020 @ 2:26am 
If murder has something which triggers endrounds or so. It would be possible yes
Zorikune 17 Dec, 2020 @ 6:17pm 
Hello, loving this addon. I was wondering if there was a way to change it to work with the murder gamemode? For example after 10 rounds it would trigger the mapvote for people to pick a new map.
Klee (UwU) 27 Sep, 2020 @ 11:29pm 
Where exactly do i store the xxx_mapname.png files? I know they go in a thumb folder but where do I put them to show up in the mapvote screen?
Tygron 20 Sep, 2020 @ 1:52pm 
I had a whole comment describing my issue, but i'm going to put it in the discussion section because of the character limit.
Tygron 20 Sep, 2020 @ 12:47pm 
Config files in the data folder seem to be getting re-written upon server start. Would love to be able to add map prefixes and whatnot to the list. Maybe i'm doing something wrong, but I can't see where else i'd do this.
Callum 2 Jul, 2020 @ 10:16am 
I have an issue with this. I spent ages making 200 icons for my server and when I drop them in either the thumbs folder, maps folder, or both, none of the icons I've made show up in game. How can I fix this?

The format is .png on all of them and they are all 128x128, I used your own icons as the template so there is no reason I can see that this shouldn't be working.
Lytho  [author] 6 May, 2020 @ 11:10am 
Die Workshop downloads sind beschränkt. Du könntest die Maps über einen FastDL laufen lassen (kann aber nervig sein). Der Mapvote lädt nur die Maps vom Server.
Mortix 23 Apr, 2020 @ 8:12pm 
Cool Gemacht! Leider lädt das lange, um die Map herunterzuladen.... gibt es da einen "Trick", um die Schneller runterzuladen? Oder kann man im Mapvote auch einstellen, das nur die Installierten Maps Angezeigt werden? lg Moritz
Mara 13 Mar, 2020 @ 6:42am 
How i add a new icon to votemap? When i add a new icon, just not show in my server... Maybe i do wrong?
女儿 20 Apr, 2019 @ 4:48am 
!mapvoteshow not working.
Lytho  [author] 25 Feb, 2019 @ 7:55am 
@YurIsLuv thanks! I will look into it
Aölzyoql[RULAKD]$\£_£ 25 Feb, 2019 @ 4:56am 
Player one can 2 times, than it’s correct
女儿 25 Feb, 2019 @ 2:25am 
PlayerA: !rtv
PlayerA start a vote (1/3)
PlayerB: !rtv
PlayerB rock the vote (1/3)
PlayerC: !rtv
PlayerC rock the vote (2/3)
(showing map list on screen..)
Lytho  [author] 25 Feb, 2019 @ 2:10am 
How exactly?
女儿 24 Feb, 2019 @ 3:19am 
Vote counts isn't work fine in chat box.
Lytho  [author] 27 Jan, 2019 @ 10:04am 
currently not. I dont play prop hunt or deathrun to know if there are ways to do
MerrickKing 25 Jan, 2019 @ 8:47am 
Is there a way to get it to start after Prop Hunt or Deathrun without having to use !mapvote?
Lytho  [author] 6 Jan, 2019 @ 11:22am 
Oh yes. There are convars where you can define the rows for an example. But currently its not so good defined. Only a few convars. Maybe I will add later more if I find the time.
Lytho  [author] 5 Jan, 2019 @ 7:40am 
@Mom if the RTV is done the map will change directly. This is for changing a map with playing the current map

@Confusion what exactly do you mean? UI can only be generated by client afaik
Mom 27 Dec, 2018 @ 6:32pm 
Thanks. So if we use RTV to trigger a mapvote mid-round, does it just set the next map, or does it change to the newly selected map?
Lytho  [author] 27 Dec, 2018 @ 3:31pm 
Thanks fresh Garry for the support here
Lytho  [author] 27 Dec, 2018 @ 3:31pm 
Sorry for the late response. Rockthevote is a method to trigger the mapvote for the user. Percentage tells how many people needs to trigger the mapvote. But with min and max you can set borders for the vote. This means percentage of the player amount have to be between min and max. Example: percentage is 0.5 and we have 6 player. So we need 3 player at least to trigger a mapvote. With min 4 we would need 4 players and not 3.

Greetz
Mom 19 Dec, 2018 @ 10:05pm 
Can you explain to me what RockTheVote is? I don't understand what maxVote, minVote, and percentage do...
Fresh Garry 13 Dec, 2018 @ 10:34pm 
I guess you can use ttt_round_limit or ttt_time_limit_minutes for that. They are the normal TTT configs from http://ttt.badking.net/config-and-commands/convars ! I guess they need a restart to work.
The Rivoli 13 Dec, 2018 @ 2:55pm 
Yeah I see the Revote Ban Rounds and such, but is there functionality to have the mapvote appear every 4 rounds or so? So de_dolls or whatever plays for 4 rounds then a vote for the next map appears?
Fresh Garry 9 Dec, 2018 @ 10:35pm 
In your gamefolder: data/lythos_mapvote/config.txt. there you'll find some variables you can set!
The Rivoli 9 Dec, 2018 @ 11:52am 
How change I change the number of rounds before a mapvote appears?
Fresh Garry 28 Oct, 2018 @ 11:16am 
The icons should have the name of the map ( for example maps/thumb/ttt_minecraft_b5.png) and the users need to download them as an add-on or sth too. I have also created a mapicon addon. Maybe it contains the maps you need.
I hope I could help!
Verflucht 28 Oct, 2018 @ 8:41am 
do i have to send the icons to the users?
Verflucht 28 Oct, 2018 @ 8:40am 
ye but any specific name ? i just put the icons into maps/thumb with the name "for example" maps/thumb/ttt_clue_se.png anything wrong? no icons to see and ye i checked the mapicon addon
Lytho  [author] 27 Oct, 2018 @ 10:41am 
maps/thumb

you can the an example at my MapIcons addon :)