Weird crash problem

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Weird crash problem

Post by Anakin »

Hi,

i have some problem with my BFII mod. After i play a while and shoot the game crashes.
That's for the DC17 Blaster, after about the 3 or 4 reload, for the dc15 Handblaster when firering fast for two times (in the game you can shoot about 10 fast times, the two are in the debugger) or after i fight a bit and than throw a grenade. But thats allways only after a while. and allways a attack cause the crash


http://www.gamefront.com/files/21964104/BFront20907.log
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: weird crash problem

Post by Marth8880 »

Code: Select all

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\OrdnanceBullet.cpp(583)
Ordnance bullet "conc_rifle_ord" missing geometry "none"
If you don't want a weapon to have geometry, you simply leave the field blank.

Code: Select all

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityBuilding.cpp(695)
Building missing explosion "tur_bldg_beam_exp"
Might wanna fix that.

Code: Select all

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Weapon.cpp(2119)
Weapon "rep_weap_Melee_Attack" missing fire point "hp_fire"
:o


Fix those thingers.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: weird crash problem

Post by AceMastermind »

There's no reason why a BFront2.log shouldn't fit into anyone's reply. Trim it down by omitting the insignificant errors so those inclined to help don't have to sift through that mess. You've been a member here for three years and should know this by now.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: weird crash problem

Post by Anakin »

that's the problem for this i don#t know the error.

The first didn't make the error. i take the file from Bfx and there it works and for me too. the 2nd my be the error, but the weapon is only on Geonosis available and not on coruscant/kashyyk.

The 3rd i don't know what's wrong herer, but it worked in the past too.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: weird crash problem

Post by AceMastermind »

Regardless of what you think may or may not be the cause of the crash, those errors are listed in the log for a reason and need your attention.
If folks didn't make so many changes at once then troubleshooting crashes would be a breeze.

Change your modding habits:
make a change and test, make a change and test, make a change and test....

This makes finding the source of a crash much easier because you only edited one or two things.


It might seem like a lot of work having to go back and forth but it's nothing compared to the headache you'll get from not being able to find the source of a crash. You can leave the game running in the background while editing and munging. The newly munged files will be loaded when you re-launch the map.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: weird crash problem

Post by Anakin »

The point is, i made the Wrist virbo weeks ago, and it worked without porblems. So it can not be the reason. But i can fix this soon.

The only part i don't understand is this one:

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Weapon.cpp(2119)
Weapon "rep_weap_Melee_Attack" missing fire point "hp_fire"

this is the odf of the weapon.
Hidden/Spoiler:
[WeaponClass]

ClassLabel = "cannon"
GeometryName = "knife.msh"

[Properties]
GeometryName = "knife"
HighResGeometry = "knife"
HUDTag = "hud_force_push"

RoundsPerClip = "0"
ReloadTime = "0.3"
HeatRecoverRate = "0.2"
HeatThreshold = "0.0"

FirePointName = "hp_fire"

TriggerSingle = "1"
ShotDelay = "0.5"
HeatPerShot = "0.0"
MaxPressedTime = "1.0"

MinRange = 0
OptimalRange = 1
MaxRange = 2

LockOnRange = "2.0"
LockTime = "0.0"
AutoAimSize = "2.0"

SalvoCount = "1"
ShotsPerSalvo = "1"
SalvoDelay = "0.0"
SalvoTime = "0.0"
InitialSalvoDelay = "0.5" // must have one or no animation - Mike Z

FireAnim = "2"
InstantPlayFireAnim = "1"
OffhandWeapon = 1

TargetEnemy = "1"
TargetNeutral = "1"
TargetFriendly = "0"

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "0"
TargetBuilding = "0"

AITargetPerson = "0"
AITargetAnimal = "0"
AITargetDroid = "0"
AITargetVehicle = "0"
AITargetBuilding = "0"

//SOUND
FireSound = "com_weap_throw"
//ReloadSound = ""
WeaponChangeSound = ""
ChangeModeSound = ""
FireEmptySound = ""
ChargeSound = ""
ChargeSoundPitch = "0.05"
OverheatSound = ""
OverheatSoundPitch = "0.5"
OverheatStopSound = ""

OrdnanceName = "rep_weap_melee_ord"
EnergyDrain = 20.0

NEXTCHARGE = "0.8"

OrdnanceName = "rep_weap_melee_ord_high"
EnergyDrain = 60.0
about the crahs i think it is something with my Laser animation i added to the Sniperrifle and the dc15 hand blaster, because the dc15 started crashing after adding it.
Hidden/Spoiler:
[WeaponClass]
ClassLabel = "cannon"
GeometryName = "rep_weap_dc15st.msh"

[Properties]
AnimationBank = "pistol"
HUDTag = "rep_weap_dc15st"
GeometryName = "rep_weap_dc15st"
HighResGeometry = "rep_1st_dc15st"

ChargeUpEffect = "com_sfx_chargeup_lazor_pistol"
MaxPressedTime = "0.2"

NextCharge = 0.2
ShotsPerSalvo = 1
OrdnanceName = "rep_weap_inf_dc15s_side_arm_ord"

ChargeRateLight = "1.0"
MaxChargeStrengthLight = "1.0"
ChargeDelayLight = "0.0"
ChargeRateHeavy = "1.0"
MaxChargeStrengthHeavy = "0.5"
ChargeDelayHeavy = "2.2"

RecoilLengthHeavy = "0.25"
RecoilStrengthHeavy = "2"
RecoilDecayHeavy = "0.0"

TargetEnemy = "1"
TargetNeutral = "0"
TargetFriendly = "0"

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "1"
TargetBuilding = "1"

MinRange = "0"
OptimalRange = "16"
MaxRange = "24"

LockOnRange = "40.0"
LockTime = "0.4"
LockOnAngle = "1.0"

ZoomMin = "2.5"
ZoomMax = "2.5"
ZoomRate = "0.0"

YawSpread = "0.4"
PitchSpread = "0.4"

SpreadPerShot = "1.1"
SpreadRecoverRate = "4.8"
SpreadThreshold = "1.6"
SpreadLimit = "6.0"

StandStillSpread = "0.0"
StandMoveSpread = "0.0"
CrouchStillSpread = "0.0"
CrouchMoveSpread = "0.0"
ProneStillSpread = "0.0"
ProneMoveSpread = "0.0"

//WEAPON PERFORMANCE VALUES

RoundsPerClip = "0"
ReloadTime = "0.0"
ShotDelay = "0.15"
TriggerSingle = "1"
MaxPressedTime = "1"

DisplayRefire = "0"

SalvoCount = "1"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.0"
SalvoTime = "0.0"

FirePointName = "hp_fire"
HeatPerShot = "0.01"
HeatRecoverRate = "0.5"
HeatThreshold = "0.25"

// SOUND

MuzzleFlash = "small_muzzle_flash"
FlashColor = "80 80 255 255"
FlashLength = 0.025
FlashColor = "100 100 255 255"
FlashLength = 0.025
FlashLightColor = "220 220 255 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"

FireSound = "dc15s_pistol_fire"
FireEmptySound = "dc17_empty"
FireLoopSound = ""
ReloadSound = ""
OverheatSound = "com_weap_energy_depleted"
OverheatSoundPitch = "0.5"
OverheatStopSound = "com_weap_energy_refilled"
WeaponChangeSound = "dc17_antiarmor_change"
JumpSound = "com_weap_inf_pistol_mvt_jump"
LandSound = "com_weap_inf_pistol_mvt_land"
RollSound = "com_weap_inf_pistol_mvt_roll"
SquatSound = "com_weap_inf_pistol_mvt_squat"
Hidden/Spoiler:
[OrdnanceClass]
ClassLabel = "bolt"

[Properties]
LaserTexture = "new_blue_small"
LaserGlowColor = "0 0 255 255"
LaserLength = "1.0"
LaserWidth = "0.1"
GlowLength = "3"

ImpactEffectSoft = "com_sfx_ord_exp"
ImpactEffectRigid = "com_sfx_ord_exp"
ImpactEffectStatic = "com_sfx_ord_exp"
ImpactEffectTerrain = "com_sfx_ord_exp"
ImpactEffectWater = "com_sfx_watersplash_ord"
ImpactEffectShield = "com_sfx_ord_exp"
ExpireEffect = "com_sfx_ord_exp"

LifeSpan = "0.8"
Velocity = "500.0"

MaxDamage = "100.0"
VehicleScale = "0.0"
ShieldScale = "1.0"
PersonScale = "1.0"
AnimalScale = "1.0"
DroidScale = "1.0"
BuildingScale = "0.1"

OrdnanceSound = "com_weap_inf_ord_hum_sm"
CollisionSound = "imp_weap_ord_exp"

BonusAmplification = "0.25" //how much more damage will be done when team_bonus_blaster_amplication is on
Post Reply