Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2019-02-04 00:00:00Z and 2019-02-05 00:00:00Z
Avatar
[quakenet] <Dune> o/
16:36
[quakenet] <Dune> still haven't solved the mystery of those steam guys that get a runtime error even with teeworlds.com downloads btw https://steamcommunity.com/app/380840/discussions/0/1743355067134127472/
Avatar
LordSk 🦋 2019-02-04 16:39:43Z
msvc redistribuables?
Avatar
[quakenet] <Oy> probably some broken installation
16:54
[quakenet] <day> does the pistol reload in 0.6 behave different in anyway from 0.7? (due to bugs or w/e)?
16:54
[quakenet] <day> differently*
16:55
[quakenet] <Oy> day: yeah
16:55
[quakenet] <day> oh, really? how does it differ?
Avatar
[quakenet] <Oy> pistol has to be the selected weapon to regenerate ammo, in the past it just had to be for a small part of a second which could be abused
17:03
[quakenet] <day> wtf really?
17:03
[quakenet] <day> i guess i didnt know that abuse trick and thought it wouldnt reload in the background like it does today
17:03
[quakenet] <Dune> I doubt anyone really abused that though, it's not easy
17:03
[quakenet] <day> dunno i talked about it with magnet yesterday and he mentioned it/ prefered the bug
17:04
[quakenet] <Dune> I could be wrong then
17:04
[quakenet] <day> so you switch to the pistol and then back and it keeps reloading in the background?
17:04
[quakenet] <day> doesnt sound too difficult
17:05
[quakenet] <Dune> but what do you mean by "thought it wouldnt reload in the background like it does today"? it doesn't reload in the background today?
17:05
[quakenet] <day> well like it behaves today
17:05
[quakenet] <day> bad wording
17:06
[quakenet] <day> so i guess it was always the same, except there used to be a bug that lets you circumvent the restriction
17:06
[quakenet] <rand> in the past, does it reload 1 ammo when switching or does it reload the whole magazine while using another weapons ? (using this trick/bug)
17:06
[quakenet] <Oy> well, you could automatically do it with a modified client, so u wouldn't have noticed while playing
17:07
[quakenet] <Oy> 1 ammo
17:07
[quakenet] <day> ah
17:07
[quakenet] <day> so theres like a frame check
17:07
[quakenet] <Oy> tick on the server
17:08
[quakenet] <day> if the weapon is out during each currentframe % Integer it reloads one?
17:08
[quakenet] <rand> I did observed that I get more often without ammo than before, dunno if I change my play or if this is caused by this change
17:08
[quakenet] <rand> since I often switch weapon, it might be linked
17:09
[quakenet] <rand> I might have abused this without knowing it xD
17:09
[quakenet] <day> in 0.7 it supposedly is fixed. (assuming we are still talking about the same bug)
17:10
[quakenet] <Oy> when the cooldown was over it checked if it's the current weapon and increases ammo by one - just need to be the active weapon for that check
17:10
[quakenet] <day> i also want weaponswitching cooldowns not to be linked to weapon fire cooldowns :p
17:11
[quakenet] <day> and weapons shouldnt share cooldowns either
17:11
[quakenet] <day> imagine the hell you could unleash in a blink of an eye ^.^
17:12
[quakenet] <Oy> :P
17:12
[quakenet] <day> btw. any lifesigns from matricks?
17:13
[quakenet] <Dune> yes, he updated bam not long ago :)
17:13
[quakenet] <day> nice
Avatar
[quakenet] <Dune> hello minus
17:47
[quakenet] <Dune> would you rename Support at header_t.html:156 to Docs, along with the PR https://github.com/teeworlds/documentation/pull/29
17:48
[quakenet] <Dune> everything else should be fine, given that non-existing pages redirect to help.html
17:49
[quakenet] <Dune> (docs_overview.html was merged into help.html and deleted, should now redirect to help.html)
17:53
[quakenet] <day> Dune: is 'There is loads of people...' actually correct? I know it is informal, but seeing that it is plural shouldn't it be 'There are loads..'?
17:53
[quakenet] <day> saw that in the git pull request, to give some context
17:55
[quakenet] <Oy> yeah, should be 'are
Avatar
It always looks off to me, but I didn't write that so I left it
17:55
Ah :)
Avatar
[quakenet] <minus> Dune: done
18:01
[quakenet] <Oy> \o/
Avatar
ChillerDragon 2019-02-04 19:13:09Z
how do i convert a integer to string in tw style?
Avatar
[quakenet] <Learath2> str_toint?
Avatar
ChillerDragon 2019-02-04 19:15:41Z
where is it defined? o.O
19:16
ah system.h
19:16
i was searching for this in system.h i am blind -.- ty Learath2
19:16
its just using atioi xd
19:17
int str_toint(const char *str) { return atoi(str); }
19:18
ah wait its the other wy around -.-
19:19
there is atio() but no itoa()?
Avatar
LordSk 🦋 2019-02-04 19:22:06Z
just do str_format(..., "%d",...) (edited)
Avatar
ChillerDragon 2019-02-04 19:22:30Z
hmm was thinking about it
19:24
but i thought there must be a better way that dynamically allocates the exact amount of memory
19:24
malloc(sizeof(char)*(int)log10(num))
19:24
How do you convert an int (integer) to a string? I'm trying to make a function that converts the data of a struct into a string to save it in a file.
19:26
is str_format overflow save?
Avatar
LordSk 🦋 2019-02-04 19:27:59Z
you specify the size of the buffer as the 2nd parameter
Avatar
ChillerDragon 2019-02-04 19:28:08Z
tru
19:28
brain was off xd
19:28
as always
19:28
ya i guess it is fine because you mostly know the maximum size of the numbers
Exported 70 message(s)