HabboWarfare [RP] [DEVELOPMENT]

Status
Not open for further replies.
Feb 1, 2014
165
137
HABBOWARFARE RP DEVELOPMENT THREAD
[Green] = Completed
[Blue] = In Development
[Black] = Not yet started development


Hello my name is Francis better known as DesignGod. I am 16 years old and from the UK.

Today, I don't present something that will be open-source and a released piece of software/application.

Exactly one month ago, I started learning c# as I wanted to start a project. Not just any project.. but a project that I have been waiting to do for years.
I started learning HTML in August 2012 and since then have done part-time work professionally for various clients. Enough of my back story.

I am starting a Habbo role-playing server based upon various FPS' such as Call of Duty and Battlefield.
It is named HabboWarfare. I wanted to create something that was unique and that would set the bar for Habbo RP's
higher then it currently is. Although it is only me developing and designing HabboWarfare as a lonewolf,
I'm making great progress.


  • Okay, sounds cool but why are you posting this in the development thread?
Why not? it's development isn't it? I wanted to show the community something creative and maybe inspire a few
people, I imagined to learn alot within one month and come so far within a month on a project that I think could
change the thoughts of role-playing servers. Period.

  • Sounds cool, what features are available on Habbowarfare and what makes it 'unique'?
HabboWarfare being based upon Call of Duty (also incorporated styles of Battlefield) was designed to be replicated like those games.
In the best possible manner considering the platform difference (one, being 2D and the opposing being 3D).

The available Game modes on HabboWarfare:
  • Team Deathmatch - A gamemode consisting of eight players on each team. The first team to 30 kills wins.
  • Search & Destroy - A gamemode consisting of five players on each team. The first team to defend the bomb or plant the bomb, five rounds wins.
  • Domination - A gamemode consisting of eight players on each team. The first team to plant the bomb and not have it defused twice, wins.
  • Capture The Flag - A gamemode consisting of six players on each team. The first team to take the opposing teams flag back to their HQ twice, wins.
  • Nazi Zombies - A Universal gamemode consisting of five players on each team. The team tries to survive the highest wave of attacking zombies.
  • DogFight - A gamemode that I have created myself consisting of six players, individually based in the sky. No teams involved. Last player to be flying in there helicopter and successfully gunning all other players out the sky, wins.

But won't it get boring doing the same games?

Never, because I have added a freeroaming mode where users can explore the open-world and run businesses, get a job, get married, meet friends and much more. I will also be coding Missions further within the stages of development.

Other features:
- Advance ranking system and XP system based upon Call of Duty.
- Sound manager, so not only will you hear your gun fire and when your enemy or teammate enters but your'll feel ready and prepared.
- Clan creation and management so you can start a clan (Example, [TEST]) with a few pals and enter tournaments or make a name for yourselves.

- Tournament Management system so you can enter tournaments with your clan or friends and earn prizes, badges and various other things.
- Custom Classes, so you can choose what weapons you want and secondary equipment you want in your outload.
- Drive cars and various other transportation devices on the battlefield with your team mates inside.
- In-game killstreaks such as AC130, Sentry Gunner, Attack Helicopter, Tactical Nuke and much more.
- Hijack air planes outside of game within freeroam. When you travel using the airport.
- Custom pixel art is being used so you will actually SHOOT with a gun not empty hands.

There is much more, I have forgotten to add at this stage.

Sounds great in all but.. Could I have some screenshots and a snippet of code?

Index
10491072_898865426807143_4049554732739022138_n.png


User dashboard (Still under construction)
10449910_898688886824797_6034642809866596498_n.jpg

Main Menu (Instead of going directly to the client, you go here)
10439424_901396476554038_5048782142980038380_n.png

RUST FROM MW2 (Map Development)
10421299_898641260162893_7581796906506822992_n.png

TERMINAL FROM MW2/MW3 (Map Development)
10420788_904460632914289_2006230197387595699_n.png

Select a class (the option for when you first start, HabboWarfare)
1512492_895104973849855_2087174422069317384_n.png

Me on Terminal (Ignore the side bar, etc. I have now developed a custom UI which I will upload screenshots of later)
1520738_905553119471707_1178369275313305086_n.png


On the dashboard (Done a few updates)
BKwVLZV.png


Code snippet from my CSS framework (from scratch)
/*
SpookySkeleton Framework
Designed by Francis Joseph

*/

body{
overflow:hidden;
font-smooth: always;
font-weight: lighter;
list-style-type: none;
text-decoration: none;
font-family: 'Open Sans', sans-serif;
-webkit-font-smoothing: subpixel-antialiased;
/*FONT SMOOTHING*/
text-shadow: #fff 0px 1px 1px;
}

