Guild icon
Teeworlds
discord.gg/teeworlds / general
Teeworlds Discord Server.
Between 2019-08-25 00:00:00Z and 2019-08-26 00:00:00Z
Avatar
anyone know how to get teleports working after porting 0.6 maps to 0.7?
Avatar
They should work right away on a race mod
Avatar
hmmm they dont for me
Avatar
open the map in the editor, do you see a #tele layer?
Avatar
normal teleports or checkpoint teleports (from ddnet)?
Avatar
ah, didn't think of that
Avatar
ah right i see the 'tele' section, so i guess i just place a number over a 'from' or 'to' tile?
Avatar
You shouldn't have to do anything
15:12
@El BobLex what about redix's question?
Avatar
normal teles
arisoda joined the server. 2019-08-25 15:19:12Z
Avatar
Need to build a Ziggurat
Avatar
@El BobLex are you sure you are using a modification that supports teleports?
Avatar
im using mkRace
Avatar
no idea how it works, are they based on redix's race?
Avatar
im not sure tbh (edited)
15:43
so the ones circled in red should link and also the ones in green, but nothing happens when i go on the tile in game
Avatar
try with the race mod to see if it's a map problem or a mod problem 🙂
Avatar
does the latest version support /pause ?
15:46
to see if it's a map problem or a mod problem
Avatar
ok
15:48
nah must be a map problem, i havent done teleports in ages and forgotten the basics
Avatar
if you convert a map from 0.6 it should work fine
Avatar
thats what i was hoping, ill try another map
15:54
ok i just tried run_guy25, teleports work with mkRace but not with Race mod
Avatar
in the 0.7 race mod i reworked the whole custom layer system. the map update tool makes use of that not sure what mkrace is or who created it, but it seems to use the old layers from 0.6
Avatar
@El BobLex if you use @redix's map converter tool, you will get a map that works with @redix's race and its forks. it seems like this mkrace is a completely different mod
Avatar
great that we have several incompatible implementations already after a few months 😩
Avatar
well i just tested again and after using the map updater mkRace is the only one working for me
16:06
anyway, at least i got teleports working again feelsgoodman
Avatar
where did old school bkmz go
16:10
I miss that, but it got replaced by copy love shit
Avatar
no idea
Avatar
anyone knows who created mkrace? or is there any github repo or something?
Avatar
@redix snsnoop
Avatar
thanks! found the repo
16:35
in order to reintroduce all the ddrace bugs which are needed to play a lot of their maps, he merged the old layer code....
NineLivesC joined the server. 2019-08-25 16:39:29Z
Avatar
in this case, it is rather luck that the maps work after using the map-update tool
NineLivesC joined the server. 2019-08-25 16:40:33Z
Avatar
hey
16:40
someone
16:40
is there an official teeworlds server for kog?
Avatar
well its the only way working for me at the minute. Im happy with that luck
Avatar
they use their own map-update fork
Avatar
ChillerDragon 2019-08-25 18:30:01Z
@NineLivesC what do you mean by official? offical teeworlds or official kog? xd there is a official kog kog server in 0.6 hosted under qshar.com:8303
Avatar
hello how would it be possible to put a random vote map on my server ddrace
Avatar
ChillerDragon 2019-08-25 18:36:16Z
not without code as far as i know
Avatar
you could do a workaround with the exec command
18:46
but you need a second program that changes the file that is executed
Avatar
I don't see how it would be possible
Avatar
you need to not steal from others for once
👹 1
Avatar
does anyone have a 0.6 game.png with the grayscale flag? (edited)
20:39
I thought SushiTee's pack would include it in the game.png but no
Avatar
ChillerDragon 2019-08-25 20:50:49Z
@Dune for sure that is possible. Create a program that gets all maps from the current directory and then chooses one randomly. This map gets written into randommap.cfg and the processes is repeated every few seconds. The vote it self executes exec randommap.cfg and thus a random map. But still since this tool is not really out it invloves coding.
Avatar
huh, so you need to have a background task running
Avatar
ChillerDragon 2019-08-25 20:51:22Z
yes
Avatar
might as well implement that directly in the mod lol
Avatar
ChillerDragon 2019-08-25 20:51:52Z
ya
Avatar
fifo😍
Avatar
ChillerDragon 2019-08-25 20:52:21Z
ya was about to write that
Avatar
I implemented fifo in my 0.7 server and use it for broadcast out of my restart update script
Avatar
ChillerDragon 2019-08-25 20:52:49Z
another similar useless approach is to listen in fifo for the vote to be called and then rewrite randommap.cfg instead of doding it in intervals
Avatar
so it tells the players a restart will come in x seconds
Avatar
ChillerDragon 2019-08-25 20:53:23Z
wait is fifo even a vanilla thing or only econ?
Avatar
Nah only econ
20:53
Fifo is not vanilla
Avatar
does ddnet have custom flag colors à la teecomp ?
Avatar
ChillerDragon 2019-08-25 20:53:54Z
like ctf flag flags?
Avatar
ChillerDragon 2019-08-25 20:54:04Z
no
Avatar
what do you mean dune?
Avatar
ChillerDragon 2019-08-25 20:54:13Z
no flags in ddnet
Avatar
yeah but ddnet implemented most of sushi's pack / teecomp
Avatar
ChillerDragon 2019-08-25 20:54:30Z
tru
Avatar
ah get it
Avatar
somehow I don't find that feature in the 0.6 sushi's pack
Avatar
ChillerDragon 2019-08-25 20:54:41Z
could be a feature
Avatar
i know 0.5 had it
20:55
gdi I remember seeing such game.pngs but I forgot where
Avatar
ChillerDragon 2019-08-25 20:56:14Z
like white flags?
Avatar
more like gray? they had some gray for the shapes
20:57
you'd color it red/blue and it'd make the default flags
21:01
you've never seen game.png with three flags?
Avatar
i'm pretty sure that client pack has flag colouring 😮
Avatar
strange , I'll double check
Avatar
ChillerDragon 2019-08-25 21:11:08Z
what os are you on @jason54 ?
Avatar
A retro multiplayer shooter. Contribute to axblk/teeworlds development by creating an account on GitHub.
Avatar
// Teecomp grayscale flags Graphics()->UnloadTexture(g_pData->m_aImages[IMAGE_GAME_GRAY].m_Id); // Already loaded with full color, unload g_pData->m_aImages[IMAGE_GAME_GRAY].m_Id = -1;
21:12
huh we reached the same line at once :D
21:12
never saw this code before ^^
Avatar
so apparently there is only one game.png, but somehow it gets unloaded
21:13
weird
Avatar
it loads game.png twice
21:13
then unloads one and loads it again 😄
21:13
kinda ugly
Avatar
why though
Avatar
it needs to load the raw data from the file to create the the greyscale version
Avatar
damn, the big ass loop underneath does some weird math
Avatar
it's only added to content.py to create the g_pData->m_aImages[IMAGE_GAME_GRAY] field (edited)
Avatar
but like, it's editing the image data in CGameClient::OnInit()
Avatar
yes. but it loads them from file again since it canot access the gpu memory from there
21:18
git blame
Avatar
ah, it's probably from spl0k so I won't find the commit
Avatar
seems so
21:19
just creating a greyscale version of game.png would have been easier i think =\
Avatar
yeah, why would you hardcode it
21:20
pretty sure I saw game.png with a third, grayscale flag
Avatar
that would probably be the best solution
Avatar
@ChillerDragon I am on mkrace mode and the servers are on linux
Avatar
maybe it was some @Zatline 's design that I saw
Avatar
for the flags masking would be cool... so you only color the part that is red/blue now 😄
Avatar
it used to work like that somehow
Avatar
but i think it also colored the flagpole
Avatar
welp indeed it does
21:30
21:30
time to learn gimp
Avatar
ChillerDragon 2019-08-25 21:32:40Z
Am I the only one who thinks that new color menu doesnt look really teeish?
21:32
Or at least doesnt fit the menu style.
Avatar
what new color menu?
Avatar
ChillerDragon 2019-08-25 21:33:23Z
the one you showed in the screenshot
21:33
the sharp edges
21:33
compared to the round sliders
Avatar
that's only in the skin customization UI afaik
Avatar
ChillerDragon 2019-08-25 21:33:50Z
yes
Avatar
not the most important stuff
21:34
do it better if you find a way ^^
Avatar
ChillerDragon 2019-08-25 21:34:33Z
im not sure what could help
21:34
putting a round box around would probably not help at all
Avatar
then it's fine like that ¯\_(ツ)_/¯
Avatar
ChillerDragon 2019-08-25 21:35:09Z
hmm .-.
Avatar
good HSL color pickers are round
21:35
so if you don't got anything better to do :D
21:36
Avatar
@fokkonaut is your confusable characters stuff public somewhere? (edited)
Avatar
ChillerDragon 2019-08-25 21:42:28Z
@Dune but still the middle square is to sharp for tee round and soft tw menu imho
21:43
@jxsl13 maybe those
21:43
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
👌 1
Avatar
@ChillerDragon how to make the random vote map ??
Avatar
he answered you earlier
21:45
short answer: you can't
Avatar
ChillerDragon 2019-08-25 21:46:30Z
i wrote him in private i actually created the script xd
Exported 150 message(s)