trakman icon indicating copy to clipboard operation
trakman copied to clipboard

Icons are not properly loading / shown ingame

Open RobiSE9722 opened this issue 2 years ago • 15 comments

I have a issue where not all icons are loaded, i am not sure if it is client sided or server sided since some players say everything is loaded and some say it is not. Any causes?

(edit) i also noticed that sometimes more icons load and sometimes less icons load when i join but they never all load.

https://i.gyazo.com/7f2dc63d7ec9746e44969da8ff561b60.jpg

RobiSE9722 avatar Apr 30 '23 22:04 RobiSE9722

this has been the main issue with our ui since the very beginning. it is client-side most certainly, as we're (temporarily) using the discord servers (google cdn) to host them. there's no fix that i'm aware of. clearing the game cache would be your best bet.

wsrvn avatar Apr 30 '23 22:04 wsrvn

Thanks for your quick reply. Would it not be better to store the icon sets locally instead? Also do you have a discord server i could join?

RobiSE9722 avatar Apr 30 '23 22:04 RobiSE9722

each player would have to load the icons independently of their location.. the only somewhat working solution is letting the player extract all the icons we currently use inside their cache directory manually.

wsrvn avatar Apr 30 '23 22:04 wsrvn

also no server atm. we do programming, not marketing and promoting (unlike some other very interesting figure in the community). later, when there's a bigger demand for it, perhaps?

wsrvn avatar Apr 30 '23 22:04 wsrvn

Thanks for your reply, i appreciate it. What do you mean independently of their location? I was thinking letting them be stored locally on the server but there probably isn't a way to push them to the client that way... didn't think about that. Weird though that they wont properly load when hosted on Discords and google's cnd, i have never had any issues with those outside of this project. Discord server would be nice just for discussions and troubleshooting. No clue which figure you are talking about.

RobiSE9722 avatar Apr 30 '23 23:04 RobiSE9722

Icon loading stuff is a problem related to the game itself, it can technically be solved by putting the iconpack manually into the cache folder, but that's a lot of effort and the issue usually just goes away after some time. Make sure that you have "locators" option enabled in PeerToPeer menu in game settings, without it the downloads are very slow.

lythx avatar May 01 '23 18:05 lythx

this issue is now relevant due to discord changing their attachment hotlinking policy. cannot use their cdn anymore, gotta move the icons elsewhere (FAIL)

wsrvn avatar Oct 07 '23 07:10 wsrvn

Moved to https://trakman.ptrk.eu/icons

felacek avatar Oct 07 '23 15:10 felacek

Icons are no longer available on https://trakman.ptrk.eu/icons

sangfroid70 avatar Nov 05 '23 14:11 sangfroid70

https://trakman.ptrk.eu/icons/FRA.png https://trakman.ptrk.eu/icons/JPN.png https://trakman.ptrk.eu/icons/ISR.png https://trakman.ptrk.eu/icons/PeopleGaming.png https://trakman.ptrk.eu/icons/Stats.png https://trakman.ptrk.eu/icons/PaySkip.png

are these available for you ?

Skorlok avatar Nov 05 '23 16:11 Skorlok

@felacek

wsrvn avatar Nov 08 '23 19:11 wsrvn

Icons are no longer available on https://trakman.ptrk.eu/icons

The listing is 403 forbidden by design, the icons themselves should work?

felacek avatar Nov 08 '23 20:11 felacek

the autoindex is disabled by default on NGINX, so the folder return 403, I can personally download individual icons

Skorlok avatar Nov 08 '23 21:11 Skorlok

https://trakman.ptrk.eu/icons/FRA.png https://trakman.ptrk.eu/icons/JPN.png https://trakman.ptrk.eu/icons/ISR.png https://trakman.ptrk.eu/icons/PeopleGaming.png https://trakman.ptrk.eu/icons/Stats.png https://trakman.ptrk.eu/icons/PaySkip.png

are these available for you ?

Yes available with direct links, but not in game. Strange. Is it possible to have a .zip with icons to put on a local server ? Thank's for your answers anyway

EDIT 2023-11-21 : Finally it works but I don't know why ;) Thank's for your help anyway

sangfroid70 avatar Nov 19 '23 18:11 sangfroid70

Yes available with direct links, but not in game. Strange. Is it possible to have a .zip with icons to put on a local server ?

local server or not, you'd still need to download the pictures through the game for them to appear. the solution we found to be working was to put the icons directly into the game's cache. that ensures each image's availability, but is impossible to influence from our code. the most we could do is to put a warning message for every joining player to download and extract an archive into god knows which directory on their system, which does not sound very convincing.

wsrvn avatar Nov 21 '23 18:11 wsrvn