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-05-01 00:00:00Z and 2019-05-02 00:00:00Z
Avatar
ChillerDragon 2019-05-01 09:01:09Z
i would remove the whole browser lol
09:01
am i the only one thinking that the new server browser is confusing af? I never find server.
Avatar
[quakenet] minus BOT 2019-05-01 09:31:21Z
so much spam
Avatar
[quakenet] Assa BOT 2019-05-01 09:50:57Z
nice
Avatar
[quakenet] Dune BOT 2019-05-01 10:26:57Z
poor @Sonix having to fix our dirty code :P
Avatar
[quakenet] Dune BOT 2019-05-01 10:40:26Z
gotta reduce spam a bit, Oy is too active
10:46
@Fudgy: I hope people will find out they can find demo details there
10:48
I'm not sure if there is a good solution anyway ^^ maybe the ideal would be to display important things such as the length elsewhere, stuff like the crc, the version and what not needn't be displayed by default
Avatar
[quakenet] Assa BOT 2019-05-01 10:49:37Z
Dune, what do you think about auto hiding scrollbars?
10:50
It was actually really easy to check this. The only problem is, that the background is still there and iam looking into it
Avatar
[quakenet] Dune BOT 2019-05-01 10:50:27Z
i think we already improved scrollbars a lot and that's a very minor thing that shouldn't be prioritized :P
10:51
@LordSk 🦋 made a scrollbar API, I think it has yet to be used in the demos menu
Avatar
[quakenet] Assa BOT 2019-05-01 10:52:36Z
what should I prioritize? Which issue do you think is suited for me
10:52
Master, Dobby wants instructions
Avatar
[quakenet] Dune BOT 2019-05-01 10:53:58Z
Oy is the true master :P
10:55
there are a lot of things to do :) we're not lacking in that department
10:56
if you hover over a setting (for example Show social) you should see a little pop up window where your mouse is that prints the text that you would see in f1 (usign the example show social, the hin...
10:56
if you like UI stuff
10:58
if you want something server sided, what about a way to save bans?
Avatar
[quakenet] Assa BOT 2019-05-01 10:59:09Z
we should use the jsons on the serverside too
Avatar
[quakenet] Dune BOT 2019-05-01 10:59:18Z
what jsons?
Avatar
[quakenet] Assa BOT 2019-05-01 10:59:59Z
any :D Bots will need to read the skins, if we will implement ones
11:00
currently there is no native way to read jsons on serverside
Avatar
[quakenet] Dune BOT 2019-05-01 11:01:30Z
bots will need to read the skins, really?
Avatar
[quakenet] Assa BOT 2019-05-01 11:01:43Z
how are you willing to fill the skininfos?
Avatar
[quakenet] Dune BOT 2019-05-01 11:01:54Z
it's just a string right?
11:01
just send "default"
11:02
(or whatever)
Avatar
[quakenet] Assa BOT 2019-05-01 11:02:37Z
what if you want another skin? And you shouldn't hardcode this stuff
Avatar
[quakenet] Dune BOT 2019-05-01 11:03:05Z
well you write "cammo"?
11:03
I mean you don't have to hardcode that stuff but I don't see how reading the jsons help
Avatar
[quakenet] Assa BOT 2019-05-01 11:03:19Z
side note: Zatlines botskins could be implemented on clientside or just be handled as any other skin
Avatar
[quakenet] Dune BOT 2019-05-01 11:03:34Z
They are not really skins, they are decorations on top of skins
11:03
and they're already implemented?
Avatar
[quakenet] Assa BOT 2019-05-01 11:03:50Z
hmm, true :o
11:04
so when doing a permanent banlist, we need file IO
Avatar
[quakenet] Dune BOT 2019-05-01 11:04:25Z
yeah
11:04
this can be saved in a bans.cfg
11:04
isn't there already something like that?
11:04
also I have a bunch of tasks/ideas I'm not doing, if you're interested
Avatar
[quakenet] Assa BOT 2019-05-01 11:04:56Z
tell me :D
Avatar
[quakenet] Dune BOT 2019-05-01 11:05:05Z
for example, we could have a way to save chat text by clicking out of the area or something instead of deleting it
11:05
it would let you resume a long interrupted sentence because you had to do something ingame
11:05
some games do that
11:05
we also need to prevent clients from self wispering
11:05
we could have some visual effects to help playing with no-sound (like the sound notification you get with Ctrl+S, but with a flag when there is a capture for example)
11:06
we could also implement copy, right now there is only paste
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 11:06:37Z
copy might simply copy the whole line
Avatar
[quakenet] Dune BOT 2019-05-01 11:06:39Z
we can have something basic that just selects everything from the textarea (chat or text box)
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 11:06:42Z
for starters
Avatar
[quakenet] Dune BOT 2019-05-01 11:06:47Z
exactly :)
11:06
don't wanna implement a selection system
Avatar
[quakenet] Assa BOT 2019-05-01 11:07:59Z
i will take a look on the save chat one. It happened to me a lot, that my text is lost because the map changed
Avatar
[quakenet] Dune BOT 2019-05-01 11:08:34Z
oh yeah there's that too, annoying right :p
Avatar
[quakenet] Assa BOT 2019-05-01 11:09:05Z
should that be saved in a variable or a seperate buffer?
11:09
meh, a buffer would make more sense
Avatar
[quakenet] Dune BOT 2019-05-01 11:10:10Z
not sure if I see the difference
Avatar
[quakenet] Assa BOT 2019-05-01 11:10:45Z
It may appear in the settings file, which doesn't make sense
11:10
But i think you had a flag to prevent that
Avatar
[quakenet] Dune BOT 2019-05-01 11:11:13Z
ah, yeah there is a flag for that
11:11
but I didn't think you meant a client variable
11:11
yeah, that doesn't need to be one
11:12
it just needs to survive the disconnect/connect that occurs on map load
Avatar
[quakenet] Assa BOT 2019-05-01 11:12:29Z
shouldn't it be client sided?
Avatar
[quakenet] Dune BOT 2019-05-01 11:12:45Z
yes of course
11:12
but it doesn't have to be accessible from the console
Avatar
[quakenet] Assa BOT 2019-05-01 11:13:00Z
yes
Avatar
[quakenet] Assa BOT 2019-05-01 11:28:23Z
which key is KEY_KP_ENTER ???
Avatar
[quakenet] Dune BOT 2019-05-01 11:29:45Z
I think KP is keypad
11:31
so i think it's the numerical keypad enter?
Avatar
[quakenet] Assa BOT 2019-05-01 11:31:52Z
ahhh :O now it makes sense
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 12:13:06Z
At the moment when changing the map on the server all the past chat is lost in the normal chat. You have to press f1 in order to see the chat from before the map change and f1 is not as good lookin...
I cant claim that this doesn't break some weird edge cases so please make sure to check. I didn't put a config setting for this because I think there are no reasons to not want to h...
Avatar
[quakenet] Dune BOT 2019-05-01 12:14:15Z
ah, right, that part is fixed. the task I had in mind was more about saving the chat buffer when you click out of it because you have to do some play for a second
Avatar
[quakenet] Assa BOT 2019-05-01 12:29:54Z
apprently i have fixed both with a few lines of code
12:30
side effect: chat all: "test" Escape -> Team Chat : "test" already written
Avatar
[quakenet] Dune BOT 2019-05-01 12:33:45Z
I guess it should be reset if you change chat mode ^^
Avatar
[quakenet] Assa BOT 2019-05-01 12:34:00Z
then i have to track the chat mode, too
Avatar
[quakenet] Dune BOT 2019-05-01 12:34:06Z
yes
Avatar
[quakenet] rand BOT 2019-05-01 12:39:13Z
single thread is still fine for bots
Avatar
[quakenet] Assa BOT 2019-05-01 12:48:08Z
highly depends on the bot
Avatar
[quakenet] Assa BOT 2019-05-01 13:09:00Z
Dune, i finished the chat buffer. I used config_variables. Is there a flag, that these variables aren't shown in console?
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 13:09:45Z
no, there isn't
Avatar
[quakenet] Dune BOT 2019-05-01 13:09:52Z
I thought you were going to use a buffer instead of a variable?
Avatar
[quakenet] Assa BOT 2019-05-01 13:10:54Z
quote: "not sure if I see a difference"
Avatar
[quakenet] Dune BOT 2019-05-01 13:11:30Z
quote: "I didn't think you meant a client variable"
13:11
I thought you meant a program variable :)
Avatar
[quakenet] Assa BOT 2019-05-01 13:11:44Z
ah ^.^
Avatar
[quakenet] Dune BOT 2019-05-01 13:12:08Z
so yeah it shouldn't be a client variable because it doesn't have to be accessible by the client
Avatar
[quakenet] Assa BOT 2019-05-01 13:12:09Z
hmm, i have an idea
13:18
now its in a Buffer in chat.h
13:18
it even survives leaving the server and rejoining :o
Avatar
[quakenet] Dune BOT 2019-05-01 13:18:38Z
#2118 breaks the nethash
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 13:19:00Z
(just remove the nethash ._.)
Avatar
[quakenet] Assa BOT 2019-05-01 13:20:06Z
I broke the nethash ._.
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 13:20:20Z
nah, the nethash is broken
Avatar
[quakenet] Assa BOT 2019-05-01 13:21:27Z
#2118 just changed 5 files: collision.h, gamecore.h, gamecore.cpp, collision.cpp, and character.cpp
13:21
one of this must have changed the nethash
Avatar
[quakenet] Dune BOT 2019-05-01 13:21:43Z
gamecore change sthe nethash right
13:21
can't connect anywhere with the master client
Avatar
[quakenet] Assa BOT 2019-05-01 13:23:18Z
how do you handle nethash breaking updates?
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 13:23:32Z
by hardcoding the new nethash. see scripts/cmd5.py
Avatar
[quakenet] Dune BOT 2019-05-01 13:24:21Z
yeah that's annoying
13:27
ugh there is a crash that only happens when I don't start teeworlds in a debugger :(
Avatar
[quakenet] Assa BOT 2019-05-01 13:35:27Z
The NetHash usally makes no sense for custom servers. If you want true 64 player support, you will have to overwrite it, due to a change in protocol.h
Avatar
[quakenet] Dune BOT 2019-05-01 13:35:53Z
huh? I think you can just change variables.h, right?
13:36
or is there some other enum you need to change?
Avatar
[quakenet] Assa BOT 2019-05-01 13:37:01Z
MAX_PLAYERS=64
Avatar
[quakenet] Dune BOT 2019-05-01 13:37:16Z
ok :)
13:37
so yeah it's a bit bothersome to have it
Avatar
[quakenet] Assa BOT 2019-05-01 13:38:36Z
SvPlayerSlots, ..., 8, 0, MAX_PLAYERS in variables.h
13:38
if you want more then 16 players you have to change MAX_PLAYERS
Avatar
[quakenet] Assa BOT 2019-05-01 14:14:10Z
I noticed how usefull it is to shoot yourself out of chat
14:14
i will add mouse1, mouse2 and space
Avatar
[quakenet] Dune BOT 2019-05-01 14:14:41Z
space??
Avatar
[quakenet] Assa BOT 2019-05-01 14:14:42Z
*not space
Avatar
[quakenet] Dune BOT 2019-05-01 14:14:47Z
haha
Avatar
[quakenet] Assa BOT 2019-05-01 14:14:56Z
I see my mistake xD
Avatar
[quakenet] rand BOT 2019-05-01 14:23:12Z
you can also replace MAX_PLAYERS by MAX_CLIENTS in variables.h
Avatar
[quakenet] Assa BOT 2019-05-01 14:23:53Z
unspeakable side effect, i am not sure if everything would work well then
Avatar
Btw Dune, the demo details always start maximized when you open the client so no one will not see them
Avatar
[quakenet] Dune BOT 2019-05-01 14:24:21Z
oh I reviewed the code and thought it defaulted to 0
14:24
should have tested :)
14:24
my bad
Avatar
static bool s_DemoDetailsActive = true;
14:24
No prob :p
14:25
I have more changes to the demo list coming in the next few days
Avatar
[quakenet] Dune BOT 2019-05-01 14:25:30Z
cool :)
Avatar
[quakenet] rand BOT 2019-05-01 14:25:38Z
Assa: well, atm, it is enough since MAX_PLAYERS is only use for clamping or to check vanilla servers
Avatar
[quakenet] Assa BOT 2019-05-01 14:32:56Z
oh you are right :o
Avatar
[quakenet] Assa BOT 2019-05-01 14:56:25Z
how do i call methods in gameclient from the menu?
Avatar
[quakenet] Learath2 BOT 2019-05-01 14:57:57Z
Assa: the menu is a component
Avatar
[quakenet] Assa BOT 2019-05-01 14:58:30Z
yes, and i want to call a function in another component
Avatar
[quakenet] Learath2 BOT 2019-05-01 14:59:01Z
You said you need to call the gameclient, every CComponent has a pointer to the game client (m_pClient)
Avatar
[quakenet] Dune BOT 2019-05-01 14:59:01Z
you can probably access the client from that component
14:59
Teeworlds' encapsulation is... a bit weak :D
Avatar
[quakenet] Learath2 BOT 2019-05-01 14:59:20Z
(Every registered component that is)
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 14:59:38Z
Client() is the way to go
Avatar
[quakenet] Assa BOT 2019-05-01 14:59:54Z
m_pClient->m_pChat->DoStuff() is not working
15:00
'incomplete pointer m_pChat'
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 15:00:45Z
sounds like you need to #include the declaration of CChat in the cpp file you're currently editing
Avatar
[quakenet] Learath2 BOT 2019-05-01 15:02:14Z
the across component access sounds like you are doing sth wrong(tm) though :)
Avatar
[quakenet] Assa BOT 2019-05-01 15:03:07Z
what @heinrich said was right
Avatar
[quakenet] Learath2 BOT 2019-05-01 15:03:34Z
sure
Avatar
[quakenet] Assa BOT 2019-05-01 15:03:35Z
yes, its not nice how I do that, but I want to call a function in chat on disconnect
15:03
And I didn't find a better place, then the ingame menu
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 15:04:23Z
OnStateChange sounds like the way to go
Avatar
[quakenet] Assa BOT 2019-05-01 15:04:34Z
which cpp?
Avatar
[quakenet] Learath2 BOT 2019-05-01 15:04:48Z
CChat
Avatar
[quakenet] Assa BOT 2019-05-01 15:05:00Z
ah obviously
15:05
yeah, this would make totally sense xD
Avatar
[quakenet] Assa BOT 2019-05-01 15:12:40Z
thank you, everything works fine <3
Avatar
[quakenet] Dune BOT 2019-05-01 15:46:04Z
Assa, bnet games even have visual effects for it :) https://puu.sh/DmrOF/6d2e419be3.jpg
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 16:05:18Z
Assa: are they not?
Avatar
[quakenet] Assa BOT 2019-05-01 16:06:19Z
@Dune do you want me to do the full program? Resuming with chat button, doing a label for that
Avatar
[quakenet] Dune BOT 2019-05-01 16:07:38Z
probably best to wait for Oy's input :)
Avatar
[quakenet] Assa BOT 2019-05-01 16:09:17Z
@heinsirch: should i reproduce and post a picture?
Avatar
[quakenet] Dune BOT 2019-05-01 16:10:06Z
that's a neat nickname
Avatar
[quakenet] Assa BOT 2019-05-01 16:12:47Z
gameclient.cpp #L151ff probably all are missing Localizations
Avatar
[quakenet] Dune BOT 2019-05-01 16:15:19Z
yeah should be added as far as I can tell
16:15
Hello, There aren&#39;t some strings for translation on Transifex: Server body marking decoration hands feet eyes (screenshots on Imgur) If you add them to the .json file manually, translated s...
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 16:16:04Z
Assa: nah, if you experienced it, it's fine
Avatar
[quakenet] Learath2 BOT 2019-05-01 16:50:05Z
Assa: what are you making btw?
Avatar
[quakenet] Assa BOT 2019-05-01 17:03:16Z
do you mean my feature for teeworlds or my last server mod?
17:09
teeworlds feature: You can go out of chat with mouse1/mouse2, things you wrote won't be deleted
17:10
I am just waiting for a response for @Oy, since you could do some visual stuff, too
17:12
@Dune: would a flag for home hosted vs real hosted servers be usefull?
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 17:12:53Z
I think most of the servers are hosted anyway
Avatar
[quakenet] Dune BOT 2019-05-01 17:13:02Z
yeah, almost all of them I think
17:13
I don't think that would be too useful (and you would need admins to set that)
Avatar
[quakenet] Oy BOT 2019-05-01 17:17:08Z
Assa: what's the question?
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 17:20:09Z
how to do the "don't drop the chat line" feature
17:20
should it be bare-bones, or should it leave the chat message grayed out like on bnet: https://puu.sh/DmrOF/6d2e419be3.jpg
Avatar
[quakenet] Dune BOT 2019-05-01 17:21:12Z
Chat is memorized, until you send it. If you switch to another chat-mode, the buffer will be cleared
Avatar
[quakenet] Assa BOT 2019-05-01 17:34:31Z
@Dune @Oy I think a visual touch would be very nice for the chat feature
Avatar
[quakenet] Learath2 BOT 2019-05-01 18:07:58Z
Assa: ooh, cool idea :)
Avatar
[quakenet] Oy BOT 2019-05-01 18:10:02Z
Assa: what kinda visual touch?
Avatar
[quakenet] Dune BOT 2019-05-01 18:10:14Z
what heinrich mentioned
Avatar
[quakenet] Oy BOT 2019-05-01 18:11:02Z
always show that?
Avatar
[quakenet] Dune BOT 2019-05-01 18:17:50Z
yeah, when there is a message that was "soft cancelled"
18:18
can put a 30s timer or something on it
18:18
basically lower alpha
18:18
gj, Assa, that was fast :)
Avatar
[quakenet] Assa BOT 2019-05-01 18:19:54Z
I think we really should do a "soft chat render" when a message is "soft cancelled"
18:20
with lower alpha, no history and stuff
18:20
A Timer sounds good, too ^^
Avatar
[quakenet] Oy BOT 2019-05-01 18:21:11Z
probably not the whole text
Avatar
[quakenet] Dune BOT 2019-05-01 18:21:40Z
you want to truncate the text that was being typed?
Avatar
[quakenet] Assa BOT 2019-05-01 18:23:06Z
I think Oy just want the truncated stuff to be displayed, like "This is a very very long sentence" to "This is a ..."
Avatar
[quakenet] Dune BOT 2019-05-01 18:23:07Z
by the way there is a crash when you cancel a map download and rejoin the server, but very strangely the steps to reproduce it only work when I'm not using my debugger, so I can't trace anything :(
Avatar
[quakenet] Oy BOT 2019-05-01 18:23:08Z
well you can write more than one line, lots of blocking
18:23
it's just a remonder that there'S´s still a message to finish
Avatar
[quakenet] Assa BOT 2019-05-01 18:23:49Z
^.^
18:23
I will play with it
Avatar
[quakenet] Dune BOT 2019-05-01 18:24:12Z
Avatar
[quakenet] Oy BOT 2019-05-01 18:24:24Z
yeah
18:24
blocks a lot
18:24
or maybe just show the chat image?
Avatar
[quakenet] Assa BOT 2019-05-01 18:24:57Z
this is true ^^
Avatar
[quakenet] Dune BOT 2019-05-01 18:25:08Z
Can add ... and truncate. I think it's fine either way (it should be a temporary interruption, you don't play a match liek that)
Avatar
with the last pr is it still possible to cancel chat with escape?
Avatar
[quakenet] Dune BOT 2019-05-01 18:25:21Z
should be
18:25
right Assa?
Avatar
[quakenet] Oy BOT 2019-05-01 18:25:23Z
yeah
18:25
just doesn't cancel on mouse1/2
18:25
and map change
Avatar
[quakenet] Dune BOT 2019-05-01 18:25:53Z
(mouse1/2 didn't do anything before)
Avatar
[quakenet] Assa BOT 2019-05-01 18:25:56Z
i am not sure about mapchange
18:25
did you test that?
Avatar
[quakenet] Oy BOT 2019-05-01 18:26:07Z
code looks that way
Avatar
[quakenet] Dune BOT 2019-05-01 18:26:09Z
lemme pull again
Avatar
[quakenet] Assa BOT 2019-05-01 18:26:19Z
if OnStateChange is called, it will be lost on map change
Avatar
[quakenet] Oy BOT 2019-05-01 18:26:50Z
just changes to state_loading
18:27
and then ingame again
18:27
Dune: so it happens just in release?
Avatar
[quakenet] Assa BOT 2019-05-01 18:27:50Z
if state_loading <= STATE::CONNECTING, then it will be cleared
Avatar
[quakenet] Oy BOT 2019-05-01 18:28:07Z
yeah
Avatar
[quakenet] Dune BOT 2019-05-01 18:28:38Z
mapchange keeps chat for m
18:28
mapchange keeps chat for me
Avatar
[quakenet] Assa BOT 2019-05-01 18:28:48Z
nice
Avatar
[quakenet] Oy BOT 2019-05-01 18:32:37Z
Dune: was that a map using the new sha256 hash?
Avatar
[quakenet] Assa BOT 2019-05-01 18:32:59Z
wtf is that render function in chat
Avatar
[quakenet] Dune BOT 2019-05-01 18:34:53Z
not sure
18:35
I think not, the server said 0.7.2
18:35
TeeSlayer, your 0.7.2 ddrace servers didn't cherry pick anything after 0.7.3 right
Avatar
[quakenet] Assa BOT 2019-05-01 18:35:52Z
i have a bug, i find servers under Local servers, that aren't in my lan
Avatar
[quakenet] Dune BOT 2019-05-01 18:37:49Z
your neighbors host teeworlds :D
18:38
you can see their IP and check that it isn't yours?
Avatar
[quakenet] Assa BOT 2019-05-01 18:38:21Z
when I find 10+ servers, yes
Avatar
[quakenet] Dune BOT 2019-05-01 18:38:40Z
that sounds hard to reproduce
Avatar
[quakenet] Assa BOT 2019-05-01 18:38:56Z
i spawned my own local server, and everything seems normal now
Avatar
[quakenet] Dune BOT 2019-05-01 18:39:10Z
clicking on those servers sent you to your local serverN
18:39
?
Avatar
[quakenet] Assa BOT 2019-05-01 18:39:43Z
I managed to reproduce it
18:39
br_max_request 1
18:39
Refresh gloab
18:40
switch to Local
18:40
spam refresh
18:40
it says -7300% loaded
18:42
reproduced on windows, too
18:42
with my steam client
18:42
it only seems to happen with br_max_request 1, not with 25
Avatar
[quakenet] Oy BOT 2019-05-01 19:32:31Z
Dune: can you reproduce it all the time?
Avatar
[quakenet] Dune BOT 2019-05-01 19:36:56Z
yes but not never with the debugger Oy
19:37
and never on linux
Avatar
[quakenet] Oy BOT 2019-05-01 19:37:56Z
Dune: so not on the debug version?
19:38
32bit and win?
Avatar
[quakenet] Dune BOT 2019-05-01 19:43:10Z
same binaries
19:43
64 bit debug windows, Oy
Avatar
About Assa bug. I saw that several times, but it's gone after refresh for me
Avatar
[quakenet] Dune BOT 2019-05-01 19:43:59Z
should open an issue even if we can't reproduce, so we remember
Avatar
[quakenet] Oy BOT 2019-05-01 19:44:04Z
Dune: add the debugger to it after the crash
19:44
open visual studion. attach to process -> pick teeworld.exe
Avatar
[quakenet] Dune BOT 2019-05-01 19:44:52Z
I don't know how to do that, I don't have visual studio :/
19:44
need to install it I guess
Avatar
[quakenet] Oy BOT 2019-05-01 19:44:59Z
ah ok
Avatar
[quakenet] Assa BOT 2019-05-01 19:53:13Z
should we add an own ChatMode for "saving written text"?
Avatar
[quakenet] Dune BOT 2019-05-01 19:53:44Z
that makes sense to me
19:53
but I'd be careful about that
19:54
there's gotta be a lot of places that check chatmode != CHAT_NONE
Avatar
[quakenet] Assa BOT 2019-05-01 19:54:10Z
it would make sense, on the other hand the saved text has a status, too
19:54
when iam rendering it now, iam checking for chatmode == CHAT_NONE
19:54
and m_BufferChatMode != CHAT_NONE
Avatar
[quakenet] Dune BOT 2019-05-01 19:57:25Z
why not
Avatar
[quakenet] Oy BOT 2019-05-01 20:06:11Z
hm, why is the nethash not the one in src/game/generated/nethash.cpp?
Avatar
[quakenet] Mark__ BOT 2019-05-01 20:08:17Z
hello
Avatar
[quakenet] Assa BOT 2019-05-01 20:15:00Z
how do I end a programm of unix, when Strg C is not working
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 20:15:27Z
try ctrl-z and then enter "kill %1"
Avatar
[quakenet] Assa BOT 2019-05-01 20:15:28Z
kill didn't work either
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 20:15:38Z
kill -KILL will probably work
Avatar
[quakenet] Assa BOT 2019-05-01 20:16:25Z
i can only do it in the background
20:16
but then i can't find the process
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 20:16:42Z
know the process name?
Avatar
[quakenet] Assa BOT 2019-05-01 20:16:48Z
teeworlds
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 20:16:52Z
is it in a debugger?
Avatar
[quakenet] Assa BOT 2019-05-01 20:16:56Z
no
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 20:17:02Z
killall -KILL teeworlds
Avatar
[quakenet] Assa BOT 2019-05-01 20:17:17Z
thank you ^.^^
20:17
how do I str_copy a bigger string in a smaller one (truncate the rest?
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 20:18:06Z
just use str_copy
20:18
it truncates
Avatar
[quakenet] Assa BOT 2019-05-01 20:23:48Z
I wonder why my code crashes then
Avatar
[quakenet] Dune BOT 2019-05-01 20:27:22Z
you gave the wrong size to str_copy?
20:27
if you ever wonder why the code crashes, look at the trace?
Avatar
[quakenet] Assa BOT 2019-05-01 20:27:54Z
char text[29]; str_copy(text, input, sizeof(text));
20:28
the thing is, it is not crashing, it is running into an endless loop
Avatar
[quakenet] Dune BOT 2019-05-01 20:28:29Z
that's weird
20:28
doesn't sound like an issue with str_copy
Avatar
[quakenet] Assa BOT 2019-05-01 20:30:18Z
it crashes exactly, when input is bigger then text
Avatar
[quakenet] Dune BOT 2019-05-01 20:30:44Z
so it crashes, not loop?
Avatar
[quakenet] Assa BOT 2019-05-01 20:30:51Z
it loops
Avatar
[quakenet] Dune BOT 2019-05-01 20:31:17Z
so you don't see a crash (on linux?)
20:31
it just stalls
Avatar
[quakenet] Assa BOT 2019-05-01 20:32:25Z
yes
20:32
client freezes
Avatar
[quakenet] Dune BOT 2019-05-01 20:33:32Z
well gotta figure what loop loops indefinitely cause that's probably not in str_copy
20:33
or is it?
Avatar
[quakenet] Assa BOT 2019-05-01 20:34:28Z
I am just failing to truncate a string ... feels bad
Avatar
[quakenet] matricks BOT 2019-05-01 20:40:28Z
break/dump the client when it freezes?
Avatar
[quakenet] Assa BOT 2019-05-01 20:41:27Z
I found it: it failed later in TextEx
20:41
and was running and endless loop there oO
Avatar
[quakenet] Dune BOT 2019-05-01 20:44:51Z
break and open a debugger to look at what's going on
Avatar
[quakenet] matricks BOT 2019-05-01 20:45:11Z
yeah, just attach gdb or start via gdb
Avatar
[quakenet] Assa BOT 2019-05-01 20:47:09Z
the string I entered was shorter then the length I was giving in the function
20:48
so try TextEx(&Cursor, "test", 42)
Avatar
[quakenet] Dune BOT 2019-05-01 20:50:09Z
well it was reading some random memory stuff, that can't go too well :)
21:09
take a look at the chat ;)
Avatar
[quakenet] heinrich5991 BOT 2019-05-01 21:13:22Z
+1 :)
Avatar
[quakenet] Dune BOT 2019-05-01 21:19:45Z
I think it's too dark
21:20
what does it give for other chat modes?
21:20
changing the alpha only might be better
21:22
I would replace the CHAT/TEAMCHAT/WHISPER thing with the keybind, following the pattern of the callvote
21:22
the original screenshot from the idea suggestion says "Press Enter to resume chatting"
Avatar
[quakenet] Assa BOT 2019-05-01 21:32:49Z
it is not finished yet
21:33
i wanted to replace the CHAT/TEAMCHT/WHISPER with the corresponding button, but i don't know how to get button names yet
Avatar
[quakenet] Dune BOT 2019-05-01 21:33:46Z
check out how it's done with votes
Avatar
[quakenet] Assa BOT 2019-05-01 21:57:04Z
21:57
3 images ^.^
Avatar
[quakenet] Assa BOT 2019-05-01 22:07:10Z
going to sleep, gn8
Avatar
[quakenet] matricks BOT 2019-05-01 22:07:16Z
nite
Exported 321 message(s)