Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 23:03

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Dronesmanager help!?

Discussion on Dronesmanager help!? within the DarkOrbit forum part of the Browsergames category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: May 2014
Posts: 394
Received Thanks: 69
Dronesmanager help!?

Hello,

Ive been fucking arround with the drones manager for ages but i can't get it work like the new drones manager!

This my current code:
Code:
        _loc8_ = _loc5_[_loc7_];
               _loc9_ = _loc8_.split(",");
               _loc10_ = String(_loc9_[0]).split("");
               _loc11_ = _loc10_[0];
               _loc12_ = _loc10_[1];
               if(_loc6_ == 1)
               {
                  this.addDrone(param1,_loc3_,DroneConnector.POSITION_CENTER,_loc11_,_loc12_);
               }
               if(_loc6_ == 2)
               {
                  if(_loc7_ == 0)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_RIGHT,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 1)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_TOP,_loc11_,_loc12_);
                  }
                  
               }
               if(_loc6_ == 3)
               {
                  if(_loc7_ == 0)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_CENTER,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 1)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_LEFT,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 2)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_TOP,_loc11_,_loc12_);
                  }
                  
                  
               }
               if(_loc6_ == 4)
               {
                  if(_loc7_ == 0)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_TOP,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 1)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_RIGHT,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 2)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_LEFT,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 3)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_DOWN,_loc11_,_loc12_);
                  }
                  
                  
                  
               }
               _loc7_++;
            }
            _loc15_++;
         }
      }
How can i make it work like the new dronesmanager?
quinster08 is offline  
Old 08/10/2014, 18:19   #2
 
elite*gold: 0
Join Date: Apr 2012
Posts: 182
Received Thanks: 128
Quote:
Originally Posted by quinster08 View Post
Hello,

Ive been fucking arround with the drones manager for ages but i can't get it work like the new drones manager!

This my current code:
Code:
        _loc8_ = _loc5_[_loc7_];
               _loc9_ = _loc8_.split(",");
               _loc10_ = String(_loc9_[0]).split("");
               _loc11_ = _loc10_[0];
               _loc12_ = _loc10_[1];
               if(_loc6_ == 1)
               {
                  this.addDrone(param1,_loc3_,DroneConnector.POSITION_CENTER,_loc11_,_loc12_);
               }
               if(_loc6_ == 2)
               {
                  if(_loc7_ == 0)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_RIGHT,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 1)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_TOP,_loc11_,_loc12_);
                  }
                  
               }
               if(_loc6_ == 3)
               {
                  if(_loc7_ == 0)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_CENTER,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 1)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_LEFT,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 2)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_TOP,_loc11_,_loc12_);
                  }
                  
                  
               }
               if(_loc6_ == 4)
               {
                  if(_loc7_ == 0)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_TOP,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 1)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_RIGHT,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 2)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_LEFT,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 3)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_DOWN,_loc11_,_loc12_);
                  }
                  
                  
                  
               }
               _loc7_++;
            }
            _loc15_++;
         }
      }
How can i make it work like the new dronesmanager?
I think that you have to edit loc6 == 3 to this:
Code:
               if(_loc6_ == 3)
               {
                  if(_loc7_ == 0)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_CENTER,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 1)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_LEFT,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 2)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_DOWN,_loc11_,_loc12_);
                  }
                  
                  
               }
olitis1 is offline  
Old 08/10/2014, 18:34   #3
 
elite*gold: 0
Join Date: May 2014
Posts: 394
Received Thanks: 69
Quote:
Originally Posted by olitis1 View Post
I think that you have to edit loc6 == 3 to this:
Code:
               if(_loc6_ == 3)
               {
                  if(_loc7_ == 0)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_CENTER,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 1)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_LEFT,_loc11_,_loc12_);
                  }
                  else if(_loc7_ == 2)
                  {
                     this.addDrone(param1,_loc3_,DroneConnector.POSITION_DOWN,_loc11_,_loc12_);
                  }
                  
                  
               }
Nope still the same, i think if u want to make it work edit: DroneConnector.POSITION_**** But idk wich DroneConnector to wich POSITION
quinster08 is offline  
Old 08/10/2014, 18:47   #4
 
elite*gold: 0
Join Date: Apr 2012
Posts: 182
Received Thanks: 128
Quote:
Originally Posted by quinster08 View Post
Nope still the same, i think if u want to make it work edit: DroneConnector.POSITION_**** But idk wich DroneConnector to wich POSITION
Try now to change loc6 ==2 and loc7 ==1 position DOWN, but Im not sure.
olitis1 is offline  
Old 08/10/2014, 19:44   #5
 
elite*gold: 0
Join Date: May 2014
Posts: 394
Received Thanks: 69
Quote:
Originally Posted by olitis1 View Post
Try now to change loc6 ==2 and loc7 ==1 position DOWN, but Im not sure.
I think that wont work because the loc's are changing automaticly lol, idk how. Its only the positions not the locs i guess,
quinster08 is offline  
Old 08/10/2014, 19:45   #6
 
elite*gold: 0
Join Date: Jun 2011
Posts: 947
Received Thanks: 173
wats tthis drone manager?
kalai870 is offline  
Old 08/11/2014, 00:11   #7
 
elite*gold: 0
Join Date: May 2014
Posts: 394
Received Thanks: 69
It does not matter, i need a fix thats what this thread is about!

If u dont know what it is u probs cant help me.
quinster08 is offline  
Old 08/11/2014, 01:11   #8
 
v3nom ^^'s Avatar
 
elite*gold: 0
Join Date: Jan 2012
Posts: 112
Received Thanks: 55
Quote:
Originally Posted by quinster08 View Post
I think that wont work because the loc's are changing automaticly lol, idk how. Its only the positions not the locs i guess,
Changing unsuccessfull after close? the guy is correct loc6-loc3 it should cover the down position from the left corner, cause stamping two of the same will be a problem
v3nom ^^ is offline  
Thanks
1 User
Old 08/11/2014, 08:33   #9



 
jarit's Avatar
 
elite*gold: 190
Join Date: Nov 2009
Posts: 3,839
Received Thanks: 1,196


#closed
jarit is offline  
Thanks
1 User
Closed Thread




All times are GMT +1. The time now is 23:03.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.