[UBER] Crash Fix and Random Disconnections Fix

Page 1 of 3 123 LastLast
Results 1 to 25 of 72
  1. #1
    Elite Member BeanHLFM is offline
    Member +Rank
    Apr 2009 Join Date
    164Posts

    config [UBER] Crash Fix and Random Disconnections Fix

    Hi there, after studying the Uber Net connection system (Same as ION) Ive come up with some fixes that will help people in the retro community

    BTW, All these FIXES WORK TOGETHER

    1st Fix: (TCPConnection.cs)
    Code:
    class TcpConnection
        {
            private readonly int RCV_BUFFER_SIZE = 600; //this should be 600, because this is how many connections or threads it can allow
            private readonly int RCV_MILLI_DELAY = 0; // this must be 0
    
            public readonly uint Id;
            public readonly DateTime Created;
    
            private Socket Socket;
    
            private byte[] Buffer;
    
            private AsyncCallback DataReceivedCallback;
            private RouteReceivedDataCallback RouteDataCallback;
    
            public delegate void RouteReceivedDataCallback(ref byte[] Data);
    Second Fix: (Config File)
    Code:
    ## MySQL pooling setup (controls amount of connections)
    db.pool.minsize=5
    db.pool.maxsize=999999
    
    ## Game TCP/IP Configuration
    game.tcp.bindip=192.168.1.66
    game.tcp.port=30000
    game.tcp.conlimit=999999
    3rd Fix: (TCPConnectionManager.cs)
    Code:
      private readonly int MAX_SIMULTANEOUS_CONNECTIONS = 500;
    Ive tested this on a hotel and it had 248 people online at the time, so Enjoy!

    ** IF THIS DOES NOT WORK, EXPLAIN THE PROBLEM AND I WILL TRY AND HELP YOU **


  2. #2
    Sorcerer Supreme iJakey is offline
    Member +Rank
    May 2010 Join Date
    355Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    I don't believe this will fix every crash and d/c. I fixed the d/c problem
    and I didn't do any of these things to fix it.

    But good work I suppose?

  3. #3
    Elite Member BeanHLFM is offline
    Member +Rank
    Apr 2009 Join Date
    164Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Quote Originally Posted by iJakey View Post
    I don't believe this will fix every crash and d/c. I fixed the d/c problem
    and I didn't do any of these things to fix it.

    But good work I suppose?
    No it wont fix EVERYSINGLE Cause of the crash, the other fixes are posted on this forum elsewhere such as the Roomalert one

    Wait till tomorrow tho, Does anyone want the Rollers code?

  4. #4
    Sorcerer Supreme iJakey is offline
    Member +Rank
    May 2010 Join Date
    355Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    I've coded the rollers into Uber on my own, but wondering, you mean the User.MoveTo(Item.NextSquare); <- I don't remember the correct method.

    or the correct one?

  5. #5
    What about no. Davidaap is offline
    Grand MasterRank
    Nov 2009 Join Date
    773Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    this not fix all the crashes -,- go busy with the deadlocks!

  6. #6
    Member ~Nexus~ is offline
    MemberRank
    Jul 2010 Join Date
    In your mommaLocation
    92Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    guys look this fixes the most important crash ok and like beanhlfm said the other ones are in the development section in the origanal thread

  7. #7
    Sorcerer Supreme SyntaxErr0r is offline
    Member +Rank
    Aug 2008 Join Date
    CanadaLocation
    258Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Bean, when is your new emulator coming out?

    OT: thanks - im testing now.
    Last edited by SyntaxErr0r; 16-08-10 at 05:02 AM.

  8. #8
    Elite Member TheZam is offline
    Member +Rank
    Mar 2007 Join Date
    United StatesLocation
    188Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    This won't fix all of the random disconnects... if any.

  9. #9
    yerro Adde is offline
    Grand MasterRank
    Feb 2010 Join Date
    none ur bizzLocation
    2,731Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Did this work? Anyone?

  10. #10
    Member Klopser is offline
    MemberRank
    Dec 2008 Join Date
    47Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    In the config file, you must put this:

    client.ping.enabled=1

    or this:

    client.ping.enabled=0

    Tell me the answer ;)

  11. #11
    Elite Member jeroen262 is offline
    Member +Rank
    Feb 2009 Join Date
    231Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    A roller fix should be nice :DD

  12. #12
    Sorcerer Supreme academic is offline
    Member +Rank
    Jun 2010 Join Date
    AustraliaLocation
    484Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Quote Originally Posted by BeanHLFM View Post
    No it wont fix EVERYSINGLE Cause of the crash, the other fixes are posted on this forum elsewhere such as the Roomalert one

    Wait till tomorrow tho, Does anyone want the Rollers code?
    Man, if you released rollers I would do anything to thankyou. xD

  13. #13
    Sorcerer Supreme Flurrie is offline
    Member +Rank
    Jun 2010 Join Date
    281Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    I'm using Beans Emulator, does that mean I don't need to do this, as in It's already installed, cause the configuration on uEmulator looks just like the one he snipped :3

  14. #14
    Banned Ukson is offline
    BannedRank
    Aug 2010 Join Date
    United KingdomLocation
    75Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    thats awsome, Thanks for this!

  15. #15
    Sorcerer Supreme Flurrie is offline
    Member +Rank
    Jun 2010 Join Date
    281Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Bean, will this come with your uEmulator v5 Release? I know it comes with Rollers and swimming :)

  16. #16
    Sorcerer Supreme SyntaxErr0r is offline
    Member +Rank
    Aug 2008 Join Date
    CanadaLocation
    258Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Quote Originally Posted by Adde View Post
    Did this work? Anyone?
    Still freeze's bro..
    I have what you said to have..
    Maybe im doing something wrong with the Client Configuration..
    But whatever :\

  17. #17
    Elite Member BeanHLFM is offline
    Member +Rank
    Apr 2009 Join Date
    164Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Quote Originally Posted by Flurrie View Post
    Bean, will this come with your uEmulator v5 Release? I know it comes with Rollers and swimming :)
    Yeah this will come with uEmulator V5 which is released next week

    The answer to "Does it work" is complicated, it does in a sence but as i said it works with the other fixes that are avaliable on the net

  18. #18
    Sorcerer Supreme SyntaxErr0r is offline
    Member +Rank
    Aug 2008 Join Date
    CanadaLocation
    258Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Bean what should my client configuration look like..?

  19. #19
    sexiess is a sin. Subway is offline
    Grand MasterRank
    Jun 2010 Join Date
    2,491Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    didn't work for me D: sorry dude I still got d.c's

  20. #20
    yerro Adde is offline
    Grand MasterRank
    Feb 2010 Join Date
    none ur bizzLocation
    2,731Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Didn't work for me either, But it improves my hotel. Before this i could have like 90 users on and then crash.. Now i get like 130+ on! :)

  21. #21
    Member Rejmo is offline
    MemberRank
    Dec 2006 Join Date
    NederlandLocation
    48Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Can i download uEmulator v4 somewhere?

  22. #22
    Sorcerer Supreme academic is offline
    Member +Rank
    Jun 2010 Join Date
    AustraliaLocation
    484Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Quote Originally Posted by BeanHLFM View Post
    Yeah this will come with uEmulator V5 which is released next week

    The answer to "Does it work" is complicated, it does in a sence but as i said it works with the other fixes that are avaliable on the net
    In actual fact, I would release open-source, because you going to have some prick after you with a brief case. This is basically an edit of uberEmulator, which I disagree you shouldn't even have your name on it, because you have released-closed source.

    This work is none of your work, few bits and pieces, and copying and paste from the web, is all this 'thing' is, release it open-source, just like the licence says so.

    I dislike people when they use a copy or edit and take full credit for just doing some copying and pasting. It's not right.

  23. #23
    I'm back! iJay is offline
    Grand MasterRank
    Nov 2008 Join Date
    Down Under ;)Location
    602Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Quote Originally Posted by academ1c View Post
    In actual fact, I would release open-source, because you going to have some prick after you with a brief case. This is basically an edit of uberEmulator, which I disagree you shouldn't even have your name on it, because you have released-closed source.

    This work is none of your work, few bits and pieces, and copying and paste from the web, is all this 'thing' is, release it open-source, just like the licence says so.

    I dislike people when they use a copy or edit and take full credit for just doing some copying and pasting. It's not right.
    OR... You simply don't have the brain power, or knowledge, or the time to do it yourself.

    I believe that the main reason you hate the fact that he would release it closed source is because you would have no control of it what so over and you couldn't there for claim it as your own / take credit for his and others work....

    You just use this petty little license excuse to try and make people give in, but to be honest... you are wasting your time.

    Either, learn to code... Find a better way to leech or leave rz.

  24. #24
    Elite Member BeanHLFM is offline
    Member +Rank
    Apr 2009 Join Date
    164Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Quote Originally Posted by iJay View Post
    OR... You simply don't have the brain power, or knowledge, or the time to do it yourself.

    I believe that the main reason you hate the fact that he would release it closed source is because you would have no control of it what so over and you couldn't there for claim it as your own / take credit for his and others work....

    You just use this petty little license excuse to try and make people give in, but to be honest... you are wasting your time.

    Either, learn to code... Find a better way to leech or leave rz.
    Why should i make it open source when uber would have been closed source anyway, it if wasnt for the leaks, we wouldnt have it

  25. #25
    I'm back! iJay is offline
    Grand MasterRank
    Nov 2008 Join Date
    Down Under ;)Location
    602Posts

    Re: [UBER] Crash Fix and Random Disconnections Fix

    Quote Originally Posted by BeanHLFM View Post
    Why should i make it open source when uber would have been closed source anyway, it if wasnt for the leaks, we wouldnt have it
    That's a very good point... Uber was never even going to be released in the end, that's what Meth0d planned anyway...

    I believe that as long as you still keep it the same name "Uber" and just give yourself credits for editing then it should not have to be released open-source.

    To be honest, you're already doing everyone a favour by fixing up the bugs and releasing it closed source for those that can't code... They should be greatful with what they're givin'...

    That's my 2 cents on the whole matter anyway.



Page 1 of 3 123 LastLast

Advertisement