Fernando Rozenblit
c49f5b4abb
Reorganize regions and realms ( #228 )
...
* Moved realms.h and realms.cpp to realms/..
* Moved regions into their own folder
2020-08-17 22:29:07 +02:00
turleypol
c60fee7541
a promise can only be set one time
2019-03-10 11:54:34 +01:00
turleypol
5ce0f612fa
if worldsave fails to write files dont commit them (rename old files),
...
shows also a more detailed error.
2019-03-10 10:32:31 +01:00
turleypol
e1b14dcd00
moved polfile/uofile files into plib to cleanup atleast a bit the
...
compile dependencies
2018-12-21 20:27:05 +01:00
turleypol
4f40aa7997
removed Clib::decint and used Clib::tostring, changed Clib::hexint to
...
template function for all integers
2018-10-28 09:31:58 +01:00
esdete
dc2d29b433
NULL to nullptr
2018-07-31 14:30:29 +02:00
turleypol
c71c4965c8
git revision fetch is now part of the build process instead of
...
configure step
2018-06-18 10:27:01 +02:00
turleypol
d135860d71
fixed compiler warnings
2018-06-03 13:48:33 +02:00
turleypol
5c0c611617
Worldsave is now also changed to use task pool, thus completly removed
...
openmp dependency
2018-04-29 19:13:11 +02:00
Gabriele Tozzi
b72f725e02
Whitespace fixes
2018-04-03 04:13:03 +02:00
Gabriele Tozzi
94cd6c4f60
Merge branch 'master' of https://github.com/polserver/polserver
...
Finally starting to align code base :)
Conflicts:
cmake/env/pol_global_config.h.in
docs/docs.polserver.com/pol100/corechanges.xml
pol-core/clib/Debugging/ExceptionParser.cpp
pol-core/clib/pol_global_config_win.h
pol-core/clib/strexcpt.cpp
pol-core/doc/core-changes.txt
pol-core/pol/module/filemod.cpp
pol-core/pol/module/uomod2.cpp
pol-core/pol/pol.cpp
pol-core/pol/uimport.cpp
2018-04-02 17:05:50 +02:00
turleypol
3afc41241b
CMake on windows ( #48 )
...
CMake can now also be used for windows
2018-02-24 22:34:55 +01:00
turleypol
dbb25bdb62
Include and buildsystem cleanup ( #45 )
...
Include cleanup
Reworked buildsystem (Linux only)
Removed dynamic libs, Linux now again uses static linking (like windows)
2018-01-29 21:55:48 +01:00
turleypol
798eda5b63
Cleanup of header includes.
2018-01-01 21:52:14 +01:00
turley
65231f9bfd
use faster overload for string find with single characters
2016-12-15 13:34:06 +01:00
turley
c855a27815
Added new baseclass for uobject
...
contains only minimum data and can be created with arbritary data.
This reduces memory overhead for each los-check.
Plus minor cleanup
2016-12-12 22:21:59 +01:00
turley
c725415cd2
possible nullptr dereference during errorhandling
2016-12-09 17:43:12 +01:00
turley
a983d25e4e
removed bool members and replaced them with flags.
...
Further decrease memory foodprint.
2016-12-07 23:34:16 +01:00
Gabriele Tozzi
dcd1991bdd
Merging POL_BUILD_DATE and POL_BUILD_TIME
...
Together into POL_BUILD_DATETIME.
Breaks bakcward compatibility on a minor feature, nobody should notice.
Updated the changelog anyway.
2016-02-23 23:40:17 +01:00
turley
189cad3479
Formating everything
...
Authors are not forced to use the clang-format setting, but should
atleast be inspired by the style.
The only thing which is now not allowed are tabs for ident/alignment!
2016-02-19 19:26:35 +01:00
turley
92cc1b4d70
Use weakptr to uoexecutor in the threaded sql call
...
changed client class from ref_counted to also hold like the uoexecutor a weakptr, use it in the ClientObjImp.
Renamed NPCRef to NpcRef like its been told since years in a TODO comment
fixed some warnings from VS2015
2016-02-10 23:09:05 +01:00
Gabriele Tozzi
d1ac902926
Documentation: reformatted headers for DoxyGen
2016-01-28 14:52:40 +01:00
turley
0293599380
Corrected some virtual overrides, re-activated corresponding warning.
...
Plus some other warning corrections
2015-12-26 17:39:58 +01:00
Thomas Volkert
98bac9485c
Removed polver.cpp/.h and use POL_BUILD_TARGET instead
2015-11-06 20:21:32 +01:00
Thomas Volkert
626aae0e10
Introduced POL_BUILD_DATE and POL_BUILD_TIME
2015-11-06 17:36:07 +01:00
Thomas Volkert
f665ec682a
Removed global variables "progver" and "polver" - also removed all
...
references to them
2015-11-06 16:50:31 +01:00
Thomas Volkert
6a632b2de9
Use global POL_VERSION_ID to identify the POL revision
2015-11-06 16:22:14 +01:00
Thomas Volkert
202e7f1496
Merge remote-tracking branch 'origin/cmake'
...
Conflicts:
pol-core/.gitignore
2015-10-31 19:52:33 +01:00
turley
dfd65e30cd
Moved plib realm to pol
2015-09-18 19:11:46 +02:00
frozenblit
fe41d6a019
Fixed bug where items could have character serials
2015-09-06 23:35:40 +02:00
Thomas Volkert
1dd2200c6b
Renamed endian.h to clib_endian.h to avoid redefinition problems in
...
system files and the general hiding of the endian.h from the system
2015-08-31 20:01:31 +02:00
turley
65fe073971
Gotten by pointer for items and chars made optional
2015-05-16 11:09:26 +02:00
turley
7a531357fe
Updated Memoryusage profiler
2015-01-19 18:18:21 +01:00
turley
64d8fdb310
Moved npc files into mobiles dir, changed the namespace accordingly
...
removed some old code
2015-01-16 19:44:07 +01:00
turley
34de10d10c
small interface cleanup of the realm class
2015-01-09 19:26:17 +01:00
turley
e8b46466fa
Simplified WorldIterator more
...
completely removed wrldsize header
simplified more headers
changed zone_convert* parameter from non-const reference to pointer, to make the caller clear that it will change.
2015-01-03 10:15:31 +01:00
turley
c302eb9415
Namespace fixes and header cleanup
2015-01-02 17:55:12 +01:00
turley
79dff37246
Splitted gamestate external.
2015-01-02 14:46:44 +01:00
turley
88ec380941
Moved globals into separate directory.
2014-12-30 15:20:59 +01:00
turley
2737393f2a
Tried to put all global vars into centralized structures.
...
Currently plib/systemstate, pol/uvars, pol/ucfg, pol/multi/multidef
Next step should be to split them based on usage, since its currently a bit of include hell...
2014-12-30 14:14:41 +01:00
frozenblit
7935b95fbd
Realms can now track offline chars
...
Improved the tracking of offline chars in realms, so that shadowrealms
can't be destroyed while chars are still inside.
Next step: do the same for multis and add a command to list the offline
chars.
2014-11-04 22:58:12 +01:00
frozenblit
847b406cb3
Added realm methods add_mobile() and remove_mobile()
...
In order to fix the shadowrealm crash with offline chars, we need to
better track when characters are added and removed from the realms.
This will allow us to keep a list of offline player chars in each
(shadow) realm.
2014-11-04 00:07:30 +01:00
frozenblit
1f0f7581dd
Some more cleanups
2014-11-03 01:29:21 +01:00
frozenblit
ebc0b616f7
Making the ignored return explicit
...
Trying to appease Coverity ;)
2014-10-27 22:04:26 +01:00
frozenblit
c1eb791287
Error check when loading storagearea
2014-09-28 14:32:57 +02:00
turley
05c5b2d60b
removed old code
...
testing a threadpool
added chr.last_textcolor member which returns the clientside chatcolor
2014-06-01 09:59:12 +00:00
dsourc
118823c7cd
Added Realm entry to startlocs.cfg, The earlier MapID still needed for the client to show the map correctly, but realm is needed for the server to put the character during creation in the correct realm, default value "britannia"
2014-05-06 13:15:27 +00:00
turley
fb873de803
decoupled headers to optimize a bit the build time
2014-05-03 09:06:19 +00:00
turley
4224dd7200
fixed thread register under linux, added full backtrace on segfault/sigusr2
2014-04-12 10:55:28 +00:00
turley
2e4cb5b60a
made worldsaves more time stable, current thread save implementation has to many context switches which slows it down. Added a bit more security
2014-03-08 09:05:12 +00:00