Commit graph

42 commits

Author SHA1 Message Date
GitHub Actions
18428a07d5 Code format - (Clang-format) 2023-10-15 21:52:40 +00:00
Beats
766ced3a77 init 2023-10-15 18:51:57 -03:00
Luan Santos
2ee365e836
ci: add clang-format linter (#54) 2023-10-09 19:12:16 -07:00
Eduardo Dantas
242165e534
fix: exception handling for reading and creating JSON objects (#34)
This adds exception handling to the code that reads and creates JSON objects in the program. The code now uses try-catch blocks to catch exceptions that may be thrown during the process of reading and writing JSON objects, to avoid unhandled failures that may interrupt the program's execution.
2023-04-03 19:46:34 -07:00
Eduardo Dantas
d05e2e4cf8
improve: remove boosts, better compilation and GHA support (#31)
Removed boosts (replaced with equivalent on std 14/17/20)
Removed manual json library implementation using boost and added nlohmann-json

So two additional libraries will be needed to compile:
asio, nlohmann-json (see wiki)

Also removed OTGZ support by default and disabled it, making it optional (needs to be enabled). Anyone who wants to use it will need to activate this, I think it's ideal since few should use it, so a majority don't use it, which is fairer that those who need to activate it to use it than those who don't need to have this in their program.

Added GitHub Actions workflow for Windows (vs 2022) and Ubuntu 22.04
2023-03-28 08:54:17 -03:00
Eduardo Dantas
047113ade3 Merge branch 'master' 2022-08-19 02:43:27 -03:00
Eduardo Dantas
adef6c47c1
Change ids to clientid and organize data folder and tilesets (#6)
This only works with the canary server: https://github.com/opentibiabr/canary

Added support only for client .dat and .spr 11.00 outdated (10x), signature: data format="11" dat="0x4A10" spr="0x59E48E02"

Otb cllient 11, version 3, id 62

In addition to the ids being converted to client id (for compatibility with canary), the data folder has been completely reorganized for ease of understanding.
The organization of tilesets was also started, which will be further improved in other pulls.
2021-06-23 21:30:37 -03:00
Nailson
fcbbf5e364 Load improvement avoiding bad lexical cast. 2021-06-06 23:45:46 -03:00
Evil Puncker
cfe36ce5b3
license headers (#315) 2020-07-30 11:42:28 -03:00
Nailson
4bfd7347a7
Load assets name from otfi file. (#276) 2019-07-23 10:21:07 -03:00
Mignari
272c0a987f Define const for assets files. 2018-10-14 19:54:08 -03:00
Elime1
610aeeaeaa Remove use of wxT macro. Closes #141 2016-11-05 15:28:14 +01:00
Nailson
1431e33003 Add 10.98 data files. 2016-10-22 11:28:50 -03:00
Nailson
d6d7643176 Rename global variable 'settings' to 'g_settings'. 2016-09-29 20:37:43 -03:00
Nailson
6ab0f851a4 Rename global variable 'gui' to 'g_gui'. 2016-09-29 20:30:54 -03:00
Nailson
23a8fb15a1 Trim trailing whitespaces. 2016-09-29 19:24:45 -03:00
Cristofer Martins
c323157e9d support for 10.92,10.93 and 10.94 on the sources 2016-06-10 14:40:02 -03:00
Nailson
d7a4254604 Code style and some cleanup. 2015-12-06 11:42:37 -03:00
Nailson
7d7ec32fb3 Displays signatures as hexadecimal. 2015-05-07 19:35:10 -03:00
Nailson
ef7d9f5470 Removed format 10.21
Nothing has been changed in this version.
2015-03-14 13:40:47 -03:00
Nailson
5038327c7c Oops, the dat format was changed in version 10.57 2015-02-07 07:33:03 -03:00
Nailson
39e8635450 A single method to load metadata flags.
This works like in the OTClient.
2015-02-06 10:30:02 -03:00
Nailson
9241f6bcfb Changed the loading of data format.
Now uses the 'format' tag to indicate which format the editor should
use.
2015-02-05 21:07:44 -03:00
Nailson
445885e2a1 Support for versions 10.50+ (data sources not included)
Allows support for versions 10.50+

Use the 'datversion=10.50' to versions 10.50 - 10.55
Use the 'datversion =10.56' to versions 10.56 or greater
2015-02-01 13:42:24 -03:00
dalkon
c74b6dbeae Bug fix and misc
GUI::SetLoadDone was taking way too long to update and made any map load
very slowly.
Changed any "uint" to "uint32_t"
Fixed a bunch of warnings.
2014-02-28 22:34:25 +01:00
dalkon
4a729176c4 Fixes and changes.
Rewrote RME Live to use boost asio instead of wxSocket, this seemed to
fix random stops when using the function, some other things were fixed
aswell when using this.
Added 10.10 & 10.21+ (I have not added the otbs and such yet.)
Bug fix and some small cleanups.
2014-02-21 13:55:09 +01:00
dalkon
7c76db3e2d Fix extension loading.
The client version should load before the extension right?
2014-01-25 22:01:11 +01:00
Henrique Santiago
8d5f486960 Run using working directory, remove unecessary ; 2014-01-24 02:33:09 -02:00
dalkon
886cbc23a7 Lots of changes
Removed libxml2 to use pugixml.
Fixed a bug with the progress bar.
Changed some things in most xml files that pugixml did not like.
Updated the Visual Studio project.
Any NULL symbol has been changed to nullptr.
This most probably broke the CMake that was recently added.
And probably some other things.
2014-01-22 20:16:17 +01:00
Hampus Joakim Nilsson
96de6d9233 Fixed version order 2012-07-19 23:14:29 +02:00
Hampus Joakim Nilsson
6d993ccd6a Improved extensions dialog, now uses HTML. 2012-07-19 22:47:05 +02:00
Hampus Joakim Nilsson
8991542194 Now include version in "Select tibia directory" dialog. 2012-07-12 13:47:04 +02:00
Hampus Joakim Nilsson
fb0cd6cf4a Moved clients.xml location.
Added 9.6 spr / dat signature.
2012-07-12 12:51:18 +02:00
Hampus Joakim Nilsson
5e887759b1 Fixed extensions not working.
Simply forgot to return the proper list of versions.
2012-07-05 15:01:40 +02:00
Hampus Joakim Nilsson
64857df639 Default client is now configured in clients.xml. 2012-07-02 00:00:09 +02:00
Hampus Joakim Nilsson
7699b38715 Support for extensions again. 2012-07-01 22:00:57 +02:00
Hampus Joakim Nilsson
1e7210a8fc Map Properties no longer crashes. 2012-07-01 17:52:20 +02:00
Hampus Joakim Nilsson
d7b8c01dc7 Fixed memory leak. 2012-07-01 16:53:39 +02:00
Hampus Joakim Nilsson
70adf0c90d .spr loading is now data-dependant as well. 2012-07-01 16:35:50 +02:00
Hampus Joakim Nilsson
cffbe7e9e0 .dat loading now uses version from XML file. 2012-07-01 15:55:44 +02:00
Hampus Joakim Nilsson
5d496a685d Clients are now entirely data-based.
In the future, there will be no need for source updates to support new
versions, yay!
2012-07-01 13:41:59 +02:00
Hampus Joakim Nilsson
8dbc487ef2 Initial commit of RME 3.0.
Clean git repository since the old svn / git mess was pretty much
unrecoverable unfortunetly. I would have liked to keep the history
for posterity, but that proved to be a futile quest.
2012-06-29 16:45:30 +02:00