Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 17:29

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

Advertisement



DarkOrbit 7.5.3 / 9.0 / 10.0 - Open Source

Discussion on DarkOrbit 7.5.3 / 9.0 / 10.0 - Open Source within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old 11/29/2021, 17:44   #376
 
elite*gold: 0
Join Date: Feb 2013
Posts: 121
Received Thanks: 39
Quote:
Originally Posted by mano79 View Post
database:
{"StarterMap":false,"PvpMap":false,"RangeDisabled" :false,"CloakBlocked":false,"LogoutBlocked":false, "DeathLocationRepair":true}
public int GetBaseMapId()

player.cs
{
//return FactionId == 1 ? 20 : FactionId == 2 ? 24 : 28;
return FactionId == 1 ? 1 : FactionId == 2 ? 5 : 9;
}

public Position GetBasePosition()
{
return FactionId == 1 ? Position.MMOPosition : FactionId == 2 ? Position.EICPosition : Position.VRUPosition;
}

position.cs
class Position
{
//public static Position MMOPosition = new Position(1800, 7300);
//public static Position EICPosition = new Position(9500, 2800);
//public static Position EICPosition = new Position(10400, 1800);
//public static Position VRUPosition = new Position(18500, 7300);
//public static Position VRUPosition = new Position(19100, 6500);

public static Position MMOPosition = new Position(2000, 2000);
public static Position EICPosition = new Position(18900, 2000);
public static Position VRUPosition = new Position(19000, 11600);

public int X { get; set; }
public int Y { get; set; }

public Position(int x, int y)
{
X = x;
Y = y;
}

public double DistanceTo(Position point)
{
return Math.Sqrt(Math.Pow(point.X - X, 2) + Math.Pow(point.Y - Y, 2));
}

public static Position Random(Spacemap map, int minX = 0, int maxX = 0, int minY = 0, int maxY = 0)
{
if (minX == 0) minX = map.Limits[0].X;
if (minY == 0) minY = map.Limits[0].Y;
if (maxX == 0) maxX = map.Limits[1].X;
if (maxY == 0) maxY = map.Limits[1].Y;

var posX = Randoms.random.Next(minX, maxX);
var posY = Randoms.random.Next(minY, maxY);
return new Position(posX, posY);
}

public static Position GetPosOnCircle(Position circleCenter, int radius)
{
var a = Randoms.random.Next(0, 360);
var calculateX = circleCenter.X + Convert.ToInt32(radius * Math.Cos(a));
var calculateY = circleCenter.Y + Convert.ToInt32(radius * Math.Sin(a));

return new Position(calculateX, calculateY);
}
}
}

it doesn't work for me always puts the new player on the x8 map i want to put the new players on the x1 map but it doesn't work
Check your SpaceMap.cs and check if the ids are the one you want .. but i guess it's too hard to understand how things works
loveditoi is offline  
Old 11/29/2021, 20:08   #377
 
elite*gold: 0
Join Date: Sep 2021
Posts: 87
Received Thanks: 1
hi

Quote:
Originally Posted by Prototype2597 View Post


Adding "AutoLooting" for PET - COMPLETE
I added AUTO_LOOT but it doesn't work because my emulator needs this code

public void CheckAutoLoot ()
{
// TODO
}

do you enter the code??


mano79 is offline  
Old 11/29/2021, 20:38   #378
 
-=Flavio=-'s Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 604
Received Thanks: 259
Quote:
Originally Posted by mano79 View Post
I added AUTO_LOOT but it doesn't work because my emulator needs this code

public void CheckAutoLoot ()
{
// TODO
}

do you enter the code??


"TODO" must be self-explanatory.
You have to write the code, take a look at the boxes that function for the player ships, this should give you some help.
-=Flavio=- is offline  
Old 11/29/2021, 21:03   #379
 
elite*gold: 0
Join Date: Sep 2021
Posts: 87
Received Thanks: 1
hi

Quote:
Originally Posted by -=Flavio=- View Post
"TODO" must be self-explanatory.
You have to write the code, take a look at the boxes that function for the player ships, this should give you some help.
I tried everything but it doesn't work, I want you to give me the code in private and I promise I won't write any more questions on the forum
mano79 is offline  
Old 11/29/2021, 21:06   #380
 
-=Flavio=-'s Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 604
Received Thanks: 259
Quote:
Originally Posted by mano79 View Post
I tried everything but it doesn't work, I want you to give me the code in private and I promise I won't write any more questions on the forum
I don't have it, I don't mind you asking questions here on the forum, that's what it's for, but I don't have this code ready anyway.
-=Flavio=- is offline  
Old 11/29/2021, 23:49   #381
 
