project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Bugs
21 Sep 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links
PR:BF2 Bugs If you find a bug within PR:BF2 (including PRSP), please report it here.

Reply
 
Thread Tools Display Modes
Old 2015-06-30, 18:25   #1
[R-DEV]​Senshi
PR:BF2 Developer
PR Server License Administrator

Senshi's Avatar
Default [Code]Some more possible code bugs

My parser is getting better and better, and as such it finds more trouble:

Code:
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\faction_init.con, but does not exist: ../common/tr_scripts/buis/disable.con
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\faction_init.con, but does not exist: ../menu/HUD/HudSetup/Customization/HudCustomizationReset.con
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\faction_init.con, but does not exist: ../menu/HUD/HudSetup/Customization/HudCustomization.con
WARNING: File G:\Project Reality BF2\mods\pr_edit\objects\vehicles\air\ru_the_mi8\ru_the_mi8.tweak has a malformed activeSafe call. Look for: [ObjectTemplate.activeSafe, S_ru_the_mi8_Cargo_Passenger_Camera_RotationRpm]
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\armament\supply\supply_drop_bighelo.con, but does not exist: supply_drop_bighelo.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\handheld\chhgr_type82\chhgr_type82_projectile\chhgr_type82_projectile.con, but does not exist: chhgr_type82_projectile.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\handheld\f1grenade\f1grenade_projectile\f1grenade_projectile.con, but does not exist: f1grenade_projectile.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\handheld\frhgr_of37\frhgr_of37_projectile\frhgr_of37_projectile.con, but does not exist: frhgr_of37_projectile.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\handheld\frhgr_smoke\frhgr_smoke_projectile\frhgr_smoke_projectile.con, but does not exist: frhgr_smoke_projectile.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\handheld\gbhgr_l109\gbhgr_l109_projectile\gbhgr_l109_projectile.con, but does not exist: gbhgr_l109_projectile.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\handheld\gerhgr_dm51\gerhgr_dm51_projectile\gerhgr_dm51_projectile.con, but does not exist: gerhgr_dm51_projectile.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\handheld\hgr_smoke\hgr_smoke_projectile\hgr_smoke_projectile.con, but does not exist: hgr_smoke_projectile.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\handheld\hgr_smoke_signal\hgr_smoke_signal_projectile\hgr_smoke_signal_projectile.con, but does not exist: hgr_smoke_signal_projectile.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\handheld\hgr_smoke_vietnam\hgr_smoke_vietnam_projectile\hgr_smoke_vietnam_projectile.con, but does not exist: hgr_smoke_vietnam_projectile.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\handheld\ied_warning_stones\ied_warning_stones_projectile\ied_warning_stones_projectile.con, but does not exist: ied_warning_stones_projectile.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\handheld\ushgr_m67\ushgr_m67_projectile\ushgr_m67_projectile.con, but does not exist: ushgr_m67_projectile.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\stationary\common_stationary_mount\common_stationary_mount.con, but does not exist: common_stationary_mount.tweak
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\weapons\stationary\mk19_mount\mk19_mount.con, but does not exist: mk19_mount.tweak
Most are once again about missing include files, but the warning one is definitely an actual bug. Not super-critical, because it's just the cockpit idle sound missing, but still:

Line 208 in objects\vehicles\air\ru_the_mi8\ru_the_mi8.tweak reads
Code:
ObjectTemplate.activeSafe S_ru_the_mi8_Cargo_Passenger_Camera_RotationRpm
and very probably should actually be
Code:
ObjectTemplate.activeSafe Sound S_ru_the_mi8_Cargo_Passenger_Camera_RotationRpm

Senshi is offline Reply With Quote
Old 2015-06-30, 20:11   #2
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: [Code]Some more possible code bugs

