Register for your free account! | Forgot your password?

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

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

Advertisement



[Private Server] ICOn8 Project

Discussion on [Private Server] ICOn8 Project within the DarkOrbit forum part of the Browsergames category.

Closed Thread
 
Old 05/01/2013, 22:36   #751
 
elite*gold: 0
Join Date: May 2011
Posts: 10
Received Thanks: 3
I've got an error when running the file iniciar.bat

Could not reserve enough space for object heap
Error ocurred during initialization of VM

Can anyone help me?

(sorry for my bad english)
LaConh is offline  
Old 05/02/2013, 02:08   #752
 
Fenrisus's Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 86
Received Thanks: 243
Quote:
Originally Posted by Andrej-Delany View Post
For everyone who wants to change the dmg watch this:
GameThread.java
Code:
	private void parseAttackLaserToAlien(Ship user, Ship enemigo)
You right. but that is a hack more than fix. Code realization is **** on this emulator. Ok, i will show you, with my comments:
Code:
//that code have a wrong implementation, imho
private void parseAttackLaserToAlien(Ship user, Ship enemigo)
	{
                //laser type = 0 ? 0_0
		int tipoLaser = user.getNave().getLaser1() - 1;
		if(tipoLaser == 5)tipoLaser = 6;
		int dmg = 500; //static dmg
		int dmgESC = dmg; //500
		switch(user.getNave().getLaser1())
		{
			case 2:
				dmg *= 2;
				break;
			case 3:
				dmg *= 3;
				break;
			case 4:
				dmg *= 4;
				break;
			case 6:
				dmg *= 5;
				break;
		}
		int dmgPV = dmg/2;
		if(user.getNave().getLaser1()==5)
		{
			dmgESC = dmg/2;
			dmg=0;
			dmgPV=0;
		}				
//1-map, 2-user, 3-enemy, 4-Ltype, 5 - effect, 6 - Thick laser.	

SocketManager.SHIP_SEND_LASER_ATTACK_TO_ALIEN(user.getNave().getMapaActual(), user.getNave(), enemigo, tipoLaser, 0, 1);
                enemigo.setTarget(user);
		enemigo.setHp(enemigo.getHp()-dmgPV);
		enemigo.setEsc(enemigo.getEsc()-dmgESC);
		if(enemigo.getHp() <= 0)
		{	
			getBonusAlien(user.getNave(),enemigo);
			enemigo.setHp(enemigo.getNpc().getPv());
			enemigo.setEsc(enemigo.getNpc().getEsc());
			enemigo.setPlay(false);
			enemigo.setDead(true);
			SocketManager.GAME_SEND_DESTROY_SHIP(enemigo.getId());		
		}
		if(enemigo.getEsc() < 0)enemigo.setEsc(0);
		//LANZADOR|ENEMIGO|EFECTO(H:cura, resto: daсa)|vidaActual|escudoActual|daсosHp|daсosEsc|?
//that deal dmg, 500 on this scope	

SocketManager.SHIP_SEND_LASER_EFFECT_TO_ALIEN(user.getNave(),enemigo,dmg,dmgESC);		
	}
Follow that on usario.java
Code:
//tipoLaser = user.getNave().getLaser1() - 1; that == 0 wtf?
private int laser1 = 1;

public int getLaser1() {
		return laser1;
	}

	public void setLaser1(int laser1) {
		this.laser1 = laser1;
	}
How i think - equipment code missed here
Equipamiento.java
Code:
package game.objetos;

public class Equipamiento
{
//where that f**king code here?
}
Well my verdict - server does not have a fully equipment implementation (no code). System should be (how i understand, something like this)
Note: That code only algorithm!
Code:
//////// get laser params in user.java///////
private int laserType = 1; //default not nill laser type

public int getLaserType(laser)  //simple and not finished
{
 Ltype = user.getNave().EquipGetLaserType(laser);
 return Ltype;
}

public void setLaserType(int laser) {
		this.laserType = laser;
	}
////////example of usage in GameThread.java///////

private void parseAttackLaserToAlien(Ship user, Ship enemy)
	{
          laser =  user.getNave().EquipGetLaser()// return laser ID
	  int typeLaser = user.getNave().getLaserType(laser); //Type by ID
          int dmg = user.getNave().EquipLaserMax(laser); //dmg for calc by formula
          //blah blah blah another code
	}
