Re: uberEmulator R63+ Breakz0nes Edit
Quote:
Originally Posted by
MikeDavies
Are there any other better R63 Emulators than this pile of shit?
And before people start flaming, gtfo. you know nothing!
- Pathfinder laggs, freezes then eventually crashes the emulator every day
- Above 20 users online, it just errors.
- No override in the pathfinder.
Ive been using this as a BASE to start my R63 Flash RP Project, and im disapointed. My hotel are re-belling because its so bad. Looks like im gonna have to go back to R61
MikeDavies, Go learn how uberEmulator actually works and fix it yourself, it isn't that hard..
o wait, it is actually hard for you since you're busy all the time with RENAMING uberEmulator! >_<!!
Re: uberEmulator R63+ Breakz0nes Edit
Quote:
Originally Posted by
Someuser
MikeDavies, Go learn how uberEmulator actually works and fix it yourself, it isn't that hard..
o wait, it is actually hard for you since you're busy all the time with RENAMING uberEmulator! >_<!!
Yep, thats me. At least you agree that this emulator is badly coded. No actually, im busy making money, what are you doing, being a sad little cunt that puts exploits in his SWF pack and puts his name on the worse coded emulator since Uber Emulator, even that pathfinder was better. Fag
Re: uberEmulator R63+ Breakz0nes Edit
Quote:
Originally Posted by
MikeDavies
Yep, thats me. At least you agree that this emulator is badly coded. No actually, im busy making money, what are you doing, being a sad little cunt that puts exploits in his SWF pack and puts his name on the worse coded emulator since Uber Emulator, even that pathfinder was better. Fag
lol'd hard, that's all i'm sayin'.
Re: uberEmulator R63+ Breakz0nes Edit
PEjump thinks that he is the greatest here.
You aren't the best Coder, you fag -.-
Stop Flaming !
Re: uberEmulator R63+ Breakz0nes Edit
Quote:
Originally Posted by
TenShie
Bad Fix, but works. :D
Search:
...\httpdocs\inc\cron_scripts (folder) serverstat.php (data)
Replaceall in it with:
PHP Code:
<?php
if (!defined('UBER') || !UBER)
{
exit;
}
$curStat = mysql_result(dbquery("SELECT status FROM server_status LIMIT 1"), 0);
if ($curStat == "1")
{
$stamp = mysql_result(dbquery("SELECT stamp FROM server_status LIMIT 1"), 0);
$diff = time() - $stamp;
if ($diff >= 300)
{
dbquery("UPDATE server_status SET status = '1' LIMIT 1");
}
}
?>
-TenShie :sleep:
Thx, but I fixed it myself.
Code:
using System;
using System.Threading.Tasks;
using Uber.Storage;
using Uber.HabboHotel.GameClients;
using System.Threading;
using System.Runtime.InteropServices;
namespace Uber.HabboHotel.Misc
{
public class LowPriorityWorker
{
private Thread Worker;
public LowPriorityWorker()
{
this.Worker = new Thread(new ThreadStart(Process));
}
public void Start()
{
Worker.Start();
}
public void Stop()
{
Worker.Abort();
}
public void Process()
{
Thread.Sleep(5000);
while (true)
{
SetProcessWorkingSetSize(System.Diagnostics.Process.GetCurrentProcess().Handle, (UIntPtr)0xFFFFFFFF, (UIntPtr)0xFFFFFFFF);
#region Save Chatlogs
try
{
UberEnvironment.GetGame().GetChatlogsManager().PurgeChatlogs();
UberEnvironment.GetGame().GetChatlogsManager().Save();
}
catch { }
if (UberEnvironment.GetGame().GetIdGenerator().NeedsUpdate)
{
UberEnvironment.GetGame().GetIdGenerator().Initialize();
}
#endregion
#region Statistics
int Status = 1;
int UsersOnline = UberEnvironment.GetGame().GetClientManager().ClientCount;
int RoomsLoaded = UberEnvironment.GetGame().GetRoomManager().LoadedRoomsCount;
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE server_status SET stamp = '" + UberEnvironment.GetUnixTimestamp() + "', status = '" + Status + "', users_online = '" + UsersOnline + "', rooms_loaded = '" + RoomsLoaded + "', server_ver = '" + UberEnvironment.PrettyVersion + "' LIMIT 1");
}
#endregion
#region Effects
UberEnvironment.GetGame().GetClientManager().CheckEffects();
#endregion
Thread.Sleep(30000);
}
}
[DllImport("kernel32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
private static extern bool SetProcessWorkingSetSize(IntPtr process, UIntPtr minimumWorkingSetSize, UIntPtr maximumWorkingSetSize);
}
}
Re: uberEmulator R63+ Breakz0nes Edit
Quote:
Originally Posted by
Shredinator
Thx, but I fixed it myself.
Code:
using System;
using System.Threading.Tasks;
using Uber.Storage;
using Uber.HabboHotel.GameClients;
using System.Threading;
using System.Runtime.InteropServices;
namespace Uber.HabboHotel.Misc
{
public class LowPriorityWorker
{
private Thread Worker;
public LowPriorityWorker()
{
this.Worker = new Thread(new ThreadStart(Process));
}
public void Start()
{
Worker.Start();
}
public void Stop()
{
Worker.Abort();
}
public void Process()
{
Thread.Sleep(5000);
while (true)
{
SetProcessWorkingSetSize(System.Diagnostics.Process.GetCurrentProcess().Handle, (UIntPtr)0xFFFFFFFF, (UIntPtr)0xFFFFFFFF);
#region Save Chatlogs
try
{
UberEnvironment.GetGame().GetChatlogsManager().PurgeChatlogs();
UberEnvironment.GetGame().GetChatlogsManager().Save();
}
catch { }
if (UberEnvironment.GetGame().GetIdGenerator().NeedsUpdate)
{
UberEnvironment.GetGame().GetIdGenerator().Initialize();
}
#endregion
#region Statistics
int Status = 1;
int UsersOnline = UberEnvironment.GetGame().GetClientManager().ClientCount;
int RoomsLoaded = UberEnvironment.GetGame().GetRoomManager().LoadedRoomsCount;
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE server_status SET stamp = '" + UberEnvironment.GetUnixTimestamp() + "', status = '" + Status + "', users_online = '" + UsersOnline + "', rooms_loaded = '" + RoomsLoaded + "', server_ver = '" + UberEnvironment.PrettyVersion + "' LIMIT 1");
}
#endregion
#region Effects
UberEnvironment.GetGame().GetClientManager().CheckEffects();
#endregion
Thread.Sleep(30000);
}
}
[DllImport("kernel32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
private static extern bool SetProcessWorkingSetSize(IntPtr process, UIntPtr minimumWorkingSetSize, UIntPtr maximumWorkingSetSize);
}
}
Which File i have to change?
Re: uberEmulator R63+ Breakz0nes Edit
Can someone make a quick,simple tutourial on how to make this work and everything . please :)
Re: uberEmulator R63+ Breakz0nes Edit
Quote:
Originally Posted by
Crono
Which File i have to change?
HabboHotel -> Misc -> LowPriorityWorker.cs
Re: uberEmulator R63+ Breakz0nes Edit
R1 - When a pet walks on a water patch it crashes the EMU, I have disabled pets but any possible fix?
Also how can I get :commands to work/show up?
Re: uberEmulator R63+ Breakz0nes Edit
Quote:
Originally Posted by
Shredinator
Thx, but I fixed it myself.
Code:
using System;
using System.Threading.Tasks;
using Uber.Storage;
using Uber.HabboHotel.GameClients;
using System.Threading;
using System.Runtime.InteropServices;
namespace Uber.HabboHotel.Misc
{
public class LowPriorityWorker
{
private Thread Worker;
public LowPriorityWorker()
{
this.Worker = new Thread(new ThreadStart(Process));
}
public void Start()
{
Worker.Start();
}
public void Stop()
{
Worker.Abort();
}
public void Process()
{
Thread.Sleep(5000);
while (true)
{
SetProcessWorkingSetSize(System.Diagnostics.Process.GetCurrentProcess().Handle, (UIntPtr)0xFFFFFFFF, (UIntPtr)0xFFFFFFFF);
#region Save Chatlogs
try
{
UberEnvironment.GetGame().GetChatlogsManager().PurgeChatlogs();
UberEnvironment.GetGame().GetChatlogsManager().Save();
}
catch { }
if (UberEnvironment.GetGame().GetIdGenerator().NeedsUpdate)
{
UberEnvironment.GetGame().GetIdGenerator().Initialize();
}
#endregion
#region Statistics
int Status = 1;
int UsersOnline = UberEnvironment.GetGame().GetClientManager().ClientCount;
int RoomsLoaded = UberEnvironment.GetGame().GetRoomManager().LoadedRoomsCount;
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE server_status SET stamp = '" + UberEnvironment.GetUnixTimestamp() + "', status = '" + Status + "', users_online = '" + UsersOnline + "', rooms_loaded = '" + RoomsLoaded + "', server_ver = '" + UberEnvironment.PrettyVersion + "' LIMIT 1");
}
#endregion
#region Effects
UberEnvironment.GetGame().GetClientManager().CheckEffects();
#endregion
Thread.Sleep(30000);
}
}
[DllImport("kernel32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
private static extern bool SetProcessWorkingSetSize(IntPtr process, UIntPtr minimumWorkingSetSize, UIntPtr maximumWorkingSetSize);
}
}
Oh my, some of the code in that..
"SetProcessWorkingSetSize(System.Diagnostics.Process.GetCurrentProcess().Handle, (UIntPtr)0xFFFFFFFF, (UIntPtr)0xFFFFFFFF);"
/facepalm :thumbdown:
Re: uberEmulator R63+ Breakz0nes Edit
The hotel status never works for me... can you help me?
Re: uberEmulator R63+ Breakz0nes Edit
Quote:
Originally Posted by
MikeDavies
Are there any other better R63 Emulators than this pile of shit?
And before people start flaming, gtfo. you know nothing!
- Pathfinder laggs, freezes then eventually crashes the emulator every day
- Above 20 users online, it just errors.
- No override in the pathfinder.
Ive been using this as a BASE to start my R63 Flash RP Project, and im disapointed. My hotel are re-belling because its so bad. Looks like im gonna have to go back to R61
Because you can't fucking code, your emulator is a rip of mine..
Firebird :: Blackbird.
I went on your test hotel and pretty much exploited your fail coding as well, but good luck :)
Re: uberEmulator R63+ Breakz0nes Edit
Re: uberEmulator R63+ Breakz0nes Edit
Quote:
Originally Posted by
Tr0ll.™
Because you can't fucking code, your emulator is a rip of mine..
Firebird :: Blackbird.
I went on your test hotel and pretty much exploited your fail coding as well, but good luck :)
Yeah, thats right. Thats why a little birdy told me that your releasing this emulator as a premium product, Whos the rip off now asshole?
And actually no, the name came from Pheonix and the project i did with ePixel called Firebird NE. Get your facts right
Re: uberEmulator R63+ Breakz0nes Edit
System.FormatException: String was not recognized as a valid DateTime.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at Uber.HabboHotel.Users.Subscriptions.Subscription..ctor(String mType, String mActivated, Int32 mMonths, Int32 mItemsSelected) in C:\Users\Wichard\Habbo Developement\Uber\Uber\HabboHotel\Users\Subscriptions\Subscription.cs:line 76
at Uber.HabboHotel.Users.Subscriptions.SubscriptionManager.LoadSubscriptions() in C:\Users\Wichard\Habbo Developement\Uber\Uber\HabboHotel\Users\Subscriptions\SubscriptionManager.cs:line 145
at Uber.HabboHotel.Users.Habbo.LoadData() in C:\Users\Wichard\Habbo Developement\Uber\Uber\HabboHotel\Users\Habbo.cs:line 246
at Uber.HabboHotel.GameClients.GameClient.Login(String AuthTicket) in C:\Users\Wichard\Habbo Developement\Uber\Uber\HabboHotel\GameClients\GameClient.cs:line 89
at Uber.HabboHotel.GameClients.GameClient.HandleConnectionData(Byte[]& data) in C:\Users\Wichard\Habbo Developement\Uber\Uber\HabboHotel\GameClients\GameClient.cs:line 271
at Uber.Net.TcpConnection.DataReceived(IAsyncResult iAr) in C:\Users\Wichard\Habbo Developement\Uber\Uber\Net\TcpConnection.cs:line 204
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
When i load the hotel, i just see the background, the errors that the emulator gave are above.