Thanks again!
These are false tho
Code:
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\faction_init.con, but does not exist: ../common/tr_scripts/buis/disable.con
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\faction_init.con, but does not exist: ../menu/HUD/HudSetup/Customization/HudCustomizationReset.con
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\objects\faction_init.con, but does not exist: ../menu/HUD/HudSetup/Customization/HudCustomization.con
Looks like your pr_edit is set up wrong. The faction_init.con belongs to pr_edit/factions not pr_edit/objects. Other files that belong in there would be the folders "spawners" and "muzzleflas_night"
Mats391 is offline Reply With Quote
Old 2015-06-30, 21:30   #3
[R-DEV]​Senshi
PR:BF2 Developer
PR Server License Administrator

Senshi's Avatar
Default Re: [Code]Some more possible code bugs

Ah right. Currently I just move all the .zips from content to objects and use "unzip here". Worked fine so far, as I was mostly interested in vehicles and handweapons.
Looks like I shouldn't neglect parsing the server/clientarchives.con as well to get my sources in order .

Thanks for the hint!

Senshi is offline Reply With Quote
Old 2015-07-09, 08:40   #4
[R-DEV]​Senshi
PR:BF2 Developer
PR Server License Administrator

Senshi's Avatar
Default Re: [Code]Some more possible code bugs

And once more:
Code:
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\Objects\vehicles\land\us_tnk_m67\us_tnk_m67.tweak, but does not exist: ../../../common/recoil.con
INFO: The following file was referenced by an 'include' call in G:\Project Reality BF2\mods\pr_edit\Objects\vehicles\land\us_tnk_m67\us_tnk_m67.tweak, but does not exist: ../../../common/deviation.con
Line 685ff of that file is
Code:
rem ---BeginComp:WeaponBasedRecoilComp ---
include ../../../common/recoil.con "hmg" "m2hb"
rem ---EndComp ---
rem ---BeginComp:SimpleDeviationComp ---
include ../../../common/deviation.con "hmg" "m2hb"
and probably should be
Code:
rem ---BeginComp:WeaponBasedRecoilComp ---
include ../../../weapons/common/recoil.con "hmg" "m2hb"
rem ---EndComp ---
rem ---BeginComp:SimpleDeviationComp ---
include ../../../weapons/common/deviation.con "hmg" "m2hb"

Senshi is offline Reply With Quote
Old 2015-08-17, 16:13   #5
[R-DEV]​Senshi
PR:BF2 Developer
PR Server License Administrator

Senshi's Avatar
Default Re: [Code]Some more possible code bugs

*nudges at above* Not yet acknowledged .


This time, I come with a map error. Maps are chock-full of errors, but most are very harmless.
Code:
ERROR: File G:\Project Reality BF2\mods\pr_edit\levels\vadso_city\TriggerableTemplates.con has a malformed activeSafe call. Look for: [ObjectTemplate.activeSafe, S_Triggerable_burglerAlarm_Startup]
See line 58 of TriggerableTemplates.con. Same issue as with the Mi8, a missing "sound" identifier in the middle.

Senshi is offline Reply With Quote
Old 2015-08-20, 20:10   #6
PLODDITHANLEY
Supporting Member
Default Re: [Code]Some more possible code bugs

What is the impact of these errors for a player?
PLODDITHANLEY is offline Reply With Quote
Old 2015-12-15, 22:39   #7
[R-DEV]​Senshi
PR:BF2 Developer
PR Server License Administrator

Senshi's Avatar
Default Re: [Code]Some more possible code bugs

*Necro* Because the Vadso errors still exists.

@Plodd: Nothing significant. In this case I assume it leads to a couple of missing environmental sounds on Vadso that the mapper had intended to appear.

Senshi is offline Reply With Quote
Old 2015-12-15, 23:24   #8
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: [Code]Some more possible code bugs

Last time i fixed these, i broke Hades Peak jet layouts. Will let someone else do it

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2015-12-16, 13:11   #9
[R-DEV]​Senshi
PR:BF2 Developer
PR Server License Administrator

Senshi's Avatar
Default Re: [Code]Some more possible code bugs

How would you kill Hades Peak when you are editing Vadso.

Senshi is offline Reply With Quote
Reply


Tags
bugs, code, codesome

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 16:52.