Commit Graph

129 Commits

Author SHA1 Message Date
Eduardo Bart 4de9787198 new gcc compile optimizations 2012-06-05 09:39:45 -03:00
Eduardo Bart 296f2a17c4 many modules fixes 2012-06-03 21:28:19 -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 250e9ac238 more autowalk rework 2012-06-03 16:28:17 -03:00
Eduardo Bart 05d6e8c3e1 autowalk improvement, but still needs to be reworked 2012-06-03 12:49:48 -03:00
Eduardo Bart 14db1066fc change logger 2012-06-01 17:39:23 -03:00
Eduardo Bart c01b32b032 rework log function and protocol
* remove some protocol ifdefs, replace with game features system
2012-05-28 19:04:44 -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
Eduardo Bart 2478809945 add lua flexibility for protocol
* use shared_ptr for InputMessage and OutputMessage and bind them
* allow sending network messages from lua
* implement extended opcode
* use own OS type  for otclient to allow server side detection
* fixes in input event bot protection
* move RSA to input/output network messages
* allow to capture opcodes before GameProtocol parsing with the event GameProtocol.onOpcode
* fixes in lua std::string pop/push to allow byte buffering
2012-05-14 18:39:31 -03:00
Eduardo Bart ee5b00c1a6 fix compile for 862 2012-05-12 11:10:47 -03:00
Eduardo Bart ae2a476872 more bindings/sends for 870-953 2012-05-12 08:55:22 -03:00
Eduardo Bart fa9c942471 basic protocol 953 support, logging in real tibia! 2012-05-12 01:52:16 -03:00
Eduardo Bart d586bb5e93 some protocol changes for more compatibility 2012-05-11 16:39:54 -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
Eduardo Bart 04eca969fa fix compile issue for win32 2012-05-09 20:04:09 -03:00
Eduardo Bart 606fc38109 fixes and missing file
* fix walking on tile that has too many creatures
* add missing file
* some walk rework
2012-05-09 19:19:05 -03:00
Eduardo Bart 4f08a288ca fix compile error, rebind trade functions 2012-04-30 23:59:17 -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
Eduardo Bart 42ba5b7a2a bind rule violations/bug report functions 2012-04-30 19:25:43 -03:00
Eduardo Bart 519a52910e fix in npc trade 2012-04-27 20:51:46 -03:00
Eduardo Bart f589e6a786 fix in npc trade 2012-04-27 20:47:08 -03:00
Eduardo Bart 7b81a0cf3b fix possible crash when trading and using containers 2012-04-27 04:28:06 -03:00
Eduardo Bart ceb051cb75 finally reloadable vip, skills, inventory, chat and minimap 2012-04-27 03:30:54 -03:00
Henrique Santiago 60495174a4 bot traceback, moveup function, chat setting default ongamestart 2012-04-25 21:15:48 -03:00
Eduardo Bart 248ea9e8bc fix rare crash in containers 2012-04-05 17:51:06 -03:00
Eduardo Bart b5a4d31fa7 more graphics optimizations
* avoid buffers clears
* use scisors testing instead of stencil testing for clipping
* remove stencil buffers
2012-04-04 17:18:24 -03:00
Eduardo Bart d4afb71263 clean containers when relogging 2012-04-03 11:15:11 -03:00
Eduardo Bart 90d3acce2a restore containers
* implemente Container class
* restore module containers
* add lua bindings for std::map
* improve grid layout
* fixes in UIItem rendering
* changes in miniwindow design
2012-04-02 20:09:47 -03:00
Eduardo Bart 0ddaa234af rework on UILineEdit
* allow multiline text editing
* rename UILineEdit to UITextEdit
2012-03-31 10:43:01 -03:00
Eduardo Bart 959d9a87b0 fix focus bug, change battle events 2012-03-29 19:47:12 -03:00
Eduardo Bart a475384b73 ui fixes
* fix viplist
* fix skills update
* fix mouse grabber
* minimize send interval
* add api to get world name
2012-03-29 16:25:04 -03:00
Eduardo Bart fe86dc8050 real autowalking
* smart autowalking using A* path finding algorithm
2012-03-23 17:36:58 -03:00
Eduardo Bart 8bc63e25df simplistic autowalk
* add simple and stupid autowalk algorithm
* fix issue in classic control
2012-03-23 11:48:00 -03:00
Eduardo Bart b4261a8c7b bunch of optimizations 2012-03-20 12:17:10 -03:00
Eduardo Bart f62f507813 just fixes
* clean map when relogging
* fix otclientrc.lua reloading
* fix game disconnection messagebox
* fix animated texture
2012-03-19 14:54:47 -03:00
Eduardo Bart 4bac617fd9 some protocol 870 support 2012-03-18 17:59:00 -03:00
Eduardo Bart c0611bfe2a restore some game functionallity
* i'm gradually restoring game functionality with the new modules design, though still a lot to do
* you can reload all scripts and modules using Ctrl+R shortcut while playing (finally! this is the reason of all this rework)
* a bunch of fixes, but new regression too :P
* fix performance issue that could lead freezes in the client in older machines
* completely new game module with new design
* fix crashs in map render
* remove uigame.cpp (now every game input is via lua)
* enable DEBUG macro by default, with it you are able to view any possible lua leak while running
2012-03-18 10:35:45 -03:00
Eduardo Bart e03bf33f58 BEAWARE all game functionality is disabled with this commit for a while
* rework client modules
* hide main window when loading
* remake top menu functions
* rework modules autoload
* improve path resolving for otml and lua
* move core_widgets to core_lib
* fix tooltip issues
* split some styles
* add bit32 lua library
* fix assert issues
* fix compilation on linux 32 systems
* rework gcc compile options
* renable and fix some warnings
* remove unused constants
* speedup sprite cache
* move UIGame to lua (not funcional yet)
* fix a lot of issues in x11 window
* fix crash handler
* add some warnings do uiwidget
and much more...
2012-02-20 00:28:13 -02:00
Eduardo Bart a8c9980a5c bind lua functions for questlog/npc trade/trade/channels/text edit/list edit/containers 2012-02-09 01:45:19 -02:00
Eduardo Bart 55fbb5f1a6 improvment in connect 2012-02-08 20:58:27 -02:00
Eduardo Bart 175f97b98f reaname and cleanup many stuff 2012-02-08 19:23:15 -02:00
Eduardo Bart 1013ae279b fix messagebox and rename some stuff 2012-02-08 00:11:57 -02:00
Eduardo Bart 09b3aa82df add onGameStart/onGameEnd/onLogin/onLogout events 2012-02-07 21:54:33 -02:00
Eduardo Bart ee1357a848 add combat controls 2012-02-07 21:06:52 -02:00
Eduardo Bart e9411aa244 some cleanup 2012-02-07 01:33:50 -02:00
Eduardo Bart 85a121822e allow useWith with inventory items 2012-02-07 01:02:06 -02:00
Eduardo Bart a55e138002 some cleanup in modules, fixes in tooltip, uiwidget warnings, disable map saving for a while 2012-02-05 20:42:35 -02:00
Eduardo Bart 05f649cdeb rework speak types 2012-02-02 22:25:18 -02:00
Eduardo Bart 496efc44ce bind all channels/chat lua functions 2012-02-02 20:29:44 -02:00