Commit Graph

120 Commits

Author SHA1 Message Date
BenDol d7429c201c Started 1050 implementation and fix ups:
* Dat now loads (new animations aren't yet functional).
* Fixed the way we reference client versions.

TODO: Write new animation functionality & find out protocol changes.
2014-08-03 10:02:28 +12:00
BenDol 547b18db9a Update copyright for 2014 2014-04-01 18:36:42 +13:00
conde2 7ff73d1064 Fix indentation 2013-11-30 23:34:21 -02:00
conde2 ca2fe9cf45 Fix compilation under MSVC
Use template for std::min and std::max
2013-11-30 23:08:43 -02:00
Henrique Santiago e85afd4b63 Platform modtime, little changes to entergame 2013-03-01 05:08:40 -03:00
Eduardo Bart 7ece0ed8c7 Buttons for client options 2013-02-06 17:35:59 -02:00
Eduardo Bart 4751941e4f Improve encrypt/decrypt algorithms 2013-01-29 11:51:15 -02:00
Eduardo Bart 26c6217bc3 Fix change of RSA keys 2013-01-29 10:37:15 -02:00
Eduardo Bart b7eef97239 Add flexibility in login packets
* It's now possible to add custom data in the login packet
* Add utility funciton to generate RSA keys
* Make the protocol able to use RSA keys with 2048 bits or more
2013-01-28 20:52:03 -02:00
Eduardo Bart 07959ddc04 Fix a vulnerability in password encryption
* There was an error in the encryption used to save passwords,
  now it's really harder to decrypt the password from the config file
* Other minor changes
2013-01-26 14:38:48 -02:00
Eduardo Bart ae731ddefc Rework minimap rendering 2013-01-20 21:17:56 -02:00
Eduardo Bart 0f9cacdde5 Implement missing matrix operations 2013-01-19 12:21:00 -02:00
Eduardo Bart 5344a179a4 Many UI improvements and minor fixes 2013-01-08 18:01:47 -02:00
Eduardo Bart 9d5abb0243 Fix minor issues in item drawing
* Add some utilities functions
2013-01-08 17:40:25 -02:00
Eduardo Bart 122577a916 Just rename some files
* Fix a server ping issue
2013-01-08 16:32:05 -02:00
BeniS dc6d2bb078 8bit color shouldn't be higher than 216, by mistake. 2012-12-03 16:47:21 +13:00
BeniS 617e6b302b Fix for creature lights.
* Will now load the dat values for creature lights (ed if you know a more conventional way for this please let me know).
* No need to draw light for the outfit the creature draw will handle it.
Note: not sure if the from8bit method should limit at 256 or not, but tibia dat contains colors 216+.
2012-12-03 13:17:41 +13:00
Eduardo Bart bdbce01c97 Add uid param to stats module 2012-08-22 22:50:42 -03:00
Henrique Santiago 4e8afab335 Fix rsa change, messagebox and remove lua variable from c++ 2012-08-14 17:37:28 -03:00
niczkx 85b52fbdfd More work on OTBM saving (now it can save binary map w/o spawns and houses) w00t, the 1000th commit 2012-08-08 08:00:16 -06:00
Eduardo Bart 521adc308b Fix broken compilation in mingw32 2012-08-04 12:36:23 -03:00
Henrique Santiago 156ab9b879 More SHA encoding functions and add missing copyright 2012-08-04 11:37:55 -03:00
Henrique Santiago fb7ab21e71 Move RSA class to Crypt 2012-08-04 10:54:35 -03:00
Henrique Santiago 4e0642c814 Removed GMP and added OpenSSL. Rsa class might be moved to Crypto later. 2012-08-03 13:02:01 -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 73769c62e4 Just some refactoring 2012-07-29 07:32:54 -03:00
Eduardo Bart 7a08fed689 Optimize overall memory usage
* Fixes in otbm loader
* Rework BinaryTree
2012-07-15 10:30:39 -03:00
Eduardo Bart 36e5a5a92f Remove if spaces 2012-07-14 14:29:42 -03:00
Eduardo Bart f215b206b1 Fix issue #25 2012-07-09 10:38:03 -03:00
Eduardo Bart 79532cd612 Optimize minimap save/load 2012-06-23 18:30:54 -03:00
Henrique Santiago 52333f5d28 progress rect 2012-06-10 03:09:37 -03:00
Eduardo Bart 023a4ebef6 performance improvements 2012-06-05 12:36:27 -03:00
Eduardo Bart e5000fa577 encrypt password and account number
* the encryption uses a unique machine key, this means that if anyone steals config.otml with a saved password,
he will not be able to decrypt the password without the machine UUID key
* the encrypt uses a simple XOR encryption method, encoded with base64 and adler32 summing
2012-06-04 09:38:25 -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 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 58d76e255d begin implementing OpenGL 1.0 engine
* option to pass -opengl1 or -opengl2 as argument
* note that with this commit there are a lot of graphics regressions and the master will remaing unstable for a while
* shaders disabled for a while
2012-04-18 20:03:43 -03:00
Eduardo Bart cb7bd521d2 fix compilation on win32 2012-04-13 21:14:25 -03:00
Eduardo Bart 2c38dfb397 fix dumbfounding issue on win32 that caused HUGE lags 2012-04-04 13:21:02 -03:00
Eduardo Bart 8b184d3ce8 compile fixes for gcc 4.7 in 32bit platforms 2012-04-04 12:12:25 -03:00
Eduardo Bart 11ad1f5c5b performance improvements 2012-04-04 09:56:22 -03:00
Eduardo Bart 3ad97c9eab crash handler, logger and oengles changes
* save log messages to otclient.txt
* fixes in FrameBuffer and HardwareBuffer to work with OpenGLES
* possibility to get compilation information from lua (compiler version, build date, build revision, build type)
* make crash handler more informatave
* handle assert crash signals (SIGABRT)
2012-03-22 09:57:43 -03:00
Eduardo Bart a24212d4de back to otclient dev, with new background!
* show otclient version in background
* disable about module (don't really need it)
* new function for formating strings like sprintf, Fw::formatString
* new nice background (taken from RPG maker XV)
* update contact information in README
* fix text rendering issues with opacity
2012-03-16 10:31:21 -03:00
Eduardo Bart b46d4c4d5f non relevant changes 2012-03-16 10:31:21 -03:00
Eduardo Bart d500de9aa0 change in topmenu and some fixes 2012-01-23 11:47:15 -02:00
Eduardo Bart 490eae7814 fix paste of text with accents in win32 2012-01-19 16:50:56 -02:00
Eduardo Bart 9b8043cf31 fix paste oftexts with accents in x11 2012-01-19 15:56:52 -02:00
Eduardo Bart 30ce5e2ba9 reorganize some stuff 2012-01-04 23:28:29 -02:00
Eduardo Bart 9104305f37 update copyright notice 2012-01-02 14:59:24 -02:00
Eduardo Bart f7dd35f0dd fix warnign in release mode 2011-12-30 04:52:43 -02:00
Henrique Santiago d67442dc49 introduce statictext 2011-12-29 15:45:59 -02:00