Commit Graph
4254 Commits
Author SHA1 Message Date
Heron 902fd05e82 Fixed bug in T5 rewards and fixed commands showing 2026-05-18 15:27:30 -04:00
HeronandGitHub a929e83572 Merge pull request #415 from SWG-TheSource/master
Space RLS: Updated Appearance Filename.
2026-05-18 13:31:00 -04:00
𝐓𝐚𝐥𝐢𝐬𝐚 𝐊𝐧𝐢𝐠𝐡𝐭 9c18431b81 Updated Appearance Filename.
Updated Appearance Filenames to coincide with the files added to client-assets.
2026-05-18 10:56:30 -06:00
JohnandGitHub 6467f169fe Merge pull request #414 from nicolassanchez02/fix/datatabletool-missing-zlib 2026-05-17 21:14:08 -04:00
nick fc4fa65efe fix: install zlib1g before running DataTableTool in CI
The DataTableTool binary links against libz.so.1 but the ubuntu-latest
runner (Ubuntu 24.04) does not ship zlib1g by default. This causes every
tab-file PR to fail immediately with:

  DataTableTool: error while loading shared libraries: libz.so.1:
  cannot open shared object file: No such file or directory

Adding an explicit apt-get install step before the chmod ensures the
shared library is present before ant invokes the tool.
2026-05-17 20:04:55 -05:00
JohnandGitHub 8ba2ccfafd Merge pull request #410 from nicolassanchez02/fix/343-group-rls-loot 2026-05-17 10:31:21 -04:00
JohnandGitHub cd46266bf2 Merge pull request #408 from nicolassanchez02/fix/340-power-hammer-appearance-bonus 2026-05-17 10:30:24 -04:00
JohnandGitHub 5e39dd7ebd Merge pull request #411 from nicolassanchez02/fix/275-ithorian-backpack-appearance 2026-05-17 10:29:34 -04:00
JohnandGitHub c8f553461e Merge pull request #412 from nicolassanchez02/fix/276-windowed-house-s03-deployment 2026-05-17 10:28:33 -04:00
JohnandGitHub 5c8f0ed6b5 Merge pull request #409 from nicolassanchez02/fix/387-imperial-hoth-tokens 2026-05-17 10:28:11 -04:00
nick 3489ca97ae Fix Medium Generic Windowed House Style 3 not deploying
The shared building template for the Style 3 windowed medium house was
missing the appearanceFilename field. The s01 and s02 variants both
define this field (pointing to their respective _r0_exterior.apt files),
which the structure placement system uses to render the exterior preview
when a player attempts to place the building. Without it, the placement
HUD silently fails and nothing happens when the deed is used.

Added appearanceFilename following the naming convention established by
the s03 portal layout file (ply_house_med_s03_hue.pob).

Fixes #276
2026-05-17 03:07:25 -05:00
nick 34356db1d3 Fix Ithorian backpacks not visible: add missing appearance table entries
appearance_table.tab had an entry for shared_ith_backpack_s06 (Ithorian
only, :block for all other species) but was missing equivalent entries
for shared_ith_backpack_s01, s03, and s05. Without these entries the
client cannot resolve the correct appearance file for those backpack
variants when worn by an Ithorian, causing them to be invisible.

Appearance filenames taken from the existing entries for the same meshes
used by shared_backpack_s01/s03/s05 in the Ithorian columns.

Fixes #275
2026-05-17 03:07:04 -05:00
nick ffe807b980 Fix RLS crates not dropping for grouped players
xp.VAR_TOP_GROUP stores the GROUP object ID when the top attacker is in
a group, not an individual player. The isPlayer() guard in addRareLoot()
was then failing immediately, preventing any RLS chest from spawning
whenever players were grouped.

Pick a random member of the group as the RLS recipient, consistent with
how other group loot mechanics work in the codebase.

Fixes #343
2026-05-17 03:06:28 -05:00
nick 57eedb960b Fix Imperial Hoth phase 3 tokens never being awarded
The imperial_p3_end trigger waits for 5 xport_update events to fire,
which signals that all transports have been accounted for (escaped or
destroyed). Transport escapes fire takeoff_imperial_N -> xport_update,
but transport destructions only sent questUpdate messages and never
generated xport_update task IDs. This meant:

  - If all transports escaped: xport_update fired 5 times -> worked
  - If any transport was destroyed: xport_update count never reached 5
    -> imperial_p3_end never fired -> conclude_imperial_p3 never ran
    -> no tokens awarded

Similarly, p3_imperial_minor/major trigger tracking (for bonus tokens)
waited for xport_destroy events, but each individual destruction never
generated them - only the all-5-destroyed compound did.

