01:06 <+bridge> [ddnet] @Ryozuki Hi 01:06 <+bridge> [ddnet] Can you come to my dm? 01:10 <+bridge> [ddnet] depends 01:10 <+bridge> [ddnet] what uwant 01:12 <+bridge> [ddnet] help 01:13 <+bridge> [ddnet] @Ryozuki 01:14 <+bridge> [ddnet] idk 01:14 <+bridge> [ddnet] just ask ur question here 01:14 <+bridge> [ddnet] i doubt ill answer ur dms 01:14 <+bridge> [ddnet] im a busy man 01:14 <+bridge> [ddnet] in a busy world 02:38 <+bridge> [ddnet] https://dontasktoask.com/ 02:38 <+bridge> [ddnet] xD 03:06 <+bridge> [ddnet] true gigachad url 04:12 <+bridge> [ddnet] If you have a Gmail account, a computer or a smartphone and you have 2 hours a day, you can earn 345 EUR a day. Ask me how. 04:12 <+bridge> [ddnet] πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘†πŸ‘†πŸ‘† 04:12 <+bridge> [ddnet] https://t.me/Viralbitcoinvault1 04:12 <+bridge> [ddnet] 04:12 <+bridge> [ddnet] 04:12 <+bridge> [ddnet] N/B\: 04:12 <+bridge> [ddnet] πŸ’ŽNO STRESS 04:12 <+bridge> [ddnet] πŸ’ŽNO REFERRAL NEEDED!! 04:12 <+bridge> [ddnet] πŸ’ŽNO REGISTRATION FEE! 08:48 <+bridge> [ddnet] it took me way to long to figure this out on my own LOL 08:48 <+bridge> [ddnet] but now i'm at a point where i just need to test it and hope everything turns out well 09:21 <+bridge> [ddnet] One last thing before I submit: Is there another way to do this? 09:21 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1015521888417611786/unknown.png 09:28 <+bridge> [ddnet] I did crunch it down like how the switch case in the hand position is treated, so that's a tiny bit better, 09:30 <+bridge> [ddnet] I guess we can talk about it during submitting 09:42 <+bridge> [ddnet] i think we usually do (float) style casts not float() 09:45 <+bridge> [ddnet] Ohh. Okay, thanks! 10:00 <+bridge> [ddnet] This is C++, there are lots of different ways to do this. I think your way is fine. This way might be faster because it's just an array lookup, so O(1): 10:00 <+bridge> [ddnet] ``` 10:00 <+bridge> [ddnet] static float s_aWeaponsFireDelay[] = { 10:00 <+bridge> [ddnet] [WEAPON_HAMMER] = (float)1, // your real value here 10:00 <+bridge> [ddnet] [WEAPON_GUN] = (float)2, 10:00 <+bridge> [ddnet] [WEAPON_SHOTGUN] = (float)3, 10:00 <+bridge> [ddnet] [WEAPON_GRENADE] = (float)4, 10:00 <+bridge> [ddnet] [WEAPON_LASER] = (float)5, 10:00 <+bridge> [ddnet] [WEAPON_NINJA] = (float)6, 10:00 <+bridge> [ddnet] }; 10:00 <+bridge> [ddnet] static_assert(NUM_WEAPONS == 6, "s_aWeaponsFireDelay has to be adapted to new weapons"); 10:00 <+bridge> [ddnet] float Delay = Weapon >= 0 && Weapon < NUM_WEAPONS ? s_aWeaponsFireDelay[Weapon] : 1.0f; 10:00 <+bridge> [ddnet] ``` 10:01 <+bridge> [ddnet] To get rid of the magic number: `static_assert(NUM_WEAPONS == std::size(s_aWeaponsFireDelay), "s_aWeaponsFireDelay has to be adapted to new weapons");` 10:03 <+bridge> [ddnet] Very useful! I'll try implementing that to see if it works! 10:09 <+bridge> [ddnet] Ends up with a lot of errors, mainly stating that `"WEAPON_X" is not a variable` 10:14 <+bridge> [ddnet] It worked for me: https://gist.github.com/def-/803848b73547c508b8e968b45ad68c1d 10:16 <+bridge> [ddnet] Odd. It might just be my Visual Studio then. I'll look into it tomorrow when I wake up. 10:16 <+bridge> [ddnet] Odd. It might just be my Visual Studio then. I'll look into it tomorrow when I wake up, It's kind of late here. 10:20 <+bridge> [ddnet] @Voxel is it possible to make the afk thing an option? I don't know how it looks like with like 10+ tees afk next to each other, also did you test in freeze how it looks? 10:21 <+bridge> [ddnet] I could try and make AFK state an option. And in freeze the tee sits normally, holding no weapon. 10:26 <+bridge> [ddnet] Alright 11:08 <+bridge> [ddnet] you can also do it the way the server does it 11:09 <+bridge> [ddnet] https://github.com/ddnet/ddnet/blob/2346f221e1e938a686608404b502654aadf39901/src/game/server/entities/character.cpp#L603 11:31 <+bridge> [ddnet] didn't know that was possible till I saw some code from some XDP examples, this is amazing 11:31 <+bridge> [ddnet] didn't know that was possible till I saw some code from some XDP examples, this is amazing (c) 11:54 <+bridge> [ddnet] https://youtu.be/LJuPc3ho61E 11:54 <+bridge> [ddnet] My new video 11:55 <+bridge> [ddnet] This is real 11:55 <+bridge> [ddnet] I just made it 11:56 <+bridge> [ddnet] hi adam back 11:58 <+bridge> [ddnet] teecoin gaming 12:04 <+bridge> [ddnet] pls move to #off-topic thanks 12:47 * belkka slaps Nimda around a bit with a large fishbot 13:28 <+bridge> [ddnet] For reference: https://en.wikipedia.org/wiki/Adam_Back 13:47 <+bridge> [ddnet] @Erik van Velzen Adam did some cool work! But just to be clear, I never thought you're being insincere with your intentions. I just don't think blockchain projects fit well into TW/DDNet 14:00 <+bridge> [ddnet] Ok sorry for that just wanted to make the point you're right it had to be on a different topic 15:00 <+bridge> [ddnet] Win up to $1000 in crypto trading when you invest with just the minimum of $50 15:00 <+bridge> [ddnet] Signup and start investing your crypto with. 15:00 <+bridge> [ddnet] 15:00 <+bridge> [ddnet] 15:00 <+bridge> [ddnet] 15:00 <+bridge> [ddnet] πŸ’ŽNO STRESS 15:00 <+bridge> [ddnet] πŸ’ŽNO REFERRAL NEEDED!! 15:00 <+bridge> [ddnet] πŸ’ŽNO REGISTRATION FEE!! 15:01 <+bridge> [ddnet] 15:01 <+bridge> [ddnet] https://t.me/+lPL_HHfAQlM2NDk0 15:37 <+bridge> [ddnet] as already said by deen, you can use an array because enum values are automatically generated as following numbers starting from 0. 15:37 <+bridge> [ddnet] You don't need the float cast, it is implicit with the division by float number 15:46 <+bridge> [ddnet] I'll impliment an array cast soon 15:47 <+bridge> [ddnet] i don't think that's necessary 15:49 <+bridge> [ddnet] i guess but 18:32 <+bridge> [ddnet] anybody on the master issue? 18:32 <+bridge> [ddnet] what master issue? 18:32 <+bridge> [ddnet] can only see half servers 18:32 <+bridge> [ddnet] 560 instead of around 1020 18:36 <+bridge> [ddnet] @Chairn seems like i'm not the only one having that issue 18:41 <+bridge> [ddnet] It's a cryptocurrency investment which you can start with as little as $200 and earn a minimum of 8% profit weekly. You can also earn up to 16% profit weekly depending on which investment plan you invest in. 18:41 <+bridge> [ddnet] 18:41 <+bridge> [ddnet] It is an officially licensed company that provides it’s clients with all required guarantees.https://t.me/Etxcapital1https://t.me/Etxcapital1 18:49 <+bridge> [ddnet] is master2.ddnet.tw a real running master or? 19:51 <+bridge> [ddnet] @ReiTW 19:51 <+bridge> [ddnet] had the same 19:52 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1015680582983880914/unknown.png 19:54 <+bridge> [ddnet] which master do you have set? ddnet.tw or ddnet.org ? 19:54 <+bridge> [ddnet] tw probably, i havent touched anything 19:54 <+bridge> [ddnet] but its working again, it was just on that day 19:54 <+bridge> [ddnet] i had like only a few servers, maybe 2 browser sizes 19:54 <+bridge> [ddnet] That's DoS attack, should work again 19:54 <+bridge> [ddnet] Ah okay 19:55 <+bridge> [ddnet] someone really wants to destroy the whole game 19:55 <+bridge> [ddnet] xd 19:55 <+bridge> [ddnet] we really need to get blockchain in the game to prevent this :troll: 19:55 <+bridge> [ddnet] Yes, same as for the last ~7 years non-stop 19:56 <+bridge> [ddnet] Yup. I always wonder how many problems someone has to have in order to do something like this without a reward 19:57 <+bridge> [ddnet] Attacking big companies often is connected to getting money or whatever 19:58 <+bridge> [ddnet] seems fixed 19:58 <+bridge> [ddnet] Yes, deen fixed it 19:58 <+bridge> [ddnet] yea saw the msg 21:52 <+bridge> [ddnet] @Erik van Velzen To be honest, the idea of using crypto currency as a main objective for a game like this wouldn't cut it, since this game never received any micro transactions outside of third-party purchases from some teeworlds servers' services. 21:52 <+bridge> [ddnet] My honest opinion about this would be that, we would kinda need a rework for a client which supports this idea. 21:52 <+bridge> [ddnet] But rather to invest fully in crypto currency, it should be an alternative payment option of currency, under a well made trading system. 21:52 <+bridge> [ddnet] So, instead of using crypto currency **only** to **play some games**, we should concentrate on making a trading system, where we can sell quality items, like skins for any Asset (tee skin, weapons, particles, animations, etc) and have them under real life currency, so as a micro transaction would be. 21:53 <+bridge> [ddnet] It might also cause some trouble over Europe's gambling addiction rules, if crypto is being comforted on trading sides as part of interest to the game. 21:53 <+bridge> [ddnet] It could backfire real fast 21:54 <+bridge> [ddnet] summary: 21:54 <+bridge> [ddnet] shitty idea 21:54 <+bridge> [ddnet] tf2 market ddnet version 21:54 <+bridge> [ddnet] sort of, I would like that tbh 21:54 <+bridge> [ddnet] πŸ˜‚ 21:55 <+bridge> [ddnet] @Davide what 🀑 21:55 <+bridge> [ddnet] say it bravely 21:55 <+bridge> [ddnet] ? 21:55 <+bridge> [ddnet] what would we sell in the ddnet market? 21:56 <+bridge> [ddnet] well, if the client would be restricted, so that it gets skins from the ddnet skin database and **based on profile data** :justatest: , some skins would have different prizes, depending on quality, then it would be sold like that 21:57 <+bridge> [ddnet] what ddnet doesn't have it usage of the forum's profile system as part of login to ddnet 21:57 <+bridge> [ddnet] > It might also cause some trouble over Europe's gambling addiction rules, if crypto is being comforted on trading sides as part of interest to the game. 21:57 <+bridge> [ddnet] > It could backfire real fast 21:57 <+bridge> [ddnet] = Shitty idea 21:57 <+bridge> [ddnet] what ddnet doesn't have is usage of the forum's profile system as part of login to ddnet 21:57 <+bridge> [ddnet] How to ruin a good game: 21:57 <+bridge> [ddnet] That's what I meant 21:57 <+bridge> [ddnet] yeah that's what I was mentioning :v 21:58 <+bridge> [ddnet] I thought it was for rudeness, mb then 21:59 <+bridge> [ddnet] also with how moddable ddnet is wouldnt you think ppl will just... install the expensive items? 21:59 <+bridge> [ddnet] with the current state of the client and the database, which is both accessible by anybody and open-source, yeah. 21:59 <+bridge> [ddnet] it's not possible to do. 22:00 <+bridge> [ddnet] People wouldn't like microtransactions at all 22:00 <+bridge> [ddnet] true 22:00 <+bridge> [ddnet] it has no benefits, but some people prefer on "having more value over the poor" 22:01 <+bridge> [ddnet] so basically little monopoly 22:32 <+bridge> [ddnet] If you have the opportunity, try to lookup the first incoming IPv4 address(s) from the DoS if possible. It could be feasible that one of my scripts was used where I implemented an extra secret arg which you need to pass, otherwise the server will spoof the first packet(s) with its real IPv4 address(s) and false calculations.