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 2017-05-07 00:00:00Z and 2017-05-08 00:00:00Z
Avatar
@Learath2 I was just thinking about the challenge-response scheme for game authentication (you probably working on) and I am wondering whether the ssl connection for sending credentials in a plain text mode will not be sufficient :)? As my best knowledge the last approach is commonly used for a web-app auth and it seems to be safe :). I am not familiar with a gaming staff thats why I am asking 😃 (edited)
Avatar
I think SSL would be enough as it secures connection for u
Avatar
Ye I would tell the same but as I heard about some different approaches I started to think whether they are better or not
19:34
Maybe its just a case of having unsecured connection (where secured might cost a little) and protecting the data on the auth scheme level (edited)
Avatar
as you are building an app you can self generate SSL certificate and then verifiy it on client-side, so you don't have to pay some CA to sign your certificate as valid
Avatar
Ok, that's a good point. For web purposes it is not recommended to use them, that's why I was not thinking about them here, sorry, professional distress 😃
Avatar
i didn't want to use something prebuilt
20:10
should be as safe as TLS itself that way
20:10
and the password itself is susceptible to stupid user syndrome
Avatar
gotcha your point of view
Avatar
ofc it'd make heinrich5991 a whole lot happier if i just did that 😄
Avatar
Assume he will check ur solution carefully 😄
20:17
But as you will be using some ready libs for realizing the most crucial parts like hashing, checksum calculation etc. and focusing only on combinging them to the single auth scheme the risk of having some security backdoors is not that big 😃
20:17
And as I understood you correctly yesterday you are going to go that way
Avatar
i'm kinda stealing ssh's protocol
20:28
c(++), python or some different language?
Avatar
probably C
20:37
He likes to invent wheel anew (edited)
Avatar
You will give him back honour when his new "ssh" become a standard 😉 (edited)
Avatar
I wasn't offended him :/ (edited)
20:44
He said that, when we talked 😄
Avatar
Is the account system architecture open or close already? If this is still in the research mdoe, would it possible for example to share with the dev team some architecture of how I see this can be handled?
20:47
I was reading the ddnet forum thread about this and could't find some relevant info. (edited)
Avatar
Generally, people and devs are not really enthusiastic about it. But if I understand, he want to do it by using Unique ID for each player, without depending on nickname or so.
Avatar
I could read steam similar approach so you might be right (edited)
Avatar
points would be connected to ID rather to Nickname. NO idea, how he want to convert points ;p
Avatar
Ok, so I think I would not break any law after preparing and sharing some spec of how it can be done
20:52
from my perspective 😉 (edited)
Avatar
Yup, you can spread your idea as well
20:52
will do this this week
Avatar
its open topic
20:53
But, you have to remember about unhappy people, they will be against everything what is related to account system. 😛
Avatar
ye ye I know Konsti's rank is going to be endangered when ppl could not gain points for him 😄
20:54
It was mentioned multiple times so I have it in my mind
20:54
😉
Avatar
hahaha 👍
20:55
The only argument, which i know from him is "People dont want this, stop thinking. Stop coding man, no one wants account system" etc.
20:56
while, a lot of people actually wants or are interested in D:
Avatar
ye, true observation
Avatar
I think most people that don't want it just don't know how you will do it. They fear that it's all messy etc (edited)
Avatar
I know, they don't want to lose their points.
Avatar
exactly, they need a real assurance that their future account wont be stolen before they register and their points wont be lost
Avatar
I know that, but they never thought about how to solve this.
20:58
It's always spreading the same words "Nobody wants"
20:58
"For what, its fun without accounts" bla bla bla
20:59
sometimes, I think that people stayed at 2001 or smth,.
21:00
Prefers flowing with the times, rather than staying in same position.
Avatar
of course it's fun without accounts, how else did people play for the past years. but that doesn't mean that account system wouldn't be a benefit (edited)
Avatar
I know, without accounts you are free, blah blah
21:00
you can do anything, and nobody will question you.
Avatar
Everything which is currenlty possible in game can be handled with accounts, even "points endowment". Its just the matter of including them into the plan
Avatar
But in other hand, now on TeeWorlds are thousand botters. (edited)
Avatar
I'm going to handle all possible scenarios in the plan... we will see how it will be received..
Avatar
I will tell you
21:03
"nobody wants, NO NONO" 😄
21:03
without arguments
Avatar
it's really only a few that don't want it
Avatar
I know Jao. But they are louder than anybody else
Avatar
You want to present it in forum?
Avatar
Should be. In my opinion
Avatar
maybe make a poll then?
Avatar
Or in any other place if you think will be better
Avatar
I gues then it doesn't matter if Konsti writes 100 hate messages
Avatar
No, forum would be great
21:07
players should know, what are we planning
Avatar
Ok, it can be as a poll, but you know guys, my post should be read as a proposal not as a final though in this matter.
Avatar
well you shouldn't invest too much time into this if a lot people don't even want it
Avatar
Make poll, if ppl wants account system. Yes/No/I Don't Know
21:11
:p
Avatar
I don't care instead of i dont know 😄
21:12
I Don't Care fits better
21:12
xD
Avatar
So maybe make a poll if ppl like the idea i present, and if it will be positive we could open the new thread and start discussing it
21:12
idk how to handle it 😄
Avatar
nono, should be in same trhead
21:12
don't split it
Avatar
just discuss in your thread 😄
21:13
Have to sleep with this 1st i think
Avatar
You have a lot of time haha
21:13
😃
Avatar
i know i know but we have to have the time for dev 😃
Avatar
but remember to list benefits of accounting (edited)
Avatar
@kchaber do you have only idea or are you able to implement it too? because that matters (edited)
Avatar
I think, even learath will help
21:14
He even started his own project so
21:14
almost 2 devs
21:14
+ PHP developer (lol me) (edited)
21:14
i could make an RESTful api :V
Avatar
because so far I see only messages like "Yeee yeee, let's add it" or so but don't really see how you would handle for example current points stored by many people on even more names or how would someone play with non-ddnet client (edited)
Avatar
Learath had idea, @Learath2 ?
21:16
it would be server sided
21:16
not client
21:16
it doesn't matter i guess?
Avatar
@xPapla exactly that was my the same comment after reading that 13 pages in the forum. I would like then to prepare complete solution description proposal
Avatar
Did you played on TeeRace ?
Avatar
"complete solution description proposal" something wrong is with this but btw ;P
21:17
give me a chance 😉 this week I will do this
Avatar
The Login-in system is based on rcon
21:17
you send message through f2
21:18
and then you are logged in
21:18
with special, unique key
21:18
but first, you have to create an account on website
Avatar
it's pretty easy to log-in ;p
Avatar
will use custom client and create account on website, perfect idea
21:18
don't understand what you want to say
21:19
how you want to make an account then? Ofc, you can use serverside command
21:19
or even DDNet Client (if it would be implemented)
21:19
but what is wrong with website registration?
21:19
where you have instructions how to log-in? (copy bind and paste into client? XD )
Avatar
I think we are looking for a global scheme. Registering either on www or ingame should be equal and result in creation of the account giving access to all our "modules"
Avatar
that's right
Avatar
so game and www
Avatar
and it doesn't matter if you are using ddnet or standard client
21:21
not at all.
21:21
server will handle it
21:21
IN DDNet Client, it could work like a "ddnet timeout prediction"
Avatar
yep but 1stly you were writing on some rcon auth 😄
21:22
so that was a little confusing i think
Avatar
you entering the game, then client sends automatically
21:22
message/command
21:22
no no. I was talking about sending key through f2
21:22
by pressing bind.
21:22
:
21:22
to auth yourself 😛
Avatar
Definitely we will provide UI 😄
21:23
not console from 70s ;D
Avatar
should be compatible with vanilla client
21:23
look
21:24
;P
Avatar
yes, ok, this is a impl detail, which ofc will be taken into consideration
Avatar
a big detail
21:25
its about comfort
Avatar
this is like implementing adapters to the auth module, either if it will be done using UI, rcon or any other way
21:26
so its not the problem
Avatar
[23:17] Savander: The Login-in system is based on rcon [23:17] Savander: you send message through f2 [23:18] Savander: and then you are logged in
21:27
the problem is that you can finish a map while not being loged in then
Avatar
yes, now
Avatar
pro tip: don't force users to have accounts
Avatar
But then, maybe youuu couldn't ?
21:28
why not? 😃
Avatar
Then don't add accounts
Avatar
so you get killed if you go through start if you didn't press that auth key? like with team force?
Avatar
I don't have a concept. I can tell you how it worked on teerac.e
21:30
You can finish the map, but any points or record are not saved .
21:30
Because they are depends on your account
21:31
So if you don't care about points or record, you can play without account. If you want to store your ranks and be in top list, then you have to log in
Avatar
there are multiple ways to handle this scenario. This is the 1st one
Avatar
The other could be to have so called local accounts (like it was in "microsoft games for windows live") (edited)
Avatar
im not forcing anything
Avatar
random idea: @jao you could finish map and login to save the result at any time until you disconnect, so server knows that it was you for sure. In other words you save progress of your session.
Avatar
how does the server know I did finish something if I wasn't loged in
Avatar
it can store the results using the ingame nick
Avatar
1) finish map 2) don't disconnect 3) u can kill and do whatever u want 4) login 5) server knows it was you as you didn't disconnect? 6) do what u want
Avatar
It could cause somehitng like now
21:35
that, someone will finish for you a map, with dummy or so
21:35
buttt, im not telling its bad
21:35
it's liike Saves now
Avatar
eh thats really weird imo
Avatar
you can switch with someone
Avatar
it is weird (edited)
Avatar
you should just be forced to login
Avatar
I don't think. because new players don't have to know
Avatar
I think the best way would be to ouble check the teerace accounts
Avatar
that they have to have account !
Avatar
otherwise people will finish without being loged in by mistake
Avatar
Also, they don't care
21:36
if they have points or times in top
Avatar
the way i'm making it it's autologin currently
Avatar
so, you should be able to play a map, but not able to store ranks/tops/points without account
Avatar
Make servers who have login force and servers without
Avatar
can't forget to login
Avatar
Joe, message at the end of map?
Avatar
yes, this is the most human friendly approach
Avatar
"If you want to store your rank, log in
Avatar
you can oversee that too
Avatar
i say it's impossible to forget you give a solution..
Avatar
I know, broadcast ?
Avatar
You can't put a skippable login when you start the game?
Avatar
starting to think i'm inaudible
Avatar
Not really Learath 😄 Just explain
Avatar
ah you can have an option in settings: autologin
Avatar
no option
Avatar
yes, but we are talking about vanilla clients as well
Avatar
why would you not want to be logged in?
21:38
vanilla clients can't utilize accounts
Avatar
Learath, switching accounts?
21:39
they can? But not with auto-login
Avatar
the protocol is open, custom clients are welcome to implement it and allow usage of ddnet accounts in their clients
Avatar
but they can
Avatar
@Sav pls you are thinking too fast
Avatar
Sorry, its' late
21:39
and i have tomorrow hard exams
Avatar
good luck :3
Avatar
My brain just burning
Avatar
>english exam >hard XD
Avatar
2 of them
Avatar
any other concerns?
Avatar
ez pz :p @Savander
Avatar
For me none
Avatar
I can't write essays, its hard even in Polish
21:40
😄
21:40
concerns? Points
21:40
how you want to convert points?
21:41
You had idea ?
Avatar
have a couple of ideas but if i say them here they'd be quite pointless
Avatar
yes, dont say it now Learath
Avatar
Points problem -> pointless
21:41
(y)
Avatar
It would create chaos
21:41
😄
Avatar
it could solve anythiing!
Avatar
how does the account creation work?
Avatar
Just fuck the points!
Avatar
might not even migrate points over
21:42
the client generates you an account and communicates it with the server
21:42
you get a recovery key for it
Avatar
easy to fake
Avatar
is it possible to have multiple accounts
Avatar
Joe, why not? :p
Avatar
it is if you tinker with it by hand
21:43
not supported in the client, not that it can't be, I just didn't see a reason
Avatar
It would be the best, just to leave points, and start from beginning
21:45
but it will hurt people
21:45
And records as well. DDnet are too old i guess
21:45
for changes like that :/
Avatar
Sav you have exams
21:45
😄
Avatar
Tomorrow!
Avatar
My concern is that you will delete ddnet in 15 mins 😄
Avatar
Your thoughs are going into wrong direction 😛 (edited)
Avatar
YES.. HARD FORMAT
21:46
No, im just think its too late
21:47
to make changes like that, without big troubles
21:47
about points and records
21:47
ppl are migrating banking systems
Avatar
Now, we can't verify if
Avatar
and dont reset ur current balance man
21:47
😄
Avatar
idk. Milk is milk
21:47
with his 10k points
21:48
(just example)
Avatar
as long as you are comparing only nicknames...
Avatar
we don't have anything else, just nicknames
Avatar
account can be described with many different properties
21:48
you think that
21:48
i think otherwise
Avatar
I can understand you 😃 Just telling, that you can't verify everyone
21:49
People will steal nicknames and points bound to them
21:50
But, i will wait for your thread on forum
Avatar
What if i told you everytime you were lentring the GER server and playing the map, DDNet client was making a photo of the person using embeded camera and was sending the pic to the server?
21:50
😃
21:50
We could now compare the photos
Avatar
then i would say: " Surveillance"
Avatar
The things are not always as looks
Avatar
Ok, i'm out. Good night! 😃
Avatar
Surveillance? Pls tell me where there is not present
21:51
😃
21:51
yo
Avatar
remember to turn off camera 😄
21:54
see you tommorow guys :3
Exported 280 message(s)