Eduardo Bart
e9e4dcd71b
Improve walk when lagging
2013-03-13 20:55:20 -03:00
Eduardo Bart
24664714bd
Fix rare but serious bug in Connection
...
* Implement output pooling for writing data in connection,
this should fix rare cases where sending would fail
2013-03-12 00:18:47 -03:00
Eduardo Bart
122577a916
Just rename some files
...
* Fix a server ping issue
2013-01-08 16:32:05 -02:00
Henrique Santiago
05fcf740b4
Stats module
2012-08-22 05:51:31 -03:00
Henrique Santiago
7fb2f6deb5
Add getIp function, remove unused sql function
2012-08-12 01:54:45 -03:00
Eduardo Bart
3bac3dcbb4
Rework stdext classes
...
Implement new classes:
* stdext::any => ligher replacement for boost::any
* stdext::packed_any => like any but optimized to use less memory
* stdext::shared_object => ligher replacement for std::shared_ptr
* stdext::shared_object_ptr => replacement for boost::intrusive_ptr
* stdext::fast_storage => for storing dynamic data
* stdext::packed_storage => same but with less memory
* stdext::packed_vector => std::vector with less memory
Compiling should be a little faster now because global boost including
is not needed anymore
2012-08-01 09:23:35 -03:00
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