Thanks :)
Printable View
Thanks :)
Update Revision 72:
Added more stable ~ 300 users
Added Battle Ball ~ I will fix it up soon
Added Close on Error ~ Use a re-starter and keep your hotel up for longer
Added New DB ~ All that SpazzLake use's
Added Friend list Crash Fix
Added A lot of other stuff ~ Most Stable Public Server (Flash)
delete that bb_ball thingie in the users table and code something better please cuz if you use that the registrer will fail and half of the cms will have errors.
in class.users.php
Find function Add replace that with:
function Add($username = '', $passwordHash = '', $email = 'default@localhost', $rank = 1, $figure = '', $sex = 'M')
{
dbquery("INSERT INTO users (username,password,mail,auth_ticket,rank,look,gender,motto,credits,activity_points,last_online,account_created) VALUES ('" . $username . "','" . $passwordHash . "','" . $email . "','','" . $rank . "','" . $figure . "','" . $sex . "','','5000','1000','','" . date('d-M-Y') . "','')");
$id = intval(mysql_result(dbquery("SELECT id FROM users WHERE username = '" . $username . "' ORDER BY id DESC LIMIT 1"), 0));
dbquery("INSERT INTO user_info (user_id,bans,cautions,reg_timestamp,login_timestamp,cfhs,cfhs_abusive) VALUES ('" . $id . "','0','0','" . time(). "','" . time() . "','0','0')");
return $id;
}
But still would be better if battleball was coded a bit differently :P
Put this fix into c# and into the DB ;)
http://forum.ragezone.com/f353/uberm...beremu-693880/
Nah, don't use that Welcome message thingie that mysql uses, That causes extra lagg :p
This one is better:
My edited Welcome message that uses the config :P
When I initialized appear error and closed the emulator :/ repair it Spazz :P
i have this error in 2 minutes:
how can i fix this?Code:ERROR Handler caught : System.ArgumentException: Value does not fall within the
expected range.
at Uber.HabboHotel.Items.MoodlightData..ctor(UInt32 ItemId) in C:\Users\Admin
istrator\Desktop\spazzemu\HabboHotel\Items\MoodlightData.cs:line 35
at Uber.HabboHotel.Rooms.Room.LoadFurniture() in C:\Users\Administrator\Deskt
op\spazzemu\HabboHotel\Rooms\Room.cs:line 628
at Uber.HabboHotel.Rooms.Room..ctor(UInt32 Id, String Name, String Descriptio
n, String Type, String Owner, Int32 Category, Int32 State, Int32 UsersMax, Strin
g ModelName, String CCTs, Int32 Score, List`1 Tags, Boolean AllowPets, Boolean A
llowPetsEating, Boolean AllowWalkthrough, Boolean Hidewall, RoomIcon Icon, Strin
g Password, String Wallpaper, String Floor, String Landscape) in C:\Users\Admini
strator\Desktop\spazzemu\HabboHotel\Rooms\Room.cs:line 293
at Uber.HabboHotel.Rooms.RoomManager.LoadRoom(UInt32 Id) in C:\Users\Administ
rator\Desktop\spazzemu\HabboHotel\Rooms\RoomManager.cs:line 253
at Uber.Messages.GameClientMessageHandler.PrepareRoomForUser(UInt32 Id, Strin
g Password) in C:\Users\Administrator\Desktop\spazzemu\Messages\Requests\Rooms.c
s:line 366
at Uber.Messages.GameClientMessageHandler.OpenFlat() in C:\Users\Administrato
r\Desktop\spazzemu\Messages\Requests\Rooms.cs:line 81
at Uber.Messages.GameClientMessageHandler.HandleRequest(ClientMessage Request
) in C:\Users\Administrator\Desktop\spazzemu\Messages\GameClientMessageHander.cs
:line 62
at Uber.HabboHotel.GameClients.GameClient.HandleConnectionData(Byte[]& data)
in C:\Users\Administrator\Desktop\spazzemu\HabboHotel\GameClients\GameClient.cs:
line 303
at Uber.Net.TcpConnection.RouteData(Byte[]& Data) in C:\Users\Administrator\D
esktop\spazzemu\Net\TcpConnection.cs:line 215
at Uber.Net.TcpConnection.DataReceived(IAsyncResult iAr) in C:\Users\Administ
rator\Desktop\spazzemu\Net\TcpConnection.cs:line 205
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback 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)
EDIT:FIXED
Me too
Another room fix released @ kekomundo!
Bye room error!
[ This isn't supposed as advertising, just to show users that's there's another fix released :P )
after a while I can no longer buy items that comes are duplicate entry :(
how can i fix that?
SVN is offline again
Some pages in cata gives a D/c, other than that i love it
I cant put online the emulator :/