Register for your free account! | Forgot your password?

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

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

Advertisement



[Release] Orbit Reborn - Source

Discussion on [Release] Orbit Reborn - Source within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old 10/26/2014, 20:52   #61
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by Anohros View Post

Run the following mysql statement:
Code:
ALTER TABLE `users` MODIFY COLUMN `clanid` INT(11) NOT NULL DEFAULT '0';
Replace line 2 in views/internalStart/HallOfFame.php with:
Code:
if (!Auth::getUser('clanid'))
Replace line 27 in views/internalClan/index.php with:
Code:
if (!Auth::getUser('clanid'))
Replace line 2 in views/internalClan/ClanRanking.php with:
Code:
if (!Auth::getUser('clanid'))
Replace line 2 in views/internalClan/Diplomacy.php with:
Code:
if (!Auth::getUser('clanid'))
Nice to have is a site reload after a successfull clan creation. Put a window reload into views/internalClan/js/default.js after a click on the overlay or the box close-button.

With regards,
Anohros
Work! big thanks!!
steppdroid is offline  
Old 10/26/2014, 21:36   #62

 
Destiny's Avatar
 
elite*gold: 2
Join Date: Jun 2012
Posts: 988
Received Thanks: 562
i love it xd idk how add old shop swf view :/
Destiny is offline  
Thanks
2 Users
Old 10/26/2014, 21:45   #63
 
MuffinMario's Avatar
 
elite*gold: 0
Join Date: Apr 2011
Posts: 895
Received Thanks: 558
Quote:
Originally Posted by edox77 View Post
i love it xd idk how add old shop swf view :/
Maybe replace the old swf with the new one and refresh the site via Ctrl+F5
MuffinMario is offline  
Old 10/26/2014, 22:06   #64

 
Destiny's Avatar
 
elite*gold: 2
Join Date: Jun 2012
Posts: 988
Received Thanks: 562
swf loaded from bigpoint
who can help i want make old cms with all
i have all files
Destiny is offline  
Old 10/26/2014, 22:48   #65
 
elite*gold: 0
Join Date: Nov 2012
Posts: 20
Received Thanks: 0
Quote:
Originally Posted by Anohros View Post
Maybe it helps someone.

Place the following code snippet at bottom inner the DoDamageNPC function in Fight.cs to make the enemies killable by laser:
Code:
if (Npc.ShipHp <= 0)
{
    KillNPC(Instance, Npc, Session);
}
Function to kill a npc:
Code:
/// <summary>
/// Kill an npc on a map.
/// </summary>
/// <param name="mapInstance">Map</param>
/// <param name="npc">Killed npc</param>
/// <param name="session">Killer session</param>
private static void KillNPC(MapInstance map, Npc npc, Session session)
{
	// Explode the npc then kick from the map.
	map.BroadcastMessage(PacketComposer.Compose("K", npc.Id.ToString()));
	map.KickNpc(map.GetActorByReferenceId(npc.Id, MapActorType.AiBot).Id);

	// Remove the npc.
	NpcAI.NpcList.Remove(npc);

	// Stop attacking.
	session.CharacterInfo.LaserAttackTimer.Dispose();
	session.CharacterInfo.LaserAttackTimer = null;
	session.CharacterInfo.Attacking = false;

	// Calculate and update credits.
	var collectedCredits = 200;
	var calculatedCredits = session.CharacterInfo.Credits + collectedCredits;

	//session.CharacterInfo.Credits += collectedCredits;
	session.SendData(PacketComposer.Compose("y", "CRE|" + collectedCredits + "|" + calculatedCredits));

	// Inform the killer and count the kill.
	using (SqlDatabaseClient database = SqlDatabaseManager.GetClient())
	{
		var message = "You have destroyed " + npc.Name + ".";
		session.CharacterInfo.AddLog(database, message);
		session.CharacterInfo.AddKill(database);
		session.CharacterInfo.SynchronizeStatistics(database);
	}
}
Change access modifier of the NpcList in NpcAI.cs to public.


With regards,
Anohros
thank you very much
how to fix the npc spawn after the destruction?
karas17 is offline  
Old 10/26/2014, 22:49   #66
 
elite*gold: 0
Join Date: Jul 2013
Posts: 86
Received Thanks: 3
npc get please
katil0172 is offline  
Old 10/26/2014, 23:30   #67

 
elite*gold: 1506
Join Date: Aug 2012
Posts: 592
Received Thanks: 1,020
Many thanks dude

I'm doing a single player version for myself
0wnix is offline  
Old 10/26/2014, 23:42   #68
 
Anohros's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 288
Received Thanks: 1,170
Quote:
Originally Posted by karas17 View Post
thank you very much
how to fix the npc spawn after the destruction?
For example, paste the following code at the bottom inner my KillNPC function:
Code:
// Spawn new npc.
NpcAI.AddNpcToX1();
So you can ensure, that the count of npc's don't be less as it was before the kill.

With regards,
Anohros
Anohros is offline  
Old 10/27/2014, 14:39   #69
 
elite*gold: 0
Join Date: Jul 2013
Posts: 86
Received Thanks: 3
Activate been nice the Let's get us
katil0172 is offline  
Old 10/27/2014, 14:51   #70
 
elite*gold: 0
Join Date: Jun 2011
Posts: 297
Received Thanks: 14
I can nit see how dmg i get :/ please help
Puma<3 is offline  
Old 10/27/2014, 14:55   #71
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by Anohros View Post
For example, paste the following code at the bottom inner my KillNPC function:
Code:
// Spawn new npc.
NpcAI.AddNpcToX1();
So you can ensure, that the count of npc's don't be less as it was before the kill.

