Fixed DivideLoot() bug

Fixed DivideLoot() bug from GetNumberPartyMembers() finally getting fixed.  Updated classes.2da  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2025-03-11 15:04:14 -04:00
parent 085d89719d
commit db6c871708
17 changed files with 16 additions and 286 deletions

View File

@@ -2249,7 +2249,7 @@
},
"Value": {
"type": "int",
"value": 0
"value": 1
}
},
{
@@ -2432,21 +2432,6 @@
"value": 1
}
},
{
"__struct_id": 0,
"Name": {
"type": "cexostring",
"value": "PRC_SMALL_CREATURE_FINESSE"
},
"Type": {
"type": "dword",
"value": 1
},
"Value": {
"type": "int",
"value": 1
}
},
{
"__struct_id": 0,
"Name": {

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -50,10 +50,7 @@ object oPC = GetLastClosedBy();
oTarget = OBJECT_SELF;
object oItem = GetFirstItemInInventory(oTarget);
//Not sure if they fixed the error or not (usually it shoudl be -1)
//This function may return 3 if two players are in the party or
//it may return 2 if just one player is in the party, needs to be tested
int nMembers = GetNumberPartyMembers(oPC);
int nMembers = GetNumberPartyMembers(oPC);
//if not a pc stop
if (!GetIsPC(oPC)) return;

View File

@@ -15,7 +15,9 @@
//:: for Knat's NBDE
const int DMFI_DB_TYPE =DMFI_DB_TYPE_BIOWARE;
//const int DMFI_DB_TYPE = DMFI_DB_TYPE_BIOWARE;
const int DMFI_DB_TYPE = 1;
void FlushDMFIPersistentData(string sDBName)
{

View File

@@ -9,7 +9,8 @@
//:: for Knat's NBDE
const int DMFI_DB_TYPE = DMFI_DB_TYPE_NBDE;
//const int DMFI_DB_TYPE = DMFI_DB_TYPE_NBDE;
const int DMFI_DB_TYPE = 2;
#include "nbde_inc"

View File

@@ -63,7 +63,7 @@ void main()
object oPlayer = oPC;
object oPP = oPC;
string sCDKey = GetPCPublicCDKey(oPC, FALSE);
SetTlkOverrideForMaximumLevel(oPC);
//IMPORTANT, please set the Nap Time Below!

View File

@@ -8,7 +8,10 @@
#include "spawn_timefuncs"
#include "spawn_flags"
#include "spawn_cfg_flag"
#include "spawn_cfg_cusflg"
#include "spawn_cfg_loot"
#include "spawn_cfg_fxobj"
#include "x0_i0_corpses"
void InitFlags(object oSpawn, string sSpawnName, string sSpawnTag);