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

Item Images - 10.92

Gesior.pl

Mega Noob&LOL 2012
Senator
Joined
Sep 18, 2007
Messages
2,955
Solutions
98
Reaction score
3,351
Location
Poland
GitHub
gesior
Someone gave me items.otb from some brazilian 10.92 RL map server, so I made new item images:

If you want to create own host for images you can download all images in .zip:
http://item-images.ots.me/item_images_1092.zip
MEGA

You can also use my host, just replace item images URL in Gesior2012 config:
Gesior2012/config.php at TFS-1.0 · gesior/Gesior2012 · GitHub
with:
http://item-images.ots.me/1092/

2400.gif
21223.gif
23223.gif
21925.gif
25671.gif
25667.gif
25892.gif
 

Attachments

  • item_images_1092.zip
    24.3 MB · Views: 113 · VirusTotal
Last edited by a moderator:
Someone gave me items.otb from some brazilian 10.92 RL map server, so I made new item images:

If you want to create own host for images you can download all images in .zip:
http://item-images.ots.me/item_images_1092.zip
MEGA

You can also use my host, just replace item images URL in Gesior2012 config:
Gesior2012/config.php at TFS-1.0 · gesior/Gesior2012 · GitHub
with:
http://item-images.ots.me/1092/

2400.gif
21223.gif
23223.gif
21925.gif
25671.gif
25667.gif
25892.gif
I'm trying to use the idle outfit on my server with Znote, but I have no image, where should I put the sprites?
Code:
    $config['show_outfits'] = array(
        'shop' => true,
        'highscores' => true,
        'characterprofile' => true,
        'onlinelist' => true,
        // Image server may be unreliable and only for test,
        // host yourself: https://otland.net/threads/item-images-10-92.242492/
        'imageServer' => 'https://myserver.com/layout/outfitter/outfit.php'
    );
PHP file:
D:\xampp\htdocs\layout\outfitter\outfit.php
Images File:
D:\xampp\htdocs\layout\outfitter\outfitsIdle860

but it did not work :(
 
I'm trying to use the idle outfit on my server with Znote, but I have no image, where should I put the sprites?
Code:
    $config['show_outfits'] = array(
        'shop' => true,
        'highscores' => true,
        'characterprofile' => true,
        'onlinelist' => true,
        // Image server may be unreliable and only for test,
        // host yourself: https://otland.net/threads/item-images-10-92.242492/
        'imageServer' => 'https://myserver.com/layout/outfitter/outfit.php'
    );
PHP file:
D:\xampp\htdocs\layout\outfitter\outfit.php
Images File:
D:\xampp\htdocs\layout\outfitter\outfitsIdle860

but it did not work :(
same question
 
changed in config.php to my host and i placed animatedOutfits1099/ with all it's files inside layout folder.
Lua:
'imageServer' => 'https://127.0.0.1/layout/animatedOutfits1099/animoutfit.php'
and for example this in top players with the url re-directing to my host and it doesn't displays any outfit or errors
Code:
<div class="well widget">
    <div class="header">
        Top 5 players
    </div>
    <div class="body">
        <table>
             <?php
            $cache = new Cache('engine/cache/topPlayer');
            if ($cache->hasExpired()) {
                $players = mysql_select_multi('SELECT `name`, `level`, `experience`, `looktype`, `lookaddons`, `lookhead`, `lookbody`, `looklegs`, `lookfeet` FROM `players` WHERE `group_id` < ' . $config['highscore']['ignoreGroupId'] . ' ORDER BY `experience` DESC LIMIT 5;');
                $cache->setContent($players);
                $cache->save();
            } else {
                $players = $cache->load();
            }
            if ($players) {
            $count = 1;
            foreach($players as $player) {
            echo '<img style="margin-top: -35px; margin-left: -35px;" src="https://127.0.0.1/layout/animatedOutfits1099/animoutfit.php'.$player['looktype'].'&addons='.$player['lookaddons'].'&head='.$player['lookhead'].'&body='.$player['lookbody'].'&legs='.$player['looklegs'].'&feet='.$player['lookfeet'].'&g=0&h=3&i=1"></img> <a href="characterprofile.php?name='.$player['name'].'">'.$player['name'].'</a> (<span>' . $player['level'].')<br>';
           $count++;
            }
            }
            ?>
        </table>
    </div>
</div>
with the url link there is no problem
 

Attachments

Last edited:
how do i generate the cache file?
if i go to this link http://xxxx/animatedOutfits800/animoutfit.php
get this
Outfit does not exist or file cache is not generated.

edit: i went here http://xxxxx/animatedOutfits800/cacheGenerator.php
Lua:
FILE SYSTEM CACHE GENERATED
Animation frames count in loaded outfits:array(10) { [0]=> int(0) [1]=> int(59) [2]=> int(7) [3]=> int(553) [4]=> int(11) [5]=> int(1) [6]=> int(2) [7]=> int(0) [8]=> int(0) [9]=> int(0) }
Code:
still can't seee images
 
cant see images either the code is bugged or gesior forgot about some step.
 
Back
Top