NO_SCREENSHOT

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

Post Reply
NoTimeToDrive
sunday driver
sunday driver
Posts: 50
Joined: 31 Mar 2013 15:13
Owned TM-games: TMU TMUF

NO_SCREENSHOT

Post by NoTimeToDrive » 31 Mar 2019 11:14

Hello.

As always i try to make the server a bit nicer.
Now i'm trying to get my own NO_SCREENSHOT image instead the gray stadium image.

Inside records_eyepiece.xml you can add your own image on line 1182.
That works like a charm on tracks which has no connecting too the TMX page.

But if you add tracks from TMX without an image.
You get the gray stadium image to see if you click on challenge widget:
The Challenge Widget where the current Challenge are displayed and the next and last Challenge are accessible.

My question is:
Can i somehow let my own image work instead of the gray stadium image?
I know that the image is loaded from TMX with this ID in cache.
9607889ED61767ECC8119412A716EBB6_united...........

Is there a way to make this working?

Greetings Ed

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 192
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: NO_SCREENSHOT

Post by L3cKy » 01 Apr 2019 13:38

Deleted ...
Last edited by L3cKy on 01 Apr 2019 21:27, edited 1 time in total.

NoTimeToDrive
sunday driver
sunday driver
Posts: 50
Joined: 31 Mar 2013 15:13
Owned TM-games: TMU TMUF

Re: NO_SCREENSHOT

Post by NoTimeToDrive » 01 Apr 2019 19:56

Hey L3cKy

Sadly it did not work for me :?
First time it looks like it work.
But if i wish an other track without image from TMX.
Same image appear sadly.
The gray stadium no screenshot image.

Of course thanks for looking at this issue :thumbsup:

Grt Ed

EDIT:
Also did one try with clean cache.
No differents sadly.

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 192
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: NO_SCREENSHOT

Post by L3cKy » 01 Apr 2019 21:34

Oh you are right ... i've done a misstake.
Anyway something is wrong at records_eyepiece.php ... somehow it returns the no-schreenshot picture from tmx instead of the seted one at the xml. :roll:

I changed now the url inside the xml (line 1182) to this picture:

Code: Select all

http://i.ibb.co/4prh26V/no-screenshot.jpg
Image

Now the pictures are at least the same.

I will check more if i have more time. ;)


Greetings

NoTimeToDrive
sunday driver
sunday driver
Posts: 50
Joined: 31 Mar 2013 15:13
Owned TM-games: TMU TMUF

Re: NO_SCREENSHOT

Post by NoTimeToDrive » 02 Apr 2019 15:10

L3cKy wrote:
01 Apr 2019 21:34
I will check more if i have more time. ;)
Take your time :D
No rush.
It's just to make it more nicer 8)

Thanks in advance :thumbsup:

Grt Ed

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 192
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: NO_SCREENSHOT

Post by L3cKy » 03 Apr 2019 11:16

NoTimeToDrive wrote:
02 Apr 2019 15:10
Take your time :D
No rush.
It's just to make it more nicer 8)

Thanks in advance :thumbsup:

Grt Ed

Ok i checked it now ... it is not possible to change this. :(

If there is no custom picture uploaded on tm-exchange it will return this picture to tmxinfofetcher.inc.php and records_eyepiece.php will get it from there.

This picture shows up on tm-exchange if noone uploaded a custom picture.

If someone uploaded a custom picture on tm-exchange the url (ALSO attribute screentyp=0) wont change and will be still the same as noone uploaded a picture and thats why you cant change this because tm-exchange will everytime give back the screentype=0 as standard track picture and records_eyepiece dont know the difference between a custom picture and a no-screenshot picture.

Doublecheck: This picture is the same as this picture.

So the best for now is if you change the no_screenshot at the xml to this one:

Code: Select all

http://i.ibb.co/4prh26V/no-screenshot.jpg
Image

Greetings L3cKy

PS: I`ve tried now to trick this with a filesize check ... because the no-screenshot from tm-exchange have everytime the same filesize.
So if the filesize from the track picture have the same filesize as the no-screenshot picture it will be replaced by a new one. ;)
I will response when it is finished or when i failed on this. ;)

NoTimeToDrive
sunday driver
sunday driver
Posts: 50
Joined: 31 Mar 2013 15:13
Owned TM-games: TMU TMUF

Re: NO_SCREENSHOT

Post by NoTimeToDrive » 03 Apr 2019 18:34

Hey.
L3cKy wrote:
03 Apr 2019 11:16
Ok i checked it now ... it is not possible to change this. :(
I was a little afraid of that :(
L3cKy wrote:
03 Apr 2019 11:16
PS: I`ve tried now to trick this with a filesize check ... because the no-screenshot from tm-exchange have everytime the same filesize.
So if the filesize from the track picture have the same filesize as the no-screenshot picture it will be replaced by a new one. ;)
I will response when it is finished or when i failed on this. ;)
Or maybe block that ID:9607889ED61767ECC8119412A716EBB6_united...........
Inside cache...but i'm afraid that's not possible...just an idea :wink:

Thank you for searching anyway L3cKy :thumbsup:
I'm curious if you can find something. :)

Grt Ed

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 192
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: NO_SCREENSHOT

Post by L3cKy » 03 Apr 2019 19:21

NoTimeToDrive wrote:
03 Apr 2019 18:34
Hey.
Or maybe block that ID:9607889ED61767ECC8119412A716EBB6_united...........
Inside cache...but i'm afraid that's not possible...just an idea :wink:

Thank you for searching anyway L3cKy :thumbsup:
I'm curious if you can find something. :)

Grt Ed
No, not this way.
The picture with the id: 9607889ED61767ECC8119412A716EBB6_ is the picture which gets back from tm-exchange to tmxinfofetcher.inc.php and get saved into your Cache. ;)
I want to check the picture inside tmxinfofetcher.inc.php if it have the same filesize as the no-screenshot picture from tm-exchange so i can replace it with a custom one. ;)

Greetings

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 192
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: NO_SCREENSHOT

Post by L3cKy » 06 Apr 2019 14:28

L3cKy wrote:
03 Apr 2019 19:21
NoTimeToDrive wrote:
03 Apr 2019 18:34
Hey.
Or maybe block that ID:9607889ED61767ECC8119412A716EBB6_united...........
Inside cache...but i'm afraid that's not possible...just an idea :wink:

Thank you for searching anyway L3cKy :thumbsup:
I'm curious if you can find something. :)

Grt Ed
No, not this way.
The picture with the id: 9607889ED61767ECC8119412A716EBB6_ is the picture which gets back from tm-exchange to tmxinfofetcher.inc.php and get saved into your Cache. ;)
I want to check the picture inside tmxinfofetcher.inc.php if it have the same filesize as the no-screenshot picture from tm-exchange so i can replace it with a custom one. ;)

Greetings

I tryd now everything but it seems to not work the way you want it.
Sry

NoTimeToDrive
sunday driver
sunday driver
Posts: 50
Joined: 31 Mar 2013 15:13
Owned TM-games: TMU TMUF

Re: NO_SCREENSHOT

Post by NoTimeToDrive » 06 Apr 2019 15:01

L3cKy wrote:
06 Apr 2019 14:28
I tryd now everything but it seems to not work the way you want it.
Sry
No problem L3cKy.
Thanks for trying to help me :thumbsup:
That is greatly appreciated :D

I was a little afraid already :wink:

Thanks again and have a nice weekend :1

Grt Ed

Post Reply