AriAvery
8dd40b1378
Cleanup, Improvements
...
- Refactored datReader and several other files for code cleanliness
- Enhanced runtime performance by optimizing select functions, utilizing std::string_view in place of std::string where appropriate
- Removed deprecated filesystem implementation
- Introduced Link Time Optimization (LTO) support for Linux builds
- Enabled parallel builds for GCC/Clang compilers
- Expanded and improved comments for various functions
- Replaced version check failure with warning, allowing for continued use with a cautionary message
Tested on MSVC/Windows and Clang/Ubuntu
2023-04-26 13:58:41 +02:00
AriAvery
4256d55d23
Merge remote-tracking branch 'upstream/master'
2023-04-26 13:41:39 +02:00
Mordred
e7cfe87fef
Merge pull request #930 from T00fy/master
...
Some bug fixes and very minor refactoring
2023-04-25 15:12:44 +02:00
AriAvery
fc4bf84f84
more cache and lgb update
2023-04-24 13:55:23 +02:00
AriAvery
76f540e881
use name cache for win32 as well
2023-04-24 10:21:14 +02:00
AriAvery
9810a41148
Update ExdData.h
...
build fix(?!?)
2023-04-23 20:24:01 +02:00
AriAvery
8ff1e9ecba
Update ExdData.h
...
Implemente cache for Linux build
2023-04-23 20:03:19 +02:00
AriAvery
22a51062c2
Linux build fixes
...
Got feedback that Linux is slower than usual. Need to invest more time on this issue but MSVC works fine now and zone setup is done in around 4sec now
2023-04-23 17:51:20 +02:00
Toofy
b3e86d3877
Formatting
2023-04-23 16:42:24 +01:00
AriAvery
137a75d5a5
Fixed exd slowness
2023-04-23 15:30:18 +02:00
Toofy
f0e1990cbd
Some bug fixes
2023-04-18 17:33:29 +01:00
Toofy
d4d8c3c155
Moving around level up logic to make gm level up command behave 'normally'
2023-04-18 16:42:25 +01:00
Mordred
a65b23778b
Merge pull request #927 from hkAlice/faster-but-not-enough
...
[3.x] overall optimizations; add getRows to exd data;
2023-03-25 08:24:57 +01:00
Mordred
928729326c
Gambit packs added. Basic timelines for bnpc actions can be defined.
2023-03-24 22:52:38 +01:00
Alice Ogeda
631abf48aa
remove extra call;
2023-03-24 18:09:12 -03:00
Alice Ogeda
dedf66f28d
add getRows to exd; optimize iterative exd calls further; split namespace for slim header structs;
2023-03-24 17:38:58 -03:00
Alice Ogeda
f6ce8207b2
switchy;
2023-03-24 14:11:07 -03:00
Alice Ogeda
09d0469c96
emplace_back for in-place move const for shared ptr;
2023-03-24 13:32:36 -03:00
Alice Ogeda
d5c4739a77
use cache in getterritorydetail; remove unused bgpath; avoid throwing exceptions when possible;
2023-03-24 13:31:50 -03:00
Mordred
4f3f866531
Fill Bnpc link info in spawn packet if available
2023-03-20 22:59:34 +01:00
Mordred
c97a67ffe6
Implementation of the state machine for bnpcs, missing hp recovering after lost hate.
2023-03-20 10:29:56 +01:00
Mordred
c7b50ca1e9
Keep cells active for 20 seconds even after all players left.
...
Also reset target and autoattack state on player on change zone.
2023-03-17 22:01:06 +01:00
Mordred
e72fe535f6
Added the framework for a fsm for future use on bnpcs.
2023-03-17 15:43:44 +01:00
Mordred
fe9a2ef974
Cleanup cleanup cleanup
2023-03-16 21:56:57 +01:00
Mordred
33463f45a9
More cleanup of actions
2023-03-15 15:21:03 +01:00
Mordred
aafb77ecbb
Use attack type for action hit effect, further simply action code.
2023-03-14 22:32:55 +01:00
Mordred
9ba263da00
Merge pull request #923 from collett8192/3.0_master
...
3.x crit, fix random generator and remove direct hit
2023-03-14 10:54:04 +01:00
collett
123dad2e23
update rng to RandGenerator
2023-03-14 18:22:41 +09:00
collett
5fb62b75ec
support 3.x crit damage and remove direct hit
2023-03-14 18:06:02 +09:00
Mordred
658d2fa7aa
minor cleanup of actionResultBuilder
2023-03-13 23:26:50 +01:00
Mordred
f1cd218e85
Include Common::ActionResultFlag::EffectOnSource on source status effects
2023-03-13 11:44:09 +01:00
Mordred
09db0ee7d2
There is now an applyStatusEffectSelf for status effects which same source and target.
2023-03-13 11:21:42 +01:00
Mordred
b98f63eb75
Statuseffect fix #3
2023-03-12 21:19:44 +01:00
Mordred
0edff5ab85
Statuseffect fix #2
2023-03-12 21:06:37 +01:00
Mordred
31557f52f8
Fixe for target and statuseffect issues, cleanup of gambits
2023-03-12 20:46:27 +01:00
Mordred
d6918a88e0
Basic gambit work, still needs cleanup and improvements
2023-03-12 16:33:33 +01:00
Mordred
5cc7b0c87b
Converted autoattacks to the action system
2023-03-11 20:52:52 +01:00
Mordred
7c4a053bea
further simplified the action builder.
2023-03-10 22:59:53 +01:00
Mordred
54ba2b529f
Fixed another bug with self target actions.
2023-03-10 22:50:38 +01:00
Mordred
72f06fb072
Status effect rework for actionintegrity.
2023-03-10 22:34:12 +01:00
Mordred
5d353de158
Action logic rework #1
...
statuseffects and autoattack still on the todo list
2023-03-10 17:32:52 +01:00
Mordred
0def7896ec
Refactoring of action logic, ongoing.
...
Fixing source of actorcontrols being always player for single target packets.
2023-03-09 21:54:30 +01:00
Mordred
859f2329bb
Another big batch of refactoring for readability.
2023-03-08 09:20:08 +01:00
Mordred
4bee448f4b
Syntax error which snuck in fixed.
2023-03-07 15:09:56 +01:00
Mordred
fb7be5053a
Some more packet cleanup.
2023-03-07 15:08:28 +01:00
Mordred
ca002dadd1
Renamed the Util::Player namespace to Util::Packet. More cleanups and refactorings.
2023-03-07 10:25:55 +01:00
Mordred
819f2842b0
Merge pull request #910 from pinapelz/fix_linux_build
...
[3.x] Fix Linux build (remove extra qualification)
2023-03-06 22:34:30 +01:00
Pinapelz
8591cb857a
Remove extra qualification
2023-03-06 11:11:25 -08:00
Mordred
5fdbc90487
Next big batch of packet cleanup
2023-03-06 13:27:56 +01:00
Mordred
aead026960
Merge pull request #909 from hkAlice/achievos
...
[3.x] save achievement to sql db;
2023-03-06 10:12:53 +01:00