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

New Map Editor

So yeah Fallen explains like a noob when it comes to compiling, thanks to Chojrak (Diath) I managed to compile it so here are the simple instructions.
Don't get me wrong he is awesome it's just he made the instructions more complicated than they need to be.

1. Download QT Creator and QT Libraries from qt.nokia.com and install.
2. Open the .pro file that came with the trunk in QT Creator.
3. Press Ctrl+Shift+B
4. Copy the data folder that came with the trunk to the OtlandMapEditor-build-desktop folder.
5. Make a folder inside called "tibiadata_860" and paste items.xml items.otb tibia.dat and tibia.spr inside (8.60 versions ofcourse)
6. Press the green play button.

If for some reason QT Creator doesn't find the Libraries then:
1. Tools>Options in QT Creator.
2. Press QT4 and select Manual.
3. Press browse in qmake location and navigate to qmake.exe (default should be c:\qt\4.7.3\bin\qmake.exe)
That should fix it.

Nuff' said.
 
So yeah Fallen explains like a noob when it comes to compiling, thanks to Chojrak (Diath) I managed to compile it so here are the simple instructions.
Don't get me wrong he is awesome it's just he made the instructions more complicated than they need to be.

1. Download QT Creator and QT Libraries from qt.nokia.com and install.
2. Open the .pro file that came with the trunk in QT Creator.
3. Press Ctrl+Shift+B
4. Copy the data folder that came with the trunk to the OtlandMapEditor-build-desktop folder.
5. Make a folder inside called "tibiadata_860" and paste items.xml items.otb tibia.dat and tibia.spr inside (8.60 versions ofcourse)
6. Press the green play button.

If for some reason QT Creator doesn't find the Libraries then:
1. Tools>Options in QT Creator.
2. Press QT4 and select Manual.
3. Press browse in qmake location and navigate to qmake.exe (default should be c:\qt\4.7.3\bin\qmake.exe)
That should fix it.

Nuff' said.
Thank you, i might put it in README and put your name there.
I've tested r.18, here is the list with bugs I noticed:

  • I'd suggest to use combobox instead of spinbox while choosing the client so it will not allow me to use weird versions like 8.66 or something.
  • When you open the editor new map tab is opened but Items, Creatures and Brushes are not loaded.
  • You can check multiple floor in Floor menu.
  • Same suggestion with New Map dialog as @1.
  • Still can't lose focus with brush, means I can't edit items property without putting new item onto tile.
  • When I put item with ID 709 onto any ground tile, the tile gets replaced with this item. I don't think it should be like this.
  • When you place tiles in row while having LMB down all the time there's some delay with new tile drawing.
  • There is something wrong with your animations, just put few tiles with ID 966 on ground and look yourself at this (looks funny xD).
  • There's bug with Items Tab at dock widget, it seems like list widget with items is too tall, when I scroll it as down as possible the scrollbar gets out of screen.
  • RMB -> Properties does nothing.
  • RMB -> Add Town opens empty either Dialog or Window.
  • When I cut tile and paste onto other tile it pastes on its previous position.
  • I can't paste on empty tile, tile context menu doesn't appear with RMB.
  • Map -> Edit Towns opens empty Dialog/Window (tho it worked in prev. rev).
  • Map -> Poperties opens new map dialog and doesn't load current map values (width, height, name etc).
  • Edit -> Undo works totally wrong, it removes tiles/items I placed at first.
  • File -> Save doesn't want to work.
    Code:
    Exception caught in Application::notify: Cannot save houses
  • First tab's name is "New Map #0" but editor's title is "New %1" (Bad sprintf perhaps?).
  • I don't know why would you make checkbox in Style Change dialog if there are 2 buttons already (OK and Close), simply change buttons to Change and Cancel/Close and get rid of Change checkbox.
  • I closed first tab and pressed "Yes" then the editor crashed.
  • Once I close Dock Widget with items etc. I'm not able to re-open this.

Hope to see this fixed soon :).
Thank you for your contribution, ill fix soon (Just woke up...)