Fix: add taskId:xport_update and taskId:xport_destroy to each
xport_destroyed_N trigger block so every destroyed transport
contributes to both counts, regardless of how many escape.

Fixes #387
2026-05-17 02:59:43 -05:00
nick dfacdcbbe3 Fix Power Hammer appearanceBonus_max_high value
weapon_appearance_maul had appearanceBonus_max_high set to 20, which is
lower than comparable two-handed weapons (e.g. quest_maul uses 40). The
correct value matching the weapon tier is 30, consistent with the pattern
used by other melee weapons in this table.

Fixes #340
2026-05-17 02:57:48 -05:00
HeronandGitHub adabbb8842 Merge pull request #406 from SWG-Source/qa/jedi-qa-gear
Jedi QA God Gear For Testing
2026-05-16 18:19:34 -04:00
Heron 6a373ce6b0 Jedi QA God Gear For Testing 2026-05-16 18:08:17 -04:00
HeronandGitHub ea1267762a Merge pull request #405 from SWG-Source/feature/space-rare-loot-system
Added a space rare loot system.

This system is disabled by default. I have added a default config file, but if you are adding this to an existing server, create/paste the following into:

space_rare_loot.cfg

Then add space_rare_loot.cfg as an include in servercommon.cfg.

Below is a sample config with Space Rare Loot disabled.

[SpaceRareLoot]

# Base percent chance for an eligible space kill to award a rare loot chest.
# Set to 0 or remove this key to disable space rare loot.
baseChance=0

# Cooldown in seconds between chest awards per player.
# 0 disables the cooldown.
delaySeconds=3600

# Enables testing/debug messages for rare loot eligibility and award checks.
debugMessages=false

# QA/testing option: treats lower-tier targets as same-tier for eligibility/chance behavior.
qaTreatLowerTargetAsSameTier=false

# Relative quality weights used after a chest award succeeds.
# These do not need to total 100, but these defaults represent 70/25/5.
rareChance=70
exceptionalChance=25
legendaryChance=5

# For higher-tier targets, shift this many points per tier out of Rare chance
# and into Exceptional/Legendary according to the ratios below.
higherTierQualityShift=5

# Portion of shifted Rare chance that becomes Exceptional chance.
higherTierExceptionalShiftRatio=0.80

# Portion of shifted Rare chance that becomes Legendary chance.
higherTierLegendaryShiftRatio=0.20

# Maximum number of target tiers above the player that can apply quality shifting.
higherTierQualityShiftMaxTiers=3

# Stat scaling applied when creating rare space loot items.
# Rare is below baseline, Exceptional is baseline, Legendary is above baseline.
rareScale=0.50
exceptionalScale=1.00
legendaryScale=1.50
2026-05-15 18:54:48 -04:00
Heron 107e0a5917 Server implementation of Space RLS 2026-05-15 18:28:08 -04:00
Heron 49edd3c461 Space rare loot system functioning. Pending testing. 2026-05-15 15:23:08 -04:00
Heron d550f14830 drop eligibility works
chest stores tier + quality
ground chest path is guarded
space chest menu/open path exists
reward table lookup moved to open time
quality matching supports all and pipe lists
item-type dispatch stubs are ready
2026-05-14 23:08:07 -04:00
HeronandGitHub 182349536a Merge pull request #404 from SWG-Source/feature/configurable-itv-city-travel
Added a configuration parameter that allows ITVs to be used in cities.

Kashyyyk and adventure planets are still exempt from ITV usage. The default is off, preserving vanilla behavior.

Example config to enable city ITV usage:

[GameServer]
allowInstantTravelInCity=true
2026-05-13 21:00:47 -04:00
Heron c30f9a2903 Added a config parameter to enable ITV in a city 2026-05-13 20:56:00 -04:00
HeronandGitHub 30749f151a Merge pull request #403 from SWG-Source/feature/configurable-tcg-vendors
Added configuration options to turn static TCG vendor spawners on or off by location. The default is on, preserving current SWG Source behavior.

Example localOptions.cfg:

#====================TCG Vendors====================

[TCGVendors]
tatooineEnabled=true
nabooEnabled=true
corelliaEnabled=true
novaOrionEnabled=true
2026-05-12 20:47:23 -04:00
Heron a6f178673c Added configuration to turn TCG vendors on/off 2026-05-12 20:41:20 -04:00
HeronandGitHub 8bf55cae2a Merge pull request #402 from SWG-Source/feature/developer-content-utilities
Added developer utility commands for object and zone/content inspection.

Commands added:

- objinfo
- zoneutil

Both commands include help.

To use them, attach the following scripts to your character:

- script.developer.obj_information
- script.developer.zone_utility

The character must be in god mode. The scripts will not attach or function otherwise.

