de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Null Images
PostPosted: Sun Nov 18, 2018 7:56 pm 
Offline
Veteran
User avatar
I've noticed a lot of null images recently, often followed by the player mentioning something in the game thread about pics not showing after a successful upload. Any idea why an upload would return an image key, but subsequent access returns a null image? I guess I've always figured it was an issue with the player's connection, but it seems to be happening more often and people seem confident they've sent pics correctly.


Top
 Profile Send private message 
 
 Re: Null Images
PostPosted: Mon Nov 19, 2018 11:37 am 
Offline
Site Admin
User avatar
Possibly a problem with the june changes correcting some picture upload. I'll need to get some more information (what fails, when..)


Top
 Profile Send private message 
 
 Re: Null Images
PostPosted: Tue Nov 20, 2018 7:19 am 
Offline
Veteran
User avatar
I've never seen it happen to me (that I know of), but the symptoms are:

- player sends a normal jpeg via sendImage
- sendImage returns a valid key after upload
- receiveImage with the correct key returns a null string

This has happened in Courtroom (especially), Spin the Bottle, Strip or Die, Human Paperboard (and likely others). Note that the image key is almost NEVER retrieved immediately, so there's likely some time that passes between when a player sends and when another player receives.

This wouldn't be a security feature, would it? For example, accepting the image and immediately deleting if from a "bad" IP address...


Top
 Profile Send private message 
 
 Re: Null Images
PostPosted: Tue Nov 20, 2018 12:33 pm 
Offline
Site Admin
User avatar
Possibly a security feature, but not likely. I guess an error in some algorithms server side.

If possible I'd like to know an example of image key that fails, from anybody.


Top
 Profile Send private message 
 
 Re: Null Images
PostPosted: Wed Nov 21, 2018 6:13 am 
Offline
Veteran
User avatar
doti wrote:
Possibly a security feature, but not likely. I guess an error in some algorithms server side.

If possible I'd like to know an example of image key that fails, from anybody.


Next time I see it, I'll grab the key and report it.


Top
 Profile Send private message 
 
 Re: Null Images
PostPosted: Wed Dec 12, 2018 3:05 pm 
Offline
Veteran
User avatar
doti wrote:
If possible I'd like to know an example of image key that fails, from anybody.


Hi Doti, I've seen this happening more and more recently and finally remembered this thread. It seems 37cfce64.jpeg is a good example.

My scripts all do null checking, but in this case the file exists and is returned as 0 bytes, so the script continues and then runs into trouble. I checked this file on both Mac and PC and they both have the same issue.

It would be great if the sexscripts server would return null in this case instead. Otherwise, we need to check all images for null, and then also check the byte length.

Thanks for your help!


Top
 Profile Send private message 
 
 Re: Null Images
PostPosted: Sun Dec 16, 2018 1:48 pm 
Offline
Site Admin
User avatar
The file was not on the server. Most probably it was removed because without any access 14 days after its upload ; possibly something else.
3 updates :
- This removal period is increased from 14 to 30 days
- An error will occur (sendImage wll fail) if the file cannot be saved on the server
- (sexScripts release from today) A good null value will be received if the image code has no matching on the server


Top
 Profile Send private message 
 
 Re: Null Images
PostPosted: Mon Dec 17, 2018 4:02 am 
Offline
Veteran
User avatar
doti wrote:
- This removal period is increased from 14 to 30 days
- An error will occur (sendImage wll fail) if the file cannot be saved on the server
- (sexScripts release from today) A good null value will be received if the image code has no matching on the server


Thank you very much! This will make a big difference and should fix a lot of issues.


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2015
This website uses session cookies only.