PDA

View Full Version : Bad class definition /'/2937/2937.



sharkyboy
4th August 2005, 19:44
hello all i just added the autotrain function to my .u bot!
Its the first thing that i added in my bot but i get this error!

Bad class definition /'/2937/2937.

Explanation

If you're coding for UT2003 or another game using the same or a newer engine, keep in mind that the deprecated "expands" keyword isn't supported anymore; use "extends" instead.

----- AGP (Release)
----- Engine (Release)
----- sharkytrain (Release)
Analyzing...
Bad class definition ''/''/2937/2937
Can't find file '..\sharkytrain\Classes\SharkyInteraction.uc' for import
General protection fault!

History:

Exiting due to error

does any one know what i can do agains it?

thnx sharkyboy

YoYoReturns
4th August 2005, 20:16
You defined your class wrong. Check for typos.

sharkyboy
4th August 2005, 20:28
what do you mean with Check for typos.

gil
4th August 2005, 21:21
typo

n. printing error, typing error

DeathFr0mBehinD
5th August 2005, 08:35
show us the very first line of your sharkyineraction.uc

should say something like

Class SharkyInteraction extends Interaction;

if not.. make it look that way.

ReckaH
5th August 2005, 10:17
From the looks of the error you put a '/' where you meant to have a '.' In other words you have class/member instead of class.member

sharkyboy
5th August 2005, 11:32
Thnx Death from behind but now i got this Error in SharkyInteraction.uc (8): 'HumanController': Bad command or expression

DeathFr0mBehinD
6th August 2005, 00:44
now you need to make a fake AGP.u with the class HumanController

Download LowFlys .u source, and it has a fake agp folder you can put in your unrealengine runtime main folder and add AGP to your packages list in your make.ini

http://www.mpcdownloads.com/forums/downloads.php?do=file&id=5369