Eduardo Bart
e7691b873b
Add error code to onError protocol event
2012-07-09 19:45:34 -03:00
Eduardo Bart
59f75d996e
Fix crash when logging without specifing a port or host
2012-07-09 15:06:58 -03:00
Eduardo Bart
2c5fdc88d1
restore music at startup
2012-07-09 14:53:05 -03:00
Eduardo Bart
23fee49456
Merge pull request #6 from sn4ke/master
...
Fixed bug with adding Vip from console or map, who is already on viplist.
2012-07-09 09:19:23 -03:00
BeniS
902ce06e88
Fixed an issue with the battle list filter.
...
More work on the minimap, interface changes, fixed direction controls, fixed reseting, fixed some draw things (needs some more work to finish).
Fixed a bug in the battle list causing Battle.onFollow(creature) to execute when there was no follow.
2012-07-09 09:19:02 -03:00
Kamil
85786efbd3
Fixed bug with adding Vip from console or map, who is already on viplist.
2012-07-09 08:59:16 +02:00
Eduardo Bart
4ac3ec8344
Minor fixes for releasing otclient
2012-07-08 13:46:09 -03:00
Eduardo Bart
7e96c3bec6
Disable particles module
2012-07-08 10:38:01 -03:00
Eduardo Bart
c05a7f6403
Add clear channel icon
2012-07-08 10:21:12 -03:00
Kamil
f533e739c9
Added clear button to game console (in commit I didn't add icon).
2012-07-08 11:50:24 +02:00
BeniS
69cc53d7f3
Minor fix from last commit.
2012-07-08 02:44:53 +12:00
BeniS
4453242bee
Adjusted chase modes to work correctly, added new option for auto chase override. Fixed NPC speak messages to appear in the correct position.
2012-07-08 02:09:50 +12:00
Henrique Santiago
6a85c31a77
Some particle stuff, far from done
2012-07-06 02:01:13 -03:00
Eduardo Bart
6f12261aef
Move otclientrc.lua to top dir
...
* Use markdown for README
2012-07-05 17:03:57 -03:00
Eduardo Bart
8cc14c2d2d
Save graphics options
2012-07-05 15:49:10 -03:00
Eduardo Bart
6bce0bd680
Imrove lua engine
...
* Allow bound C++ functions to return multiples values to lua with tuples
2012-07-05 09:38:48 -03:00
Henrique Santiago
0b98dca50f
Changes to autowalk position on different floors, move its functions to game interface
2012-07-05 02:40:31 -03:00
Henrique Santiago
df8dd52c25
Changes to npc trade module
2012-07-04 17:36:58 -03:00
Henrique Santiago
46e3fbe045
Resize background image to 1024, so it'll be loadeable in old hardware
2012-07-03 12:43:13 -03:00
AndreFaramir
0005119afe
improving minimap
2012-06-26 02:55:33 -03:00
Eduardo Bart
98a1b611bf
Refactor for documentation
2012-06-25 19:19:17 -03:00
Henrique Santiago
39403e612f
Fixes to miniwindows
2012-06-24 09:41:50 -03:00
Eduardo Bart
eec6114b2d
Optimize lua object push
...
* Optimize position hash
* Fix minimap reload
2012-06-24 08:20:39 -03:00
Eduardo Bart
fcd6d3cfe9
Minimap fixes
...
* Fix infinite loop while loading minimap
* Fix errors in FileStream class
* Remake OTCM map format
* Fixes in UIMap
2012-06-23 12:03:28 -03:00
Eduardo Bart
d39cf361ab
improve minimap
2012-06-22 02:26:22 -03:00
Eduardo Bart
aed779a2c8
doc and luabinder changes
2012-06-22 00:14:13 -03:00
Eduardo Bart
c5674d10ba
some refactoring
2012-06-21 20:58:18 -03:00
Henrique Santiago
a7c17cec2e
Save miniwindows states
2012-06-21 16:31:36 -03:00
Eduardo Bart
96c363d997
changes for otb compability
2012-06-21 14:54:20 -03:00
Henrique
857657d8a0
Fix popupmenu style, exitting on game
2012-06-20 04:10:12 -03:00
Henrique
db4ced65eb
Fix skin and locale at first run, adding new locale to combobox, exit function double call, enable sound option
2012-06-20 03:31:52 -03:00
Eduardo Bart
8761220deb
Refactoring and flexibility changes
...
* Split game module into game and game_interface
* Move core_lib to corelib
* Move miniwindow to corelib
* Introduce init.lua script for initializing the client, giving much more flexibility
* OTClient is no longer Application derived and is much simpler
2012-06-19 21:16:52 -03:00
Henrique Santiago
4bdcae2f8b
improvements to skins
2012-06-19 05:46:49 -03:00
Eduardo Bart
5a048eb7ea
Minor graphics fixes
2012-06-18 20:58:56 -03:00
Henrique Santiago
2d04d41f09
skins, not fully working
2012-06-18 04:47:35 -03:00
Eduardo Bart
4813b7eb4b
many changes
...
* Fixes in WIN32 platform
* Remove unused files
* Make StaticText work more like tibia
* Fix WIN32 compilation
* Fix regression in framebuffers that caused battle to disappear
* Shader fixes for DX9
* Add two new shaders: noise and heat
2012-06-15 21:46:36 -03:00
Eduardo Bart
83f86eac64
experimental map shaders
2012-06-14 15:26:55 -03:00
Eduardo Bart
8cef6463b3
improve miniwindow moving
2012-06-11 11:10:03 -03:00
Henrique Santiago
bae578a35a
fix little mistake
2012-06-11 05:25:04 -03:00
Henrique Santiago
c28aff1aa6
console ignore npc messages option
2012-06-11 05:17:52 -03:00
Henrique Santiago
e7334566a2
improve miniwindow moving
2012-06-11 02:38:08 -03:00
Eduardo Bart
29dadb849e
add EGL to win32
2012-06-10 15:52:08 -03:00
Henrique Santiago
db59c73ed2
changes to progressrect
2012-06-10 04:46:00 -03:00
Henrique Santiago
52333f5d28
progress rect
2012-06-10 03:09:37 -03:00
Henrique Santiago
ea70b85c8b
close private msg when relogin
2012-06-09 21:12:40 -03:00
Don Daniello
11767fe421
Polish translation update
...
charset changed to latin1
2012-06-09 23:44:47 +02:00
Don Daniello
d2bfe90303
Polish translation
...
Polish language file added
Still need UTF-8 support to work
2012-06-09 22:37:32 +02:00
Eduardo Bart
1a2e97bb5e
show private message on screen
...
* disable GL blending in some situations to speedup on older hardware
* fix wrap size in CachedText
2012-06-09 10:00:08 -03:00
Eduardo Bart
95cf7eb788
graphics optimizations/fixes/features
...
* cache text vertex for StaticText, AnimatedText and Creature names
* improved outfit rendering
* fully compatible with OpenGL 1.1
* enable mipmaping for game sprites again
* Ctrl+W hotkey clean game texts
2012-06-08 21:40:41 -03:00
Eduardo Bart
1a7f2a44fc
graphics fixes and improvements
2012-06-08 21:40:41 -03:00
Henrique Santiago
4f9ca15ef0
bind clock, fixes to waiting list
2012-06-08 17:58:24 -03:00
Henrique Santiago
587db0d89f
changes to uiitem
2012-06-08 00:02:06 -03:00
Eduardo Bart
066ffead08
more fixes
...
* add default key combos to Hotkeys
* impement moving countable items holding Ctrl or Shift
* fix messagebox incorrent size
* implement API in Keyboard to get modifiers key states
* minor UI layout fixes
* add Ctrl+L logout hotkey
2012-06-07 12:11:52 -03:00
Eduardo Bart
486837a61d
minor fixes
...
* change chase mode while walking and attacking
* avoid lua errors in frame counter when starting
2012-06-07 08:52:17 -03:00
Eduardo Bart
48d243a11d
disable vsync by default
2012-06-07 00:50:09 -03:00
AndreFaramir
362ab0e1c6
fix conditions on reload
2012-06-06 23:16:40 -03:00
Eduardo Bart
70ea0361b6
new useful function, cycleEvent
2012-06-06 17:14:53 -03:00
Henrique Santiago
86cade0aa9
waiting list, u16 effects feature, protocolsend uses clientversion
2012-06-05 20:46:36 -03:00
Henrique Santiago
3cb5216858
protocol login working
2012-06-05 18:27:37 -03:00
Henrique Santiago
6b9943447a
protocol login at lua
2012-06-05 16:16:57 -03:00
AndreFaramir
3f18ffa475
no more prints plx -.-'
2012-06-05 13:47:12 -03:00
AndreFaramir
0d34af972e
fix on ruleviolation reason indexes
2012-06-05 13:03:59 -03:00
Eduardo Bart
023a4ebef6
performance improvements
2012-06-05 12:36:27 -03:00
Eduardo Bart
e5000fa577
encrypt password and account number
...
* the encryption uses a unique machine key, this means that if anyone steals config.otml with a saved password,
he will not be able to decrypt the password without the machine UUID key
* the encrypt uses a simple XOR encryption method, encoded with base64 and adler32 summing
2012-06-04 09:38:25 -03:00
Eduardo Bart
296f2a17c4
many modules fixes
2012-06-03 21:28:19 -03:00
Henrique Santiago
9548ce78c6
fix lua error, add pt translations
2012-06-03 19:55:26 -03:00
Henrique Santiago
fda3ae6809
fix scroll, container item size, tradewindow scroll, questlog window alignment, stop attacking same creature
2012-06-03 17:05:35 -03:00
Eduardo Bart
d49cad31e2
fixes in EGL platform
2012-06-03 11:10:34 -03:00
Eduardo Bart
079b7a5c41
allow to change graphics engine in options
2012-06-02 18:41:20 -03:00
Eduardo Bart
257f652bb7
more opengl graphics fixes
2012-06-02 15:58:30 -03:00
Eduardo Bart
59a80ffaf9
scroll when focusing widgets
2012-06-01 21:38:26 -03:00
Eduardo Bart
ba01909088
fix alpha blending issues
2012-06-01 20:22:10 -03:00
Henrique Santiago
6fce78d519
compile error, lua const
2012-06-01 17:53:04 -03:00
Eduardo Bart
bd2faabe99
graphics optimization feature inspirated by diablo3 engine
...
* the rendering now consits of two panes
- the background pane (for animated stuff like the map)
- the foreground pane (for steady stuff, like UI)
each pane has it own max FPS and works idependently
this may increase graphics performance on many platforms
2012-06-01 16:39:09 -03:00
Eduardo Bart
4c80d783d6
rewrite and reoganize tools functions
...
* create stdext namespace which contains additional C++ algorithms
* organize stdext in string, math, cast and exception utilities
2012-05-28 10:06:26 -03:00
Henrique Santiago
b0fd5b3ec8
removed extended ifdef, its now activated serverside
2012-05-17 12:24:41 -03:00
Henrique Santiago
4f90783789
extended opcode disabled by default. current locale is sent to server on login, bot protection exception
2012-05-16 17:09:37 -03:00
Henrique Santiago
6162d51958
gamelib_extended
2012-05-15 17:37:09 -03:00
Henrique Santiago
1203756baf
items draw rework, npc trade fix
2012-05-13 12:05:30 -03:00
Eduardo Bart
fa9c942471
basic protocol 953 support, logging in real tibia!
2012-05-12 01:52:16 -03:00
Eduardo Bart
abbd15b1c2
basic protocol 910 support
2012-05-11 22:44:13 -03:00
Eduardo Bart
e1fad92110
terminal tweaks
2012-05-11 06:17:46 -03:00
Eduardo Bart
3f2071d097
fix possible walk crash
2012-05-11 06:17:46 -03:00
Eduardo Bart
9abac474dd
style adjustment and fixes
...
* style adjustments, now window and button style
* fix bug when logging on a tile with too many creatures
* remove deprecated onLogin and onLogout events
2012-05-11 06:17:46 -03:00
Henrique Santiago
c0b6608453
fix npctrade buy with bps and ignorecapacity
2012-05-11 06:00:30 -03:00
Eduardo Bart
6495d74edd
restore outfit colors
...
* rework sprite manager and ThingType
* render colored outfits again compatible with OpenGL 1
2012-05-09 17:26:34 -03:00
Eduardo Bart
fea34a41ea
trade working
...
* use only mouse left release in checkboxes
* remvoe duplicated code in radiogroup
* implement player trade
2012-05-09 09:24:35 -03:00
Eduardo Bart
44cf5e20d3
begin some documentation in styles
2012-05-02 15:31:07 -03:00
Eduardo Bart
02c5e7b8ff
missing files
...
* add questlog icon
* add playertrade otui
* some protocol changes for extended messages
2012-05-01 21:41:42 -03:00
Eduardo Bart
788a831f24
bug report module
...
* change modules authors and website
* avoid anchors recursivity crash
* update README
2012-05-01 10:06:38 -03:00
AndreFaramir
69614da8cb
New module and changes
...
* Implementing rule violation interface
* New popup menu on console text messages
* Terminal and Console will no longer history double command/messages
2012-05-01 03:49:48 -03:00
Eduardo Bart
2f0a151fed
questlog module complete
2012-04-30 23:00:07 -03:00
Eduardo Bart
f290d821f1
textbooks module complete
2012-04-30 21:53:02 -03:00
Eduardo Bart
00740b56f3
begin playertrade, questlog and textbooks modules
2012-04-30 21:20:27 -03:00
Henrique Santiago
45d3097504
case insensitive to npc trade, private channels are now closing
2012-04-30 18:57:17 -03:00
Eduardo Bart
beaba25af1
UI tweaks
2012-04-30 16:30:37 -03:00
Eduardo Bart
3f689e0edf
optimize UIWidget for largers NPC trades
2012-04-30 03:34:29 -03:00
Eduardo Bart
ec9ea9e33d
minor warning fix
2012-04-30 02:30:54 -03:00
Henrique Santiago
96e35eeb1d
npctrade hooked events are now local, fixed extra disconnect
2012-04-29 21:53:46 -03:00
Henrique Santiago
37d943fc28
npctrade closing trade and focusing window
2012-04-29 20:06:23 -03:00
Henrique Santiago
170d4fd365
fixes to npctrade
2012-04-29 19:43:23 -03:00
Henrique Santiago
8d0f07255d
npctrade reworked, still need skin changes, and grey shader for items
2012-04-29 06:08:55 -03:00
Eduardo Bart
cc965bb77b
add libpng as dependency
...
* NOTE: you will need to download the new required libraries
2012-04-28 19:02:57 -03:00
Eduardo Bart
1c12bc3fb2
fix minor channels lua error
2012-04-28 17:18:36 -03:00
Eduardo Bart
b75483e9bf
fixes
...
* fix filestream read
* fix transparent minimap
2012-04-27 19:17:51 -03:00
Eduardo Bart
220701e90f
clean inventory when relogging
2012-04-27 17:35:39 -03:00
Eduardo Bart
a329deb8c5
fix a vip warning
2012-04-27 17:21:11 -03:00
Eduardo Bart
b1082121d4
add spanish locale, thanks Shaday
2012-04-27 13:23:51 -03:00
Eduardo Bart
b1e5fdc9ae
some cleanup in locales
2012-04-27 03:52:49 -03:00
Eduardo Bart
ceb051cb75
finally reloadable vip, skills, inventory, chat and minimap
2012-04-27 03:30:54 -03:00
Eduardo Bart
d0b839a4eb
fix warnings and some reloading issues
2012-04-27 01:54:14 -03:00
Henrique Santiago
da1baf9673
add more pt-br translations
2012-04-26 19:28:31 -03:00
Eduardo Bart
34091bc48e
implement all needed tr() for localization
...
* implement some pt-BR translations
* remove legacy about module
2012-04-26 16:54:16 -03:00
Henrique Santiago
ca0e1bd38b
more locales changes
2012-04-26 13:45:25 -03:00
Eduardo Bart
fae2cc6481
new scripting functionality
...
* dofiles functions to run all scripts inside a directory
* new style option ! that evaluates its value from a lua code
2012-04-26 12:11:03 -03:00
Henrique Santiago
12d75a765b
init locales module
2012-04-25 23:57:56 -03:00
Henrique Santiago
60495174a4
bot traceback, moveup function, chat setting default ongamestart
2012-04-25 21:15:48 -03:00
Henrique Santiago
c89665848d
some changes to npctrade. still needs another rev
2012-04-24 20:04:37 -03:00
Henrique Santiago
9afe4e012b
request trade
2012-04-24 19:09:48 -03:00
Henrique Santiago
49fbbf6506
move up menu, still need a higher level function
2012-04-24 18:15:58 -03:00
Eduardo Bart
7526315d12
new shortcuts
...
* Ctrl+Q logout from game
* Ctrl+Shift+R reload scripts, instead of Ctrl+R that is now reserved for rule report
* Ctrl+A clean the chat text box
* Ctrl+F toggles fullscreen mode
2012-04-24 09:21:48 -03:00
AndreFaramir
6db87aa78b
fixing my mistakes =x
2012-04-24 08:39:45 -03:00
AndreFaramir
50145ec6b8
implementing private chat channel basics
2012-04-24 08:20:14 -03:00
AndreFaramir
6d6534f57e
fix guild channel chat
2012-04-24 01:01:59 -03:00
AndreFaramir
c903cc7ec4
Some fixes
...
* Scrollbar on hotkeys window
* Guild channel will appears on channel list but not yet working properly
2012-04-24 00:19:01 -03:00
Henrique Santiago
dcefeb134c
remove print, fix creature name position
2012-04-21 21:45:05 -03:00
Eduardo Bart
f14706206a
continue implementing new graphics engine
...
* implement OpenGL ES 1.1 and OpenGL ES 2.0 support
* new framebuffer that can run on any opengl implementation
* fixes in outfit size rendering
2012-04-20 07:16:03 -03:00
Eduardo Bart
58d76e255d
begin implementing OpenGL 1.0 engine
...
* option to pass -opengl1 or -opengl2 as argument
* note that with this commit there are a lot of graphics regressions and the master will remaing unstable for a while
* shaders disabled for a while
2012-04-18 20:03:43 -03:00
Eduardo Bart
1d558bc412
make precompiled header work again
2012-04-15 08:00:13 -03:00
Eduardo Bart
c3eae3ba06
bind sound functions and add sample startup music
2012-04-14 11:19:58 -03:00
AndreFaramir
04c2e1d245
moving report to addons
2012-04-11 14:13:25 -03:00
AndreFaramir
6a0677fc26
report client info to server
2012-04-11 05:05:27 -03:00
AndreFaramir
057727f5af
hide npctrade on game end
2012-04-10 22:45:40 -03:00
AndreFaramir
638cce5081
some fixes and utils
2012-04-10 22:05:05 -03:00
AndreFaramir
94984e0795
new npc trade feature, show only holding items for sell tab
2012-04-10 22:05:04 -03:00
Eduardo Bart
1d2f6c7e9f
enable text-auto-resize for width
2012-04-10 23:59:05 -03:00
Eduardo Bart
2c53d0b1dc
hide minimap by default
2012-04-09 18:47:29 -03:00
AndreFaramir
685c730dda
removing debug line
2012-04-09 18:30:16 -03:00
AndreFaramir
dae7a8b5ad
optimizations and bug fixes on npc trade
2012-04-09 18:27:25 -03:00
AndreFaramir
b4940a6b33
fixing npc items on both lists
2012-04-09 18:02:11 -03:00
Eduardo Bart
5425d344ba
optimize widget destruction
2012-04-09 17:53:45 -03:00
Henrique Santiago
2f3c83e858
textedit maxlength, fix charlist status height
2012-04-08 19:10:07 -03:00
AndreFaramir
9ca09d9849
remove unnecessary file
2012-04-08 17:19:58 -03:00
AndreFaramir
9c038e2f39
implement npc trade interface
2012-04-08 17:13:51 -03:00
Eduardo Bart
92bd1aba54
optimize graphics performance
2012-04-08 16:31:36 -03:00
Henrique Santiago
c93732a44a
close channel event
2012-04-08 01:13:52 -03:00
Eduardo Bart
2e43a77d64
change mouse press behaviour
2012-04-07 00:37:29 -03:00
Eduardo Bart
2835a66bab
experimental minimap
...
* a lot of rework in MapView
* new APIs for UIMap
2012-04-06 20:15:52 -03:00
Henrique Santiago
fba5f188d7
items movement fixed, spinbox style changed
2012-04-06 19:31:45 -03:00
Henrique Santiago
8cc0aaae23
add scrollbar to channel list, closing channels fixed
2012-04-06 19:14:39 -03:00