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 2019-12-28 00:00:00Z and 2019-12-29 00:00:00Z
Avatar
I'm pretty sure the speedup code isn't correct either... The max speed thing looks odd. But fixing this would definitely break maps (edited)
Avatar
is anything correct? xd
00:02
new hookthrough maybe
Avatar
The original ddrace physics code isn't that great... But you can easily get this wrong and there is just no documentation... And at this time there was nothing like a code review for tw mods
Avatar
// Explode at most once per team int PlayerTeam = ((CGameControllerDDRace*)m_pController)->m_Teams.m_Core.Team(apEnts[i]->GetPlayer()->GetCID()); if (GetPlayerChar(Owner) ? GetPlayerChar(Owner)->m_Hit & CCharacter::DISABLE_HIT_GRENADE : !g_Config.m_SvHit || NoDamage) { if (!CmaskIsSet(TeamMask, PlayerTeam)) continue; TeamMask = CmaskUnset(TeamMask, PlayerTeam); }
00:10
this is the broken part, what would be the correct fix?
00:11
NoDamage is true when the projectile (in this case from the map) has no owner, so its -1. Setting NoDamage to false would fix it, but I want a "correct" fix xd
00:11
(just for myself right now, not ddnet)
Avatar
ChillerDragon 2019-12-28 02:49:34Z
yes @deen some official build with official version number. Something that replaces my handcrafted releases i sent over discord.
Avatar
[quakenet] deen BOT 2019-12-28 09:56:47Z
@ChillerDragon any preferred version number to start with? 0.1, 1.0?
09:57
and it would be great to have a properly working tool for converting maps to 0.7
Avatar
ChillerDragon 2019-12-28 13:47:20Z
I think it’s not perfect yet so 0.1 but probably a bit more useful to use 1.0 to not clash with vanilla versions.
13:47
Oh yea the map tool :/
Avatar
1.0
πŸ‘ 1
Exported 14 message(s)