Guild icon
Teeworlds
discord.gg/teeworlds / general
Teeworlds Discord Server.
Between 2020-08-02 00:00:00Z and 2020-08-03 00:00:00Z
Avatar
Stitch left teeworlds
00:36
Also who is the host of the Servers?
Avatar
626 -> rafael
Miles-Mustache joined the server. 2020-08-02 08:59:02Z
Avatar
0.6 - urinstone
Avatar
does anyone know how to backport a map from 0.7 to 0.6?
Avatar
nothing to do, but you must replace default mapres to *_0.7
Miles-Mustache joined the server. 2020-08-02 11:05:51Z
Avatar
didn't work
11:09
the 0.6 mapper client crashes and 0.6 ddnet doesn't show anything in this map
Avatar
@Deleted User about your problem, it's either the client you are using or the internet connection is just to bad
11:21
but I guess the client will be the problem
Avatar
I am right and there is no way 0.7 client will accept an updated clan name from OTHER player without reconnecting a client (local or remote)? (edited)
Avatar
hm, have same @Assa
Avatar
@Deleted User name and clan are an immutable identity of players, so this would require a reconnect
👍 1
Avatar
@Deleted User in case you are programming a mod: you can "fix" this on the server side with silent reconnects, it's a bit hacky but works
👍 1
Avatar
Yeah, I'm currently trying silent reconnect. Thanks a lot!
Avatar
It worked! Just need to send CNetMsg_Sv_ClientDrop with silent = true followed by a CNetMsg_Sv_ClientInfo
11:58
It's a pity we have a SkinChange message type but not a ClanChange and/or a NameChange (edited)
12:00
Spent 3 hours trying to add this. Too much for a trivial feature imho.
Avatar
How do i publish a map with Linux-Ubuntu?
Avatar
Correction: Name and Clan were made to be the immutable identity of players for some reason that we are not privy to
Avatar
useing terminal
12:00
how?
12:01
or try it?
Avatar
@Learath2 I've tried to remove guard clause in client so it worked without reconnecting but then really messed a score table after some time. I think the reason it is there because nobody wanted to refactor a client code (edited)
12:02
and/or for compatibility with older clients
Avatar
The reason is that people didn't think twice before making a change that simplified the code
12:09
All of this player information used to be contained in the snap and updated along with the gamestate. Then the playerinfo got a little large, so they removed it from the snap (the size of the playerinfo in fact doesn't quite matter except for when we send full snaps which is rare). However while removing it, no one stopped to think: "Hmm wait a minute, there were like 2-3 dozen mods in 0.6 who probably are using the fact that these things are not immutable, maybe we should create an alternative"
Avatar
Yes, I think that's the way it was. Thanks for explanation (edited)
12:12
By the chance do you know was/is the server tune params in snapshot as well?. I've encountered strange situation where I can send tune params to selected (frozen) clients (without broadcasting). they accept it, parse it, apply it but nothing is changed. (edited)
12:12
But when I change server-side global tune params clients apply it immediately.
12:13
I haven't dig well enough to know if tune params are in snapshot or not.
12:14
But if they are that would explain me why client reverts to default tune params and not using tune params it is given explicitly
Avatar
They are not
Avatar
Thanks, then I will have another debug session to know why it doesn't apply tuneparams sent explicitly.
Avatar
Problem is usually that you also need to "fake" the tune on the server, as you send the inputs the server will be using the global tunes to move the physics along
Avatar
//tune for freezed tees void CGameContext::SendFakeTuningParams(int ClientID) { static CTuningParams FakeTuning; FakeTuning.m_GroundControlSpeed = 0; FakeTuning.m_GroundJumpImpulse = 0; FakeTuning.m_GroundControlAccel = 0; FakeTuning.m_AirControlSpeed = 0; FakeTuning.m_AirJumpImpulse = 0; FakeTuning.m_AirControlAccel = 0; FakeTuning.m_HookDragSpeed = 0; FakeTuning.m_HookDragAccel = 0; FakeTuning.m_HookFireSpeed = 0; CMsgPacker Msg(NETMSGTYPE_SV_TUNEPARAMS); int *pParams = (int *)&FakeTuning; for(unsigned i = 0; i < sizeof(FakeTuning)/sizeof(int); i++) Msg.AddInt(pParams[i]); Server()->SendMsg(&Msg, MSGFLAG_VITAL, ClientID); }
Avatar
@Assa Do you have catch16 for 0.7? (edited)
Avatar
Yeah, I am faking them
12:16
it works in 0.6 but doesn't in 0.7
12:17
I mean it doesn't work when I send this from 0.7 server
Avatar
Are you sure this works in 0.6?
12:17
I think the server actually using the normal tunes for that tee will steal break this
Avatar
Yeah, noby uses this code in his 0.6 fng server (patched for protocol compatibility for 0.7 clients)
12:18
And when I enter to his server with a 0.7 client all is fine
12:18
I think the server actually using the normal tunes for that tee will steal break this
Server disables input completely on server side.
12:19
I'm sending fake params to prevent glitches on a client (edited)
Avatar
You'll need to debug that further as that's just weird
Avatar
Yes, I think I will
12:21
Will write here if I will find something interesting
12:21
Also I've just found an nice instruction for 0.6: https://www.teeworlds.com/forum/viewtopic.php?id=11940
Tutorial: How to create a custom tune system per client (Page 1) — Modifications — Teeworlds Forum — Everything Teeworlds!
12:21
So maybe it contains something I miss/don't understand and will help me too
Avatar
@ShootXen there is Catch64 😄
Avatar
@Stiopa thanks
12:23
seems like none is hosting it
12:29
you are right
12:29
the server is down
Avatar
Oh... please don't just write 'the server is down' on public chats 😅
12:33
I could deploy a server for this mod but I don't think anybody will raise the community from zero.
12:33
And I am currently too occupied trying to revive infCroya community in 0.7
Avatar
I can do it myself 😉
Avatar
Find 5 players that will confirm that they will play on regular basis (at least 2 times a week) and I will make the server.
12:35
I just don't want to invest to something that will not live.
12:35
Also start a group chat or a discord server for that and invite me there when you will hit 5 wanna-be-players count. (edited)
12:37
Didn't knew that zCatch has died on 0.7. Played it half a year ago and there were servers and players (edited)
12:38
I see a bunch of zCatch servers there
Avatar
I dont mind, I just host mods that I like to play
Avatar
ah np
Avatar
and keep them up, and it was always FNG over the past 5years?
Avatar
by the chance do you have bf2 sources? (edited)
Avatar
battlefield?
Avatar
yes
Avatar
I'm not sure but wasn't there a post on the forums with the src?
12:41
but to answer your question, no I dont have it
Avatar
No, there is no post on the forums with src
12:46
FunElefant removed the link in 2012
12:46
I have a windows binary but no sources
Avatar
mhh I can try to ask someone
Avatar
Would be nice, thanks. @Stiopa also tried to find it but had no success (edited)
Avatar
Can take a while till I get a answer but catch64 is up and running on 0.7
Avatar
@Deleted User from my source it seems you will need to recode the whole mod since the src was never released (edited)
13:17
and no one has it
Avatar
Thanks! Yeah, I was inclined to assume the same thing
13:30
I don't think I will start redeveloping that mod in the near future, not alone at least
Avatar
Today I brainstormed a bit and had an Idea: XTEE - Teeworlds XCOM spinoff, turn based strategy game, I just wanted to leave it here, feel free to implement
Avatar
"brainstormed" less then 10sec is what I assume
Avatar
turn based + teeworlds = meh
14:14
If you want to dump all the physics, input management, collision system and controllers why don't start a separate gaming project?
14:15
Cause I don't think any turn based strategy would benefit on being made on top of teeworlds.
Avatar
teeworlds turn based rpg like pokemon
Avatar
with AR, right?
Dror Maor joined the server. 2020-08-02 17:24:34Z
17:25
can anyone plz tell me how to publish a map? thanks
Avatar
What do you mean "publish"? If you have a server, then load it. If you're not then you have to find a teeworlds server hoster who will add it. Or is this automatic process now on DDNet?
17:27
Are there unmanned servers which can load any map published by voting and load it?
Avatar
but i can't load it! it never works for me - it sais that the server port mite be in use
17:28
(i'm Dror Maor) (edited)
Avatar
why have you edited that?
17:29
RBS Gimmel
Avatar
[12:27 PM] Pure_luck: Are there unmanned servers which can load any map published by voting and load it? https://trashmap.timakro.de
17:29
if its a ddrace type map u can use this
Avatar
@noby teeworlds server as a cloud saas. Someone has to do that! thanks
Avatar
haha , RBS Gimmel is a 'hood where i live 🙂
Avatar
it's not a ddrace, but i do want to make a ddrace map
17:31
@Deleted User are you there?
Avatar
Where? )
Avatar
oh
17:32
it's not a ddrace map , but i do want to make a ddrace map (edited)
Avatar
Duplicate message detected
17:32
ah, you've edited again
Avatar
No, I am not here. I want to leave, have a good evening )
Avatar
what the problem?
17:34
hello?
Avatar
@noby teecloud is currently under development
17:35
But legends say Anderson might be done this year 😂
Avatar
what are bridge servers by the way? has someone implemented translation of tw 0.7 traffic to 0.6 servers?
Avatar
0.6 -> 0.7
Avatar
is it works in vanilla 0.6 client or need a patch?
17:39
I want my 0.7 mod to be accessible for 0.6 users, can I install this bridge? is it opensourced?
Avatar
ask @fokkonaut
Avatar
or is it magically translates just everything on every server?
Avatar
he wrote it
Avatar
you mean fokkonaut himself?
Avatar
no way I will bother him asking 😄
17:40
ah you've highlighted him already
Avatar
I have a 0.7 server with 0.6 support (only ddnet clients, as they have tokens)
17:41
But the usual bridges are 0.6 ddnet to 0.7
17:41
i am the only mod having 0.7 to 0.6
Avatar
nice to know that
Avatar
F-DDrace is a server mod for Teeworlds 0.7 developed by fokkonaut. - fokkonaut/F-DDrace
🙏 1
feelspepoman 1
Avatar
@Learath2 what are those bridge servers?
17:42
I have no permission to write to and IRC channel so I ask here
Avatar
bridge servers translates the clients, so 0.7 and 0.6 players can play together
Avatar
It's a translation layer
Avatar
Is it a separate process/service or has to be merged/built into a teeworlds server?
Avatar
merge
17:43
its a quite big diff
Avatar
ah.... I've hoped that convinient magicaly translating services do exist
17:43
yeah, I guess
17:44
thanks a lot
17:44
Someone should make them a separate process. Too bad I have almost zero expertise in C++ or in tw internals (edited)
17:45
Would be nice if it could just take incoming 0.6 traffic and translate it to outbound 0.7 traffic (edited)
17:46
that would be a killer solution to all modders without an expertise to merge large amounts of esoteric code
Avatar
It's not possible to translate outside the server
17:48
There is information that is lost that you need to craft the packets
Avatar
You mean that this hypotetical translator should maintain a state of many entities, right? (edited)
Avatar
The amount of state you'd need to maintain. You'd just end up writing another teeworlds server
17:51
E.g. a 0.6 server when starting a vote essentially discards the vote type, but a 0.7 client needs the vote type
17:52
The translator would only see the callvote and voteset packets, which are not enough to know what happened and what kind of vote started/how it ended
Avatar
Can someone PLS help me fix my problem with my server port??????
Avatar
What port are you using?
18:43
Is it windows, Mac or linux machine?
18:47
Thanks for explaining @Learath2 I just hoped someone has already implemented the solution. But I suppose amount of work required to develop and maintain such a monster is just not worth it.
Avatar
@Deleted User It's linux
Avatar
What port are you using?
19:16
$ grep sv_port autoexec.cfg
Avatar
what does that meen
Avatar
are you playing music here again ?
19:22
grep means to search for something in your files, in the terminal
Avatar
for what?
Avatar
why is it called autoexec_1_server.cfg? How do you start your server? (edited)
Avatar
i added the '1'
19:36
and to join my map, i need to go to f2 and do my rcon password, and to know what it is, i need to go to the terminal, cd to ddnet file, type ./DDNet-Server and it should show my rcon pw, but all what it sais is that server port 8310 mihte be alredy in use.
Avatar
NM, IT'S WOKING!!!
Avatar
use another port 🥴
Exported 178 message(s)