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

OpenTibia OTClient that unpack map.otbm to .png files - v4.0

Adorius Black

Well-Known Member
Joined
Mar 31, 2020
Messages
182
Solutions
3
Reaction score
75
My mine comes black, there's a known reason?

View attachment 64459
ye look at your adress. you map position is set to 149336x 25168y 7z thats why you are black because in this position you have not your map. you need configure your map.js and set your true position of map.
imagesUrl: 'map/', // URL to folder with 'zoom levels' (folders with names 0-16)
imagesExtension: '.jpg',
mapName: 'RL MAP?',
startPosition: {x: 1000, y: 1000, z: 7}, <=========== Here you need put your map position
startZoom: 14,
minZoom: 4,
maxZoom: 18, // maximum zoom with full quality is 16
 

potinho

Well-Known Member
Joined
Oct 11, 2009
Messages
672
Solutions
15
Reaction score
52
Location
Brazil
ye look at your adress. you map position is set to 149336x 25168y 7z thats why you are black because in this position you have not your map. you need configure your map.js and set your true position of map.
Nice, thanks! Now, my last problem (i guess) image of monsters and npcs dont appear.

1641421543925.png
 

Adorius Black

Well-Known Member
Joined
Mar 31, 2020
Messages
182
Solutions
3
Reaction score
75
Nice, thanks! Now, my last problem (i guess) image of monsters and npcs dont appear.

View attachment 64462
I cant help you because my problem is

maye you can help me :D. what is your path?
 

potinho

Well-Known Member
Joined
Oct 11, 2009
Messages
672
Solutions
15
Reaction score
52
Location
Brazil
Hi My live map is working good, but NPC and Monsters are not showing. I tried almost every combinations of path but always same result.
I tried remove creatureData.cache.json and also i tried dont remove creatureData.cache.json but only change permission of this file to read and write for everybody.
Anybody know where is problem?


I am using XAMPP and linux 20 but I have same result on windows 10.
anyway great release! :)
im with this problem now xD
 
OP
OP
Gesior.pl

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,427
Solutions
50
Reaction score
1,954
Location
Poland
GitHub
gesior
Hi My live map is working good, but NPC and Monsters are not showing.
What OTS engine are you using? Is this some new otservbr or TFS 1.4+ with 'revscriptsys' monsters?
Script load monsters only from old OTS format .xml files.
Nice, thanks! Now, my last problem (i guess) image of monsters and npcs dont appear.
We fixed this issue on Discord. Images from my host outfit-images.ots.me does not load for some people from Africa and South America - whole ots.me website hosted in OVH datecenter - is not accessible.
I made second host with outfit images on Oracle Cloud machine: Tibia Outfit Images Generator (https://outfit-images-oracle.ots.me/)
and it worked for @potinho
 

Adorius Black

Well-Known Member
Joined
Mar 31, 2020
Messages
182
Solutions
3
Reaction score
75
What OTS engine are you using? Is this some new otservbr or TFS 1.4+ with 'revscriptsys' monsters?
Script load monsters only from old OTS format .xml files.
Hi I am using latest forgotten server 1.4 for 10.98

I have monster inside folder data/monster/monster.xml and scripts in data/monster/different folders / example monster.xml
ama.jpgamaa.jpgss.jpg

This same ot folder I am using on ubuntu in home/adoriusblack/otfolder/data/...

and config i am using in htdocs/map_wiever/creaturesData.php

// path to folder with monster, npc and spawns data
$dataPath = '/home/adoriusblack/otfolder/data/';
$monstersDir = 'monster/';
$npcDir = 'npc/';
$spawnsFile = 'world/BlackFun-spawn.xml';

c.jpg
 
Top