1. Tired of not being able to see links? Want to chat with other members? Need help?

[PlusEMU] Emulator Development [UPDATED]

Discussion in 'Habbo Development' started by Sledmore, Feb 6, 2017.

  1. Damiens

    Damiens Don't need glasses if you can C#

    Wait.. Isn't the whole idea of using Mus, is to allow a gateway for the users client to update in real-time with the cms. Doing what you said would make the whole use of Mus almost obsolete.

    You wouldn't even need it in the first place having a system like you suggested in place.
    --- Double Post Merged, Feb 15, 2017, Original Post Date: Feb 15, 2017 ---
    Also as mentioned above (although I haven't ecounted any problems), there is actually a bug with updating whether a user is online or not, so that might cause a few problems having a system like that.
     
    Chenaho and Etrion like this.
  2. Etrion

    Etrion Member

    "Fucking here and fucking there", it's a fucking dev thread get ur ass somewhere else then whine over here.
    If you wanna talk shit then talk at least in the Chatbox, i will link you there son: [ Want to see this link? Register ! ] -> General Chat.

    Greets
     
  3. yoyok

    yoyok Donator

    @Sentinel you did not understand what he was saying.

    If you have a ticket system on the website to buy lottery. Someone can manipulate it to buy first 500 diamonds bar (currency ) in-game, and then without reloading the website page he still have 500 diamonds on the website. When he buy a lottery ticket the website count it from 500 diamonds. Lets say a ticket is 50 diamonds each. You get -50 it will be 450 dianonds. Here it is going wrong... Because the user have already spend his 500 diamonds in the client for 500 diamonds bar. So on the user table it will not update it when someone do something like that.
     
    Chenaho likes this.
  4. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member

    Howdy,

    Still haven't made progress, I've just updated some of the issues.

    [ Want to see this link? Register ! ]

    Will look into MUS, however I have the other things to finish first. If anyone else wants to look into MUS, feel free to commit changes.

    Will get to it, just the following are on my list atm:
    • Finish moderation tool (almost finished, improved the support tickets a lot, this is already in the development branch).
    • Re-coding room trading.
    • Re-code room banning.
    • Re-code room rights.
    If @Shorty doesn't distract me with Overwatch tonight then I may get some progress done. :) But as I said before, this will mainly be active during the weekends.
     
    Etrion, Shorty, Bjork and 1 other person like this.
  5. Sentinel

    Sentinel Don't need bootycamp unless your name is Pettyjohn

    Top Poster Of Month

    As written before, and I will do it again. If you know your coding, you do not have these sorta problems. I use ajax on every single request that a user makes, which then wouldn't require reloading of the page to get the right data. Ain't gonna bother to explain it multiple times, simply because people can't figure out how to validate requests.


    As written above, if people can't figure out how to validate requests correctly, then that is the only way to do it.
     
    Last edited: Feb 15, 2017
  6. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member

    Hey,

    Bit annoyed... I added in a bans component but forgot to sync it... This doesn't mean it's lost, just means it isn't up there yet. So tonight I'll push through the new room banning, its a lot more appealing to the idea, freshly packet logged (sending through the right server packets on ban and statuses 100%).

    I actually did something last night! I was mainly refactoring, some of it just following code analysis (though I do disable certain configurations on mine, such as the thousands of warnings you get asking you to use var, remove this, remove base yadayada).

    [ Want to see this link? Register ! ]

    The aim of that commit was to just remove some objects that were being sent through but never used.

    And then this next commit, I basically just went over the disposing methods, I've noticed some areas where we're not disposing correctly (haven't fixed this yet, I don't know how to without actually debugging properly, so this is a weeekend job).

    [ Want to see this link? Register ! ]
    [ Want to see this link? Register ! ]

    Also in that commit above, I did some 'petty' changes, e.g. RemoveBuddyEvent.cs will now only open up one dbClient connection, also changed the Linq query, as we were checking for where and then count before.

    I also noticed that the teams never used to dispose in games, they should clear now. I've also tidied up the Room Dispose() method, most of the saving bits are now in their actual classes (e.g. RoomUserManager).

    I have started to re-code trading, I just haven't synced it as I have a bit more to do. I changed up the statuses methods as we had a duplicate method there. But the trading will now also be a Room Component, likewise with room banning.

    Again, I will get to more pressing bugs & issues soon, and even proper performance issues - just trying to structure things up to have a nicer playground to play on.

    So far though, going through this route is allowing me to find more and more issues.

    --- Double Post Merged, Feb 16, 2017, Original Post Date: Feb 16, 2017 ---
    Just added $100 to the hosting account, chance I forget. Should be good for another 3 month.

    (Git & downloads are separate instances).
    --- Double Post Merged, Feb 16, 2017 ---
    Following on.. I'm aiming to release the next 'stable' release on Saturday, just if anyone else is wanting to contribute. :)
    • Will be 100% releasing a badge_definitions.sql file and badge folder (Habbo's only).
    • Will possibly update the revision, so this will be a separate download if I do, just to prevent releasing a full SWF pack each time.
     
    li4m, Calcium, yoyok and 4 others like this.
  7. Calcium

    Calcium New Member


    Please dont update to the new Revision.
    We need fixes and not updates!

    Thanks.
     
  8. Bronson

    Bronson HMMMM Staff Member

    Beggars can't be choosers.
     
    Chenaho, Iiam and Wulles like this.
  9. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member

    Plenty of 'behind the scene' fixes/improvements have already been put into the Git, the more visual will come soon. If I run my updater on the headers it'll probably miss 3-5 headers, if I run it on the source in 2 months time it could miss 15-35, or more. If it's easy to stay up to date, I'll probably take that route.

    It takes 15 minutes to update regardless! But I respect your thoughts.
    --- Double Post Merged, Feb 16, 2017, Original Post Date: Feb 16, 2017 ---
    Okay, hi. Did a little more.

    RELEASE IS COMING LATE SATURDAY, INCLUDES SQL CHANGES THAT WILL BE COMPATIBLE WITH THE ORIGINAL DATABASE, E.G. UPDATING YOUR EXCHANGEABLE FURNITURE DATA & PETS.

    Done:

    • Room banning have been re-coded.
    • Trading has been re-worked for the most part.
    • Changed how exchangeable furni works, no longer goes by item name - goes by 'exchange' furni interaction type, and uses the column 'behaviour_data'
    • New column 'behaviour_data' added to the furniture table, will be used for.. special behaviour for the said furni, saves additional columns. (Props to Mango).
    • Got rid of those stupid interaction types that the pets have, there is only one interaction type for pets, which is 'pet', the race ID is defined by the 'beavhour_data' column.
    • Re-factored a few bits guided by the IDE.
    • I've moved most of the Quest logic out of the QuestManager and into the Quest packets.
    • Master Room.cs class is now a lot cleaer (not gone through method by method, but with the new room banning & trading in place, they're no longer in there).
    TODO:
    • Add configurable option for auto exchanging credits (emu config).
    • Add configurable option for changing pet food.
    • Finish moderation tool.
    Again, let me finish doing these current improvements, and we'll get onto features soon. I promise you we'll make this emulator have the bits that everyone cries about, it just takes time.

    After this release, I'll try and release quicker - e.g, not go stupid on changes like these. I still want to refactor more, but it will cause massive conflicts, I'm just going to change some of the naming conventions of the packets.
    --- Double Post Merged, Feb 16, 2017 ---
    Almost forgot, notable changes:
    • [ Want to see this link? Register ! ]
    • [ Want to see this link? Register ! ]
    • [ Want to see this link? Register ! ]
    • [ Want to see this link? Register ! ]
    Just doing some quick code analysis suggestions given by the IDE atm before I go to bed, so I apologise for the Git spam.
    --- Double Post Merged, Feb 16, 2017 ---
    Another one to add to my pile.. Going to re-code marketplace tomorrow, I ripped that from Phoenix back in the day. Just gone over the code and urgh.

    So my final list before release is...
    • Add configurable option for auto exchanging credits (emu config).
    • Add configurable option for changing pet food.
    • Finish moderation tool.
    • Re-code marketplace.
    • Debug all of the changes, ensure that we are fine.
    • Make additional SQL scripts for previous build upgrades & a new DB for fresh installation,
    Cheers!
     
    li4m, Bjork, Paylee and 7 others like this.
  10. Meap

    Meap Don't need glasses if you C#

    sounds good, pet thing is good too, Damien recoded how they work also the other week and gave me the code for it and it just fetches the pet race from their furniture table name
     
  11. Meap

    Meap Don't need glasses if you C#

    Why wait for it when you can just go and design the furniture table
    To add it in yourself? It's not exactly hard to do
     
  12. Paylee

    Paylee Member

    Great work to everyone who has contributed to this project. This will really save the retro community. I am so thankful for what you all have done, I've nothing else to say than keep up the good work.


    Sent from my iPhone using Tapatalk
     
  13. Meap

    Meap Don't need glasses if you C#

    If you're adding the changes from development repo you should be able to understand how it all works considering it's all development and you shouldn't use it unless you know what it does because any of it could change that's why it's in the development and hasn't been pushed to master @Wulles
     
    Wulles likes this.
  14. S0ur

    S0ur New Member

    Looking forward to the updates :D
     
    li4m likes this.
  15. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member

    To add something else to the TODO list, seen a lot of people go on about the filter - I'll re-work that tonight.

    It'll probably have two or three modes, standard, aggressive, etc..

    Also, I'd like to re-do the MUS, so expect something from that later on.

    Sorry for throwing things in, just went over the help & support section and those 2 bring up a lot.
     
    Sentinel and Paylee like this.
  16. Paylee

    Paylee Member

    After adding the pet interaction stuff from developement, then I get this error; ItemData does not contain a definition for BehaviourData and no extension method accepting a first argument of type could be found (are you missing a using directive or an assembly reference?)
     
  17. KylePr0zZ

    KylePr0zZ Member

    You shouldn't be adding code from development branch if you don't know what you are 'fully' doing with it, just wait for release 2 to be released on Saturday with all changes and it all stable and in full working order.
     
    Sledmore likes this.
  18. Aizzy

    Aizzy New Member

    This is getting incredible, I ended up finding some very strange bugs with the mascots I will add to the support
     
    Sledmore likes this.
  19. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member

    Hey,

    Be careful with this for now, you'll need to add a variable into ItemData.cs, I'd advise not going through with this until I make the next release. Unless you're working from your own files, then you'll need to compare where the new variables & methods are.

    Cheers.
     
    Paylee likes this.
  20. Kodak_Chris

    Kodak_Chris Tunnel Vision

    Status of Linux ?
     
    Sledmore and Sentinel like this.

Share This Page

Loading...