EDIT:
I don't understand this:
Code:
When I put item with ID 709 onto any ground tile, the tile gets replaced with this item. I don't think it should be like this.
Did you mean it's like this one or wat?
Code:
Still can't lose focus with brush, means I can't edit items property without putting new item onto tile.

EDIT2: Fixed most of bugs, some bugs are still there which are:
Code:
Map -> Poperties opens new map dialog and doesn't load current map values (width, height, name etc).
Edit -> Undo works totally wrong, it removes tiles/items I placed at first.
maybe there's some more... but i was in a hurry
 
Last edited:
EDIT:
I don't understand this:
Code:
When I put item with ID 709 onto any ground tile, the tile gets replaced with this item. I don't think it should be like this.
Did you mean it's like this one or wat?
Code:
Still can't lose focus with brush, means I can't edit items property without putting new item onto tile.

Uh, it's like I don't think 709 should be as ground tile, I think this one is sth u put on ground. Dunno how to explain xD.

@Edit:
I just got told that 709 is ground tile, it didn't look like this in your editor tho.

@Edit2:
See the difference?
Otq8P.png
 
Last edited:
Uh, it's like I don't think 709 should be as ground tile, I think this one is sth u put on ground. Dunno how to explain xD.

@Edit:
I just got told that 709 is ground tile, it didn't look like this in your editor tho.

@Edit2:
See the difference?
Otq8P.png
Sprites are being fixed. can you test newest rev?
 
Town dialog opens now but when I do "Add Town" it comes with empty positions. Properties thing still doesn't show up after choosing from item context menu. Still delay with placing items. Map title is fixed. Still can check multiple floors in menu. Items like black marble floor (ID 966) still behave weird in case of animation. Map -> Properties still comes without values. File -> Save still doesn't work :p.
 
Town dialog opens now but when I do "Add Town" it comes with empty positions. Properties thing still doesn't show up after choosing from item context menu. Still delay with placing items. Map title is fixed. Still can check multiple floors in menu. Items like black marble floor (ID 966) still behave weird in case of animation. Map -> Properties still comes without values. File -> Save still doesn't work :p.
Fixed.
 
looks hopeful.
How about brushes/extensions?
will they be same like in RME or i'll have to make new ones?

You should copy some code from RME's sources(if you have rights to do it) to make files easy to copy from rme to your OLME like extensions, creatures etc.
Also could you make addons support like on SME(outfits on rme can't read addons)?
 
new suggestion if not suggested yet, search monsters :D just like ctrl+f for items, but with monsters :)
 
Found bug in r22.

When putting either an optitional pvp zone, pvp zone or protection zone over item IDs: 11694, 11697 and 11698, the tiles dissappear. Just found out about it randomly.
 
looks hopeful.
How about brushes/extensions?
will they be same like in RME or i'll have to make new ones?

You should copy some code from RME's sources(if you have rights to do it) to make files easy to copy from rme to your OLME like extensions, creatures etc.
Also could you make addons support like on SME(outfits on rme can't read addons)?

RME is/was an open-source software.
 
new suggestion if not suggested yet, search monsters :D just like ctrl+f for items, but with monsters :)

1. Type 'j' in RME;
2. Enter monster name or just first letters of monster name;
3. Double click onto monster you want (doubleclicking makes that monster is selected);
4. Profit;
 
1. Type 'j' in RME;
2. Enter monster name or just first letters of monster name;
3. Double click onto monster you want (doubleclicking makes that monster is selected);
4. Profit;
1. I want
2. to search
3. for a monster
4. and not
5. select it
6. got it? xd
 
This is not a RME discussion thread. Please keep the off-topic away from this thread.
 
@Kuba MiszczOTS
j = jump to brush
ctrl+f = search in map

And I want to search for monsters on the map, and not select then, that is what I want to suggest to fallen :)
 
Found bug in r22.

When putting either an optitional pvp zone, pvp zone or protection zone over item IDs: 11694, 11697 and 11698, the tiles dissappear. Just found out about it randomly.
It's cause the tile zone is not transparent so it hides the items under it :p
 
lrn2postscreenshots :s
you failed at the last one, you for a /
 
Back
Top