[Logo]
 
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Problem compiling  XML
Forum Index -> Druids RPG
Author Message
blahblah



Joined: 08/22/2005 04:38:26
Messages: 5
Offline

For some reason I get the following error when trying to compile. This happens without any changes done because I would rather test to see if this will compile before spending time changing values. I have some editing experience, but not extremely knowledgeable about this issue.

C:\UT2004\DruidsRPG163\Classes\DruidEnhancedArtifactMonsterSummon.uc(19) : Error
, Bad or missing expression after '<'
Compile aborted due to errors.
Failure - 1 error(s), 0 warning(s)

The first part of the code in that uc file is as follows:

Code:
class DruidEnhancedArtifactMonsterSummon extends ArtifactMonsterSummon;
 var() Sound BrokenSound;
 
 static function bool ArtifactIsAllowed(GameInfo Game)
 {
 	if(string(Game.class) == "FHI.FHI")
 		return false;
 	return true;
 }
 
 state Activated
 {
 	function BeginState()
 	{
 		local int x, chosen, sizeOfChosen;
 
 		sizeOfChosen = -1;
 // line 19 is below me
 		for (x = 0; x < RPGMut.MonsterList.length; x++)
   {
 			if
 			(
 				(
 					Instigator.Controller.Adrenaline >= RPGMut.MonsterList[x].default.ScoringValue * 10
 				) ||
 				(
 					Instigator.Controller.Adrenaline >= 100 &&
 					RPGMut.MonsterList[x].default.ScoringValue * 10 >= 100


Any ideas? Thanks in advance.


-=blahblah=-
Drago'Nish

Dominating
[Avatar]
Joined: 08/10/2005 18:38:46
Messages: 205
Offline

have you put ut2004rpg above the druidsrpg ?
that might be the problem.
and by ut2004rpg i mean the one mysterial made

Zenas: Weapons Master - lvl 26
blahblah



Joined: 08/22/2005 04:38:26
Messages: 5
Offline

If you are refering to the UT2004.ini file for editpackages, then yea as follows:

EditPackages=UT2004RPG
EditPackages=DruidsRPG163

Is that maybe the issue?


-=blahblah=-
Drago'Nish

Dominating
[Avatar]
Joined: 08/10/2005 18:38:46
Messages: 205
Offline

wel if you have that setup right i dont realy know either,
since the re-compiling and such worked fine for me.

Zenas: Weapons Master - lvl 26
Nonya-Biz

Killing Spree

Joined: 06/05/2005 02:21:02
Messages: 59
Offline

where did you get this variable statement?
Code:
RPGMut.MonsterList.length

you dont need the RPGMut i dont even think that is a real class all you want is just the Code:
MonsterList.length
and you might want to remove that from all the other statements you might have with it the RPGMut that is
blahblah



Joined: 08/22/2005 04:38:26
Messages: 5
Offline

Thank you everyone! Nonya-Biz, I don't know how that value got placed all over that uc file, but I removed them all and it compiled just fine. Thanks!!


-=blahblah=-
 
Forum Index -> Druids RPG
Go to:   
Powered by JForum 2.1.7 © JForum Team