-
1 Attachment(s)
[UberEMU] Freeze- Bug fix
Hello Ragezone, since all hotels are freezing, ive got the solution for you.
How to fix the bug?
Open into your emulator source the following .cs file: database.cs (find it :P)
Example:
public void DestroyClients()
{
lock (this.Clients)
{
for (int i = 0; i < Clients.Length; i++)
{
Clients[i].Destroy();
Clients[i] = null;
}
}
}
Now, replace with this:
public void DestroyClients()
{
lock (this.Clients)
{
for (int i = 0; i < Clients.Length; i++)
{
// Clients[i].Destroy();
// Clients[i] = null;
}
}
}
Now it won't d/c, but it was a example, heres the (NORMAL) fixxed file:
(Look at attachament!) :D:
Whats the mean of DESTROY?
If something is wrong to the emulator, the server will giveout the declared command: Destroy. If the command is used, the emulator will destroy navigation, rooms, users etc. so it will freeze, but up there i put a // before every destroy, so it mustn't destroy.
THIS FIX IS IN ALPHA PHASE!
Thanks to: Jairo34
CLICK THANKS IF I HELPED YOU! :D
-
Re: [UberEMU] Freeze- Bug fix
1st Post!
i Go use on my hotel, thanks.
-
Re: [UberEMU] Freeze- Bug fix
-
Re: [UberEMU] Freeze- Bug fix
Yeah, the problem was always its destroying all connections, so you just have to put the // before every destroy so its fixxed.
Im going release within 24- 48 hours my emulator, for uber.
Its freeze fixxed, and some new features.
-
Re: [UberEMU] Freeze- Bug fix
i could give a shit about t he d/c its the loop that pisses me off, where its stuck on loading and this is appparently supposen to fix it?
p.s why not remove the fuvken line, instead of // it out?
-
Re: [UberEMU] Freeze- Bug fix
Hi guys, who can fix my Client, its Blank ???
---------- Post added at 07:35 PM ---------- Previous post was at 07:29 PM ----------
Well Guys ?
-
Re: [UberEMU] Freeze- Bug fix
il hvae to laugh so fucken hard if this actually solves the problem
-
Re: [UberEMU] Freeze- Bug fix
Quote:
Originally Posted by
omnija
il hvae to laugh so fucken hard if this actually solves the problem
If you can read the therad is in alpha, you stupid retard.
---------- Post added at 11:00 AM ---------- Previous post was at 10:50 AM ----------
Quote:
Originally Posted by
omnija
i could give a shit about t he d/c its the loop that pisses me off, where its stuck on loading and this is appparently supposen to fix it?
p.s why not remove the fuvken line, instead of // it out?
You can, but i want just to similar how to fix it :P
-
Re: [UberEMU] Freeze- Bug fix
Quote:
Originally Posted by
JayNike
If you can read the therad is in alpha, you stupid retard.
---------- Post added at 11:00 AM ---------- Previous post was at 10:50 AM ----------
You can, but i want just to similar how to fix it :P
instead of insulting ppl you would realise this isint a real release and you did not code anything so how can this be an alpha phase?
what are you gonna do for beta? //public void DestroyClients() lol
p.s you should of have tested it before releasing it, not assumed it worked and say it's alpha - meaning it might work or not
also how does alpha have anything tod with it resolving it or not? if it work it works if it doesn't it doesn't saying alpha doesn't mean shyt.
-
Re: [UberEMU] Freeze- Bug fix
Quote:
Originally Posted by
omnija
instead of insulting ppl you would realise this isint a real release and you did not code anything so how can this be an alpha phase? what are you gonna do for beta? //public void DestroyClients() lol
p.s you should of have tested it before releasing it, not assumed it worked and say it's alpha - meaning it might work or not
Why its alpha? Dude im not pretty sure if its working, im searching other destroys, and im gonna release them in the Beta phase.
And this shit is working for me FINE. Im running my emulator since 5 Hours or 6 Hours with 120 Peoples online >_>!
-
Re: [UberEMU] Freeze- Bug fix
Quote:
Originally Posted by
JayNike
Why its alpha? Dude im not pretty sure if its working, im searching other destroys, and im gonna release them in the Beta phase.
And this shit is working for me FINE. Im running my emulator since 5 Hours or 6 Hours with 120 Peoples online >_>!
lemme know when you hit the 12 hour point
-
Re: [UberEMU] Freeze- Bug fix
-
Re: [UberEMU] Freeze- Bug fix
LOLOL. "Yeah that disconnecting thing, it happens because the server has the ability to close unused connections."
You will experience SOOOOOO much lag under heavy load if you use this. I doubt it will actually fix anything, but it'll create massive amounts of zombie connections. Don't do this.
-
Re: [UberEMU] Freeze- Bug fix
This is Really Work? our No?
-
Re: [UberEMU] Freeze- Bug fix
For me works since 7 Hours :P
-
Re: [UberEMU] Freeze- Bug fix
Thx , For me works 2 Days..
-
Re: [UberEMU] Freeze- Bug fix
-
Re: [UberEMU] Freeze- Bug fix
-
Re: [UberEMU] Freeze- Bug fix
lol, i'm test on my hotel. Post results later
-
Re: [UberEMU] Freeze- Bug fix
Ok have fun :P!
---------- Post added at 01:52 PM ---------- Previous post was at 12:59 PM ----------
139 9 Hours already online^^
-
Re: [UberEMU] Freeze- Bug fix
This won't really do anything.. it only destroys clients when you QUIT Uber...
Look at bubbo.co.uk, i don't use this, had like 350 online for hours.
ProcessRoom is the issue
-
Re: [UberEMU] Freeze- Bug fix
sure? Im going have a look..
-
Re: [UberEMU] Freeze- Bug fix
Quote:
Originally Posted by
matty13
This won't really do anything.. it only destroys clients when you QUIT Uber...
Look at bubbo.co.uk, i don't use this, had like 350 online for hours.
ProcessRoom is the issue
the amount of connections locked is usually when the server freezes and ppl try to relog, thats why blah always shows like 1000+ members but nobody can log in fully.
-
Re: [UberEMU] Freeze- Bug fix
EVEN if this works someone provide a screenie? k thnx
-
Re: [UberEMU] Freeze- Bug fix
Quote:
Originally Posted by
davidon
EVEN if this works someone provide a screenie? k thnx
How the hell do you post a screenshot, of an internal edit? :sleep: