-
[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 **
-
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?
-
Re: [UBER] Crash Fix and Random Disconnections Fix
Quote:
Originally Posted by
iJakey
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?:w00t:
-
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?
-
Re: [UBER] Crash Fix and Random Disconnections Fix
this not fix all the crashes -,- go busy with the deadlocks!
-
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
-
Re: [UBER] Crash Fix and Random Disconnections Fix
Bean, when is your new emulator coming out?
OT: thanks - im testing now.
-
Re: [UBER] Crash Fix and Random Disconnections Fix
This won't fix all of the random disconnects... if any.
-
Re: [UBER] Crash Fix and Random Disconnections Fix
-
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 ;)
-
Re: [UBER] Crash Fix and Random Disconnections Fix
A roller fix should be nice :DD
-
Re: [UBER] Crash Fix and Random Disconnections Fix
Quote:
Originally Posted by
BeanHLFM
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?:w00t:
Man, if you released rollers I would do anything to thankyou. xD
-
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
-
Re: [UBER] Crash Fix and Random Disconnections Fix
thats awsome, Thanks for this!
-
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 :)
-
Re: [UBER] Crash Fix and Random Disconnections Fix
Quote:
Originally Posted by
Adde
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 :\
-
Re: [UBER] Crash Fix and Random Disconnections Fix
Quote:
Originally Posted by
Flurrie
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
-
Re: [UBER] Crash Fix and Random Disconnections Fix
Bean what should my client configuration look like..?
-
Re: [UBER] Crash Fix and Random Disconnections Fix
didn't work for me D: sorry dude I still got d.c's
-
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! :)
-
Re: [UBER] Crash Fix and Random Disconnections Fix
Can i download uEmulator v4 somewhere?
-
Re: [UBER] Crash Fix and Random Disconnections Fix
Quote:
Originally Posted by
BeanHLFM
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.
-
Re: [UBER] Crash Fix and Random Disconnections Fix
Quote:
Originally Posted by
academ1c
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.
-
Re: [UBER] Crash Fix and Random Disconnections Fix
Quote:
Originally Posted by
iJay
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
-
Re: [UBER] Crash Fix and Random Disconnections Fix
Quote:
Originally Posted by
BeanHLFM
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.