Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2021-07-21 00:00:00Z and 2021-07-22 00:00:00Z
Avatar
lurking github makes me crazy
00:11
Teeworlds ported to the Nintendo Switch. Contribute to Byebyesky/teeworlds-switch development by creating an account on GitHub.
Avatar
Avatar
Patiga
didn't really get much further. got stuck on the
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1: ordinal not in range(128)
not sure how to approach this, haven't used a python debugger yet to figure out which file its trying to laod (while loading the cache with pickle)
this is where I was stuck too
Avatar
any progress on that?
Avatar
Developers fix this, We have problem in servers it is laggy I'm not getting png as before not my net problem since new update I'm getting 200 ping turkey but getting 140 ping in France lol but turkey is more nearer to where I live but this thing is weird strange that I'm getting less ping in fra instead of turkey, since new updated my ping boosted to 200 in turkey I'm Asian player but getting ping in turkey server...... Pls fix this
09:12
Also I'm not the only one who is getting high ping
Avatar
Avatar
DroxZy Ofc
Developers fix this, We have problem in servers it is laggy I'm not getting png as before not my net problem since new update I'm getting 200 ping turkey but getting 140 ping in France lol but turkey is more nearer to where I live but this thing is weird strange that I'm getting less ping in fra instead of turkey, since new updated my ping boosted to 200 in turkey I'm Asian player but getting ping in turkey server...... Pls fix this
it's unlikely to be caused by an update, maybe your routing changed?
10:45
f67a005 Remove unused m_LastInput - Jupeyy 2aafda3 Merge #3949 - bors[bot]
Avatar
Does Teeworlds only support .png image files?
Avatar
yes
Avatar
That applies to mapres aswell right
Avatar
if you mean to load it in editor yes
Avatar
yes, okay thanks
Avatar
it also doesnt support indexed rgb PNGs rn, bcs pnglite limitation
Avatar
Avatar
Learath2
it's unlikely to be caused by an update, maybe your routing changed?
Nope
Avatar
Avatar
Learath2
it's unlikely to be caused by an update, maybe your routing changed?
Nope
Avatar
How did you check even? 😄 Anyway, take a look at traceroute (preferably mtr) and see what hop is adding latency
Avatar
Avatar
Learath2
How did you check even? 😄 Anyway, take a look at traceroute (preferably mtr) and see what hop is adding latency
I didn't get what u mean
Avatar
chillerdragon BOT 2021-07-21 14:18:44Z
@Patiga: what mouse brand yo use?
Avatar
chillerdragon: I have a logitech mouse but my research beforehand wasn't super extensive
14:22
why the question? :)
Avatar
chillerdragon BOT 2021-07-21 14:23:25Z
I was inactive for a week and i want to blame arch linux for my bad aim in tw not my actual skill :D
14:23
seems like my openrazer driver is messed up
14:23
but i was missing linux-headers so lemme reboot and see what happens
Avatar
I don't think there can be problems with mouse drivers on linux 😮
Avatar
"Happy DDNet birthday to heinrich5991 for finishing their first map 1 year ago!"
15:44
thanks Zwelf for making local score files work the same as on DDNet servers 🙂
15:44
(that was on my local test server)
Avatar
Avatar
Learath2
How did you check even? 😄 Anyway, take a look at traceroute (preferably mtr) and see what hop is adding latency
What do u mean bro explain me
Avatar
chillerdragon BOT 2021-07-21 16:16:26Z
wew imagine having 1 yr old ranks on local test server
Avatar
@Patiga can I get a tool that gives me the x,y coordinates of every start and finish tile on a map? 🥺
Avatar
heh, sure :)
16:45
is source code enough?
Avatar
sure
Avatar
currently not sure if this is enough reason for a binary in twmap yet, maybe if I manage to generalize that nicely ^^
Avatar
find all positions of the given tile
16:47
🙂
Avatar
would be nice if that could integrate the other physics layers somehow
16:53
and at that point the input would get weird
Avatar
Avatar
heinrich5991
@Patiga can I get a tool that gives me the x,y coordinates of every start and finish tile on a map? 🥺
do you have a format in mind?
Avatar
idk, json?
17:02
can finish tiles be in the front layer?
Avatar
Hi there. How would you typically ask the maintainer of a AUR package to make a change to the PKGBUILD? Do I just leave a comment or is there some intended way I can submit a patch?
17:05
I figured somebody here might know
Avatar
leave a comment
17:05
you can also add a patch to the comment
Avatar
k, thanks
Avatar
Yes, finish and start tiles can be in the front layer
Avatar
Avatar
heinrich5991
idk, json?
I'm back, (y, x) or (x, y) ^^
Avatar
{"x":1,"y":2}?
17:53
@heinrich5991 that should do the job :)
17:54
ah ignore the .about ^^
Avatar
thanks 🙂
17:57
let me quickly ewww about the usize
Avatar
does that do front layer and game layer?
Avatar
i think there are no start/finish tiles in the front layer
Avatar
timakro above thought otherwise, I can quickly look into the code
Avatar
DDNet maps consist of tiles. Which physics layer exists are shown in the table below. To get descriptions of specific tiles in the layer, click the explain link on the right and hover the tile.
Avatar
they can theoretically be in the front layer
Avatar
the wiki poggers
Avatar
eh, gimme a sec
Avatar
if(((m_TileIndex == TILE_START) || (m_TileFIndex == TILE_START) || FTile1 == TILE_START || FTile2 == TILE_START || FTile3 == TILE_START || FTile4 == TILE_START || Tile1 == TILE_START || Tile2 == TILE_START || Tile3 == TILE_START || Tile4 == TILE_START) && (PlayerDDRaceState == DDRACE_NONE || PlayerDDRaceState == DDRACE_FINISHED || (PlayerDDRaceState == DDRACE_STARTED && !GetPlayerTeam(ClientID) && g_Config.m_SvTeam != 3)))
17:59
take a look at this abomination
18:00
i think stoppers were worse
Avatar
@Ryozuki fix
Avatar
@heinrich5991 brand new! with front layer and 0% usize
Avatar
❤️
18:06
I copy this into the src/bin directory of twmap and it runs?
Avatar
should work
Avatar
Patiga has 5 repositories available. Follow their code on GitHub.
18:07
where though?
Avatar
A Rust library for parsing, editing and saving Teeworlds and DDNet maps
Avatar
Avatar
heinrich5991
(but "latin-1" isn't the correct answer. it might "fix" the exception, but it'll probably break the data)
utf-8 doesn
18:25
t seem to work, can I somehow figure out which encoding is correct?
Avatar
then it might just be broken encoding
18:26
can you try "bytes"?
Avatar
ah that works
18:33
but fails later on a TypeError: keys must be str, int, float, bool or None, not bytes ^^
Avatar
Make the antibot oblivious of the hammered target

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://...
Avatar
which way can i take for get player pos
21:27
i mean not my pos but someone else
Avatar
Avatar
Nouaa
i mean not my pos but someone else
you have to spec them, not free view
21:29
otherwise it doesnt show position (edited)
Avatar
hum? i mean i want to make an effect from teeworlds code 😄
Avatar
server-side or client-side
Avatar
cchracter->m_pos
Avatar
oh whoops (edited)
Avatar
so i need to include character.h
Avatar
Avatar
lynn
oh whoops (edited)
np xd my bad, i should explain more
Avatar
you should get necessary player
21:32
from gameserver
21:32
and make sure is this player/his character even here (edited)
21:32
by clientid (edited)
Exported 101 message(s)