input[type="text"]{
font-size:12pt;
font-weight:normal;
font-family: 'open sans', sans-serif;
/*FONT SMOOTHING*/
text-shadow: #fff 0px 1px 1px;
}

input[type="password"]{
font-size:12pt;
font-weight:1pt;
font-family: 'Open Sans', sans-serif;
/*FONT SMOOTHING*/
text-shadow: #fff 0px 1px 1px;
}

#lol{
z-index:200;
display: inline;
font-weight:bold;
font-size:30pt;
margin-top:200px;
margin-left:400px;
}

blue{
color:#2fb5f4;
}

bluenews{
color:#2fb5f4;
text-shadow: #2fb5f4 0px 1px 1px;
}

italic{
font-style:italic;
}
.navigator{
background:repeat;
width: 100%;
height: 35px;
font-size: 10pt;
display: inline;
position: fixed;
text-align: left;
margin-top: -5px;
margin-left: -7px;
background: #0f0f0f;
list-style-type: none;
/*FONT SMOOTHING*/
text-shadow: #fff 0px 1px 1px;
text-transform:uppercase;
}

#links{
display: inline;
margin-top: 10px;
margin-left:780px;
text-align: right;
}
#region Team Deathmatch
internal void TDMStartLobby()
{
if (!TDMLobbyRunning) {
ThreadStart start = () => TDMLobbyHandler();
TDMRunLobby = new Thread(start);
TDMRunLobby.Start();
this.TDMLobbyRunning = true;
}
else {
return;
}
}

