What do you mean?
Printable View
Yes, An old version. What made you decide that? Just curious(Y)
Because no emulator hasn't been made for R35 flash (no good complete one). The one that was far completed (Hebbo's CachingVB6) is vb6 (one thing) and is down (at least, no database is downloadable as it's lost). As for V9, the only good emulator is Thor which was still unfinished and uses MsSQL.
http://i.imgur.com/aJkpjSL.png
http://i.imgur.com/hCG3Q45.png
Alright, since I was up pretty early I decided to do some shit on my emulator. Few things changed:
- Using C# 7.0 now, which means
Is now changed toPHP Code:Item item;
if (items.TryGetValue(itemId, out item))
Which looks much cleaner in my opinion.PHP Code:if (items.TryGetValue(itemId, out Item item))
Also, a new packet is added:
PHP Code:class MyRoomsSearchMessageEvent : IPacketEvent
{
public void Run(Client client, MessageEvent msgEvent)
{
client.SendComposer(new GuestRoomSearchResultComposer(msgEvent.ReadVL64(), 5, "", NavigatorController.GetInstance().GetRoomsByOwner(client.Player.Id)));
}
}
Not everything is done yet but it's starting to look okay. Also @The General maybe this weekend I'll do the room entry so you can be happy ;-)PHP Code:using AuroraEmu.Game.Rooms;
using System.Collections.Generic;
namespace AuroraEmu.Network.Game.Packets.Composers.Navigator
{
class GuestRoomSearchResultComposer : MessageComposer
{
public GuestRoomSearchResultComposer(int tab1, int tab2, string search, List<Room> rooms)
: base(451)
{
AppendVL64(tab1);
AppendVL64(tab2);
AppendString(search);
AppendVL64(rooms.Count);
foreach(Room room in rooms)
{
SerializeRoom(room);
}
}
public void SerializeRoom(Room room)
{
AppendVL64(room.Id);
AppendVL64(false); // events
AppendString(room.Name);
AppendString(room.Owner);
AppendVL64((int)room.State);
AppendVL64(7);
AppendVL64(0);
AppendString(room.Description);
AppendVL64(0);
AppendVL64(false); // can trade
AppendVL64(0); // score
AppendVL64(0); // tags
AppendString(room.Icon, 0);
}
}
}
Also, if anybody knows stuff about R35 or want to help editing SWF add me on Skype: mr.josh.97
Or join my discord: https://discordapp.com/channels/320626401185366016 in where I'll be available most of the time (chances are that I'll answer faster there though).
Screen for the navigator:
http://i.imgur.com/zmiuOVr.png
[QUOTE=u20;8794806]Try
Didn't work butPHP Code:ALTER TABLE players ADD online ENUM('0') NOT NULL DEFAULT;
did work.PHP Code:ALTER TABLE players MODIFY online ENUM('1','0') NOT NULL DEFAULT '0';
http://i.imgur.com/qcCKZ67.png
PHP Code:class GetRoomEntryDataMessageEvent : IPacketEvent
{
public void Run(Client client, MessageEvent msgEvent)
{
client.SendComposer(new UsersMessageComposer(client.LoadingRoom.Actors.Values));
client.LoadingRoom.AddActor(client);
client.CurrentRoom.SendComposer(new UsersMessageComposer(client.RoomActor));
}
}
PHP Code:public UsersMessageComposer(RoomActor actor)
: base(28)
{
AppendVL64(1);
SerializeActor(actor);
}
public UsersMessageComposer(ICollection<RoomActor> actors)
: base(28)
{
AppendVL64(actors.Count);
foreach(RoomActor actor in actors)
{
SerializeActor(actor);
}
}
private void SerializeActor(RoomActor actor)
{
AppendVL64(actor.Client.Player.Id);
AppendString(actor.Client.Player.Username);
AppendString(actor.Client.Player.Motto);
AppendString(actor.Client.Player.Figure);
AppendVL64(actor.VirtualID);
AppendVL64(actor.X);
AppendVL64(actor.Y);
AppendString(actor.Z.ToString());
AppendVL64(actor.Rotation);
AppendVL64(1); // TODO: BOTs, PETs etc.
AppendString(actor.Client.Player.Gender);
AppendVL64(5); // xp not used in flash...
AppendVL64(-1);
AppendVL64(-1);
AppendString(""); // pool figure
}
http://i.imgur.com/LOnyWlE.png
http://i.imgur.com/fyQOYjf.png
A little note: I think the history int is used for the navigator history. In R35 navigator there was a history. If you clicked through tabs, you had a button that would you take back to the previous tab you clicked. Useless in my opinion, but certainly cool.PHP Code:public PopularRoomTagsResultComposer(int history, ICollection<RoomCategory> categories)
:base(452)
{
AppendVL64(history);
AppendVL64(categories.Count);
foreach (RoomCategory category in categories.OrderBy(x => x.PlayersInside))
{
AppendString(category.Name);
AppendVL64(category.PlayersInside);
}
}
@Glaceon I'm really excited with this development.
GitHub already?
Omg so amazing, some beta?
There's a Github already, but it's private.
No BETA yet until more features are finished. It depends on how much I code from day to day, I can't guarantee a BETA date yet... though I hope one can be put online in around 2/3 months.
Very great work ! I like it ! :D
I have something about Shockwave ! A little utility, who work like Bittorent/uTorrent when i click on a magnet link (Enter on hotel).
With this, you must install a little silent utility and when you click on the "Enter>>", a new beautiful popup is displayed with hotel ! But i haven't finish this...
But i thinks it's a really good solution !
No updates for the week, I'll definitely post some next weekend. I have my last week of my internship and got some work left to do for school. Also, #rip to my subscription, it was fun while it lasted... now I'm just another Alpha Male (wonders me, is there an Alpha Female??)
If there's anybody who wants to help I'll maybe put git on public soon but I don't know yet. You can always hit me up if you want to help.
I hope y'all have a wonderful week.
Sounds interesting, but the thing is that the "install something for a hotel" thing is all what really matters.