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-06-02 00:00:00Z and 2019-06-03 00:00:00Z
Avatar
@σℓí♡ do you still need help?
09:37
Are you trying to code new tiles?
Avatar
I haven't done anything yet, but I still don't understand what the problem is
09:38
so I think Yes, i needs help.
09:40
it's the only thing I didn't do
Avatar
Its pretty easy, your tile will not be accepted by the server because it doesnt exist. You have to go into collision.cpp in TileExists() and you have to replace TILE_TELE_LASER_DISABLE with the largest index from your custom tiles, so if you have added an tile with the index bogger than TILE_TELE_LASER_DISABLE you have to replace these two with that index
09:42
Btw: Whats that repo?
Avatar
@σℓí♡ is the tile not being detected? here is how i did it when i added teleport gun tiles https://github.com/ddnet/ddnet/pull/1204/files hope my comment wasnt rude or anything or else heinrich will pm me saying how a bad boy i am
As i made some changes and force-pushed i can't reopen the old pr: #1075 Features: Teleport gun: Teleports you where it collided (tees included, in a special way). Doesn't teleport...
Avatar
This is the ryo commits about telegun
Avatar
Yea, but basically the changes in mapitems.cpp are not required, its for the client. The tiles that are in this Valid function are for mapping with "Unused" off, so plain ddnet
Avatar
oh need
09:45
collision
09:45
big ty
Avatar
@σℓí♡, can you link your repository?
Avatar
I never posted it xd
Avatar
So can you?
11:43
@σℓí♡ do you have a github repo?
Avatar
yes
Avatar
Can you send the link?
Avatar
but it's empty
Avatar
Doesnt matter
11:46
So i can save it for the future
Avatar
BloodWod has 2 repositories available. Follow their code on GitHub.
Avatar
Oh, you dont have a Teeworlds repo?
11:51
чВ
11:51
xD
11:52
11:53
thonkery
Avatar
there is only lessons and site for me
Avatar
ahah
11:56
Avatar
foko look at his screen
11:56
it says private next to the other repos
lol 2
Avatar
i know
Avatar
but how do you keep ur work if its not on ur pc?
Avatar
making a server is just my hobby, and I'm not working yet
Avatar
@jao for this you mean like "Save a replay of 17 seconds" ?
Avatar
no save_replay should take a seconds argument
Avatar
aah
12:46
but
12:46
the length is a separate command
12:47
so that you can bind the command and set different lengths, for example one time you can save a 10s replay when another time you can save a 30s replay, just by changing the slider in the settings
12:47
or maybe an optional argument ?
Avatar
ok
Avatar
@archimede67 i think it would be better to remove the underscores in the Con functions
Avatar
ok thanks :D
12:51
but
12:51
you mean like
12:51
Con_SaveReplay ?
12:51
because every function has an underscore xd
Avatar
every?
Avatar
yea
12:51
then leave it like that
12:52
xd
Avatar
because serverside the con functions are without underscores, i didnt know it was like this in the client
Avatar
ah strange xd
Avatar
is there a way to get the min and max of a config variable?
Avatar
not really
Avatar
hmm ok, i'll keep that hard coded so xd
Avatar
what do you want to do?
Avatar
for the settings menu i have a slider to set the replay length
13:06
it goes from the minimum to the maximum of that config variable
13:06
for now, the values are hard coded
13:07
so it would be cleaner to have them not hard coded if you see what i mean xd
Avatar
yea, no easy way there
Avatar
yea
Avatar
@heinrich5991 it would be cool to like get the min and max value of an config var, ive searched for a way of doing that yesterday too.
Avatar
for what purpose did you need it?
Avatar
I forgot it xd
Avatar
It'd be nice to have a command that resets a config variable
Avatar
Ah yes, thats what I needed it for, i wanted to reset it (edited)
Avatar
but you wouldn't need the min and max for that 😛
Avatar
But it would be the same to get these variables
13:40
Wouldn't it?
Avatar
just a dozen lines in console.cpp
13:41
but yes, as long as you are in the CConsole context, it's quite easy
13:42
if you are out of it you'll need to implement an interface to get that information through IConsole
Avatar
:oooo
Avatar
?
Avatar
ath fucks ddnet
Avatar
who cares about ath
Avatar
@fokkonaut xd
Avatar
you didn't find anything else on the explanations?
Avatar
didnt look through it xd just noticed this
Avatar
ah xd
Avatar
I mean i noticed that its not the same as for the other hookrhough tile
Avatar
that commit is to prevent ddnet servers from verifying ath clients
18:05
which is pointless because if we wanted to we could just send a modchange first
Avatar
Катакан из Оксенфурта 2019-06-02 18:15:16Z
if there was same flag 'fuck ddnet' for every custom client, it would be so easy to punish cheaters... thonkery (edited)
Avatar
Катакан из Оксенфурта 2019-06-02 18:21:15Z
troll since there're no /rules there're no rules
18:53
18e7040 Add missing letter to explanations - fokkonaut 055b1fe Merge #1767 - bors[bot]
Avatar
@heinrich5991 i managed to completely fake projectile tunings now, i can finally fake the curvature aswell, with using the vanilla GetPos() function. I am kinda proud, and it is working just perfectly :) Ofc, the projectile "disappears" every 4th tick, but thats not noticable without slowing down the playback speed.
Avatar
It's the same as m_Type in every case, so it's useless. Seems like there is no reason for it being there.
Avatar
@fokkonaut wot
Avatar
It's the same as m_Type in every case, so it's useless. Seems like there is no reason for it being there.
Avatar
af7fd12 Remove m_Weapon parameter from CProjectile - fokkonaut 0f99605 Merge #1770 - bors[bot]
Exported 110 message(s)