PDA

View Full Version : Compiling scripts with no error checking?


Silver5123
14th Sep 2003, 05:27 PM
Anytime I create scripts, it gives me the error:

Error: C:\...\Core\Classes\Object.uc(1) : Error, Missing 'Class' definition


Which is wierd since I can still play the game. If I use WOTGreal Exporter or UTPT I can see most of the code (other than the few bugs it has with native functions and for/while/do loops), so I know its there. I believe the code is in some way "hidden".

So, instead, what I would like to know is a way to compile scripts (through UnrealEd, ucc make, or a third party compiler) without the compiler checking for errors (if it is even possible). I haven't had any luck searching the internet.


Thanks.

Wormbo
14th Sep 2003, 05:51 PM
It's a bit strange that the compiler complains about something in the Core package, be cause you should never compile default packages (http://wiki.beyondunreal.com/wiki/Do_Not_Alter_Default_Packages).

The compiler always checks for errors, but I would recommend using UMake (http://wiki.beyondunreal.com/wiki/UMake) because I know it works and you don't have to mess with INI files and EditPackages.

Silver5123
14th Sep 2003, 06:22 PM
It's a bit strange that the compiler complains about something in the Core package, be cause you should never compile default packages


Sorry, I think you misunderstood (or I phrased it wrong).


If I make a simple program like:


class something extends Actor

defaultproperties
{
}


And do ucc make, it says that there is no class definitions for object.uc (because something extends Actor, which extends Object, in which there is no class definition). I haven't edited any of the original .u files, and the game still runs fine.

If I use UnrealEd to export all the classes they are all blank, only showing defaultproperties, no code, but if I use WOTGreal or UTPT I can see the code in all the packages. This makes me think that the code in the .u files is hidden. But either way, I just need a way to compile without it looking for errors, if its possible.

Radiosity
14th Sep 2003, 06:38 PM
You may want to mention what game this is for? Sounds like Raven Shield or similar, I know that you can't export the classes from that - all you get is empty defaults and not much else.

Silver5123
14th Sep 2003, 06:46 PM
You may want to mention what game this is for? Sounds like Raven Shield or similar, I know that you can't export the classes from that - all you get is empty defaults and not much else.

Yes, its for Raven Shield, but still, that has little to do with it. I just want to compile without it checking for all the superclasses.

JamesKilton
14th Sep 2003, 06:49 PM
Yes, it has a lot to do with it. You're not the first person that's mentioned this error. There seems to be some type of obfusication in Raven Shield that prevents modding.

As for just compiling w/out checking for superclasses, I have never heard of being able to do that. It just doesn't sound like it would be a good idea if it was possible, though.

Silver5123
14th Sep 2003, 06:56 PM
Well, there have been people who have compiled scripts for Raven Shield (TAT_Neo, r00t316), so there has to be a way around it.

I've asked both of them and the only answers I get is that they gave their word they wouldn't tell anyone.

Radiosity
14th Sep 2003, 08:33 PM
they gave their word they wouldn't tell anyone

Which probably means they did something they shouldn't have to get it working ;)

[SAS]Solid Snake
14th Sep 2003, 10:28 PM
If UbiSoft didn't want people to mod their game, then they will do things like this. Again those people probably either changed the UCC compiler or some other illegal method. I don't know how to do it myself ...

Silver5123
14th Sep 2003, 11:42 PM
Solid Snake']If UbiSoft didn't want people to mod their game, then they will do things like this. Again those people probably either changed the UCC compiler or some other illegal method. I don't know how to do it myself ...


Well, actually, while it was being developed they kept saying that user created mods would be possible.

Of course, after it was released they said the "SDK" will be released in December.


Anyways, if they are bypassing it by some illegal way, then I guess I'll just wait until December.

-=[MAD]=-Hmpf
17th Sep 2003, 05:10 PM
You may want to mention what game this is for? Sounds like Raven Shield or similar, I know that you can't export the classes from that - all you get is empty defaults and not much else.
I had no problems getting the source...

it's true that you can't export it...
but with the advanced exporter of WoTGreal you can easily decompile the .u Files. (took me about 10 minutes to find that out)

Radiosity
17th Sep 2003, 06:44 PM
That was stated from what others have told me, I don't actually own the game :)