Commit Graph

50 Commits

Author SHA1 Message Date
Eduardo Bart 614d1544c0 Fix market reload and a crash when exiting 2012-07-31 11:42:26 -03:00
Eduardo Bart 59b6abfa09 Implement message modes for 9.6
Fix possible crash when closing otclient
Fix private messages
Fix messages in 9.6
2012-07-30 09:33:52 -03:00
Eduardo Bart e0431021b5 Huge engine change, replace all std::shared_ptrs
Create a new shared pointer type stdext::shared_object_ptr and stdext::shared_obj
using boost::intrusive_ptr

Advantages:
 * half memory usage
 * faster and lightweight

Disadvantages:
 * using weak_ptr is not supported anymore
 * compiling seems slower
2012-07-29 00:34:40 -03:00
Eduardo Bart e3298d561c Rework application class and framework
Make otclient's framework flexible enough to run console apps like
servers, so this mean is possible to build otclient versions without
graphical interface and use it's framework to code servers
2012-07-13 22:23:11 -03:00
Eduardo Bart 98a1b611bf Refactor for documentation 2012-06-25 19:19:17 -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
Eduardo Bart 1c7bbaea89 Fix memory leaks
* Fix recursive reference memory leak in UIWidget
* Make Event/ScheduledEvent memory-leak safe
* Fix exit crashs by freeing graphics resources before destroying GL context
* Add many asserts to avoid any leak regression
2012-06-18 05:13:52 -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
Eduardo Bart cb7bd521d2 fix compilation on win32 2012-04-13 21:14:25 -03:00
Eduardo Bart d4afb71263 clean containers when relogging 2012-04-03 11:15:11 -03:00
Eduardo Bart b46d4c4d5f non relevant changes 2012-03-16 10:31:21 -03:00
Eduardo Bart 411ac72fdc change some comments 2012-02-03 02:18:54 -02:00
Eduardo Bart f1cba66b1e fix possible issue when disconnecting from the server 2012-02-03 00:54:33 -02:00
Eduardo Bart 98ef0e4574 allow setting/getting nodes in g_configs 2012-02-01 21:37:40 -02:00
Eduardo Bart 289efe34cf fix tcp congestion 2012-02-01 20:46:31 -02:00
Eduardo Bart f57d46de0e fix minor connection leak 2012-01-13 13:41:57 -02:00
Eduardo Bart ada5c031d6 fix critial network delay issue 2012-01-09 16:46:15 -02:00
Eduardo Bart 9104305f37 update copyright notice 2012-01-02 14:59:24 -02:00
Eduardo Bart 9c55f18186 enable tcp_nodelay option 2011-11-08 21:03:17 -02:00
Eduardo Bart a96659e9bc add server class to framework 2011-11-04 14:40:26 -02:00
Andre Antunes 5e49fad1d9 fixing memory leak when connection fail 2011-09-11 13:03:20 -03:00
Eduardo Bart f41fd0576c login/logout/ctrl+g working correctly 2011-08-29 15:38:01 -03:00
Eduardo Bart e87297c1b5 reorganize all constants and place them into namespaces 2011-08-28 13:02:26 -03:00
Eduardo Bart f7eac377e7 restore copyright notice 2011-08-28 10:17:58 -03:00
Eduardo Bart 3d4cfb793e net improvments 2011-08-16 00:27:46 -03:00
Eduardo Bart b90bb275b9 ... 2011-08-15 21:32:16 -03:00
Eduardo Bart f87b475f49 revise network system 2011-08-15 21:30:31 -03:00
Eduardo Bart d8cc37afdb reorganize sources 2011-08-15 11:06:15 -03:00
Henrique e8448cddb9 creatures, fixe 2011-08-15 02:09:27 -03:00
Eduardo Bart 55862b07ad merge total remake 2011-08-13 23:10:27 -03:00
Eduardo Bart ea2645c151 some network refactoring 2011-07-27 20:01:33 -03:00
Henrique f34b6b1bab connection rework, entergame.lua fix 2011-07-27 15:10:49 -03:00
Eduardo Bart 70f0b0dace new script engine, and things maybe be bugged for a while 2011-07-26 20:13:27 -03:00
Eduardo Bart 8ef1b28546 many changes and refactoring 2011-07-13 18:12:36 -03:00
Henrique c490577ea8 connection fixes, motd fixed 2011-05-31 02:24:30 -03:00
Henrique ad10754779 init protocol login 2011-05-30 00:11:12 -03:00
Eduardo Bart c6753747fb a bunch of stuff 2011-05-11 19:16:11 -03:00
Eduardo Bart 96e0b1e909 new logger
scripts are now more error prone
2011-04-22 15:48:02 -03:00
Henrique Santiago 8952bddb7a init network 2011-04-20 03:40:31 -03:00
Eduardo Bart 3de455fe7e remove bugged net files 2011-04-18 00:26:35 -03:00
Eduardo Bart c0fce81238 ahn? 2011-04-17 16:14:24 -03:00
Eduardo Bart beeb41dafd poll 2011-04-16 23:52:54 -03:00
Eduardo Bart da57770f88 network 2011-04-16 23:48:13 -03:00
Henrique Santiago 2070b94661 init protocol integ 2011-04-16 22:06:38 -03:00
Andre Antunes 2805a34267 begining tibia protocol 2011-04-09 22:25:13 -03:00
Andre Antunes 02c58f16cd connection update 2011-04-08 20:24:51 -03:00
Andre Antunes bda40b218a using lambda 2011-04-08 15:18:26 -03:00
Andre Antunes 6f952adae2 connection is now working properly 2011-04-07 15:02:06 -03:00
Eduardo Bart 21bcbf9a97 compilation fixes 2011-04-07 06:36:02 -03:00
Andre Antunes 86ed2ff287 adding net to framework 2011-04-07 05:42:57 -03:00