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-06-24 00:00:00Z and 2017-06-25 00:00:00Z
15:42
ef6a3f6 Users don't need to type http to browse the webs - Ryozuki 5b16aaf Merge pull request #2 from Ryozuki/patch-1 - def-
Avatar
[ddnet-scripts] Branch master was force-pushed to 8994eb2
Avatar
as a mod you can still see ips of banned people in rcon, idk if this is wanted
Avatar
<Socialdarwinist> Of course it is wanted, for the purpose of seeing if a banned guy is coming back with a related IP.
Avatar
but you can't see ips of people
Avatar
from my understanding admins wanted to completely hide ips from mods
Avatar
if i understand correctly?
Avatar
ye that too
21:24
you cant see ips without banning people
Avatar
yup, so it should be hidden as well, in my opinion (edited)
Avatar
<Socialdarwinist> But say a mod has banned two times and wants to see if that is the same one and if one should look if he comes back.
Avatar
and how do you look if an ip comes back?
Avatar
<Socialdarwinist> Whois services.
Avatar
for that you need to acess the ip
Avatar
Topic has already been discussed i guess
21:26
before commit that change
21:27
so, the way that you can check ip of player as a MODERATOR
21:27
should be fixed as well
Avatar
only downside is that you dont know who to unban if you banned a lot people
21:28
maybe it should say the name of banned person instead
Avatar
<Socialdarwinist> Maybe as a separate command
21:28
<Socialdarwinist> bans for admins, bannednames for mods or so
Avatar
unban only works with ip
Avatar
or store both
21:29
not only
21:29
you can unban by ID
Avatar
as well
Avatar
u cant
Avatar
you changed that?
Avatar
please think it for a moment..
Avatar
ids are given when a player connects
Avatar
you are wrong
Avatar
im correct
21:30
in rcon
21:30
uban<id> of ban
Avatar
ban <id> , bans the ip of that guy
Avatar
that doesnt work nor exist
Avatar
<Socialdarwinist> But the unban command does not take IPs as argument.
Avatar
and it doesnt makes sense
21:30
it does
Avatar
ryo try byt urself
21:30
i know what im syaing
Avatar
you know that if u ban a player, and another joins, this one will fill that id?
Avatar
if it doesn't work on ddnet
Avatar
ids arent user for bans at all
Avatar
then, they changed iot.
Avatar
only when you ban, but that ban issues to the ip
Avatar
BUT, BANS HAS THEIR OWN
21:31
ID
Avatar
please think it..
Avatar
what the hell man D:
Avatar
ye bans have ids
Avatar
<Socialdarwinist> Also, I do not see the bad of seeing IPs of banned people. Banned people are regularly responsible for having their IP exposed thus.
Avatar
and you can unban by ID
21:31
@Socialdarwinist, it is hidden for moderators only
Avatar
unban Unban ip/banlist entry unban_range Unban ip range unban_all Unban all entries
21:32
just think it programatically
21:32
ur arg doesnt make sense
Avatar
you can ban by mistake or a bad mod just bans randomly to get someones ip
Avatar
<Socialdarwinist> Why do you have bad mods?
Avatar
you can't unban by id
Avatar
because mods are not our rl friends
Avatar
<Socialdarwinist> For me it looks like you are fiddling to hide befallen administrative mistakes.
Avatar
im not saying that there are bad mods, but anyone is capable of doing stupid stuff
Avatar
@Savander see, the ban command accepts id, because the player is connected and it has a ip attached to it, so the server find the matching ip for that id and bans that ip
Avatar
ryozuki
Avatar
class CServerBan : public CNetBan { class CServer *m_pServer; template<class T> int BanExt(T *pBanPool, const typename T::CDataType *pData, int Seconds, const char *pReason); public: class CServer *Server() const { return m_pServer; } void InitServerBan(class IConsole *pConsole, class IStorage *pStorage, class CServer *pServer); virtual int BanAddr(const NETADDR *pAddr, int Seconds, const char *pReason); virtual int BanRange(const CNetRange *pRange, int Seconds, const char *pReason); static void ConBanExt(class IConsole::IResult *pResult, void *pUser); };
Avatar
thats not an id
21:35
its an index
21:35
from a list
Avatar
@Savander dont post ppls ips here lol
Avatar
i don't care
21:35
at this moment
21:35
i was right anyway
21:35
say what you want, youi can unban guy by ID
Avatar
<Socialdarwinist> I do not know the exact rationale why the DDNet wanted to hide IPs completely. For me, a reason would be data privacy. Instead of β€œstatus”, a command for seeing the IP of a specific player is needed. It may have a threshold, so the ominous bad moderators can only request a limited number of IPs.
Avatar
thats not an id :P
Avatar
say what you want, its uniq ID
21:36
of ban
21:36
you can have index 0 twice
21:36
so it's id
Avatar
index isnt a id
Avatar
it's just naming (edited)
Avatar
<Socialdarwinist> Are you just fighting about words?
Avatar
m_Players[INDEX].m_ID
21:36
see the diference
Avatar
.. . .
21:37
ok, you are right.
21:37
Be smarter, because its not "ID" but "INDEX" lol
Avatar
imagine you ban someone, and there are already 10 bans, that player has a id of 5, you ban him, his ban gets indexed as 11 and then as you said, "you can ban by id", you would do unban 5, which is wrong
21:39
thats what i want to express
Avatar
<Socialdarwinist> Both are IDs, just different kinds of IDs.
Avatar
they arent ids....
21:39
the index is a index
Avatar
ID are uniq
21:40
index is uniq, id is uniq
21:40
you can't have two the same index in one table
21:40
it would be stupid
Avatar
well, you don't want to understand it even when i stated it clearly so idc anymore
Avatar
and not works
Avatar
<Socialdarwinist> What does β€œunique” mean in your understanding? The IDs are of course unique only for a limited time.
Avatar
player id in teeworlds, can't be use twice. right?
21:41
you joined, you have your own ID for a limited time
21:41
nobody else will have it
Avatar
<Socialdarwinist> So they are IDs.
Avatar
<Socialdarwinist> And the numbers in the ban lists are also IDs.
Avatar
yes, what's your point?
Avatar
and ids are also a programming lang
21:42
Irvine Dataflow (Id) is a general-purpose parallel programming language
21:42
:))))
Avatar
I said that
Avatar
im jk of this hilarious thing
Avatar
so hide ips if you ban people and display name instead
Avatar
<Socialdarwinist> The point is that your actual quibble is that the moderators need to get the distinction explained so they do not make mistakes.
Avatar
i guess
21:44
you made a mistake, I didn't say anything like that
21:44
i just explained, that the discussed this already
21:44
a month or more ago
Avatar
we should just revert the hide ips patch
πŸ‘ 1
Avatar
does sv_max_clients not respond at runtime or sth?
Avatar
stupid
Avatar
dont' think so
22:19
maybe should be enabled after reload
22:19
or smth
Avatar
most games require restart to change that
Avatar
but not while playing
22:19
but, reload doesn't work as well
22:20
πŸ˜ƒ
22:20
sv_max_clients in rcon shows changed value
Avatar
knowing the structure of the code i dont see any reason why it cant be changed on the run
Avatar
but server still use that at runtime
Avatar
do we have a way of sending a whisper from console or a targeted server msG?
Avatar
targeted server msg?
Avatar
really wanted to talk to im corneum but apparently even having access to the server itself won't get me in that server πŸ˜›
Avatar
oh you mean, via console
22:22
right
Avatar
he asked me if i told to remove his mod :/
22:23
i think he got things totally wrong
Avatar
he asked me if i removed it
22:23
i said no he left
22:24
interestingly enough from the code it seems you should be able to change max clients on the run
22:25
oh nvm
Exported 154 message(s)