[Release] Orbit Reborn - Source

10/26/2014 16:04 linkpad#46
Quote:
Originally Posted by DarkSkiesDO View Post
Wow, I'm sorry that you were taken down as well Link Pad. Thanks for sharing your files, however, I don't think it was such a great idea. You should have just kept your work for yourself and saved it. I'm going to take a look at some code, to see if I can improve any of mine anywhere. It's sad to see that after such great accomplishments and successes, Big Point or should I say; "Bug" Point has finally stepped in and destroyed everything. I hope to see some people edit files, and void the copyright infringements and everything.

Best of luck to all,
DarkSkiesDO
I'm not going to open another server, so I don't need all my stuff anymore that's why I prefer to share it instead of keeping it on my computer and doing nothing with it. Anyway, if one day I come back I'll not use that emulator anymore, but I'll make a better one.
10/26/2014 16:06 Onur145#47
Quote:
Originally Posted by linkpad View Post
You need do_img folder in your www.

where is it?
10/26/2014 16:07 linkpad#48
Quote:
Originally Posted by Onur145 View Post
where is it?
It's not in files, but you can find it easily.
10/26/2014 16:09 Onur145#49
Quote:
Originally Posted by linkpad View Post
It's not in files, but you can find it easily.
What need code?
10/26/2014 16:50 driton1234#50
Who open the server i want to play again :D
10/26/2014 17:23 steppdroid#51
Quote:
Originally Posted by linkpad View Post
Spacemap : [Only registered and activated users can see links. Click Here To Register...]
thanks a lot!
*But I do not understand why I have to do twice log in to make it all work properly! ? :confused:
10/26/2014 17:40 oleg-19952008#52
How to fix this? I've checked everything I could, what's wrong?
[Only registered and activated users can see links. Click Here To Register...]
10/26/2014 17:53 steppdroid#53
Quote:
Originally Posted by oleg-19952008 View Post
How to fix this? I've checked everything I could, what's wrong?
[Only registered and activated users can see links. Click Here To Register...]
enter in www the do_img folder
10/26/2014 18:21 Anohros#54
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
10/26/2014 18:37 Puma<3#55
I can not fix the hangar and shop problems idk why -.- i get the db to darkorbit_new thats my db name
10/26/2014 18:48 ArDii98#56
Quote:
Originally Posted by Puma<3 View Post
I can not fix the hangar and shop problems idk why -.- i get the db to darkorbit_new thats my db name
My hangar works but shop not i fixed all in 4 minutes without seeing nothink if you don't know how to make watch in the files


Edit:Fully fixed;)
10/26/2014 19:45 steppdroid#57
Clan system not work.. because?! I create a clan and I do not enter into..
10/26/2014 19:57 cryz35#58
Quote:
Originally Posted by steppdroid View Post
Clan system not work.. because?! I create a clan and I do not enter into..
Guys really.. He decided to share his job because he wont work on it anymore. A cool action, how about thank him instead of writing the not-working functions here..
You can read the first post, he will not make tuts nor keep coding..
If you don't have some knowledge on c# or php, staying away from these files would be better for you. There is way better things to waste time on.

Quote:
Originally Posted by ArDii98 View Post
My hangar works but shop not i fixed all in 4 minutes without seeing nothink if you don't know how to make watch in the files


Edit:Fully fixed;)
Nice but if you are not going to share, whats the point of the show off?
10/26/2014 20:15 supraturbo92#59
nice release mate dose any 1 ave any idea how to make emulator work or have a link for 1 that works whit these files that be great thanks
10/26/2014 20:40 Anohros#60
Quote:
Originally Posted by steppdroid View Post
Clan system not work.. because?! I create a clan and I do not enter into..

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