Ideas For UnrealSoftware Site
2,072 replies Why would you ever want the API to be accessible via HTTP.
https://ohaz.engineer - Software Engineering
@
ohaz: It's public data API so i don't see reason to keep connection secure and HTTP will be faster, less stressful for server.

I agree with
ohaz that HTTP should not be used anymore. It can be considered deprecated. Always use HTTPS instead if possible.
Unreal Software actually still supports HTTP because CS2D doesn't support HTTPS. I don't understand my rewrite rule anymore though. lol.
I guess that means that you will always be redirected to HTTPS unless your user agent is empty or something like that. So if you can change your user agent in requests you can take advantage of this fallback and prevent the redirect to HTTPS.
Regarding requesting multiple values at once: Will consider to implement that. Good idea.
Edit:
Added. You can now use "json" as "data" param to get all values as JSON.
https://www.unrealsoftware.de/dev.php

Unreal Software actually still supports HTTP because CS2D doesn't support HTTPS. I don't understand my rewrite rule anymore though. lol.

Code:
1
2
3
4
5
2
3
4
5
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.unrealsoftware.de [OR]
RewriteCond %{SERVER_NAME} =unrealsoftware.de
RewriteCond %{HTTP_USER_AGENT} !^$
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
RewriteCond %{SERVER_NAME} =www.unrealsoftware.de [OR]
RewriteCond %{SERVER_NAME} =unrealsoftware.de
RewriteCond %{HTTP_USER_AGENT} !^$
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
I guess that means that you will always be redirected to HTTPS unless your user agent is empty or something like that. So if you can change your user agent in requests you can take advantage of this fallback and prevent the redirect to HTTPS.
Regarding requesting multiple values at once: Will consider to implement that. Good idea.
Edit:
Added. You can now use "json" as "data" param to get all values as JSON.
https://www.unrealsoftware.de/dev.php
edited 1×, last 15.05.21 03:14:18 pm

HTTP will be faster, less stressful for server.
https://ohaz.engineer - Software Engineering
Consider listing the user modes somewhere, a way for us to convert the ID to text more easily.
It's hard being the best girl in the whole entire world
Somewhere is here.
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
switch ($mode){
case 0:return '<span style="color:#999">User</span>'; break;
case 1:return '<span style="color:#955">Idiot</span>'; break;
case 50:return '<span style="color:#999">Super User</span>'; break;
case 51:return '<span style="color:#760">Gold User</span>'; break;
case 52:return '<span style="color:#097">Supporter</span>'; break;
case 53:return '<span style="color:#7D134B">Security Supporter</span>'; break;
case 54:return '<span style="color:#E92">Reviewer</span>'; break;
case 99:return '<span style="color:#070">Moderator</span>'; break;
case 100:return '<span style="color:#090">Admin</span>'; break;
case -97:return '<span style="color:#A00">GAME BANNED</span>'; break;
case -98:return '<span style="color:#A00">COMMUNITY BANNED</span>'; break;
case -99:return '<span style="color:#A00">BANNED</span>'; break;
case -100:return '<span style="color:#A00">'.l('NICHT AKTIVIERT','NOT ACTIVATED').'</span>'; break;
}
case 0:return '<span style="color:#999">User</span>'; break;
case 1:return '<span style="color:#955">Idiot</span>'; break;
case 50:return '<span style="color:#999">Super User</span>'; break;
case 51:return '<span style="color:#760">Gold User</span>'; break;
case 52:return '<span style="color:#097">Supporter</span>'; break;
case 53:return '<span style="color:#7D134B">Security Supporter</span>'; break;
case 54:return '<span style="color:#E92">Reviewer</span>'; break;
case 99:return '<span style="color:#070">Moderator</span>'; break;
case 100:return '<span style="color:#090">Admin</span>'; break;
case -97:return '<span style="color:#A00">GAME BANNED</span>'; break;
case -98:return '<span style="color:#A00">COMMUNITY BANNED</span>'; break;
case -99:return '<span style="color:#A00">BANNED</span>'; break;
case -100:return '<span style="color:#A00">'.l('NICHT AKTIVIERT','NOT ACTIVATED').'</span>'; break;
}
@
DC: Gold User? Supporter? Hah, what are those?
Also, shouldn't the Idiot mode be something like -1?

Also, shouldn't the Idiot mode be something like -1?
It's hard being the best girl in the whole entire world

@
DC: Gold User? Supporter? Hah, what are those?

You get to unlock those as part of the 10th


Hador
@
Mami Tomoe: Not all of these are in use. They currently have no meaning.
Currently all negative modes mean "banned" / "no access". Therefore "idiot" can't be negative. Of course I could change that logic but there's no real reason to do so.

Currently all negative modes mean "banned" / "no access". Therefore "idiot" can't be negative. Of course I could change that logic but there's no real reason to do so.
I've recently stumbled across the user
JamppaCK which has an animated avatar (GIF).
That made me realise that GIFs were supported a few years ago, why were they removed? And is it planned to ever allow APNG or GIF avatars?
EDIT:
Also, I'd like to be able to request "days since registration" using the Unreal Software API.
The result would be a CSV of two values.
Example:

That made me realise that GIFs were supported a few years ago, why were they removed? And is it planned to ever allow APNG or GIF avatars?
EDIT:
Also, I'd like to be able to request "days since registration" using the Unreal Software API.
The result would be a CSV of two values.
days,approximate
Example:
57,0
edited 2×, last 20.06.21 07:18:14 pm
It's hard being the best girl in the whole entire world

I've recently stumbled across the user
JamppaCK which has an animated avatar (GIF).
That made me realise that GIFs were supported a few years ago, why were they removed? And is it planned to ever allow APNG or GIF avatars?

That made me realise that GIFs were supported a few years ago, why were they removed? And is it planned to ever allow APNG or GIF avatars?
That was a bit of a discussion once, quite well summed up here:


Hador
How about a proper video player on a web-site? Just like in FB idk
CS2d for ANDROID Discord server is here: https://discord.gg/ww59nvf
This is quite a small suggestion, but on the login page's phishing warning, the screenshot still shows an http link to the unrealsoftware website instead of https. Maybe now that the website defaults to https that could be updated, since that screen is telling inexperienced users what to look for?
Code:
1
https://unrealsoftware.de/users.php?raw&s=STARTOFFSET&c=COUNT
Setting COUNT to 0 should display all users by default, currently it displays none (literally 0).
It's hard being the best girl in the whole entire world
@
Mami Tomoe: I don't really like that behavior because requesting all users causes heavy load on the server and therefore definitely shouldn't be the "default" behavior.
Just insert a super high number for

Just insert a super high number for
c
and everything is fine. @
DC: Can you make the forum collect in-game data? For example, when a player logs in-game with his U.S.G.N. account have his in-game IP recorded on the account. And maybe, also the steam id.

That sounds like a recipe for disaster concerning privacy laws
https://ohaz.engineer - Software Engineering
Can we have RSS feed about new files like we have a feed about posts and news? https://www.unrealsoftware.de/rss.php
You received a game ban because you seem to be a cheater. You are not able to log-in in-game anymore.
@
Kolia_rus: That wouldn't be complicated I guess but are you really still using RSS feeds?

