Page 1 of 1

ACC Out Of Date...

Posted: Sat Dec 03, 2016 23:14
by DoomKrakken
Dear DRD Team...

I'm trying to find a version of ACC that can compile KILL scripts, but I can't find any.

Help?

- DoomKrakken

Re: ACC Out Of Date...

Posted: Sun Dec 04, 2016 1:14
by Rachael
What OS are you using?

Re: ACC Out Of Date...

Posted: Sun Dec 04, 2016 7:42
by DoomKrakken
Windows 7 Professional. Why?

Re: ACC Out Of Date...

Posted: Sun Dec 04, 2016 12:16
by Rachael
Because there's literally no reason why the one included in GZDB doesn't work for you. Have you tried looking in Compilers\ZDoom?

Re: ACC Out Of Date...

Posted: Sun Dec 04, 2016 15:17
by Blue Shadow
From the ZDoom fourms:
DoomKrakken wrote:when I try to get it from the latest build of GZDoom Builder, it still gives me the same error... that it hadn't compiled correctly.
What exactly is the compile error you're getting, and can we see the code you're compiling?

Re: ACC Out Of Date...

Posted: Sun Dec 04, 2016 23:57
by DoomKrakken
Here's my code:

Code: Select all

script "CasterAutoTaunt" Kill
{
    if(GetCVar("GC_AutoTaunt" == 1) && random(1,8) == 1)
    {
        SetActivatorToTarget(0);
        UseInventory("GuncasterTauntItem");
        Delay(1);
    }
    else terminate;
}

This is the error message:

Code: Select all

Line 99 in file "C:\Program Files (x86)\SLADE\temp\GUNCASTER.acs" ...
C:\Program Files (x86)\SLADE\temp\GUNCASTER.acs:99: Bad script declaration.
> script "CasterAutoTaunt" Kill 
>                             ^
Eruanna wrote:Because there's literally no reason why the one included in GZDB doesn't work for you. Have you tried looking in Compilers\ZDoom?
That was exactly where I looked. I have no idea why it wouldn't work.

Re: ACC Out Of Date...

Posted: Mon Dec 05, 2016 0:28
by Rachael
Hmm... when was the last time you updated GZDB? Are you sure this is your only copy, and you haven't inadvertently updated a different copy elsewhere?

I'd ask MaxED if everything's up to date. He might've forgotten to compile a new one. Failing that, I'll compile one myself but it'll take some time to set it up.

Re: ACC Out Of Date...

Posted: Mon Dec 05, 2016 1:07
by DoomKrakken
I updated it yesterday, using the latest December 2 update. I got it from devbuilds.drdteam.org.

Re: ACC Out Of Date...

Posted: Mon Dec 05, 2016 8:09
by Rachael
I cross-compiled this out of Linux. It's direct from the latest Git source.
acc-win-1.55-41-g9845b87.zip
(49.66 KiB) Downloaded 134 times
Haven't really tested it except that it does come up with the command-line options.

This file is special. It's the first time I've ever compiled something with mingw32. Enjoy. :P

Re: ACC Out Of Date...

Posted: Mon Dec 05, 2016 11:10
by DoomKrakken
Thanks so much! It appears to be compiling now.

Re: ACC Out Of Date...

Posted: Tue Dec 06, 2016 21:38
by Rachael
Figured I might as well do zdbsp, too, just because it didn't take much effort to compile it nearly the same way.

Re: ACC Out Of Date...

Posted: Wed Dec 07, 2016 8:27
by DoomKrakken
Just got it. Thanks again! :D

Re: ACC Out Of Date...

Posted: Wed Dec 07, 2016 8:39
by Rachael
You're welcome. :)