Now otclient have lights! This code was originally made
by @Tarjei400, I have improved it and merged into otclient
master. Many thanks for tarjei for the contribution.
Warning, this still experimental, fixes may come in the next days.
OTC now supports showing and answering modal dialogs.
addDialog(modaldialog, dialogId, cid, callback)
TODO:
-find out what the "popup" value does.. (Maybe someone knows)
Now server can call:
doPlayerAddMapMark(cid, pos, icon, description)
and it will be parsed.
TODO:
Adding map icons by rightclick on minimap menu.
Removing icons.
Needs to be tested when switching between different versions.
Added key 'moveable' to tabbars
(tabbars are ordered with margins now, not with anchors to the previous
widget)
If stretching is forbidden by options the mapPanel will now update when
the window is resized
- Multiline npc messages with curly braces will now display correctly
- Curly braces are no longer shown in screen
- Removed some tabs in spellsystem :S My bad ..
TODO: Hightlight text in screen area not only in console?
m_itemTypes was being resized too much than expected so is allocin
new itemtype each time it was not being found (which is fake).
otb loader is slow, not sure if it's because of the binary reader
or just the file format is stupid
-Added overlay to the default consoleBuffer for highlighting
-Char 127 now is used as spacer (Width 1)
-Supports default font "verdana-11px-antialised"
http://i.imgur.com/8drWH.png
Improved behavior
- Up / Down will move the whole screen 1 line up / down
- If scrollbar is at the end and Up / Down is pressed it will move the cursor in the right direction
- You can't change the line by using Left / Right key (to remove bugs with scrollbar)
Bugs:
When editing the text (adding new lines / removing line) the scrollbar doesn't update