Board index mDd Board The mDd servers

Wrong name of demofile ! WTF ?

Talk about Servers within the mDd server network

Wrong name of demofile ! WTF ?

Postby AL!EN » Oct 8th, '12, 10:44 am

When i play offline:
df_name "ALIEN": demos\r7-forage[df.cpm]00.12.720(ALIEN.Poland).dm_68

when i connect to server, using DFEngine:
df_name "ALIEN": demos\r7-forage[mdf.cpm]00.12.816(ALEN.Poland).dm_68

Why filename is different than offline ? It seems that online server ignore df_name. WTF :o
"strafe is the most important 'weapon' in defrag" - <hk>
User avatar
AL!EN
 
Posts: 282
Joined: May 2nd, '09, 8:26 am
Location: Poland

Re: Wrong name of demofile ! WTF ?

Postby <hk> » Oct 8th, '12, 5:32 pm

The server has nothing to do with it.
It's a defrag internal thing.
User avatar
<hk>
Menstruating 24/7
 
Posts: 1040
Joined: May 2nd, '09, 12:06 am
Location: Ingolstadt Germany

Re: Wrong name of demofile ! WTF ?

Postby Le another black niger » Oct 8th, '12, 5:55 pm

<hk> wrote:The server has nothing to do with it.
It's a defrag internal thing.


literally true, but entire bug goes directly from player name length limitation by server :lol:
shouldn't it be limited in site code, since its intended just to prevent crashing of page tables?
also there still is a way to crash them
also its being crashed by itself regularly :doh:
Le another black niger
 
Posts: 392
Joined: May 17th, '11, 5:08 pm

Re: Wrong name of demofile ! WTF ?

Postby <hk> » Oct 8th, '12, 8:18 pm

ok wrote:but entire bug goes directly from player name length limitation by server :lol:
shouldn't it be limited in site code, since its intended just to prevent crashing of page tables?


I don't follow. Page tables as in quake internal memory tables or as in website layout?
I did write some code that clamps names to 16 characters(highscore table maxlen) but it skips colors.

ok wrote:also there still is a way to crash them
also its being crashed by itself regularly :doh:

Again, I don't follow. Is this related or just general bitching about the stability of our servers?
I don't know about any name related crashes.
I do know about thread related crashes which I am not going to fix because the complete rewrite is maturing.
User avatar
<hk>
Menstruating 24/7
 
Posts: 1040
Joined: May 2nd, '09, 12:06 am
Location: Ingolstadt Germany

Re: Wrong name of demofile ! WTF ?

Postby Le another black niger » Oct 8th, '12, 9:17 pm

tables in website layout
server code, which causes issue, is a fix for them, right?

there still is trick how to get enough long name to break tables
why not to fix the problem right where its located - in the site code?

ok wrote:also its being crashed by itself regularly :doh:

i mean crashing site layout issue pointed out in this thread viewtopic.php?f=2&t=411
Le another black niger
 
Posts: 392
Joined: May 17th, '11, 5:08 pm

Re: Wrong name of demofile ! WTF ?

Postby <hk> » Oct 8th, '12, 9:45 pm

That change has nothing to do with the website.
It's just some nazi decision by my self about how long a name should be.
More than 16 characters don't fit into the defrag highscore table.
I was annoyed by some players who had extra long names just to stand out in the ingame chat.
I changed it and nobody ever complained about it to this day. If they did, they certainly didn't inform me about any issue they have with it.

The website issue is know but NM doesn't give a shit about it.
And I don't have the authority to touch website related things.
Actually, I don't even know what triggers the problem. It doesn't seem to be a xml parsing thing.
Did you suggest it's the over all length of the XML-Block?
User avatar
<hk>
Menstruating 24/7
 
Posts: 1040
Joined: May 2nd, '09, 12:06 am
Location: Ingolstadt Germany

Re: Wrong name of demofile ! WTF ?

Postby Le another black niger » Oct 8th, '12, 11:13 pm

people mostly dont care about demo names and can even not notice difference, because df_name and name are similar usually
the names clamping code didn't ruin df_name in older server versions
would be nice to return this acceptable behavior back ;)

Did you suggest it's the over all length of the XML-Block?

i have no idea about the reason
it doesnt look like one, caused by length tho, because it works with cpu servers only
Le another black niger
 
Posts: 392
Joined: May 17th, '11, 5:08 pm

Re: Wrong name of demofile ! WTF ?

Postby Le another black niger » Dec 19th, '12, 12:13 pm

also ip sharing feature :character-afro:
1.jpg

2.jpg
You do not have the required permissions to view the files attached to this post.
Le another black niger
 
Posts: 392
Joined: May 17th, '11, 5:08 pm


cron