01:39 < ddnet-commits> [ddnet] ZombieToad opened pull request #1145: fix /settings stuff (master...master) https://git.io/vh6u6 10:33 < ddnet-commits> [ddnet] bors[bot] merged staging into master: https://git.io/vh65W 10:33 <+bridge> [ddnet] haha 10:33 <+bridge> [ddnet] he made it! 11:07 <+bridge> [ddnet] @Dev pls dont start with the new team change issue im almost done c: 11:17 <+bridge> [ddnet] as you wish @ChillerDragon xD 11:19 <+bridge> [ddnet] oh men i run into crashbugs .-. 11:21 <+bridge> [ddnet] yay fuxed 11:22 <+bridge> [ddnet] what time do you suggest for the mute duration? Since its not chat i would suggest a longer time than 1 minute 11:22 <+bridge> [ddnet] like 5 or even 10 11:36 <+Gabee> The "DDNet masters" only show DDNet servers? Like, the ddnet.tw team? 11:40 <+bridge> [ddnet] uhm i guess i have to save ervy ip on join and leave to keep track of the join leave spam 11:40 <+bridge> [ddnet] is that ok? 11:41 <+bridge> [ddnet] i already have a system sortof like this that saves every ip thats connected in the last X min and autobans if they reconnect more than Y times 11:41 <+bridge> [ddnet] bans -.- 11:41 <+bridge> [ddnet] omg 11:41 <+bridge> [ddnet] but that doesnt help because the spam is spec->team 0->spec 11:41 <+bridge> [ddnet] i capture that 11:41 <+bridge> [ddnet] spec join works fine 11:42 <+bridge> [ddnet] because i have a player var but rejoin the score gets lost 11:42 <+bridge> [ddnet] i guess ill save all ips 12:01 <+bridge> [ddnet] maybe u can find a better way to do it than i did 12:03 <+bridge> [ddnet] i use the same system to rate limit chat, it has a queue of queues where the inner one stores times and the outer one stores strings(ips, messges, etc) 12:03 <+bridge> [ddnet] i also use the chat system 12:03 <+bridge> [ddnet] .-. 12:03 <+bridge> [ddnet] it isnt too perfect i guess 12:03 <+bridge> [ddnet] no i mean i made the system and used it for limiting duplicate chat messages as well 12:04 <+bridge> [ddnet] players on ddnet servers can spam the same message every 10sec and reconnect every 10sec forever and afaik nothing happens 12:05 <+bridge> [ddnet] oh dupilcated messages 12:06 <+bridge> [ddnet] so if i type "no u" on your server multiple times i get life banned? 12:06 <+bridge> [ddnet] 12:06 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/456761261829390352/Screen_Shot_2018-06-14_at_5.05.55_AM.png 12:06 <+bridge> [ddnet] lmao 12:06 <+bridge> [ddnet] no it doesnt ban 12:06 <+bridge> [ddnet] it just doesnt send the message 12:06 <+bridge> [ddnet] xd 12:10 <+bridge> [ddnet] it has a ratelimit_tick function that gets called every x ticks and a ratelimit_add function for when theres a new [ip, chat message] 12:10 <+bridge> [ddnet] i think theres probably a better way to do it but it works 12:10 <+bridge> [ddnet] omg it always loads the same score of 800 12:10 <+bridge> [ddnet] idk whats happening here 12:10 <+bridge> [ddnet] ? 12:10 <+bridge> [ddnet] i wish i coulkd code 12:11 <+bridge> [ddnet] oh i wouldnt try to reuse the chat limiting system that ddnet already has 12:11 <+bridge> [ddnet] .-. 12:11 <+bridge> [ddnet] its good 12:11 <+bridge> [ddnet] its good for what it does 12:11 <+bridge> [ddnet] but its not good against duplicates 12:11 <+bridge> [ddnet] it just lacks the save funktion 12:12 <+bridge> [ddnet] and im working on that 12:12 <+bridge> [ddnet] duplicates? 12:12 <+bridge> [ddnet] im working on teamchange messages 12:12 <+bridge> [ddnet] has nothing to do with duplicates 12:12 <+bridge> [ddnet] its always same person same with chat 12:14 <+bridge> [ddnet] yes the duplicate message is "_ joined the spectators" 12:14 <+bridge> [ddnet] i dont havr to check the message 12:15 <+bridge> [ddnet] i just check the ip 12:15 <+bridge> [ddnet] then u check for duplicate ips 12:16 <+bridge> [ddnet] instead of messages 12:17 <+bridge> [ddnet] i have no idea what ur trying to say 12:18 <+bridge> [ddnet] like when an ip changes team u add that ip to the global pool of all ips that have switched teams in the last _ minutes 12:18 <+bridge> [ddnet] and then rate limit based on that 12:19 <+bridge> [ddnet] yea kinda 12:19 <+bridge> [ddnet] i use the chat sys 12:19 <+bridge> [ddnet] so they get a score 12:19 <+bridge> [ddnet] incremented 12:20 <+bridge> [ddnet] i guess that could work too 12:20 <+bridge> [ddnet] ye it could 12:20 <+bridge> [ddnet] but random stuff is happening due to my lack of brain 12:21 <+bridge> [ddnet] i thought it would be easier to make a new rate limit thingy than try to figure out how the chat score system works and edit it to work 12:21 <+bridge> [ddnet] i already worked with it 12:21 <+bridge> [ddnet] i know exactly how it works 12:21 <+bridge> [ddnet] im having trouble with extending it 12:22 <+bridge> [ddnet] why 12:22 <+bridge> [ddnet] on saving the score value it always uses a new array entry 12:22 <+bridge> [ddnet] idk why 12:22 <+bridge> [ddnet] and always loads the first 12:24 <+bridge> [ddnet] saving it to where 12:25 <+bridge> [ddnet] to the array of teamchangemute structs 12:25 <+bridge> [ddnet] https://github.com/ddnet/ddnet/pull/1118/commits/835f56001305f52985ff6da2cf82727cea025826#diff-129e0a8a4db4d018b08816cb64c8363eR359 12:25 <+bridge> [ddnet] such things 12:26 <+bridge> [ddnet] lol i also have voteban but it works differently 12:26 <+bridge> [ddnet] mute accepts a third argument 12:26 <+bridge> [ddnet] id time and mode and mode is a bitmask and its stuff like 1=namechangemute 2=votemute 4=chatmute 8=teamchangemute etc 12:27 <+bridge> [ddnet] xd 12:27 <+bridge> [ddnet] found the bug 13:20 <+bridge> [ddnet] is ther an option in visual studio to stick to teewoods convention? 13:20 <+bridge> [ddnet] it always updates my if(statement) to if (statement) 13:20 <+bridge> [ddnet] *adding spaces* 13:25 < ddnet-commits> [ddnet] ChillerDragon opened pull request #1146: Add team change mutes (fixes #1144) (master...TeamChangeMute) https://git.io/vhiqr 19:40 <+bridge> [ddnet] if anyone used expressjs and wants to use typescript, i must say https://nestjs.com/ looks very good 21:45 < ddnet-commits> [ddnet] ZombieToad opened pull request #1148: remove unused thingy (master...patch-1) https://git.io/vhPL7 22:37 <+bridge> [ddnet] And added an backdoor:feelsamazingman: 22:49 <+bridge> [ddnet] unused thingy = ban command 23:04 < ddnet-commits> [ddnet] ZombieToad opened pull request #1149: hacky fix reserved slots (master...patch-3) https://git.io/vhPny 23:42 < ddnet-commits> [ddnet] ZombieToad opened pull request #1150: fix pause messages (master...patch-2) https://git.io/vhP82