With regards,
Anohros
Instead, to totally eliminate the npc?
steppdroid is offline  
Old 10/27/2014, 14:58   #72
 
linkpad's Avatar
 
elite*gold: 260
Join Date: Jul 2012
Posts: 299
Received Thanks: 812
Hello, because I was bored today I've worked a little on NPC. You can now add npc to the map you want easily, I've also fixed a bug with the Npc pathfinding.

Download :

And for people that want all maps :

1) Delete the table "portals"
2) Run this SQL :

Code:
-- phpMyAdmin SQL Dump
-- version 4.0.4
-- http://www.phpmyadmin.net
--
-- Client: localhost
-- Généré le: Lun 27 Octobre 2014 à 14:07
-- Version du serveur: 5.6.12-log
-- Version de PHP: 5.4.12

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

--
-- Base de données: `darkorbit_new`
--

-- --------------------------------------------------------

--
-- Structure de la table `portals`
--

CREATE TABLE IF NOT EXISTS `portals` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `pos_x` int(11) NOT NULL,
  `pos_y` int(11) NOT NULL,
  `map_id` int(11) NOT NULL,
  `arrive_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=53 ;

--
-- Contenu de la table `portals`
--

INSERT INTO `portals` (`id`, `pos_x`, `pos_y`, `map_id`, `arrive_id`) VALUES
(1, 185, 115, 1, 2),
(2, 20, 20, 2, 1),
(3, 185, 20, 2, 40),
(4, 185, 115, 2, 38),
(5, 20, 20, 9, 6),
(6, 185, 115, 10, 5),
(7, 185, 20, 10, 8),
(8, 185, 115, 11, 7),
(9, 20, 20, 10, 10),
(10, 185, 115, 12, 9),
(11, 185, 20, 12, 12),
(12, 20, 115, 11, 11),
(13, 20, 20, 11, 14),
(14, 20, 115, 8, 13),
(16, 100, 15, 12, 17),
(17, 190, 60, 15, 18),
(18, 20, 20, 12, 19),
(19, 185, 115, 4, 18),
(20, 105, 65, 15, 21),
(21, 220, 145, 16, 20),
(22, 20, 115, 15, 23),
(23, 185, 115, 13, 22),
(24, 20, 20, 15, 25),
(25, 185, 115, 14, 24),
(26, 220, 120, 16, 27),
(27, 105, 65, 14, 26),
(28, 190, 135, 16, 29),
(29, 105, 65, 13, 28),
(30, 185, 20, 13, 31),
(31, 20, 115, 14, 30),
(32, 15, 60, 13, 33),
(33, 190, 60, 4, 32),
(34, 100, 15, 14, 35),
(35, 100, 120, 8, 34),
(36, 185, 115, 3, 37),
(37, 185, 20, 4, 36),
(38, 20, 20, 4, 4),
(40, 20, 115, 3, 3),
(43, 185, 20, 3, 44),
(44, 20, 115, 7, 43),
(45, 185, 115, 7, 46),
(46, 185, 20, 8, 45),
(47, 20, 115, 5, 48),
(48, 185, 20, 6, 47),
(49, 185, 115, 6, 50),
(50, 20, 20, 8, 49),
(51, 20, 115, 6, 52),
(52, 185, 20, 7, 51);
linkpad is offline  
Thanks
3 Users
Old 10/27/2014, 15:37   #73
 
elite*gold: 0
Join Date: Jul 2013
Posts: 86
Received Thanks: 3
orbit what time online ?
katil0172 is offline  
Old 10/27/2014, 15:58   #74
 
elite*gold: 0
Join Date: Jun 2011
Posts: 297
Received Thanks: 14
i give the cods for fix hangar and shop but doesnt work


Puma<3 is offline  
Old 10/27/2014, 16:25   #75
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
everything works in my cms. the single biggest mistake is that, if you do not log in twice, not working properly
steppdroid is offline  
Reply


Similar Threads Similar Threads
[Open Beta] Orbit Reborn - Private Server
10/28/2014 - DarkOrbit - 105 Replies
http://i.epvpimg.com/YgS1f.png Presentation Orbit Reborn is a DarkOrbit private server. This server try to bring back the old gameplay from 2008, that means there's no : PET, RSB, Hellstorm, ... Features - maps 1-1 / 2-1 / 3-1 / 4-1 / 4-2 / 4-3 / 4-4 - rockets : R-310, PLT-2026, PLT-2021
[Selling] Orbit Reborn Acc.
09/20/2014 - Browsergames Trading - 0 Replies
Sellin "a" Orbit Reborn Acc with 275 Kills and Blue Design.^^ 10 e*gold fast deal no probs.^^
[DarkOrbit] Orbit Reborn Private Server
02/28/2014 - DarkOrbit - 4 Replies
Project presentation Orbit Reborn is a private server of the game Dark Orbit. This server is developed only by me and is in Beta test. How to join the server ? You can join Orbit Reborn with this url = orbit-reborn Orbit Reborn have also a TS3=orbit-reborn.com
orbit-reborn.com
01/20/2014 - Browsergames Trading - 1 Replies
Orbit Reborn is the link its a darkorit remake but the old servers meaning just plain ships no pilot points pets rsb just x1,x2,x3,x4,sab its pvp battles private server you just sign up on the link its free to it keeps improving its awesome come join!!!!:rtfm::rtfm::rtfm::rtfm::rtfm:
Orbit Reborn
12/16/2013 - DarkOrbit - 2 Replies
>>Orbit Reborn<< Statut: ONLINE DarkOrbit - Orbit Reborn - YouTube



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


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.