News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 14th Sep 2003, 04:27 PM   #1
Silver5123
Registered User
 
Join Date: Sep. 14th, 2003
Posts: 12
Compiling scripts with no error checking?

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.
Silver5123 is offline   Reply With Quote
Old 14th Sep 2003, 04:51 PM   #2
Wormbo
 
Wormbo's Avatar
 
Join Date: Jun. 4th, 2001
Location: Germany
Posts: 5,783
It's a bit strange that the compiler complains about something in the Core package, be cause you should never compile default packages.

The compiler always checks for errors, but I would recommend using UMake because I know it works and you don't have to mess with INI files and EditPackages.
__________________
Wormbo's UT/UT2004/UT3 mods | YouTube channel | PlanetJailbreak/JDN | Unreal Wiki | Liandri Archives
Everything you ever wanted to know about replication| UnrealScript security considerations
<elmuerte> you shouldn't do all-nighters, it's a waste of time and effort
<TNSe> nono
<TNSe> its always funny to find code a week later you dont even remember writing
<Pfhoenix> what's worse is when you have a Star Wars moment
<Pfhoenix> "Luke! I am your code!" "No! Impossible! It can't be!"
Wormbo is offline   Reply With Quote
Old 14th Sep 2003, 05:22 PM   #3
Silver5123
Registered User
 
Join Date: Sep. 14th, 2003
Posts: 12
Quote:
Originally Posted by Wormbo
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:

Code:
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.
Silver5123 is offline   Reply With Quote
Old 14th Sep 2003, 05:38 PM   #4
Radiosity
Minty Fresh!
 
Radiosity's Avatar
 
Join Date: Jan. 3rd, 2003
Location: UK
Posts: 2,217
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.
Radiosity is offline   Reply With Quote
Old 14th Sep 2003, 05:46 PM   #5
Silver5123
Registered User
 
Join Date: Sep. 14th, 2003
Posts: 12
Quote:
Originally Posted by ChainsawMonkey
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.
Silver5123 is offline   Reply With Quote
Old 14th Sep 2003, 05:49 PM   #6
JamesKilton
UA Coder
 
JamesKilton's Avatar
 
Join Date: Oct. 6th, 2002
Location: Everywhere and Nowhere
Posts: 210
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.

Last edited by JamesKilton; 14th Sep 2003 at 05:52 PM.
JamesKilton is offline   Reply With Quote
Old 14th Sep 2003, 05:56 PM   #7
Silver5123
Registered User
 
Join Date: Sep. 14th, 2003
Posts: 12
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.
Silver5123 is offline   Reply With Quote
Old 14th Sep 2003, 07:33 PM   #8
Radiosity
Minty Fresh!
 
Radiosity's Avatar
 
Join Date: Jan. 3rd, 2003
Location: UK
Posts: 2,217
Quote:
they gave their word they wouldn't tell anyone
Which probably means they did something they shouldn't have to get it working
Radiosity is offline   Reply With Quote
Old 14th Sep 2003, 09:28 PM   #9
[SAS]Solid Snake
Registered User
 
[SAS]Solid Snake's Avatar
 
Join Date: Jun. 7th, 2002
Location: New Zealand
Posts: 2,633
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 ...
__________________
I make the impossible possible ... ... ... to some extent.

Digital Confectioners
[SAS]Solid Snake is offline   Reply With Quote
Old 14th Sep 2003, 10:42 PM   #10
Silver5123
Registered User
 
Join Date: Sep. 14th, 2003
Posts: 12
Quote:
Originally Posted by [SAS]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.
Silver5123 is offline   Reply With Quote
Old 17th Sep 2003, 04:10 PM   #11
-=[MAD]=-Hmpf
Registered User
 
-=[MAD]=-Hmpf's Avatar
 
Join Date: Dec. 15th, 2002
Posts: 25
Quote:
Originally Posted by ChainsawMonkey
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)
-=[MAD]=-Hmpf is offline   Reply With Quote
Old 17th Sep 2003, 05:44 PM   #12
Radiosity
Minty Fresh!
 
Radiosity's Avatar
 
Join Date: Jan. 3rd, 2003
Location: UK
Posts: 2,217
That was stated from what others have told me, I don't actually own the game
Radiosity is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -5. The time now is 08:26 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer