53 Commits

Author SHA1 Message Date
Kamil Chojnowski
80b35b8308 Fix an issue with Connection class linkage 2019-10-14 07:54:39 +02:00
Daniel Speichert
dc729d9846
Fix formatting 2018-07-16 08:47:31 -04:00
Daniel Speichert
ad769d6614 Fix compilation errors (READ_TIMEOUT, READ_TIMEOUT) 2018-07-15 17:03:21 -04:00
Bruno Minervino
882be286d9 Update copyright year for 2017 2017-01-13 08:47:07 -02:00
Ranieri Althoff
2f1f62a916
Update copyright year for 2016 2016-07-09 22:11:34 -03:00
Gabriel Pedro
04b516a1a0 Update copyright for 2015 2015-03-04 10:36:51 -04:00
BenDol
547b18db9a Update copyright for 2014 2014-04-01 18:36:42 +13:00
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
06e2b6eca2 Platform fixes and rework ping 2013-02-24 22:16:45 -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
Henrique
c969f5209f Some changes to server compatibility 2012-07-30 16:40:03 -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
ad04043a88 Lua binder compability changes
* A lot of changes in lua binder to compile with clang's libc++
* Add more portability to luabinder
* Remove const keyword from bound lua functions
* Deprecate std::bind usage with luabinder replace its usage with registerSingletonClass/bindSingletonFunction for binding singleton classes
* Fix a bug in lua binder where calling functions with bil object would make the client crash
* More fixes to compile with clang
2012-06-17 12:21:46 -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
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
f1cba66b1e fix possible issue when disconnecting from the server 2012-02-03 00:54:33 -02:00
Eduardo Bart
4584ce5b86 bind Game.turn 2012-02-02 00:38:46 -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
a96659e9bc add server class to framework 2011-11-04 14:40:26 -02:00
Eduardo Bart
f41fd0576c login/logout/ctrl+g working correctly 2011-08-29 15:38:01 -03:00
Eduardo Bart
f7eac377e7 restore copyright notice 2011-08-28 10:17:58 -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
Henrique
a38bd18280 init protocolgame 2011-08-01 01:28:41 -03:00
Eduardo Bart
ea2645c151 some network refactoring 2011-07-27 20:01:33 -03:00
Henrique
a62785911a connection fix 2011-07-27 15:13:59 -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
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
da57770f88 network 2011-04-16 23:48:13 -03:00
Henrique Santiago
2070b94661 init protocol integ 2011-04-16 22:06:38 -03:00
Eduardo Bart
83b166e91e use boost stuff 2011-04-11 18:22:01 -03:00
Eduardo Bart
1f78f93096 refactoring paths and includes 2011-04-10 12:37:15 -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