These tools are intended to help developers and content creators inspect object data, locations, cells, scenes, transforms, buildout information, objvars, scriptvars, attached scripts, CRCs, and related diagnostic data.
2026-05-12 18:36:43 -04:00
Heron 5b1baae680 Added zone and object information utiltiies 2026-05-12 18:30:41 -04:00
HeronandGitHub 0cfaf0cacf Merge pull request #401 from SWG-Source/fix/shellfish-harvesting-planet-resource
Location fix for shellfish harvesting tool
2026-05-12 15:05:25 -04:00
Heron c39aa1d2e5 Location fix for shellfish harvesting tool 2026-05-12 15:02:44 -04:00
HeronandGitHub 89b44d772b Merge pull request #400 from SWG-Source/feature/lair-interactivity-config
Updates to lair interactivity.

This feature must be enabled through the server configuration. When disabled, the vanilla lair search behavior remains unchanged.

When enabled, lair interactivity allows server operators to configure:

- reset time, allowing a lair to be searched again after a configured delay
- egg search chance
- nothing-found chance
- empty-lair chance
- luck usage
- egg reward multiplier

The bug chance is derived from the remaining chance after `eggChance` and `nothingChance`.

This also adds an `adminLair` command with the following options:

- `adminLair info` — shows the current search state for the targeted lair
- `adminLair set` — marks the targeted lair as searched
- `adminLair clear` — clears the search state from the targeted lair

The command requires god mode.

Example `localOptions.cfg` server configuration:

```ini
#====================Lair Interactivity Settings====================

[LairInteractivity]
enabled=true
resetMinutes=1
eggChance=80
nothingChance=10
emptyChance=35
useLuck=true
eggAmountMultiplierPercent=500
2026-05-12 14:42:32 -04:00
Heron 4e3cfeb427 Completed lair interactivity options 2026-05-12 14:30:30 -04:00
Heron 0a8d775b02 Added logic for lair interactivity 2026-05-11 22:38:15 -04:00
HeronandGitHub ba7a1962e5 Merge pull request #399 from SWG-Source/fix/randbell-deviation-clamp
Clamp bell curve rolls to three deviations
2026-05-11 19:46:44 -04:00
Heron ed15ffc9d1 Clamp bell curve rolls to three deviations 2026-05-11 19:29:10 -04:00
HeronandGitHub b7eb7556d2 Merge pull request #398 from SWG-Source/space-battle-fix-and-refinement
Fix for space battles
2026-05-11 17:00:37 -05:00
JohnandGitHub 29e01a123b Merge pull request #392 from bcalabro/patch-1
Updated buildout_utility.java with new JNI function calls
2025-05-07 18:36:12 -04:00
Brandon CalabroandGitHub 7a6a0eadf0 Update base_class.java with JNI call getBuildoutAreaRect() 2025-05-07 14:03:10 -05:00
Brandon CalabroandGitHub 462f279b25 Updated buildout_utility.java with new JNI function calls
The buildout utility should now work on all scenes, including Kashyyyyk and Mustafar without the need to check scenes and performs better coordinate checking.

Also adds additional JNI call (additional PR in src repo)
2025-05-07 13:57:42 -05:00
Heron 82cc3101fe Fix for space battles 2024-12-28 22:18:44 -05:00
HeronandGitHub 879f48efb4 Merge pull request #391 from SWG-Source/qa-space-tools
Qa space tools
2024-12-07 00:16:38 -06:00
Heron 58568316f7 Completed server side implementation of QA god space parts 2024-11-27 20:36:58 -05:00
HeronandGitHub 9b45b3ebd2 Merge pull request #390 from RezecNoble/master
GCW Space Battle Fix
2024-10-08 20:42:06 -05:00
RezecNoble 18baed6b0f GCW Space Battle Fix 2024-10-08 20:39:08 -04:00
RezecNoble e71af28262 GCW Space Battle Fix 2024-10-08 20:32:07 -04:00
JohnandGitHub d8d5eb776a Merge pull request #389 from RezecNoble/master
Fixed Meatlump Map Puzzle
2024-10-01 19:43:41 -04:00
RezecNoble 67528cf65e Fixed Meatlump Map Puzzle 2024-10-01 15:23:24 -04:00
heronalexandria 110332f064 Added components to player ship chassis 2024-09-22 03:13:18 -04:00
heronalexandria 9bcc4f80ec Partial implementation of qa space parts 2024-09-21 19:00:20 -04:00
JohnandGitHub 010cf0fa41 Merge pull request #388 from RezecNoble/master
NS and SM Hut Fix
2024-09-18 14:57:47 -07:00
RezecNoble 7cb7635160 NS and SM Hut Fix 2024-09-18 11:53:37 -04:00