Well the code directly around it (now) is:
But I've moved the vamp_out(12) from another area lower in the function where it had the same problem. Going to try and put vamp_out() in it's own wrapper method in my script and see if it executes better that way? Strange
Edit: not sure what interaction may have been going on, but I moved cli_execute("vampout book"); to near the end of my rollover script and it seems to be working fine so good enough for me
PHP:
void do_rollover(){
if(can_interact()){
// Track success of our rollover script
boolean rolloverSuccess = true;
vamp_out(12); // VampOut to get the Interview book & buff
// Have free crafts available? Make some Bat-ass leather jackets!
item craftItem = $item[bat-ass leather jacket];
int freebiesMade = craft_freebies( craftItem );
vprint("Created " + freebiesMade + " " + craftItem,"green",2);
// Should we get mystically oiled, to hold more MP?
if(getMysticallyOiled == true){
if( get_mystically_oiled() == false){ rolloverSuccess = false; }
}
But I've moved the vamp_out(12) from another area lower in the function where it had the same problem. Going to try and put vamp_out() in it's own wrapper method in my script and see if it executes better that way? Strange
Edit: not sure what interaction may have been going on, but I moved cli_execute("vampout book"); to near the end of my rollover script and it seems to be working fine so good enough for me
Last edited: