Hey!
So I have some ACS scripts attached to new keys in KEYCONF. Everything worked great. I have ACC set up for context menu use within SLADE.
I changed a few things in my ACS text file, then compiled again for the updates. However, this time, it didn't go so smooth - I went in game, pressed the button that executes a script, and "Unknown command: Reloader" prints.
...despite there being NOTHING in ANY of my files having the label "Reloader" on it.
It seems that the compiler is not actually compiling my text file as it did properly merely minutes before, but a different one from elsewhere that contains the "reloader" command (perhaps the Brutal Doom script by that name that I was perusing earlier)
So... how the eff do I make ACC do what it's told again? Anyone else had this issue?
ACC Compiling non-existent script?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Re: ACC Compiling non-existent script?
The script is probably fine. Your key is just bound to the wrong command. That's the message ZDoom gives when you try and use a non-existent console command. Rebind it to your script alias and it should work again.
- NickPerrin
- Posts: 47
- Joined: Thu Apr 12, 2012 1:13 pm
Re: ACC Compiling non-existent script?
So a key can be bound to a command even if that command ceases to exist? Interesting. Will test to try and replicate this error.Xaser wrote:The script is probably fine. Your key is just bound to the wrong command. That's the message ZDoom gives when you try and use a non-existent console command. Rebind it to your script alias and it should work again.
EDIT: It all magically started working again, but I have no idea why. I can't replicate the error. How does a label called "reloader" enter into the equation when there is nothing called "reloader" in any of my decorate, acs, or other files?
Re: ACC Compiling non-existent script?
"Reloader" isn't a label. It's the actual command your key is bound to and is attempting to execute. Drop down the console, type "reloader", and you'll get the same message. The reason the resulting error is "Unknown command: Reloader" is indeed because it doesn't exist in decorate, ACS, or anywhere else in your wad. Else it wouldn't be unknown. 
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
Re: ACC Compiling non-existent script?
This is an issue I tend to see if I recycle KEYCONF aliases from another project; it's down to the KeySection stuff, I think. The problem actually lies in your INI file in the key sections for specific WAD files.
- NickPerrin
- Posts: 47
- Joined: Thu Apr 12, 2012 1:13 pm
Re: ACC Compiling non-existent script?
Indeed, looks like you guys got it. "reloader" is sitting in my INI file, perhaps from playing or tinkering with Brutal Doom. And it was bound to the same key as my keyconf->script, overriding my new command.wildweasel wrote:The problem actually lies in your INI file in the key sections for specific WAD files.
Thanks!
