How do you auto accept invites on background apps?

Posts 1618 of 18 · Page 2 of 2
Quote Originally Posted by phj280600 View Post
Although you might not wanna do that as it will skip all dialog if placed in the setMessage.

Take a look at ExoDave's Better Invites mod implementation of only skipping some dialogs.

 
CODE
Code:
private function setMessage(param1:String) : void
      {
         this.message = param1;
         var _loc2_:* = new Array();
         _loc2_[0] = "for a price of";
         _loc2_[1] = "Gem Booster Box\'";
         _loc2_[2] = "Re-Gemerator\'";
         _loc2_[3] = "completed";
         _loc2_[4] = "Dragon Coins";
         var _loc3_:* = 0;
         while(_loc3_ < _loc2_.length)
         {
            if(this.message.toLowerCase().indexOf(_loc2_[_loc3_].toLowerCase()) > 0)
            {
               _loc3_ = _loc2_.length;
               ExternalInterface.call("MESSAGEDIALOG.RESPONSE",0);
            }
            _loc3_++;
         }
         if(this.message.length < 90)
         {
            this.messageTextField.y = -65;
         }
      }
It is enough to patch a couple of bytes and all dialogs will be skipped.
Quote Originally Posted by phj280600 View Post
Although you might not wanna do that as it will skip all dialog if placed in the setMessage.

Take a look at ExoDave's Better Invites mod implementation of only skipping some dialogs.

private function setMessage(param1:String) : void
{
this.message = param1;
var _loc2_:* = new Array();
_loc2_[0] = "for a price of";
_loc2_[1] = "Gem Booster Box\'";
_loc2_[2] = "Re-Gemerator\'";
_loc2_[3] = "completed";
_loc2_[4] = "Dragon Coins";
var _loc3_:* = 0;
while(_loc3_ < _loc2_.length)
{
if(this.message.toLowerCase().indexOf(_loc2_[_loc3_].toLowerCase()) > 0)
{
_loc3_ = _loc2_.length;
ExternalInterface.call("MESSAGEDIALOG.RESPONSE",0) ;
}
_loc3_++;
}
if(this.message.length < 90)
{
this.messageTextField.y = -65;
}
}
I've messed with it to try and skip my ign or even "has invited" but it's not working.
Quote Originally Posted by jkazn2000 View Post
I've messed with it to try and skip my ign or even "has invited" but it's not working.
Well first confirm that your changes are actually being used, so disable all mods that could overwrite it and if that won't work it might be because the accept invite is triggered by the inputpromptui file not the messagedialog file.
Posts 1618 of 18 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?