• 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!

[GESIOR2012] Make your own outfits/items/country flags hosting - recommended

Gesior.pl

Mega Noob&LOL 2012
Senator
Joined
Sep 18, 2007
Messages
2,966
Solutions
99
Reaction score
3,383
Location
Poland
GitHub
gesior
Some servers/players [from Brazil] got problems with ots.me host [from which acc. maker get images].

You can create your own hosting for these images!

1. How to configure it in acc. maker?
- Open config/config.php in acc. maker and edit lines:

PHP:
$config['site']['outfit_images_url'] = 'http://outfit-images.ots.me/outfit.php';
$config['site']['item_images_url'] = 'http://item-images.ots.me/960/';
$config['site']['item_images_extension'] = '.gif';
$config['site']['flag_images_url'] = 'http://flag-images.ots.me/';
$config['site']['flag_images_extension'] = '.png';

2. Where can I get images/images generator?
- Download it from my site! (and unpack it from .zip ;) )

2.1 Item images links:
Tibia 8.60:
http://item-images.ots.me/items_images_860.zip
MEGA

Tibia 9.60:
http://item-images.ots.me/items_images_960.zip
MEGA

Tibia 10.30:
http://item-images.ots.me/items_images_1030.zip
MEGA

2.2 Flag images links:
http://flag-images.ots.me/flag-images.zip
MEGA

2.3 Outfit images generator (requires PHP with GD2 module [to generate images]):
http://outfit-images.ots.me/outfit-images.zip
MEGA

3. Account registration takes many seconds and all players have country flag 'unknown'?
- Download country-flags.zip and unpack to acc. maker folder cache/flags

http://country-flags.ots.me/country-flags.zip
MEGA
 

Attachments

Last edited by a moderator:
I did unpack flags into cache/flags but player still get unknown "flag", i even made new accs ;/
 
I recommend you to make own outfit images hosting, because my can lag a bit.
Yesterday my server generated over milion outfit images and hoster moved it to slower cluster (PC), because 'I use too much resources for 3 euro/month hosting' :p
 
Problem is not solved. Yesterday I had over 1.200.000 page views [images generated]!
If you know admin of any OTS from that list please send him/her this message:
VERY IMPORTANT! Gesior.pl from OtLand.net HERE!
Please think about:
http://otland.net/threads/gesior201...ems-country-flags-hosting-recommended.210844/

I made that images hosting [outfit images generator] to make it easy to host small OTSes on slow home internet connections.

Problem is that my images hosting generates over milion images per day from 3 days.
Please make own images hosting for your OTS.
List of most popular OTSes [wow! some OTSes still have over 10.000 unique users!]:
1weekofimages.png
 
and whats happen if i put as you have posted? im my ot i have that like this:

$config['site']['outfit_images_url'] = 'http://outfit-images.ots.me/outfit.php';
$config['site']['item_images_url'] = 'http://askata.net/images/item_images/';
$config['site']['item_images_extension'] = '.gif';
$config['site']['flag_images_url'] = 'http://flag-images.ots.me/';
$config['site']['flag_images_extension'] = '.png';
Host somewhere outfit.php script and change:
PHP:
$config['site']['outfit_images_url'] = 'http://outfit-images.ots.me/outfit.php';
to your host.
 
Done with items and flags, But i cant generate outfits u.u

I have to do something else for outfits?
 
Done with items and flags, But i cant generate outfits u.u

I have to do something else for outfits?
If it does not generate images, you must install 'graphic library' in PHP. If you host it on your dedic you can type in console:
apt-get install php5-gd
or:
apt-get install php5-gd2
 
Taka duża liczba generowanych image jest przez to że outfity wyświetlają się w whoisonline a także w highscores, należy usunąć wyswietlanie addonow w whoisonline i highscores, jest to w orginalnym skrypcie , najlepiej było by poprawić whoisonline,highscores i poprawioną wersję dodać do downloadu
 
Last edited:
Taka duża liczba generowanych image jest przez to że outfity wyświetlają się w whoisonline a także w highscores, należy usunąć wyswietlanie addonow w whoisonline i highscores, jest to w orginalnym skrypcie , najlepiej było by poprawić whoisonline,highscores i poprawioną wersję dodać do downloadu
english please?
 
Taka duża liczba generowanych image jest przez to że outfity wyświetlają się w whoisonline a także w highscores, należy usunąć wyswietlanie addonow w whoisonline i highscores, jest to w orginalnym skrypcie , najlepiej było by poprawić whoisonline,highscores i poprawioną wersję dodać do downloadu
ALBO ściągnąć skrypt i wgrać na własny server jeśli ma się 4500 unikalnych użytkowników i średnio 100 online. Cantebia.pl - 430.000 obrazków w sobote - znowu przenieśli mi stronę www na gorszy serwer.
Serwer www za 120 zł rocznie w ovh.pl ma limit 800.000 wyświetleń dziennie (potem zmiana na gorszy klaster).
 
Fuloria,Roxor, Cantebia to moje ots :p , co lepiej kupic vps czy hosting? bo są w tej samej cenie
 
Last edited:
Fuloria,Roxor, Cantebia to moje ots :p , co lepiej kupic vps czy hosting? bo są w tej samej cenie
Hosting więcej uciągnie zapytań na sekundę. Skonfigurował go ktoś kto się na tym zna i dba o bezpieczeństwo/dostępność. Wadą jest to, że trzeba opłacić rok z góry.
 
Back
Top