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 / Can't compile FPSC source code (DarkAI: Set Player Position has only 2 parameters)

Author
Message
Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 9th Apr 2012 11:03
Hey all,

I've been trying to compile the latest FPSC source code but keep getting a compiler error saying the DarkAI command "Set Player Position" has only 2 parameters (x and y) when 3 are passed in (x, y and z). I have downloaded the latest DarkAI. Help?

Thanks,
Clonkex

The Zombie Killer
15
Years of Service
User Offline
Joined: 27th Mar 2011
Location: Gold Coast, Australia
Posted: 9th Apr 2012 11:45
@Clonkex
I think I see your problem, I will attach a zip in a moment, install the files that will be included into your DBPro.

-TZK

The Zombie Killer
15
Years of Service
User Offline
Joined: 27th Mar 2011
Location: Gold Coast, Australia
Posted: 9th Apr 2012 11:48
@Clonkex
Here you go, the files attached are what you need.
Also make sure you're using the latest version of DBP.

-TZK

Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 10th Apr 2012 14:58
Quote: "Here you go, the files attached are what you need.
Also make sure you're using the latest version of DBP."


Thanks, The Zombie Killer, that fixed it. But could you tell us where you got the DLLs and why I needed to replace them in the first place? Just so others might find this thread useful if their problem is not exactly the same as mine.

Clonkex

The Zombie Killer
15
Years of Service
User Offline
Joined: 27th Mar 2011
Location: Gold Coast, Australia
Posted: 11th Apr 2012 04:56
@Clonkex
I got the dlls from the DBPro 7.5 Extras archive in the "DBPro for FPSC" folder, because they are modified for the FPSC source code. I don't know why the normal ones won't work, but apparently these ones are newer than the latest official ones anyway, so I guess that may be why they need to be replaced.

-TZK

Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 13th Apr 2012 04:24
Ah, that explains it. Thanks TZK

Clonkex

Login to post a reply

Server time is: 2026-07-02 10:24:42
Your offset time is: 2026-07-02 10:24:42