2.9 mutator compiling.

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Keganator

White as Snow Moderator
Jun 19, 2001
5,262
0
36
PR's Barracks
www.kegnet.net
I am confused and upset, for I have no idea why my mutator compiling has two very important and annoying problems.

The first is UCC, using ini=infiltration.ini, 'makes' all of the following classes.

Code:
Compiling INFc_SMaleBase
Compiling INFc_CHSoldier
Compiling INFc_SMale1Bot
Compiling INFc_Ammo
Compiling INFc_GrenadeAmmo
Compiling INFc_Pickup
Compiling INFc_ActiveEquipment
Compiling INFe_Claymore
Compiling INFc_Armor
Compiling INFc_Weapon
Compiling INFc_KaBar
Compiling INFe_Hands
Compiling INFc_Grenade
Compiling INFc_GrenadeList
Compiling RollingGrenadeList
Compiling INFc_M67_GLItem
Compiling RollingM67_GLItem
Compiling INFc_RC50
Compiling INFc_PSG
Compiling INFc_M3
Compiling INFc_M92F
Compiling INFc_DE50
Compiling INFc_FSVEN
Compiling INFc_Mk23
Compiling INFc_MP540
Compiling INFc_M16
Compiling INFc_M16M203
Compiling INFc_HK69
Compiling INFc_FAMAS
Compiling UT8Ball
Compiling INFc_P90
Compiling INFc_SIG551
Compiling INFc_M1S90
Compiling InfProjSpawnNotify
Compiling EASObstruct
Compiling EASSniper
Compiling InfilCTFGameReplicationInfo
Compiling INFg_EASReplicationInfo
Compiling InfilGameReplicationInfo
Compiling INF_BrowserUdpServerQuery
Compiling InfilCTFGame
Compiling INFg_EAS
Compiling INFg_Specialist
Compiling INFg_EASGame
Compiling InfilAssault
Compiling InfilDomination
Compiling InfilTeamGamePlus
Compiling INFg_CoopGame
Compiling InfilLastManStanding
Compiling InfilDeathMatchPlus
Compiling InfilShootingRangeRules
Compiling InfilWeapons
Compiling NoM203ACOG
Compiling InfMessageRegulator
This compiling also tries to include a bunch of sounds for the INFc_SMaleBase. The whole process takes many minutes.

In addition, it seems that if the class isn't in that list, ucc cannot use it to make a derivitive mutator. IE, if I want to use INFc_PlayerReplicationInfo, it won't let me, giving me a CompileError.

I'm tired, irked, and completely thwarted. Does anyone have any ideas on what am I forgetting, and why is it doing this?
 
Last edited:

Freon

Braaaaiinss...
Jan 27, 2002
4,546
0
0
43
France
www.3dfrags.com
I have the same problem. Each time I tried to compile something from the editor (quick hack) it always stops on INFc_SMaleBase. That's why I only use the ucc command, but I never used Inf classes so I can't help you much :hmm:
 

TOAD

One team...one life...one chance
Feb 15, 2002
91
0
0
Visit site
yup, it's doing that on me too, maybe INF_Core needs a scripted texture file of some sort
 

Beppo

Infiltration Lead-Programmer
Jul 29, 1999
2,290
5
38
52
Aachen, Germany
infiltration.sentrystudios.net
If you compile the stuff using ucc then it rebuilds some of the packages in memory but should only spit out some warnings. This happens due to the hacks needed for the embedded cheat protection.

If your compiles are spitting out errors then plz check exactly what you are doing. I just tested it again by subclassing the INFg_EASgame class and using the INFc_PlayerReplicationInfo class within. No problems...

Sorry for the extra amount of time needed by these internal recompiles ucc performs.

Beppo
 

Keganator

White as Snow Moderator
Jun 19, 2001
5,262
0
36
PR's Barracks
www.kegnet.net
Arrugh. So we're doomed to seven minute recompiles per error? That...sucks. :eek: As far as the PlayerReplicationInfo, I'll check again and see what I can do :(
 
Last edited:

steve3

New Member
Aug 16, 2003
6
0
0
46
Jamaica
Visit site
Yes Keg same problem here.I started on my 2.9 mutator yesterday.All I wanted to do was make a slight modification to the M16 which involves changing only a few lines of code.I used a little code from a mutator tutorial.When I tried compiling ucc needed INFc_Weapon so I placed INF_Core in the EditPackages section of Unrealtournament.ini then it needed INF_Assetbase so I included INF_Assets and INF_Assets2 in the ini file.When I compiled for the third time ucc gave countless errors for missing sound files in INFC_SMaleBase (only the inf dev team has these).

I searched the net and found a tutorial on packages and it says the class has to be in the EditPackages list for ucc to check dependencies.So just add any missing classes to the EditPackages= section of the ini file.ucc will only compile files for which there is no .u file in the UT/system folder.

I didn't know about using infiltration.ini instead of unrealtournament.ini until I read your post.When I tried ucc make ini=infiltration.ini the other errors disappeared (or ucc didn't reach them) and an error [Superclass INFc_Armor of class INFe_ArmorVestL2 not found] appeared.INFc_Armor is in INF_Core which is in the list so can anyone tell what this error is about?
 