Sure your need a make Equipment code functions for that, you can do that by using user.getNave() (equipment sould be stored in DB for each ship) and make a bit work with tables. Enjoy!
PS. Tired to find in DB - lasers for ships, nothing looks like LF-4 or other lasers... Better situation with rockets - but they have a similar problems.

PPS. that post only for developers, not for users, who want get a ready fix for open another "private" servers, and make money from donate without any real work.
Fenrisus is offline  
Old 05/02/2013, 02:27   #753
 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,997
Received Thanks: 3,422
I'm working on a new cms

CMS test :
PS : Server Online
NoCheatImPGM is offline  
Old 05/02/2013, 02:38   #754
 
elite*gold: 73
Join Date: May 2012
Posts: 517
Received Thanks: 548
Me too

DrSkyfall™ is offline  
Old 05/02/2013, 02:41   #755
 
elite*gold: 0
Join Date: Jul 2012
Posts: 161
Received Thanks: 126
Quote:
Originally Posted by NoCheatImPGM View Post
I'm working on a new cms

CMS test :
PS : Server Online
Beautiful CMS!
'll Make it public?
However, when he provides "START" will redirect you to the home page
boxxy96 is offline  
Thanks
1 User
Old 05/02/2013, 02:48   #756
 
elite*gold: 73
Join Date: May 2012
Posts: 517
Received Thanks: 548
Quote:
Originally Posted by boxxy96 View Post
Beautiful CMS!
'll Make it public?
However, when he provides "START" will redirect you to the home page
This CMS is a Bootstrap . Just edit it like you want :P.

DrSkyfall™ is offline  
Thanks
1 User
Old 05/02/2013, 03:04   #757
 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,997
Received Thanks: 3,422
I'll make my work public soon.
NoCheatImPGM is offline  
Old 05/02/2013, 03:09   #758
 
elite*gold: 73
Join Date: May 2012
Posts: 517
Received Thanks: 548
Ah ok, you changed the top swf, I understand now xd.
DrSkyfall™ is offline  
Thanks
1 User
Old 05/02/2013, 04:01   #759
 
anubis1997's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 395
Received Thanks: 120
Someone explain how get another ship and I put the number of the ship but not out
someone help me put the ship as admin
anubis1997 is offline  
Old 05/02/2013, 07:49   #760
 
knuck's Avatar
 
elite*gold: 10
Join Date: May 2011
Posts: 2,340
Received Thanks: 728
Quote:
Originally Posted by anubis1997 View Post
Someone explain how get another ship and I put the number of the ship but not out
someone help me put the ship as admin
you can do it in navicat.
knuck is offline  
Old 05/02/2013, 17:08   #761
 
elite*gold: 0
Join Date: Nov 2012
Posts: 61
Received Thanks: 73
Nice to see that someone else has been working on this after I stopped
W00dL3cs is offline  
Old 05/02/2013, 18:00   #762
 
Dаnny's Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 2,098
Received Thanks: 517
I can't login.. i see a ERROR
Dаnny is offline  
Old 05/02/2013, 19:02   #763
 
elite*gold: LOCKED
Join Date: Oct 2012
Posts: 645
Received Thanks: 224
Quote:
Originally Posted by gokazz View Post
SET UP YOU DO PUBLIC WHIT HAMACHI :
I supose u unstall hamachi and etc ...
Into Emulator folder : config.cfg and into bin folder , config.cfg


Now go to xampp\htdocs\do_es\Connections or wamp\www folder and edit DO.php



Now go to \do_es\includes and edit the file variables.php (not variables.php~)


If u finish that open into you router NAT ports whit hamachi ip .

To enter into web site in you browser put hamachi IP/do_es

Thx all , sorry for bad english
What port I open to get server non-hamachi?
AnonWithName is offline  
Old 05/02/2013, 19:49   #764
 
ELITE_RIDAR's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 61
Received Thanks: 7
how do i play this thing? i dont know how to open the game.. please help
ELITE_RIDAR is offline  
Old 05/03/2013, 16:50   #765
 
elite*gold: 0
Join Date: Nov 2012
Posts: 61
Received Thanks: 73
Am I wrong or this works with an incredibly old release of Darkobit? :O
W00dL3cs is offline  
Closed Thread




All times are GMT +1. The time now is 12:04.


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