Re: Indigo [Java, MySQL, R63]

Status
Not open for further replies.

Quackster

a devbest user says what
Aug 22, 2010
1,765
1,245
Hello..

It's been fun developing with Java but things got out of hand with me and Ashley and I didn't feel like developing it anymore.

It's for the experience :):

Server:
CMS:
Database:



Dev thread

QpIsTt.png


License:-

Indigo is under a "Don't be a dick" license ( ) meaning any breaking the instances found in this license meaning you are a dick and we have proof of you being a dick.



The website page!





Introduction:-


Project Indigo supports the Habbo client revision 63A flash. It uses MySQL for storage and relies on Netty as framework.


Taken from
Code:
"Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server."

Features:-

  • Netty
  • MySQL

Server features:-

Code:
Client;
 - Handshake

SSO;
 - Logging user in succesfully if SSO is correct
 - Sends user object which shows your figure, motto and sex.

Navigator;
 - View your own rooms
 - When logged in, your own rooms are cached, so room display isn't hardcoded.
 - Room count
 - View public rooms

Private rooms
 - Create own rooms
 - Edit room thumbnail
 - Walk in room
 - Place furni in room
 - Pickup furni in room
 - Apply decorations
 - Chatting
 - Commands
Catalogue
 - Load catalogue index.
 - Get catalogue pages

Console
 - View friends
 - View offline friends
 - Dynamic offline or online when connecting or disconnecting.
 - Search for people (if friend, not friend, online or not)
 - Request friends
 - Accept friends.

Public rooms
 - Chat in public rooms
 - See other users
 - Load public rooms
 - Set starting position
 - Leaving from a public room


Credits:-

- Matty ; for helping me getting a grasp with Netty
- Jak ; the thread logo
- Wikipedia ; JDBC article for MySQL
- Maarten ; support
- Tren ; support
- Merijn ; support

Pictures:-

sRuEbU.png


3eMXSY.png


ey5Yos.png


WyAfGA.png


JWrtfQ.png


HgqFsm.png


Code:
package indigo.communication.messages.roomuser;

import indigo.communication.MessageEvent;
import indigo.communication.messages.ClientMessage;
import indigo.communication.messages.ServerMessage;
import indigo.game.furni.RoomFloorData;
import indigo.network.clients.Session;

public class getChangeItemPos implements MessageEvent
{

	[URL='http://devbest.com/members/override.2227/']Override[/URL]
	public void parse(Session Session, ClientMessage Request)
	{
		if (Session.getPrivateRoom() == null)
			return;
		
		// Get Id received.
		int Id = Request.PopWiredInt32();
		
		
		if (Id > 0)
		{
			// Get the floor data item
			RoomFloorData Item = Session.getPrivateRoom().getFloorById(Id);
			
			// Get the received X coordinate
	        int X = Request.PopWiredInt32();
	        
	        // Get the received y coordinate
	        int Y = Request.PopWiredInt32();
	        
	        // Get the received rotation coordinate
	        int Rotation = Request.PopWiredInt32();
	        
	        // Update with MySQL if the server crashes, obviously.
	        Session.getStorage().ExecuteQuery("UPDATE flat_items SET posx = '" + X + "', posy = '" + Y + "', posz = '" + Rotation + "' WHERE id = '" + Id + "'");  
	        
	        // Update cache
	        Item.X = X;
	        Item.Y = Y;
	        Item.Rot = Rotation;
	        
	        // Send update
	        ServerMessage Response = new ServerMessage(95); // "A_"
	        {
	    		Response.AppendInt32(Id);
	    		Response.AppendInt32(Item.SpriteId);
	    		Response.AppendInt32(X);
	    		Response.AppendInt32(Y);
	    		Response.AppendInt32(Rotation);
	    		Response.AppendStringWithBreak("0.0");
	    		Response.AppendBoolean(false);
	    		Response.AppendStringWithBreak("1");
	    		Response.AppendInt32(-1);
	    		Response.AppendBoolean(true);
                Session.sendRoom(Response);
	        }
		}
        
	}

}
 

Xenous

o shi
Nov 15, 2011
383
101
Well I'm sad to see it stopped but happy to see it released. You've done a great job Alex, you have my respect for finishing such a project!
 

Wikipedia

Dont fluff my new pillow
Aug 4, 2011
85
1
If this is compitable with Phoenix then il sure get used with it dont know but still so nice.
 

Twisting

HFFM
Sep 4, 2011
362
79
Sad to see that youve stopped Indigo ;(
Maybe someone will continue it...
HINT HINT
 

Xenous

o shi
Nov 15, 2011
383
101
Hop off the dick retard
You really think I'm on his dick? When you make an emu you don't make it to use the same database as phoenix thats just like writing an uberedit and saying you made it from scratch no fun no gain.
 

Wikipedia

Dont fluff my new pillow
Aug 4, 2011
85
1
Well just to notice i am sure going to use it in any way the cms comes familiar with something but i cant figure out from what
 

brsy

nah mang
May 12, 2011
1,530
272
Nice release Quackie :)
Don't worry about the noobs (Wikipedia), just keep up the good work.
 

Mastah

the funny thing is \r\n i did
Oct 25, 2010
739
41
Alex is now working on Sierra Emulator,i think he stoped the work on any other project,i'm not sure feel free to ask him !

Careless i need a good emulator currently but cant find one.
 
Status
Not open for further replies.

Users who are viewing this thread

Top