Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / error compiling FPSC

Author
Message
Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 2nd Jun 2012 21:13
anyone know why I get this error when compiling FPSC?

'Cannot use RETURN command inside a function at line 7645.'

if I remove them from the functions it compiles, but I'm pretty sure they need to be there.
Jayskull900
15
Years of Service
User Offline
Joined: 25th May 2011
Location:
Posted: 2nd Jun 2012 21:54
Are you using the V20? It's a bit unstable right now and that could be it
Flatlander
FPSC Tool Maker
19
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 3rd Jun 2012 05:15 Edited at: 3rd Jun 2012 05:15
v20 may be unstable but that's not the cause.

Go into the compiler subfolder and edit the setup.ini. It's plain text files so you can use notepad.

See the following:

[DIRECTIVES]
RemoveSafetyCode=Yes
SafeArrays=No
LocalTempFolder=No
ExternaliseDLLS=No


Make sure that the flags are just like these.

"A programmer is just a tool which converts caffeine into code . . . reminds me….. if I had one more brain cell, I could have a synapse! woo hoo, Sparky!

~I'm the Terry of the Flatlands.
The Zombie Killer
15
Years of Service
User Offline
Joined: 27th Mar 2011
Location: Gold Coast, Australia
Posted: 3rd Jun 2012 05:17
@Section 812
Have you tried doing it with the modder's kit?
If you are using the MK, make sure you've activated your DarkAI and DarkLIGHTS keys with it.

-TZK

Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 3rd Jun 2012 05:50
@ Jayskull900, I know, I'm just trying to catch up from v115.

@ F l a t l a n d e r, Thanks! that was what I missed.

@ TZK, I'm still trying to work out why the modders kit isn't working on my machine, It wanted me to shut down my AMD feul and some other things, but something wouldn't shut down.
The Zombie Killer
15
Years of Service
User Offline
Joined: 27th Mar 2011
Location: Gold Coast, Australia
Posted: 3rd Jun 2012 06:10
@Section 812
That is really weird, it must have something to do with CodeSurge, oh well, at least you can compile FPSC now.

-TZK

Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 3rd Jun 2012 06:21 Edited at: 3rd Jun 2012 06:22
Ya I'll figure it out. I keep getting crash when building game in fpsc though. something about ragdoll in some debug thing.

wish I had a can of RAID
Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 3rd Jun 2012 06:39
ok, it says it can't find createragdoll function in DBProODEDebug.dll

has that been changed also?
The Zombie Killer
15
Years of Service
User Offline
Joined: 27th Mar 2011
Location: Gold Coast, Australia
Posted: 3rd Jun 2012 07:13
@Section 812
Have you uncommented any lines in the source?

-TZK

Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 3rd Jun 2012 07:26
No, I'm still making sure the original code works correctly.
The Zombie Killer
15
Years of Service
User Offline
Joined: 27th Mar 2011
Location: Gold Coast, Australia
Posted: 3rd Jun 2012 07:58
@Section 812
Not sure then, works perfectly here.

-TZK

Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 3rd Jun 2012 09:07
did a fresh install of everything and now its working ok, Thanks everyone!

Login to post a reply

Server time is: 2026-07-03 15:30:25
Your offset time is: 2026-07-03 15:30:25