xKiv
Active member
So I decided to write a script to automate skid row (wolf minigame in grimstone mask content) because playing that thing nominally well is a mindnumbing timewasting grind. I think I have the gym figured out (setting NC choices, combats in between them), but I can't get the other part to work.
When I visit_url('place.php?whichplace=ioty2014_wolf&action=wolf_houserun'), a fight starts, but currentRound is 0 and mafia will ignore any visit_url requests to fight.php.
When I adventure(1, $location[unleash your inner wolf]), mafia at least recognizes that the fight starts, and gets as far detecting initiative loss, but doesn't even call my consult script.
What I did there was setting my ccs to
and I verified that the script is valid
The script sits in scripts/consult, where all my other consult scripts (WHAM, ...) sit (and they worked the last time I checked).
I tried both boolean main(int initround, monster foe, string pg) and void main(int initround, monster foe, string pg). It's not even called.
What's happening? How do I make this work?
When I visit_url('place.php?whichplace=ioty2014_wolf&action=wolf_houserun'), a fight starts, but currentRound is 0 and mafia will ignore any visit_url requests to fight.php.
When I adventure(1, $location[unleash your inner wolf]), mafia at least recognizes that the fight starts, and gets as far detecting initiative loss, but doesn't even call my consult script.
What I did there was setting my ccs to
Code:
[ default ]
consult unleashInnerWolf
Code:
> verify unleashInnerWolf
void doskill( int skn )
Script verification complete.
Requests complete.
The script sits in scripts/consult, where all my other consult scripts (WHAM, ...) sit (and they worked the last time I checked).
I tried both boolean main(int initround, monster foe, string pg) and void main(int initround, monster foe, string pg). It's not even called.
What's happening? How do I make this work?