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 2020-01-27 00:00:00Z and 2020-01-28 00:00:00Z
Avatar
ChillerDragon 2020-01-27 11:48:17Z
Forum punBB Copyright says 2003-2009 is that Software maybe outdated?
Avatar
[quakenet] day BOT 2020-01-27 13:15:09Z
ChillerDragon: pls del the bot D:
Avatar
ChillerDragon 2020-01-27 13:24:20Z
z7?
13:24
u can write !disconnect in chat day
Avatar
Is it possible to define something like #define MACRO_CONFIG_INT(Name,ScriptName,def,min,max,flags,desc), but adding a parameter which is optional? so for example MACRO(p1, p2, p3, pOptional)? so i could pass 3 or 4 parameters there?
Avatar
not afaik
Avatar
ok thanks
Avatar
Use inline functions instead?
Avatar
macros in C++ should really be edge cases
Avatar
But: I could redefine a macro?
Avatar
there aren't many reasons to use them
13:58
you can do that yes
Avatar
variadic arguments are possible in macros, but to me it seems like a Pain in the butt :D
Avatar
sometimes the question is not whether you can do it but whether you should
Avatar
[quakenet] day BOT 2020-01-27 15:11:21Z
chillerdragon: super annoying when everyone instantly spams it anyways
Avatar
ChillerDragon 2020-01-27 15:25:44Z
:/
15:25
you could also finally become mod and ban him hehe
Avatar
can you ip ban localhost?
Avatar
ChillerDragon 2020-01-27 15:27:19Z
its not localhost
15:27
i was told thats illegal
Avatar
yes but rhetorical question
Avatar
ChillerDragon 2020-01-27 15:27:34Z
u cant
15:27
i think
15:27
well its my local ip so you ban me as well xD
Avatar
yes but can server work with its own ip banned
Avatar
ChillerDragon 2020-01-27 15:28:53Z
i dont think u can ban localhost at all
15:29
see wrong rcon attempts on local server
15:29
if you edit the code so that its possible it should still work
15:30
but local econ connections might fail
15:31
do you guys think i get set on some watchlist if i hit github bandwith limits this month in about 3 organisations and 4 repositorys already? 😄
Avatar
what about a base64 + json container format for skins?
Avatar
ChillerDragon 2020-01-27 20:23:35Z
hm?
20:23
whats that and how does it look like @jxsl13 ?
Avatar
image encoded as base64 string
20:25
text file with with some json key value pairs
Avatar
ChillerDragon 2020-01-27 20:25:40Z
ah
Avatar
where the values are such a string
Avatar
ChillerDragon 2020-01-27 20:26:06Z
that would be nice so everything can be in one file. But then the image preview is lost.
20:27
kinda only for portability, for visibility one might need to import it into tw
Avatar
@jxsl13 wouild prefer a common archive format for this, like zip
Avatar
ChillerDragon 2020-01-27 21:35:10Z
most people do not have a zip preview either i guess
21:35
well opening
21:35
but ye..
Avatar
most people can double-click a zip and open pictures
21:35
not so much for some weird base64-encoded pngs in a json
Avatar
ChillerDragon 2020-01-27 21:35:48Z
yea
21:36
if its a zip we could also use a simple folder xd
Avatar
that cannot be shared so easily
21:37
minecraft texture packs also exist as zips (for that reason, I'd wager)
Avatar
text file vs zip
Avatar
anyone c++ expert? 🙂
22:03
how do I stop a destructor of a member variable from being run?
22:03
in the least awful way
22:04
I guess the least awful way would be to put it behind a pointer and manually manage its memory
Avatar
LordSk 🦋 2020-01-27 22:14:49Z
why would want to stop a destructor in the first place?
Avatar
because you have a class that closes its file in the destructor
22:15
you want to invoke that early, to check the file's contents afterwards
22:16
but after you close the file, the class would probably still try to close the file again in its automatically called destructor
Avatar
LordSk 🦋 2020-01-27 22:18:26Z
what I meant to say, the problem can probably solved before having to cancel a destructor
Avatar
sure, I'm open to that
22:18
my best guess was the solution above
22:19
it's okayish, but requires an unnecessary allocation, but it's fine in this case
Avatar
make member a pointer
22:28
it's okayish, but requires an unnecessary allocation, but it's fine in this case
Exported 70 message(s)