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
ChillerDragon
2020-01-27 11:48:17Z
Forum punBB Copyright says 2003-2009 is that Software maybe outdated?
11:50
https://www.cvedetails.com/vulnerability-list/vendor_id-2775/product_id-4868/year-2009/opcsrf-1/Punbb-Punbb.html
Dune
2020-01-27 12:37:19Z
It is
[quakenet] day
BOT
2020-01-27 13:15:09Z
ChillerDragon: pls del the bot D:
ChillerDragon
2020-01-27 13:24:20Z
z7?
13:24
u can write !disconnect in chat day
fokkonaut
2020-01-27 13:54:44Z
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?
heinrich5991
2020-01-27 13:56:08Z
not afaik
fokkonaut
2020-01-27 13:56:19Z
ok thanks
Dune
2020-01-27 13:57:28Z
Use inline functions instead?
fokkonaut
2020-01-27 13:57:41Z
nah
Dune
2020-01-27 13:58:11Z
macros in C++ should really be edge cases
fokkonaut
2020-01-27 13:58:16Z
But: I could redefine a macro?
Dune
2020-01-27 13:58:17Z
there aren't many reasons to use them
13:58
you can do that yes
fokkonaut
2020-01-27 13:58:55Z
mh
jxsl13
2020-01-27 14:51:45Z
variadic arguments are possible in macros, but to me it seems like a Pain in the butt :D
Dune
2020-01-27 14:55:29Z
sometimes the question is not whether you can do it but whether you should
[quakenet] day
BOT
2020-01-27 15:11:21Z
chillerdragon: super annoying when everyone instantly spams it anyways
ChillerDragon
2020-01-27 15:25:44Z
:/
15:25
you could also finally become mod and ban him hehe
Dune
2020-01-27 15:27:14Z
can you ip ban localhost?
ChillerDragon
2020-01-27 15:27:19Z
its not localhost
15:27
i was told thats illegal
Dune
2020-01-27 15:27:26Z
yes but rhetorical question
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
Dune
2020-01-27 15:28:41Z
yes but can server work with its own ip banned
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?
jxsl13
2020-01-27 20:17:56Z
what about a base64 + json container format for skins?
ChillerDragon
2020-01-27 20:23:35Z
hm?
20:23
whats that and how does it look like
@jxsl13
?
jxsl13
2020-01-27 20:24:41Z
image encoded as base64 string
20:25
text file with with some json key value pairs
ChillerDragon
2020-01-27 20:25:40Z
ah
jxsl13
2020-01-27 20:25:44Z
where the values are such a string
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.
jxsl13
2020-01-27 20:26:18Z
yeah
20:27
kinda only for portability, for visibility one might need to import it into tw
heinrich5991
2020-01-27 21:29:59Z
@jxsl13
wouild prefer a common archive format for this, like zip
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..
heinrich5991
2020-01-27 21:35:25Z
most people can double-click a zip and open pictures
21:35
not so much for some weird base64-encoded pngs in a json
ChillerDragon
2020-01-27 21:35:48Z
yea
21:36
if its a zip we could also use a simple folder xd
heinrich5991
2020-01-27 21:37:12Z
that cannot be shared so easily
21:37
minecraft texture packs also exist as zips (for that reason, I'd wager)
jxsl13
2020-01-27 22:03:07Z
text file vs zip
heinrich5991
2020-01-27 22:03:40Z
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
LordSk 🦋
2020-01-27 22:14:49Z
why would want to stop a destructor in the first place?
heinrich5991
2020-01-27 22:15:35Z
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
LordSk 🦋
2020-01-27 22:18:26Z
what I meant to say, the problem can probably solved before having to cancel a destructor
heinrich5991
2020-01-27 22:18:36Z
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
jxsl13
2020-01-27 22:27:28Z
make member a pointer
heinrich5991
2020-01-27 22:28:41Z
yea, what I thought
https://discordapp.com/channels/407308363031117832/490150878934990850/671475655149617173
22:28
it's okayish, but requires an unnecessary allocation, but it's fine in this case
Exported 70 message(s)