Commit Graph

38 Commits

Author SHA1 Message Date
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 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 3b345cf868 Add setXteaKey function 2012-08-01 21:25:11 -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 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 aed779a2c8 doc and luabinder changes 2012-06-22 00:14:13 -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
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 5a47e9d8a9 support for protocol 810
* change in protocol/network classes to make compatible with older protocols
* use filestream for reading dat
* add many ifdefs for multi-protocol support
2012-05-11 15:02:57 -03:00
Eduardo Bart f57d46de0e fix minor connection leak 2012-01-13 13:41:57 -02:00
Eduardo Bart 9104305f37 update copyright notice 2012-01-02 14:59:24 -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 3d4cfb793e net improvments 2011-08-16 00:27:46 -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
Eduardo Bart 55862b07ad merge total remake 2011-08-13 23:10: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 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 571801ae39 some refactoring 2011-07-16 21:13:53 -03:00
Eduardo Bart 8ef1b28546 many changes and refactoring 2011-07-13 18:12:36 -03:00
Eduardo Bart 9b2d71f6d8 protocol via script 2011-05-30 22:55:34 -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 1f78f93096 refactoring paths and includes 2011-04-10 12:37:15 -03:00
Andre Antunes 296d613f3b adding net files 2011-04-09 22:26:57 -03:00