Akame_Ga_Kill's Avatar
 
elite*gold: 0
Join Date: Mar 2019
Posts: 242
Received Thanks: 183
Quote:
Originally Posted by mano79 View Post
I tried everything but it doesn't work, I want you to give me the code in private and I promise I won't write any more questions on the forum...
...and then i'll come with another account and ask for more done stuff
Akame_Ga_Kill is offline  
Thanks
2 Users
Old 11/30/2021, 10:41   #382
 
Prototype2597's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 56
Received Thanks: 63
Quote:
Originally Posted by Akame_Ga_Kill View Post
...and then i'll come with another account and ask for more done stuff
It doesn’t matter. Everybody knows his “English-Google-Translate-Edition”.
Or “Promt-Edition”, Idk
Prototype2597 is offline  
Old 11/30/2021, 11:14   #383
 
elite*gold: 0
Join Date: Sep 2021
Posts: 87
Received Thanks: 1
?

Quote:
Originally Posted by Prototype2597 View Post
It doesn’t matter. Everybody knows his “English-Google-Translate-Edition”.
Or “Promt-Edition”, Idk
You two are malicious people
mano79 is offline  
Old 11/30/2021, 11:25   #384
 
Prototype2597's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 56
Received Thanks: 63
Quote:
Originally Posted by mano79 View Post
You two are malicious people
Oh, so you're still here? How wonderful

Wait…
Quote:
Originally Posted by mano79 View Post
I promise I won't write any more questions on the forum
And what will you do now? Annoy users?
Prototype2597 is offline  
Old 11/30/2021, 14:46   #385
 
elite*gold: 0
Join Date: Sep 2021
Posts: 87
Received Thanks: 1
Xd

Quote:
Originally Posted by Prototype2597 View Post
Oh, so you're still here? How wonderful

Wait…


And what will you do now? Annoy users?
Who do you think you are?
Who are you to say what I can ask on the forum?
Otherwise, I ask what I want
If it bothers you, tardsdmeg, to yourself, your opinion
mano79 is offline  
Old 11/30/2021, 14:58   #386
 
-=Flavio=-'s Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 604
Received Thanks: 259
I'm sure we're off topic here
-=Flavio=- is offline  
Old 11/30/2021, 15:13   #387
 
Prototype2597's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 56
Received Thanks: 63
Quote:
Originally Posted by mano79 View Post
Who do you think you are?
I am a user of the ePvP forum. Good morning

Quote:
Originally Posted by mano79 View Post
Who are you to say what I can ask on the forum?
“Quote” the message where I told you that.

Quote:
Originally Posted by mano79 View Post
Otherwise, I ask what I want
Earlier you said:
Quote:
Originally Posted by mano79 View Post
I promise I won't write any more questions on the forum
These are your words, not mine.

Quote:
Originally Posted by mano79 View Post
If it bothers you, tardsdmeg, to yourself, your opinion
Tardsdmeg? What language is this?
Prototype2597 is offline  
Old 11/30/2021, 16:44   #388
 
elite*gold: 0
Join Date: Feb 2013
Posts: 121
Received Thanks: 39
Quote:
Originally Posted by Prototype2597 View Post
Tardsdmeg? What language is this?
GoogleTrad.exe has crashed.
loveditoi is offline  
Thanks
2 Users
Old 12/02/2021, 17:27   #389
 
Dodelig's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 62
Received Thanks: 38
Darkorbit died, now we go off topic and make fun about GT. So original.
Dodelig is offline  
Old 12/02/2021, 21:09   #390
 
Prototype2597's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 56
Received Thanks: 63
Lightbulb PServer ≠ DO

Quote:
Originally Posted by Dodelig View Post
Darkorbit died, now we go off topic and make fun about GT. So original.
This thread about PServer. Who cares died DO or not?

—————

Ships and all designs for them. Design replace the original ship icon.


Each skill works


More ships in future (And maybe skills)
Prototype2597 is offline  
Reply

Tags
10.0, 7.5.3, 9.0, darkorbit, emulators


Similar Threads Similar Threads
[Open-Source][C#] EloBuddy, open source League of Legends Bot
05/27/2014 - League of Legends Hacks, Bots, Cheats & Exploits - 8 Replies
-- Snipped --
KBot_5.62_setup.exe ' Open Open Open '
12/18/2011 - DarkOrbit - 5 Replies
KBot_5.62_setup.exe LİNK : http://www.kbotik.com/files/mo_IMG_3.jpg SCAN : http://www.metascan-online.com/img/metascanonline -logo.png



All times are GMT +2. The time now is 17:29.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.