Keganator

White as Snow Moderator
Jun 19, 2001
5,262
0
36
PR's Barracks
www.kegnet.net
Well, I figured out the INFc_PlayerReplicationInfo problem, and it compiled. It still took forever. The cheating issue I can understand, but seriously, this is a major developmental hazard. What would normally take minutes now takes hours. Of course there's nothing we can do, I'm just disappointed that this was the only way. :hmm:
 

Beppo

Infiltration Lead-Programmer
Jul 29, 1999
2,290
5
38
52
Aachen, Germany
infiltration.sentrystudios.net
Keg there is a way...

Ok, the package that most stuff is in would be INF_Core.u ... extract all uc files, remove the handful of sound and texture import lines and use ucc to compile this package again for you.
Everything then can be used for compiling without a problem cause all you need are the dependencies and not a sound or two not importet. Just backup your original u files for playing of course. Do this with INF_Core and maybe one or two of the other packages too if the compile times are still high. The INF_Assets packages should not be touched cause they need all the meshs aso ... so it would be a hard time to recompile it and it really isn't needed after you made a INF_Core.u compile version.

If needed... use UED or WOTGreal to extract the pcx texture files and sound files or replace them with any stuff you want ... it is only a compile package ... nothing you have to use later on. ;)

If you need help... just call.

Beppo
 
Last edited:

Keganator

White as Snow Moderator
Jun 19, 2001
5,262
0
36
PR's Barracks
www.kegnet.net
Hey beppo, I've been trying for the last hour or so to get those packages (INF_Core and InfiltrationUT) compiled the way you said, that would let me work quickly but not online, and I keep running into problems doing so, missing files, errant lines, and other problems. Could you compile a "dev" version of those two packages for us? It would make my mutating life so much less stressful. I'm sure you know how frustrating it is to want to change a single variable, and have to spend 10 minutes each time, trying to get it just the way you want :(
 
Last edited:

Beppo

Infiltration Lead-Programmer
Jul 29, 1999
2,290
5
38
52
Aachen, Germany
infiltration.sentrystudios.net
Ok it is very easy and doesn't end up with compile errors aso (just did this myself with the original packages):

a) backup your whole infiltration\system folder (not really needed but better to have a backup anyway)
b) start UED (INF-version)
c) open up a script, no matter which one
d) select 'compile changed' in the editor window
e) wait the couple of minutes it takes to complete
f) click on the actor browser and if the packages aren't shown yet, then choose 'show packages' from th options available
g) select ALL Infiltration packages
h) select 'save selected packages'
i) move the newly build packages out of your UT\system folder into ie a Infiltration\SystemCompile folder

for ucc compiles... either
a) rename/switch the Infiltration\System folder and the Infiltration\SystemCompile folder each time you want to play or you want to compile... or
b) make a copy of the infiltration.ini file, edit the paths section to use the SystemCompile folder instead of the System folder and call ucc using ini=mynewini.ini

cheers,

Beppo
 

Silver_Ibex

Member
Feb 27, 2001
654
0
16
Some more comments that you may find useful, especially you are just getting started.

As Beppo said above, do the following
a) backup your whole infiltration\system folder (not really needed but better to have a backup anyway)
b) start UED (INF-version)
c) open up a script, no matter which one
d) select 'compile changed' in the editor window
e) wait the couple of minutes it takes to complete
f) click on the actor browser and if the packages aren't shown yet, then choose 'show packages' from th options available
g) select ALL Infiltration packages
h) select 'save selected packages'
i) move the newly build packages out of your UT\system folder into ie a Infiltration\SystemCompile folder


Then make a copy of the infiltration.ini file, and in it find the “Paths=” area and change it from this
Code:
[Core.System]
Paths=../Infiltration/System/*.u

To this, so it uses the new bogus SystemCompile folder

Code:
[Core.System]
Paths=../Infiltration/SystemCompile/*.u

Save it as "ZZZmynewINFini.ini" I use the Z's so it shows up at the bottom of the file list, which is handy when editing and you need to find it quickly, it will be by any newly compiled packages.

Then download and place the attached .Bat file in your UT system folder, you can then make a shortcut to this .bat file for the Windows toolbar and desktop, so compiling is only a click away.

Or save yourself the download and Zip hassle by just making a new .txt file with the following.

Ucc make ini=ZZZmynewINFini.ini

Pause

Save it and then rename the file type from a .txt to a .bat
:D
 

Attachments

  • INF_UCCMake_Batch_File.zip
    527 bytes · Views: 46