MangoRP - Generic Roleplay Emulator

Page 1 of 6 123456 LastLast
Results 1 to 15 of 88
  1. #1
    Developer & Designer Francis Joseph is offline
    MemberRank
    Mar 2007 Join Date
    /f282Location
    246Posts

    ! MangoRP - Generic Roleplay Emulator

    Habbo revision RELEASE63-201302071600-466653663



    What is Mango Roleplay?
    Mango is an emulator originally programmed and developed by 1ntel. Although its missing features, I found that it would be perfect for a barebone generic roleplay emulator and so I started development. Being barebone, this means the emulator will only have the basic features of a roleplay included.

    Not only is the code clean and wonderful to work with, I have thought through the project thoroughly alongside making changes to the original source code where memory usage and performance could be maintained.

    I don't plan on making this project long however I thought it would be nice to have a thread going. This project was started yesterday morning and I've already got most of the core features done. Opposed to other roleplay emulators, I'd say this would be one of the cleanest roleplay bases to date once completed. Ofcourse there is most likely going to be one or two things that I can clean up. I can release revisions if need be although I don't plan to.

    Not to be offensive to other developers but the current choice of roleplay emulators isn't good at all. Where as they 'do what it says on the tin', the quality of code isn't up to standard.

    This project is currently under reviewal and has been completed. I'm attempting to finish the process within spare time that I have. This is not an easy process and I'm currently conflicted with work in real life. So please bare with me.



    - One example of a unique feature is the health and energy bar integrated into the swf using existing resources and some brain power.



    - Lovely.


    Reviewal and Implementation Listings


    Spoiler:
    [*] - Not Reviewed
    [?] - Not Implemented
    [/] - Implemented
    [??] - Not Checked
    [X] - Disabled


    Reviewal of the Emulator.
    - Corporation Commands
    / CorpDemoteCmd.
    / CorpFireCmd.
    / CorpHireCmd.
    / CorpPromoteCmd.
    / CorpViewWorkersCmd.


    / SuperDemoteCmd.
    / SuperFireCmd.
    / SuperHireCmd.
    / SuperPromoteCmd.
    / SuperViewWorkersCmd.


    - Roleplayer Commands
    / BailCmd.
    / BalanceCmd.
    / CancelTaxiCmd.
    / DepositCmd.
    / EquipCmd.
    / GiveCmd.
    / HitCmd.
    / HotroomsCmd.
    / OfferCmd.
    / QuitWorkCmd.
    / RobCmd.
    / ShootCmd.
    / StabCmd.
    / StartDriveCmd.
    / StartRobberyCmd.
    / StartWorkCmd.
    / StopDriveCmd.
    / StopWorkCmd.
    / TaxiCmd.
    / TextCmd.
    / UnequipCmd.
    / WithdrawCmd.


    - Bounties Commands
    / ClearBountiesCmd.
    / PlaceBountyCmd.
    / ViewBountiesCmd.
    / RemoveBountyCmd.


    - Police Commands
    / AddWantedCmd
    / ArrestCmd
    / ReleaseAllCmd
    / ReleaseCmd
    / RemoveWantedCmd
    / StunCmd
    / UnstunCmd
    / ViewPrisonersCmd
    / ViewWantedCmd
    / SearchCmd


    - Staff Commands
    / GiveArmourCmd
    / GiveEnergyCmd
    / GiveHealthCmd
    / KillCmd


    - Owner Commands
    ? ReloadCommandsCmd
    ? ReloadCorpsCmd
    ? ReloadGangsCmd



    Code Reference and Snippet Listings
    Spoiler:

    Bounty Management - [C#] BountyManager - Pastebin.com
    Hospital Management - [C#] HosptialManager - Pastebin.com
    Jail Management - [C#] JailManager - Pastebin.com
    Job Management - [C#] JobManager - Pastebin.com
    Ranking Management - [C#] RankingManager - Pastebin.com
    Region Management - http://pastebin.com/2DS8j1pg
    Vehicle Management - http://pastebin.com/cbYVviKZ
    Wanted Management - http://pastebin.com/pW9UpPQ3
    Weapon Management - http://pastebin.com/7nuKhCgT

    Job Component - http://pastebin.com/V5gSxA3T
    Vehicle Component - http://pastebin.com/yVGDJapL
    Weapon Component - http://pastebin.com/j29Wba5T


    Ingame snippets are available throughout the thread, so feel free to take a scroll through!
    (I know this should have been released a while ago but I'm up to my knees with actual work, I shall finish when I get the time to do so)
    Last edited by TheEdit0r; 13-06-15 at 04:15 PM. Reason: Update regarding emulation state and current progress.


  2. #2
    Not so spooky... MrSpooks is offline
    MemberRank
    May 2010 Join Date
    Under a rockLocation
    1,068Posts

    Re: MangoRP - Generic Roleplay Emulator

    Good luck with the project. It will be interesting to see what you can come up with!

  3. #3
    Developer & Designer Francis Joseph is offline
    MemberRank
    Mar 2007 Join Date
    /f282Location
    246Posts

    Re: MangoRP - Generic Roleplay Emulator

    Banking System is complete, alongside the interaction for atm machines.

    BalanceCmd - [C#] BalanceCmd - Pastebin.com
    DepositCmd - [C#] DepositCmd - Pastebin.com
    WithdrawCmd - [C#] WithdrawCmd - Pastebin.com

    Also had to update some packet headers due to some issues.
    Last edited by TheEdit0r; 13-05-15 at 12:05 PM. Reason: *Updates regarding progress

  4. #4
    Apprentice Jordan34 is offline
    MemberRank
    Feb 2014 Join Date
    5Posts

    Re: MangoRP - Generic Roleplay Emulator

    A very good project, good luck with the project.

  5. #5
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: MangoRP - Generic Roleplay Emulator

    1 class per command? Gross.

  6. #6
    Developer & Designer Francis Joseph is offline
    MemberRank
    Mar 2007 Join Date
    /f282Location
    246Posts

    Re: MangoRP - Generic Roleplay Emulator

    Each command is implemented through an interface.
    This means that each command has a template to follow and the parsing for the suggested command is a much neater process.

    One class per command is a clean and manageable approach rather then using a switch.
    It's what mango already came with and even if it didn't, I'd still implement one regardless.

    So I hope when you say gross, you say that out of preference.
    Last edited by TheEdit0r; 13-05-15 at 03:41 PM. Reason: *Grammar error

  7. #7
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: MangoRP - Generic Roleplay Emulator

    Quote Originally Posted by TheEdit0r View Post
    Each command is implemented through an interface.
    This means that each command has a template to follow and the parsing for the suggested command is a much neater process.

    One class per command is a clean and manageable approach rather then using a switch.
    It's what mango already came with and even if it didn't, I'd still implement one regardless.

    So I hope when you say gross, you say that out of preference.
    I say gross because that is my opinion.

    Good luck

  8. #8
    Valued Member Oliveri is offline
    MemberRank
    Sep 2013 Join Date
    146Posts

    Re: MangoRP - Generic Roleplay Emulator

    This seems real nice project, looking forward to it! Any idea when will it be released/when are you ready?

    Good luck.

  9. #9
    Retired Robot is offline
    MemberRank
    Apr 2015 Join Date
    EnglandLocation
    720Posts

    Re: MangoRP - Generic Roleplay Emulator

    Good luck on the development, Cannot wait to see how it turned out in the end.

  10. #10
    Member Abduction is offline
    MemberRank
    Jan 2015 Join Date
    58Posts

    Re: MangoRP - Generic Roleplay Emulator

    neat, good luck

  11. #11
    Developer & Designer Francis Joseph is offline
    MemberRank
    Mar 2007 Join Date
    /f282Location
    246Posts

    Re: MangoRP - Generic Roleplay Emulator

    Weapon Management is now complete.
    User weapons are now handled through a component initialized by the suggested user.

    Weapons are stored in the database, from there you can personal or add weapons.
    Down to there distance, ammo and other attributes.

    WeaponManager
    [C#] - WeaponManager - Pastebin.com

    WeaponComponent
    [C#] - WeaponComponent - Pastebin.com

    Whats next?
    I have a small list today and CorporationEmployees are to be removed.
    They will use a component initialized by the suggested user like weapons.

    - - - Updated - - -

    The Ranking system and management have been completed.

    RankingManager
    [C#] RankingManager - Pastebin.com

    Example of how to use the class
    [C#] Example of using RankManager - Pastebin.com
    Last edited by TheEdit0r; 14-05-15 at 10:46 PM.

  12. #12
    Account Upgraded | Title Enabled! asesinato is offline
    MemberRank
    Aug 2014 Join Date
    601Posts

    Re: MangoRP - Generic Roleplay Emulator

    Nice work Francis, I wish you the best of luck with this project.

    Its nice to finally see somebody use Mango, especially turning it into a role-play.

  13. #13
    Developer iGalaxy is offline
    MemberRank
    Jul 2013 Join Date
    C:/xampp/htdocsLocation
    488Posts

    Re: MangoRP - Generic Roleplay Emulator

    Quote Originally Posted by Jonteh View Post
    Sure it could be good, but I doubt anyone in this section will use it like that and I just don't think that it's needed in a Habbo Emulator to make a new class for each command. Personal preference, I don't like to overdo things.
    In other words you don't like to write clean and easy to maintain code.

  14. #14
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: MangoRP - Generic Roleplay Emulator

    Quote Originally Posted by iGalaxy View Post
    In other words you don't like to write clean and easy to maintain code.
    In other words I like to find my own approach to things like this, such as a scripting plugin system. I don't like the idea of having to make a new class for each command.

  15. #15
    Developer & Designer Francis Joseph is offline
    MemberRank
    Mar 2007 Join Date
    /f282Location
    246Posts

    Re: MangoRP - Generic Roleplay Emulator

    Quote Originally Posted by Jonteh View Post
    In other words I like to find my own approach to things like this, such as a scripting plugin system. I don't like the idea of having to make a new class for each command.
    But wouldn't a scripting plugin system be more over the top then a command manager?

    - - - Updated - - -

    This is just a short update, I'm looking to come off the current build of Mango.

    Would you prefer an update to one of the latest builds, RELEASE63-201504231229-352136561.
    Or keeping it basic and updating off a few builds from the current one.

    Please let me know because I need to make this decision today.
    If I choose to go to RELEASE63-201504231229-352136561, please note that
    I will only program headers that I currently need. Others will not be accessible
    as I'll be removing swf components through the xml.

    Thanks!



Page 1 of 6 123456 LastLast

Advertisement