Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2020-12-31 00:00:00Z and 2021-01-01 00:00:00Z
Avatar
KaipTataPasake 2020-12-31 00:36:51Z
btw how do yall feel about introducing "you cant hit others, you cant hook others" on the satrt of kobra where you drag the other person bellow to the left
00:37
this part
Avatar
#mapping
Avatar
KaipTataPasake 2020-12-31 02:05:19Z
my bad, searched for mapping and couldnt find it, went insane asn siad "ah fuq it ill post here"
Avatar
Just curious, did anyone ever meet Magnus Auvinen?
Avatar
I think the original teeworlds team wanted to do a meetup, not sure if they ever did
03:04
or maybe teetow knew him irl?
Avatar
!screenshot_2020-12-31_10-01-53

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [x] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect ex...
Avatar
a2585cd Add donation by Mattie - def-
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 09:51:07Z
im sure if you go ingame nobody knows who Magnus even is but every minecraft player knows Notch hm ... idk what happend there
Avatar
Дядя Женя 2020-12-31 10:14:42Z
1. Write post-processing X-Flip shader 2. Render through it before screen 3. Reverse inputs for mouseX and A/D Done
10:15
10 mins-to-make useless feature that does not break anything at all
Avatar
@Дядя Женя i wrote this tool for fun, not for this event :)
Avatar
Дядя Женя 2020-12-31 10:16:56Z
Tool is ok
Avatar
@Patiga will you release it soon? I wanted to link to it, but noticed it's probably not up-to-date yet
Avatar
Дядя Женя 2020-12-31 10:18:49Z
How do you use shaders in tw btw?
10:19
What methods to look for
Avatar
@deen i want to clean up the tool a little before the rls, it got quite messy yesterday ^^
Avatar
But you're good for in-production support-and-fixing. If you ever need a reference, tell me 😄
Avatar
Online Multiplayer PSX Emulator using WebRTC!
12:05
a online ps1 emulator
12:05
what a time to be alive
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 12:11:07Z
what tool @Patiga?
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 12:12:40Z
ah ye ofc best tool
12:13
sponsored by ChillerDragon lul
12:17
yo @deen any idea how to debug me spawning on different tiles depending on which machine i run the server? If i run my mod on my vps debian i spawn on a non spawn tile and on my local machines arch and debian i spawn on normal spawn tiles
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 12:17:16Z
i run with the ubsan asan thingys
12:17
but nothing showed up
Avatar
@Patiga will u publish it to crates?
Avatar
@Ryozuki is it based on rollback netcode?
Avatar
idk what that is
Avatar
I was really surprised how well it worked for online smash
Avatar
it uses webrtc
Avatar
It's a way to synchronize 2 consoles that have no mechanism to synchronize
Avatar
Online Multiplayer NES Emulator using WebRTC!
12:20
same for the nes
12:20
!!
Avatar
If they fall out of sync the game is rolled back to the last state that was in sync
12:20
Which sounds horribly inefficient, but somehow worked pretty decently as long as you didn't drop packets much
Avatar
@Patiga if u do pls add the teeworlds keyword to the toml file https://doc.rust-lang.org/cargo/reference/manifest.html#the-keywords-field
12:21
12:21
sadSnail
Avatar
ChillerDragon spawning on a non spawn tile sounds verybroken. Set a breakpoint at where we choose a spawn point and go from there
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 12:24:43Z
@Learath2 its a non standard tile so yea and my buggy mod it works fine in recent ddnet and used to crash in older ddnet
12:25
@Learath2 but if it works different on different machines isnt that proof for UB? And shouldnt ubsan detect something on spawn?
Avatar
Non standard tile? Are you running your mods map under ddnet server?
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 12:25:47Z
wdym?
Avatar
Idk, I don't know what you mean by non standard tile so I made a guess
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 12:26:24Z
ah yea i forgot what is was exactly
12:26
something like a switcher
Avatar
@Learath2 i found a game im rly into rn and apparently its open source and gpl licensed https://github.com/Anuken/Mindustry
A sandbox tower defense game. Contribute to Anuken/Mindustry development by creating an account on GitHub.
12:28
gpl best monkalaugh
Avatar
I wonder how many sales they have
12:28
more than 6k for sure
Avatar
That's impressive. Maybe I should reconsider making an open source game
Avatar
he made atleast 16.8k€
12:29
but not all ppl review
12:29
btw i recommend u play it
12:29
it even has a turing complete cpu inside the game
Avatar
SteamDB has owner estimations: https://steamdb.info/app/1127400/graphs/
An open-ended tower-defense game with a focus on resource management. Mindustry Steam charts, data, update history.
12:30
340000*4*0.7=952k€ (edited)
12:30
0.7 cuz i think steam has 30% share
12:30
thats quite a lot
Avatar
what about tax
Avatar
idk where he lives
Avatar
6k copies at 5€ per copy with 50% steam cut nets me 15k€ in profits. If I work a thousand hours on it that's 3$s an hour less than what a mcdonalds employee makes in denmark :P
Avatar
steam cut is 30$
12:32
30%
12:32
where did u get that 50 xd
12:33
also they reduce the cut if u get to 1M copies and more after
Avatar
It used to be 50 for indies and around 30 for massive companies with bargaining power
12:33
i think its 30 for all and lowers the more u sell
Avatar
I guess with new marketplaces like epic they had to back down from their insane cut
Avatar
no they didnt
12:33
change anything
12:33
iirc
Avatar
u have to set a higher price tag
Avatar
Valve takes around 30 percent of all game sales on Steam, with some exceptions for games from smaller developers in its Steam Direct program. That will remain the case for the first $10 million in sales a game maker or publisher earns. For all sales between $10 million and $50 million, the split goes to 25 percent. And for every sale after the initial $50 million, Steam will take just a 20 percent cut.
Avatar
Then I guess I misremember. I distinctly remember people complaining that the cut is terrible
Avatar
30 is the industry standard everywhere
12:35
maybe the nintendo switch cut is 50
12:35
i think i read it somewhere
Avatar
Anyway at 30% I'd make a tad bit more than a mcdonalds worker in denmark :D
12:35
Need to sell more copies
Avatar
Avatar
Learath2
Then I guess I misremember. I distinctly remember people complaining that the cut is terrible
this was a FUD campaign by EPIC games against steam
Avatar
At 10k copies I'd be solid
Avatar
Avatar
Learath2
6k copies at 5€ per copy with 50% steam cut nets me 15k€ in profits. If I work a thousand hours on it that's 3$s an hour less than what a mcdonalds employee makes in denmark :P
but he sold like 350k copies
12:37
monkalaugh
12:37
anyway ur game has to be interesting inthe first place to be bought
Avatar
Avatar
Ryozuki
but he sold like 350k copies
Ofc I meant a hypothetical game made by me
Avatar
if u ever wanna make a game i can help 🤓
12:39
just gotta get the idea of the year
Avatar
If I could produce a masterpiece that sells 350k copies alone, that would be 1.2 million euros. I'd honestly just buy a house and not do anything else significant for the rest of my life
Avatar
Until it ran out. Then maybe another game
Avatar
but dreaming is free
12:41
feelsbadman
Avatar
If I sold it at 10€ a copy and move back to turkey I could probably live like a lord until I'm like 50
12:43
It's very unlikely one makes a game that's that successful alone tho
Avatar
Put the milion euros in coca cola shares
12:44
And get 30k euros a year
12:44
And live like a lord i turkey haha
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 12:44:53Z
put 30k in bitcoin and buy turkey
Avatar
Hm atleast 500k people own Va-11-Hall-A. That's a 10$ game and it's mostly a visual novel. Maybe it is possible
Avatar
Avatar
Ama
Put the milion euros in coca cola shares
Cocacola is a very slow stock. I'd probably put it in us treasury bonds or maybe lebanon treasury bonds
Avatar
Coca cola pays out 3% every year
Avatar
If you keep your money in lebanon for 3 years they promise you a 100% return. Tho you are kinda betting on lebanon not completely collapsing in that year and that'a a risky bet
Avatar
Bonds are 1,7%
12:48
I mean ambergold did that in Poland and stole like a billion dollars Frombork People haha
Avatar
Or maybe apple. Apple fanboys never learn anyway
Avatar
I would have to look how much Apple pays out
12:48
I wouldnt bet on a stock rising
12:49
Just staying the same
12:49
And paying out dividents
Avatar
That is the sane approach, but jokes aside if I had that kind of money, I'd just hire a financial manager to handle it
Avatar
I mean a good stock to buy now is cd project red
12:52
Because they fucked up 1 game the stock halfed
Avatar
He can have his 10% cut or whatever, my main goal in life is to minimize working and thinking so I can disintegrate into a blob of organic waste while watching useless stuff on youtube
12:52
Can you buy cdpr stock? Is it publicly traded?
Avatar
They announce the witcher 4 and it would go up
Avatar
Then we sell right before they launch the next buggy mess
12:53
Then we buy again at low
Avatar
I mean tesla was fun
12:54
Elon musk smoked a joint
12:54
It halved and then went 4x ahha
Avatar
Betting against elon is like the stupidest thing I've heard
12:55
The guy survived calling someone a pedophile on twitter, a joint in a legal state isn't going to do shit to him
Avatar
Most of the world thinks joints are class a druga
12:55
Drugs
12:56
So its just people thinking he is a drugaddict
12:56
And how can someone like that run a company haha
Avatar
It's very very interesting to see the different cultures around marijuana around the world
Avatar
it IS a drug but its not rly harmful imo
Avatar
I've been to many places and opinions differ soooo much
Avatar
I mean you are From turkey so i would assume you are muslim so you shouldnt drink alkohol
Avatar
Like in turkey older people think it's the same thing as heroin, younger ppl are more lax
Avatar
Avatar
Ama
I mean you are From turkey so i would assume you are muslim so you shouldnt drink alkohol
It'd be a fair assumption but you are wrong as I'm of the christian minority in turkey :D
Avatar
I know most People 40 or younger are open to marihuana
weed 1
weed2 1
12:58
Then im sorry learath for that assumtion
Avatar
Interestingly enough turkey is only recently this islamic. Throughout it's history it had the most moderate interpretation of islam. One of the few islamic majority countries that has a fairly developed alcohol tradition
12:59
Anyway back to weed, in europe it seems mostly no one cares
Avatar
In Poland you can go to jail for having 1g haha
Avatar
It's probably still less acceptable in more conservative eastern states yeah
Avatar
In germany is easy to lose your drivers license because of weed
Avatar
In japan it's completely unacceptable, you instantly become an undesirable the second you are seen with it
Avatar
KaipTataPasake 2020-12-31 13:01:30Z
weeb
Avatar
In spain everyone smokes
13:01
And now i live in england you pretty much smell it on each Street
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:02:29Z
@Learath2 can i borrow u for a debugging session idk what to search in the breakpoints xd
Avatar
KaipTataPasake 2020-12-31 13:02:36Z
@Ama +
Avatar
Very odd that in the Netherlands and in Spain it's very normalized and in some US states or japan you server a very large jail sentence
Avatar
KaipTataPasake 2020-12-31 13:02:45Z
every second uk smells like weed
13:03
learath2 u know its nont legalized in ntetherlands kind of
Avatar
ChillerDragon well I can't debug it for yoy
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:03:09Z
sad
Avatar
Where did you break?
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:03:24Z
idk where to break in the first place xd
13:03
i never use breakpoints
Avatar
@KaipTataPasake it's a legal grey area in most places, but it's practically allowed. If no one will prosecute you for it it's not illegal
Avatar
Its not legal but its not criminal
13:04
Its decriminilized
13:04
Thats the word for it i think haha
Avatar
KaipTataPasake 2020-12-31 13:04:33Z
well the thing is its legal once its in a weed caffe, but if u are caught with it outside u can get as harsh fine as easter ueopean countires
Avatar
ChillerDragon: wtf how do you even debug anything without breakpoints??
Avatar
KaipTataPasake 2020-12-31 13:04:50Z
thtas why they literaly muggle weed into cafes
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:04:51Z
using dbg_msgs
Avatar
KaipTataPasake 2020-12-31 13:05:12Z
smugle*
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:05:15Z
if i know what to look for i dbg_msgs if i dont know what to look for idk
Avatar
Its funny that edibles are illegal in the netherlands
Avatar
@KaipTataPasake the thing is while the laws do exist to prosecute you for it, they never will. People even smoke outside in the netherlands, the whole atmosphere smells like weed
Avatar
KaipTataPasake 2020-12-31 13:05:57Z
+ learath been there not for drugs but just been and fuck me do i hat eit
Avatar
making changes to the legal system is very hard everywhere, it takes a looot of work and political support, much easier to just tell the police you don't want anyone arrested for it
Avatar
I love when People go to amsterdam and get 1 joint for each person and then are crying that they had a bad trip
Avatar
KaipTataPasake 2020-12-31 13:06:52Z
tell that to africa kek
13:07
they jjst tie you and flog you for stealing candy
13:07
i think they the only place where law can chaneg like that
Avatar
ChillerDragon: IGameController::CanSpawn is where I would break
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:08:12Z
@Learath2 i breakpointed here https://github.com/DDNetPP/DDNetPP/blob/068284ba5d566485f4764c50415d4a903ad67bc0/src/game/server/gamecontroller.cpp#L194 but x and y are never the value i spawn at but the spawn i want to spawn at xd
Based on DDraceNetwork by deen & contributors (www.ddnet.tw) which is based on the great game teeworlds (www.teeworlds.com). - DDNetPP/DDNetPP
13:08
and what do i do when i hit the breakpoint?
Avatar
You step through trying to figure out what goes wrong
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:09:13Z
stepping just shows me lines of code
13:09
so i guess step and print right?
Avatar
Well obviously lol
13:09
I would first just do next instead of step
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:09:37Z
yea as i said print gives me nothing weird
Avatar
Check the value of Eval after each Evaluate call
13:10
@KaipTataPasake Amsterdam is really one of the most beautiful cities I've ever been to
Avatar
KaipTataPasake 2020-12-31 13:10:32Z
nah, i respect your opinion but fuq that
13:10
go to lithuania, its soooooooooooo much better
13:11
even the one and only the myth the legend hitler him self sadi it
Avatar
and interestingly enough unlike most people the smell of burnt weed doesn't bother me that much
13:11
people say it smells like dead skunk, I guess maybe I've never smelled a dead skunk so I never made that association? 😄
Avatar
KaipTataPasake 2020-12-31 13:11:40Z
learath2 im an ex pot head who cant even satnd the smell of it now feelsbadman
Avatar
Sort of smells like a blend of normal herbs burning, like bay leaves, mint and lemongrass combined
Avatar
some kinds smell like skunk
13:12
not dead.. lol
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:12:44Z
{m_Pos = {{x = 14928, u = 14928}, {y = 11056, v = 11056}}, m_Got = true, m_FriendlyTeam = -1, m_Score = 0.000126897736} these numbers look weird
Avatar
Where does one even find a skunk to smell
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:12:49Z
do need some maffs to fix them
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:12:52Z
like / 32?
13:13
what is a u and a v?
13:13
vector magic
Avatar
KaipTataPasake 2020-12-31 13:13:11Z
nah, for me now that i get even panic attacks from the smell, it smells like if placed some shit and some wierd indian hearb on a knife and lit that bish
Avatar
once i was driving and smelled a skunk and i thought it was someone smoking at first :x
Avatar
ChillerDragon: Oh interesting, I wonder why the coords are in int
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:13:49Z
ok if i / 32 it looks like a coord
13:13
and it is the coord i do not want
13:13
ok
Avatar
The u and v are vector magic to make it prettier to code
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:14:30Z
can i ignore them?
Avatar
ChillerDragon: ok now that you found the undesirable coords, check which kind of spawn evaluation it comes from
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:14:34Z
and just look at the x and y?
Avatar
yeah you can, as you notice x and u are the same and y and v
13:14
it's just a union
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:15:10Z
oh wow i didnt notice
13:15
u so smart
13:15
xd
Avatar
well I just know gdb 😛
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:15:41Z
pro hacker
Avatar
When you figure out which type it is, you are going to need to trace it back to find what is adding that spawn point
13:16
"check if the position is occupado"
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:16:58Z
i sometimes lose track of where im stepping around
Avatar
if you launch gdb with -tui you get a nice display of the code
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:17:37Z
wew lemme check
13:18
ah that thing
Avatar
I usually don't need it but sometimes it helps to see more context
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:18:39Z
im sure u dont need that
13:18
u probably just read binary instead
13:18
haxx0r
Avatar
also you can do next to not step into the calls
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:19:03Z
yea i am nexting all the way
Avatar
There is also until which you can use to get over loops
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:19:55Z
Avatar
and finish which runs until you are out of the current call
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:19:57Z
rip tui
Avatar
lol stdout destroyed it?
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:20:21Z
seems like
13:20
nub gdb
13:20
it also cant recover even if stdout stops
Avatar
You can do ^L to redraw it btw
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:21:24Z
ah nice
13:21
ok lemme retry
13:21
wait which key is ^
13:21
is it ctrl?
13:21
that clears gdb for me
Avatar
try the command refresh
13:22
it is ctrl but if tui is enabled it should redraw tui too, not just completely clear it
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:23:01Z
lul that opend the layout even tho it was closed xd
13:23
ah tui was off
13:23
ah ye works good
Avatar
anyway, I gtg for a bit, find the Type of spawn point that is wrong, figure out why it gets added, fix it. I'll be back in an hour or so
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:33:21Z
ah nvm its no UB and i can also now reproduce it locally its just both spawns count but on production there is a tee blocking the one spawn already
13:33
so the problem is that these non spawn tiles get added to the spawnpoints array in the first place
13:34
ima go back to my old breakpoint
Avatar
[quakenet] Learath2 BOT 2020-12-31 13:34:22Z
Now find where spawnpoints are added
13:34
(apparently irc still works with even shitty 2g internet :P)
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 13:35:36Z
come pm i dont wanna spam #developer :/
Avatar
@Ryozuki yeah, i'll publish it to crates, though i want to do 1 or 2 things before that
Avatar
is there a pixel perfect resolution for DDNet
🤖 1
Avatar
1x1
18:56
no subpixels
18:56
pixel perfect
Avatar
[quakenet] ChillerDragon BOT 2020-12-31 20:11:26Z
bois new year soon grep -nr 2019 on all projects xd
20:12
eh 2020
20:12
oof i missed a year xd
Avatar
1f4039d Add donation by Immortal - def-
feelsamazingman 1
LoveHeart 1
Avatar
ᶰ°Konͧsti 2020-12-31 22:13:37Z
Like immortal would be still alive
22:13
poggers
Avatar
happy 2021
23:22
hope it's less shit than 2020
Avatar
Well, we had the Steam release in 2020, so there was something good at least 🙂 Happy New Year!
Avatar
we got nouis in 2020 nouis
Avatar
Avatar
deen
Well, we had the Steam release in 2020, so there was something good at least 🙂 Happy New Year!
stop using that emoji please (edited)
23:52
its scary
23:52
🙂
Exported 287 message(s)