MangoRP - Generic Roleplay Emulator
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.
https://forum.ragezone.com/cache.php...%2FtW2Hc2w.png
- One example of a unique feature is the health and energy bar integrated into the swf using existing resources and some brain power.
https://forum.ragezone.com/cache.php...%2FvkIHjuf.png
- Lovely.
Reviewal and Implementation Listings
Code Reference and Snippet Listings
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)
Re: MangoRP - Generic Roleplay Emulator
Good luck with the project. It will be interesting to see what you can come up with!
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.
Re: MangoRP - Generic Roleplay Emulator
A very good project, good luck with the project.
Re: MangoRP - Generic Roleplay Emulator
1 class per command? Gross.
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. :sleep:
Re: MangoRP - Generic Roleplay Emulator
Quote:
Originally Posted by
TheEdit0r
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. :sleep:
I say gross because that is my opinion.
Good luck
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.
Re: MangoRP - Generic Roleplay Emulator
Good luck on the development, Cannot wait to see how it turned out in the end.
Re: MangoRP - Generic Roleplay Emulator
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
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.
Re: MangoRP - Generic Roleplay Emulator
Quote:
Originally Posted by
Jonteh
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.
Re: MangoRP - Generic Roleplay Emulator
Quote:
Originally Posted by
iGalaxy
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.
Re: MangoRP - Generic Roleplay Emulator
Quote:
Originally Posted by
Jonteh
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? :wink:
- - - 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! :):