• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

outfit.php gesior acc ERRORs

Sigoles

Discord: @sigoles
Joined
Nov 20, 2015
Messages
1,209
Solutions
2
Reaction score
154
Hi, someone know why is this happening?

C++:
PHP Warning:  imagecolorat() expects parameter 1 to be resource, boolean given in /var/www/html/outfitsanimateds/libs/outfit.php on line 269
PHP Warning:  imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in /var/www/html/outfitsanimateds/libs/outfit.php on line 293
PHP Warning:  imagesetpixel() expects parameter 1 to be resource, boolean given in /var/www/html/outfitsanimateds/libs/outfit.php on line 294
PHP Warning:  imagealphablending() expects parameter 1 to be resource, boolean given in /var/www/html/outfitsanimateds/libs/outfit.php on line 205
PHP Warning:  imagedestroy() expects parameter 1 to be resource, boolean given in /var/www/html/outfitsanimateds/libs/outfit.php on line 181
PHP Warning:  imagesy() expects parameter 1 to be resource, boolean given in /var/www/html/outfitsanimateds/libs/outfit.php on line 234
PHP Warning:  imagesx() expects parameter 1 to be resource, boolean given in /var/www/html/outfitsanimateds/libs/outfit.php on line 198
PHP Warning:  imagecreatetruecolor(): Invalid image dimensions in /var/www/html/outfitsanimateds/libs/outfit.php on line 200
PHP Warning:  imagefill() expects parameter 1 to be resource, boolean given in /var/www/html/outfitsanimateds/libs/outfit.php on line 201
PHP Warning:  imagecopyresampled() expects parameter 1 to be resource, boolean given in /var/www/html/outfitsanimateds/libs/outfit.php on line 202
PHP Warning:  imagesavealpha() expects parameter 1 to be resource, boolean given in /var/www/html/outfitsanimateds/libs/outfit.php on line 206
PHP Warning:  imagealphablending() expects parameter 1 to be resource, boolean given in /var/www/html/outfitsanimateds/libs/outfit.php on line 205
PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/index.php on line 3

script:

@Gesior.pl please
 
Add errors report same problem. It could not find on disc (or load, file permissions?) some addon/mount image. What URL are you opening? Are there some invalid addon/mount parameters?
 
Add errors report same problem. It could not find on disc (or load, file permissions?) some addon/mount image. What URL are you opening? Are there some invalid addon/mount parameters?

the directory has permission chmod 777, but I do not know to tell you the link that causes this error, it may be someone trying to generate an invalid outfit or mount, but I can not tell what it is, by looking at the script I would not be able to verify if the outfit/mount exists, if there is no, return false and redirect to an some outfit, to not give error? (idk do it)

here gives an error and generates a log of 24595 rows with the same IP, strange?
 
Looks like someone is spamming your server. Generating images uses a lot of CPU, so maybe it was some DoS attempt.
In this case I would use existing IDs, as they take more CPU then throwing errors.

Do you have full URL opened by that person in logs? With parameters outfitId/addonId?
 
Looks like someone is spamming your server. Generating images uses a lot of CPU, so maybe it was some DoS attempt.
In this case I would use existing IDs, as they take more CPU then throwing errors.

Do you have full URL opened by that person in logs? With parameters outfitId/addonId?

I tested here, there is a page that loads the script of the outfit.php, the outfit does not load by permission error, there the outfit.php floods the page for 24595 times, why? :eek:

I did permission here and the outfit dont load (missing images), outfit 1206 per example, so the script flood my web
 
Last edited by a moderator:
Back
Top