Ziggy
ef8d448e69
Kill count is now updated properly when you get to the max and is also added to the quest journal BEFORE killing anything, so you can see what you are supposed to be doing #1387
2023-11-12 22:49:06 +01:00
Ziggy
9abc3f2cd7
Fixed wrong variable order in QuestTaskCounterMessage and filled in missing variable taskId #1387
2023-11-12 22:49:06 +01:00
Josh
5a5447920a
Merge pull request #1321 from madsboddum/projectswg_kt
...
Java -> Kotlin conversion of entry point class ProjectSWG
2023-11-12 15:48:42 -06:00
Mads Boddum
1d8e97dd4e
HeadlessSWGClient#login is now faster in failure scenarios because it doesn't wait for the success scenario to fail first
2023-11-12 22:28:26 +01:00
Ziggy
a845568f62
Optimized headless SWG client for the login success scenario by expecting success first, then wrong credentials and finally an error message
2023-11-12 12:34:14 +01:00
Mads Boddum
cc347d2888
Documented version parameter for headless SWG client
2023-11-12 12:03:27 +01:00
Mads Boddum
57cd1d9746
Fixed an error in a code comment, as the current packet transmission strategy of the SWG headless client is intended
2023-11-11 12:48:12 +01:00
Mads Boddum
f1526ee3e3
Added some integration tests for the grouping feature in-game, so we can have some confidence that it keeps on working
2023-11-11 00:40:31 +01:00
Mads Boddum
470c501f1f
Created a headless SWG client for automated testing that houses convenience functions for integration testing and demonstrated usage by testing some scenarios in LoginService
2023-11-11 00:38:58 +01:00
Mads Boddum
d09544624d
Created a generic test fixture for PswgUserDatabase, so we can set up LoginService with users in-memory
2023-11-10 23:34:51 +01:00
Mads Boddum
4126af7e08
Fixed a case sensitivity bug in character name lookups
2023-11-10 23:30:45 +01:00
Mads Boddum
768f106a39
LoginService can now operate on an injected user database instead of being locked to the one defined in the application layer
2023-11-10 23:28:53 +01:00
Ziggy
23dd464c34
Added test for quest.task.ground.comm_player #1386
2023-11-04 23:17:08 +01:00
Ziggy
b83ce909f4
Bumped pswgcommon to fix comm messages causing game client crashes #1386
2023-11-04 23:16:44 +01:00
Josh
d84a0ab1d3
Merge pull request #1413 from madsboddum/chore/pswgcommon_bump
...
Update pswgcommon to latest, commenting a non-working usage of modifi…
2023-11-03 18:46:22 -05:00
Mads Boddum
c5f4fc5394
Created a simple test for quest task type quest.task.ground.show_message_box to ensure it roughly works as it should
2023-11-03 22:35:02 +01:00
Mads Boddum
22042be9ad
Update pswgcommon to latest, commenting a non-working usage of modified DraftSlotsQueryResponse packet for now to make everything work
2023-11-03 22:02:56 +01:00
Ziggy
7a7315ba62
Added support for quest task type quest.task.ground.show_message_box #1400
2023-11-01 18:26:44 +01:00
Ziggy
ff101c382d
Implemented support for admin command /activateQuest, so we can more easily test quest-related functionality #1400
2023-11-01 18:26:15 +01:00
Josh
b92cfc385b
Merge pull request #1408 from madsboddum/1382
...
CU quest data
2023-10-31 19:21:28 -05:00
Ziggy
3eafa02d11
Added converters for questlist and questtask clientdata datatables, so we can make new CU ones with all columns included #1382
2023-10-31 15:22:10 +01:00
Josh
e40fd2982a
Merge pull request #1384 from madsboddum/1383
...
Fixed client crash when being granted a quest #1383
2023-10-30 18:50:50 -05:00
Josh Larson
3fb66f7fa9
Changed booleans to be inline in CombatExperienceService
2023-10-30 18:50:31 -05:00
Navyam Garg
261a9e3e5e
Update CombatExperienceService.java
2023-10-31 04:20:44 +05:30
Navyam Garg
6f6f6709fe
Update CombatExperienceService.java
...
Increased XP grants for killing aggressive, pack and killer NPCs
2023-10-31 03:48:01 +05:30
Ziggy
0c78eece2a
Fixed client crash when being granted a quest #1383
...
There were two issues:
1. The Quest struct had an extra variable that's not used pre-NGE
2. Pre-NGE doesn't have an 'activeQuest' variable, and having it caused a delta offset with the 'quests' map
2023-10-30 21:37:28 +01:00
Josh
ba004cf251
Merge pull request #1377 from madsboddum/1339
...
abandonQuest
2023-10-22 11:33:48 -05:00
Mads Boddum
2dbc6559a3
Fixed indentation in CombatCommandLoaderTest.kt and CommandLoaderTest.kt #1339
2023-10-22 17:53:55 +02:00
Mads Boddum
1218466671
NPCs don't bother trying to attack while in water, because later state checks won't allow this anyway #1270
2023-10-22 12:46:39 +02:00
Mads Boddum
915b8845a1
Added regression test for abandonQuest not being loaded #1339
2023-10-22 12:19:30 +02:00
Mads Boddum
73c5bd44db
feat(resources): grant Scouting XP when harvesting creatures #1372
2023-09-30 13:59:30 +02:00
Mads Boddum
6c34d148d7
fix(resources): ResourceService could not be started multiple times, because it did not clean up everything after itself upon shutting down #1372
...
Discovered this when writing testcases, as ResourceService was being started and stopped multiple times. Clearing all the collections in GalacticResourceContainer fixed it.
2023-09-30 13:57:31 +02:00
Mads Boddum
663d4818d8
fix(npc): when a single NPC is killed, we should not be respawning the max amount of NPCs supported by the spawner
2023-09-23 11:11:01 +02:00
Mads Boddum
0e2ab0c294
refactor(npc): renamed methods for spawning NPCs to make it more obvious what amount of NPCs are being spawned
2023-09-23 10:43:38 +02:00
Undercova
b73c1657fb
Merge branch 'master' of https://github.com/Undercova/Holocore
2023-08-12 22:04:12 +02:00
Undercova
04c14260d2
Updated NPC stats
...
Updated some NPCs
Updated CBT regarding Force Sensitive Novice boxes
2023-08-12 22:02:31 +02:00
Ziggy
d45e49e072
Moved AddQuestsToCrcDatabase to the utility source set, as it's not the kind of utility that holocore would ever use at runtime
2023-07-30 22:32:51 +02:00
Josh
e43f472030
Merge pull request #1335 from madsboddum/holocore-1224
...
Scouts can harvest resources from creatures
2023-07-28 09:51:28 -05:00
Josh
5ff57e50d6
Merge pull request #1329 from madsboddum/holocore-1294
...
BUG: Replaced locomotion checks for riding mounts with a single state…
2023-07-28 09:45:56 -05:00
Ziggy
f13c5342cf
Completely stop using destructuring with HarvestHideIntent
2023-07-27 14:53:31 +02:00
Ziggy
8ed02cbc17
Code formatted SampleLoopSession
2023-07-27 11:38:19 +02:00
Ziggy
7958d4eb75
Don't use destructuring with HarvestHideIntent to ensure a changed order of parameters in HarvestHideIntent can never be an issue in the future
2023-07-27 11:37:30 +02:00
Ziggy
81bd4fe68f
Removed TODO
2023-07-26 14:26:04 +02:00
Ziggy
f94d6e84f9
Avoid going through RawResourceType, to circumvent being unable to harvest types of bone_mammal and meat_reptilian
...
bone_mammal straight up doesn't exist in RawResourceType and meat_reptilian is spelled differently (meat_reptillian, with an extra L)
2023-07-26 14:26:04 +02:00
Ziggy
cabcf37c9a
Harvested resources from creatures should be sub-typed based on the current terrain, e.g. bone_mammal_tatooine
2023-07-26 14:26:04 +02:00
Ziggy
8c1942ea24
Deleted creature resource type tests that don't work, because the resources are not defined in RawResourceType
2023-07-26 14:26:03 +02:00
Ziggy
05768031e5
RawResource#getName now returns a String instead of a StringId, as 6 out of 7 usages simply wanted the "raw" name, and accessed it using StringId#getKey
2023-07-26 14:26:03 +02:00
Ziggy
cb44a10ab9
Introduced creature quality to creature harvesting, adding randomization to the amount of resources retrieved
2023-07-26 14:26:02 +02:00
Ziggy
84b2e32bed
Simplistic implementation of harvesting bone, hide and meat resources from animals
...
Relates to GitHub issue #1266 and #1224
2023-07-26 14:25:47 +02:00
Ziggy
0249993552
Rename .java to .kt
2023-07-26 13:09:52 +02:00