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-06-03 00:00:00Z and 2020-06-04 00:00:00Z
Avatar
[quakenet] ZillyHuhn BOT 2020-06-03 12:23:40Z
These difficulty icons are kinda random or is it just me who has that feeling? Is anyone using them?
Avatar
it's up to server owners to use them
12:40
but yeah doesn't seem to work well
Avatar
[freenode] lus3r BOT 2020-06-03 13:00:13Z
so, how do I compile teewordls on openbsd
13:00
are there any instructions?
13:00
I mean I already compiled it with no errors but I get:
13:00
./teeworlds[1]: syntax error: `^G^R?^G^RP^G^Ra^G^Ro^G^R$D^G^R$^G^R�^G^R�^G^R�^G^R�^G^R�^G^R�^G^R�^G^R�^G^R^L^H^R$^H^R:^H^RO^H^Rd^H^R{^H^R$P^H^R�^H^R�^H^R�^H^R�^H^R�^H^R�^H^R�^H^R^M' unexpected
Avatar
[freenode] lus3r BOT 2020-06-03 13:11:57Z
this occurs both with make and gmake
Avatar
[freenode] lus3r BOT 2020-06-03 13:13:19Z
oh and ./teewordls_srv exits with ./teeworlds_srv[1]: syntax error: `(' unexpected
Avatar
type file teeworlds
Avatar
[freenode] lus3r BOT 2020-06-03 13:13:24Z
I think I'm missing something
13:13
teeworlds: ELF 64-bit LSB shared object, x86-64, version 1
Avatar
how do you execute it?
Avatar
[freenode] lus3r BOT 2020-06-03 13:13:48Z
teeworlds_srv: ELF 64-bit LSB shared object, x86-64, version 1
Avatar
what command do you use?
Avatar
[freenode] lus3r BOT 2020-06-03 13:13:52Z
./teewordls
Avatar
that's all you type, that's the complete command line?
Avatar
[freenode] lus3r BOT 2020-06-03 13:14:35Z
well yes I just run ./teeworlds
Avatar
can you try env ./teeworlds?
Avatar
[freenode] lus3r BOT 2020-06-03 13:16:38Z
it doesn't change anything
Avatar
exactly the same error?
Avatar
[freenode] lus3r BOT 2020-06-03 13:16:57Z
yep
13:17
the complete steps I made are: 1. download the 0.7.5 zip 2. extract it 3. mkdir ubild 4. cd build 5. cmake .. 6. gmake 7. ./teeworlds
13:17
should it works on other OSes right?
Avatar
yes
Avatar
there has to be something wrong with your computer for these errors
13:36
Why is it even reading an elf binary as some kind of script?
Avatar
[quakenet] rand BOT 2020-06-03 13:38:09Z
nobody expects the `(' error
Avatar
[freenode] lus3r BOT 2020-06-03 13:41:29Z
yeah that's what I thought, there shouldn't even be a syntax error
13:41
well I guess Im on my own
13:42
I'll let you know if I can get it to work
Avatar
[quakenet] rand BOT 2020-06-03 13:43:16Z
try some thing like sh -c ./teeworlds, or build another binary to compare
13:45
echo 'main() {}' | cc -x c - && ./a.out
13:54
(works on mac thought)
13:58
maybe, this is the right one https://paste.debian.net/1149943
Avatar
[freenode] Floppy BOT 2020-06-03 14:00:25Z
oh dai raga rispondetegli
14:00
è tutt'oggi che cerca di compilare teeworlds
14:00
dategli una mano
14:01
NO MA IO DICO
14:01
Nel corso della verifica scritta del 21/05/2020 svolta in sincro tramite videoconferenza, l'alunno passa il proprio elaborato ad un compagno per via telematica. Benchè tale atto possa essere stato mosso da motivazioni comprensibili sul piano umano nei riguardi di un amico, si ritiene altresì che questo comportamento sia gravemente sleale a
14:01
livello scolastico, soprattutto in considerazione del particolare momento e delle straordinarie modalità con cui si è potuta svolgere l'attività didattica in questo pentamestre, modalità che si sono fondate su un rafforzato patto di collaborazione, partecipazione e correttezza nei rapporti tra alunni e docenti.
14:01
QUESTO SI è PRESO UNA BOTTA IN TESTA
Avatar
Floppy: english please
Avatar
[freenode] Floppy BOT 2020-06-03 14:05:43Z
oh sorry
14:05
help lus3r
14:06
he is my friend
14:06
you understand me, yes?
Avatar
echo 'int main() {}' | cc -x c - && ./a.out
14:06
try this, lus3r
Avatar
[freenode] Floppy BOT 2020-06-03 14:06:31Z
come on
Avatar
[freenode] lus3r BOT 2020-06-03 14:06:59Z
of course it doesnt report any error
14:07
the compiler works
Avatar
[freenode] Floppy BOT 2020-06-03 14:08:00Z
niente questo qua non mi sembra informato
Avatar
I don't understand the problem, so I'm trying to find rule out wrong assumptions
14:14
so that ./a.out binary works without problems?
Avatar
[freenode] lus3r BOT 2020-06-03 14:14:42Z
yes
14:17
has anyone tried to compile tw on openbsd recently btw? 'cause it compiles on mac, compiles on linux and I suspect that the issue is not my laptop but rather openbsd per se
14:18
Maybe I've messed it up though, I'll try later on a fresh installation
Avatar
I don't know, this might be a general problem with teeworlds on openbsd, yes
14:18
but I really don't understand how the error can happen…
Avatar
is it possible that you installed some cross compiler?
14:23
also can you do ldd ./teeworlds?
Avatar
[freenode] lus3r BOT 2020-06-03 14:23:51Z
umh
14:24
at this point I may have done something wrong ..
Avatar
Yeah there is something seriously wrong with that binary
14:24
can you show me the output of cmake ..?
Avatar
[freenode] lus3r BOT 2020-06-03 14:24:53Z
sure wait
Avatar
you can also check dmesg, maybe the kernel outputs why it gave up on trying to load this elf file
Avatar
Target OS: 64bit sounds a little wrong 😄
14:29
I wonder if that has an effect
Avatar
shouldn't™
14:30
as long as it's not using any bundled binary libraries, which it is not
Avatar
can you show me the output of verbose make?
14:31
gmake VERBOSE=1 should do it
Avatar
[freenode] lus3r BOT 2020-06-03 14:31:58Z
doing it
Avatar
also see if the kernel is leaving any reason as to why it doesn't want to load this binary
Avatar
[freenode] lus3r BOT 2020-06-03 14:34:47Z
there's no clue in dmesg
Avatar
I wonder why env ./teeworlds still got the same error
14:35
it shouldn't try to interpret it as a shell script by default using this
14:36
so it should only execute it with /bin/sh if it has a shebang line
Avatar
I'd guess that depends on the kernels options though
14:36
I distinctly remember coming across that while configuring the kernel
14:37
well idk what's wrong, can I have the ELF binary to take a look at?
Avatar
[freenode] lus3r BOT 2020-06-03 14:37:16Z
sure
Avatar
[freenode] Floppy BOT 2020-06-03 14:37:23Z
suuu
Avatar
[freenode] lus3r BOT 2020-06-03 14:37:38Z
I dont know where to upload it though
Avatar
is it too large to send on discord?
Avatar
[freenode] lus3r BOT 2020-06-03 14:37:56Z
I donthave discord
Avatar
oh true, forgot this is linked to irc for a sec 😄
14:40
well I haven't used an upload site in a couple years, mediafire is bound to still be around
Avatar
[freenode] Floppy BOT 2020-06-03 14:40:32Z
gofile.io
14:40
come on
14:45
(I had to install firefox)
Avatar
Can you do readelf -h on a binary that works?
14:53
is 2.4M too small?
Avatar
yeah I don't see the issue with this elf file
Avatar
the issue probably lies in the system
Avatar
but why can he compile a simple binary and run it but not tw?
Avatar
we could try a simple binary also linking tw's libraries
Avatar
is it possible to program a python client against teeworlds netcode?
Exported 108 message(s)