PDA

View Full Version : Tell me if u see the error?


Damage Inc.
7th April 2004, 18:51
Ok tell me if u can see the error cause ive been working on this for about
an hour and i cant find it

http://damageinc.5u.com/sdkerror01.JPG

drewpaul86
7th April 2004, 19:31
sometimes the flags mess this up, just gotta mess around a lil with it. in this case i dunno, here's what mine looks like:


//==========================================
// HelloWorldCommandlet.
//==========================================
class HelloWorldCommandlet extends Commandlet
transient;

var int intparm;
var string strparm;

function int Main (string Parms)
{
}


in this case, it's the space u have between the //========== and the class definition

Damage Inc.
7th April 2004, 20:01
ok cool i got it going and i fixed all of the other errors that came after
but now im getting a new one saying

Error exporting class Core.Object: Couldn't open file
'..\Core\Inc\CoreClasses.h' Failed to export: ..\Core\Inc\CoreClasses.h
History: UMakeCommandlet::Main
Exiting due to error

ill work on it, if i cant figure it out ill post a screen shot

//Edit
Hell yea i got the Core to compile =) got success 0 errors and
0 warnings hehe now i just have to do all the rest of the files gona
take some time lol...hey if any one wants to split the work pm me
we can help each other out =) BTW thanks drew!
http://damageinc.5u.com/sdkcompiler.JPG

drewpaul86
7th April 2004, 22:00
um, generally u should say no to those. i'm not sure why it worked for u, but just for future info. np btw.

pwnkiller
8th April 2004, 23:42
I do believe UTPT 2.0 Beta 4 has a problem with using the correct flags, UTPT 1.51 seems to work better, just thought i would share and if anyone has vb 6.0 and wants the source for my uc cleaner let me know.

drewpaul86
9th April 2004, 01:28
nt

Damage Inc.
9th April 2004, 04:32
sounds good to me =)
DamageInc@MPCForums.de

pwnkiller
9th April 2004, 13:44
I have a question, I have changed all my core classes from export to transient and fixed object.uc so it will compile but everytime i try to compile now i get a General Protection Fault, anyone else come across this, or any ideas of how to remedy it.

Damage Inc.
9th April 2004, 14:59
ive had that happen...it was cause I deleted something that I wasn’t
supposed to lol so go through ur files and compare them to the originals
that’s what I had to do

pwnkiller
9th April 2004, 23:47
you mean in the class files? I will have to check that out, it didnt happen to me until i changed export to transient, so I will have to take a look.

-Edit Fixed it, I accidently replaced extends with expands, that was the problem, thanks for the help.