internal void TDMLobbyHandler()
{
while (true)
{
try
{
if (SpetnazMembers + RangersMembers <= 0)
{
Thread.CurrentThread.Abort();
Console.ForegroundColor = ConsoleColor.DarkGreen;
Console.WriteLine("Thread for TDMLobbyHandler() was successfully aborted.");
TDMRunLobby = null;
}
if (SpetnazMembers != RangersMembers || SpetnazMembers + RangersMembers < 8 && Session.GetHabbo().IsSpetnaz == true || Session.GetHabbo().IsRangers == true)
{
{
Plus.PlusEnvironment.GetGame().GetClientManager().GameWhisper("There must be a mininum of 4 per team and teams must be equal... Spetnaz: " + SpetnazMembers + " Rangers: " + RangersMembers);
}
}
else
{
TDMStartGame();
TDMLobbyRunning = false;
Thread.CurrentThread.Abort();
TDMRunLobby = null;
}
}
catch (Exception e)
{

I will be uploading this thread every one-day days and hosting regular join.me's.
You may contact me via my development FB account:
Or add my skype: FrancisJoseph15
 

LeChris

github.com/habbo-hotel
Sep 30, 2013
2,744
1,326
Francis, this is one of the best developments I have ever seen in the Habbo Community. I wish you the best of luck!
 
Feb 1, 2014
165
137
UPDATE 08/07/2014

Decided to redesign the 'Me' page and other following pages, will be coding this over the course of two days.
XAjcUOx.png
 

Jadwanc

New Member
Jul 2, 2014
5
1
Sorry, I just don't see how this could ever be enjoyed as Habbo is a terrible base for roleplay alone, let alone a shooter lol.
 
Feb 1, 2014
165
137
Code snippet of team deathmatch looks horrendous!
How so? I thought I done a rather good job considering I've been doing C# for around a month now.
It's cached, runs smooth and the code is neat.

Go into further detail on how its horrendous.

Sorry, I just don't see how this could ever be enjoyed as Habbo is a terrible base for roleplay alone, let alone a shooter lol.

Guess you could say so, but you can't judge something if you never have played it.
Just a unique project really, I thought it would be rather fun and away from the whole basic role-playing agenda. :)

Update [09/07/2014]
Completed the dogfight gamemode, tried and tested.
Here is a snippet of code.

Code:
        internal void DFStartGameLooper()
        {
            if (!DFArenaRunning)
            {
                ThreadStart start = () => DFGameHandler();
                DFRunGame = new Thread(start);
                DFRunGame.Priority = ThreadPriority.Lowest;
                DFRunGame.Start();
                this.DFArenaRunning = true;
            }
            else
            {
                return;
            }
        }

        internal void DFGameHandler()
        {
            while (true)
            {
                try
                {
                    if (PlayersDead >= 4)
                    {
                        Plus.PlusEnvironment.GetGame().GetClientManager().DFMessage("Fallback soilders, the opposition has overtaken the airspace.");
                        Plus.PlusEnvironment.GetGame().GetClientManager().DFMessage("It's all over, he got the best of us.");
                        Thread.Sleep(1000);
                        Plus.PlusEnvironment.GetGame().GetClientManager().DFLoadRoom(50);
                    }
                    if (Session.GetHabbo().DFDead == false && PlayersDead >= 4)
                    {
                        Session.GetHabbo().MatchWins += 1;
                        return;
                    }
                }
                catch (Exception e)
                {
                    Console.Write(e.ToString());
                }
                Thread.Sleep(500);
            }
        }

UPDATE [09/07/2014]
So the website is almost done, got a few more things to do.
Here is a snippet of my CSS framework from scratch.

Code:
   p.none-s{
      font-family: 'Ubuntu', sans-serif;
      text-transform: uppercase;
      margin-left: -25px;
      position: absolute;
      text-align: center;
      position: absolute;
      font-weight: bold;
      margin-top: 80px;
      font-size: 10pt;
   }

   img.slider{
      margin-left: 15px;
      margin-top: 20px;
      width: 970px;
   }

   #comingsoon{
      text-transform:uppercase;
      position: absolute;
      margin-left:300px;
      margin-top:100px;
      z-index:999;
   }

   sorry{
      margin-left:125px;
      font-weight: bold;
      font-size: 25pt;
   }

   .footer{
      padding-top: 10px;
      text-align: center;
      margin-top: 280px;
      font-size: 6.0pt;
   }

Clean and organized.
 
Last edited by a moderator:

MrPoopy

New Member
Jun 30, 2014
8
6
Update [09/07/2014]
Completed the dogfight gamemode, tried and tested.
Here is a snippet of code.

Code:
        internal void DFStartGameLooper()
        {
            if (!DFArenaRunning)
            {
                ThreadStart start = () => DFGameHandler();
                DFRunGame = new Thread(start);
                DFRunGame.Priority = ThreadPriority.Lowest;
                DFRunGame.Start();
                this.DFArenaRunning = true;
            }
            else
            {
                return;
            }
        }

        internal void DFGameHandler()
        {
            while (true)
            {
                try
                {
                    if (PlayersDead >= 4)
                    {
                        Plus.PlusEnvironment.GetGame().GetClientManager().DFMessage("Fallback soilders, the opposition has overtaken the airspace.");
                        Plus.PlusEnvironment.GetGame().GetClientManager().DFMessage("It's all over, he got the best of us.");
                        Thread.Sleep(1000);
                        Plus.PlusEnvironment.GetGame().GetClientManager().DFLoadRoom(50);
                    }
                    if (Session.GetHabbo().DFDead == false && PlayersDead >= 4)
                    {
                        Session.GetHabbo().MatchWins += 1;
                        return;
                    }
                }
                catch (Exception e)
                {
                    Console.Write(e.ToString());
                }
                Thread.Sleep(500);
            }
        }

that looks even worse.... your use of threading to handle a team deathmatch game? Even the way you utilize the thread is terrible, good luck on your memory leaks moron.
 

LeChris

github.com/habbo-hotel
Sep 30, 2013
2,744
1,326
that looks even worse.... your use of threading to handle a team deathmatch game? Even the way you utilize the thread is terrible, good luck on your memory leaks moron.
stfu atleast he is trying give him an idea of a more proper way to do it afterall he is having to code/design everything himself
 
Feb 1, 2014
165
137
that looks even worse.... your use of threading to handle a team deathmatch game? Even the way you utilize the thread is terrible, good luck on your memory leaks moron.
Memory Leaks? hahaha you're talking out ass, I have a proper structured method of utilizing my gamemodes.
Behave Ying, after-all I know you can't code and just say random things that you pick up from other people.
When you learn how to do a basic case method, you may give me feedback that is ACTUALLY is correct not your memory leak nonsense that you don't know about.
 
Feb 1, 2014
165
137
that looks even worse.... your use of threading to handle a team deathmatch game? Even the way you utilize the thread is terrible, good luck on your memory leaks moron.

Can also confirm, CPU is 0% to 0.5%
and no suggested memory leaks.
Memory is at 31.7mb.

This is running as the standalone .EXE with me and another clone clone running in incognito online whilst testing a gamemode.

Infact
TpIHiIx.png
 

Lotus

Legacy, it's all anyone leaves behind.
Jun 8, 2012
1,637
501
Great Project. I hope this succeeds and don't get scrapped.
 
Status
Not open for further replies.

Users who are viewing this thread

Top