Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Quote:
Originally Posted by
Matata
I do believe that it is because of your furnidata.
The hotel Sledmore is currently developing for, got horses working perfectly. And they're using PlusEMU.
Correct the horses are working on there and do in Swift by default, it is the saddles that need changing in the furnidata. Here is the furnidata we are using for saddles:
Code:
["s","4221","horse_saddle1","45508","0","1","1","","Horse Saddle","Saddle is required to ride your horse, and makes a nice decoration for","","248669","10493","true","-1","-1","false","15 4 9 0 77","16"]
Also, incorrect. That hotel is using Swift with a lot of fixes. Here is a fix for the effects inventory:
- Open up the emulator.
- Go to AvatarEffectsInventoryComponent.cs
- Find 'internal ServerMessage Serialize()'
- Under 'message.AppendInt32(effect.EffectId);'
- Add 'message.AppendInt32(1);'.
- Debug the emulator.
Also, you should change how you serialize the effects inventory. If you want to, do the following:
- Go to GameClientMessageHandler.cs
- Find 'internal void GetWardrobe()'
- Remove 'Session.GetHabbo().GetAvatarEffectsInventoryComponent().Serialize();'
- Next go to GameClient.cs
- Find 'ServerMessage message7 = new ServerMessage(Outgoing.bools1);'
- Just above it add the following: 'SendMessage(GetHabbo().GetAvatarEffectsInventoryComponent().Serialize());'.
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Quote:
Originally Posted by
Sledmore
Correct the horses are working on there and do in Swift by default, it is the saddles that need changing in the furnidata. Here is the furnidata we are using for saddles:
Code:
["s","4221","horse_saddle1","45508","0","1","1","","Horse Saddle","Saddle is required to ride your horse, and makes a nice decoration for","","248669","10493","true","-1","-1","false","15 4 9 0 77","16"]
Also, incorrect. That hotel is using Swift with a lot of fixes. Here is a fix for the effects inventory:
- Open up the emulator.
- Go to AvatarEffectsInventoryComponent.cs
- Find 'internal ServerMessage Serialize()'
- Under 'message.AppendInt32(effect.EffectId);'
- Add 'message.AppendInt32(1);'.
- Debug the emulator.
Also, you should change how you serialize the effects inventory. If you want to, do the following:
- Go to GameClientMessageHandler.cs
- Find 'internal void GetWardrobe()'
- Remove 'Session.GetHabbo().GetAvatarEffectsInventoryComponent().Serialize();'
- Next go to GameClient.cs
- Find 'ServerMessage message7 = new ServerMessage(Outgoing.bools1);'
- Just above it add the following: 'SendMessage(GetHabbo().GetAvatarEffectsInventoryComponent().Serialize());'.
Can you explain a little better? I do not understand
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Quote:
Originally Posted by
Sledmore
Correct the horses are working on there and do in Swift by default, it is the saddles that need changing in the furnidata. Here is the furnidata we are using for saddles:
Code:
["s","4221","horse_saddle1","45508","0","1","1","","Horse Saddle","Saddle is required to ride your horse, and makes a nice decoration for","","248669","10493","true","-1","-1","false","15 4 9 0 77","16"]
Also, incorrect. That hotel is using Swift with a lot of fixes. Here is a fix for the effects inventory:
- Open up the emulator.
- Go to AvatarEffectsInventoryComponent.cs
- Find 'internal ServerMessage Serialize()'
- Under 'message.AppendInt32(effect.EffectId);'
- Add 'message.AppendInt32(1);'.
- Debug the emulator.
Also, you should change how you serialize the effects inventory. If you want to, do the following:
- Go to GameClientMessageHandler.cs
- Find 'internal void GetWardrobe()'
- Remove 'Session.GetHabbo().GetAvatarEffectsInventoryComponent().Serialize();'
- Next go to GameClient.cs
- Find 'ServerMessage message7 = new ServerMessage(Outgoing.bools1);'
- Just above it add the following: 'SendMessage(GetHabbo().GetAvatarEffectsInventoryComponent().Serialize());'.
works, but to see the effect I have to reboot the client
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Quote:
Originally Posted by
ResD
Can you explain a little better? I do not understand
It is the best I can do really, sorry.
Quote:
Originally Posted by
vicancer
works, but to see the effect I have to reboot the client
Strange, its fine for me - you could add:
'SendMessage(GetHabbo().GetAvatarEffectsInventoryComponent().Serialize());'
back to GetWardrobe, but check if its null first by doing something like:
PHP Code:
if (this.GetHabbo().GetAvatarEffectsInventoryComponent() != null)
SendMessage(GetHabbo().GetAvatarEffectsInventoryComponent().Serialize());
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
1-The pets when I give a lot of orders, you go outside the room and clears the pet inventory.
2-No the caresses account
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Quote:
Originally Posted by
Sledmore
Correct the horses are working on there and do in Swift by default, it is the saddles that need changing in the furnidata. Here is the furnidata we are using for saddles:
Code:
["s","4221","horse_saddle1","45508","0","1","1","","Horse Saddle","Saddle is required to ride your horse, and makes a nice decoration for","","248669","10493","true","-1","-1","false","15 4 9 0 77","16"]
Also, incorrect. That hotel is using Swift with a lot of fixes. Here is a fix for the effects inventory:
- Open up the emulator.
- Go to AvatarEffectsInventoryComponent.cs
- Find 'internal ServerMessage Serialize()'
- Under 'message.AppendInt32(effect.EffectId);'
- Add 'message.AppendInt32(1);'.
- Debug the emulator.
Also, you should change how you serialize the effects inventory. If you want to, do the following:
- Go to GameClientMessageHandler.cs
- Find 'internal void GetWardrobe()'
- Remove 'Session.GetHabbo().GetAvatarEffectsInventoryComponent().Serialize();'
- Next go to GameClient.cs
- Find 'ServerMessage message7 = new ServerMessage(Outgoing.bools1);'
- Just above it add the following: 'SendMessage(GetHabbo().GetAvatarEffectsInventoryComponent().Serialize());'.
Thought you were running PlusEMU, assuming you were developing for HabPlus.
Thanks for the fix tho.
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Good evening, I still prefers to swit because I do not want to redo my Databass! Someone is how to have the same profile PLus Emu? Because it is really good :)
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Quote:
Originally Posted by
Matata
Thought you were running PlusEMU, assuming you were developing for HabPlus.
Thanks for the fix tho.
I didn't do a whole lot on PlusEMU V4 wouldn't use it due to the respect I have for Tom and Michael or give it out, so I'm just going to work on Swift and update it I guess.
And you're welcome.
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Quote:
Originally Posted by
Zayn17
This EMU has some disgusting lag, I've fixed backdoors and everything but the lag is the only issue and I don't know how to sort it... Any idea anyone?
As stated, your lag is designed by MySQL, someone can help you set up ideally MySQL
EDIT¹:
Personally lately got this error when you click a group, and it does not open.
GUILD PROCESS THREAD ERROR
Code with this error:
PHP Code:
try
{
message = new ServerMessage(Outgoing.SendAdvGroupInit);
message.AppendInt32(guild.Id);
message.AppendBoolean(false);
message.AppendInt32(guild.Type);
message.AppendString(guild.Name);
message.AppendString(guild.Description);
message.AppendString(guild.Image);
message.AppendInt32(data.Id);
message.AppendString(data.Name);
if (guild.Petitions.Contains((int)this.Session.GetHabbo().Id))
{
// Console.WriteLine((guild.Petitions.Contains((int)this.Session.GetHabbo().Id)).ToString());
message.AppendInt32(2);
}
else if (!this.Session.GetHabbo().ImGuilds.Contains(guild.Id))
{
message.AppendInt32(0);
}
else if (this.Session.GetHabbo().ImGuilds.Contains(guild.Id))
{
message.AppendInt32(1);
}
message.AppendInt32(guild.Members.Count);
message.AppendBoolean(false);
message.AppendString(guild.DateCreated);
message.AppendBoolean(this.Session.GetHabbo().Id == guild.OwnerId);
if (this.Session.GetHabbo().ImGuilds.Contains(guild.Id))
{
if (guild.GuildRanks[(int)this.Session.GetHabbo().Id] < 2)
message.AppendBoolean(true);
else message.AppendBoolean(false);
}
else message.AppendBoolean(false);
message.AppendString(guild.OwnerName);
message.AppendBoolean(true);
message.AppendBoolean(true);
message.AppendInt32(guild.Members.ContainsKey((int)this.Session.GetHabbo().Id) ? guild.Petitions.Count : 0);
this.Session.SendMessage(message);
}
catch(Exception ex)
{
Butterfly.Core.Logging.LogThreadException(ex.ToString(), "GUILD PROCESS THREAD ERROR: ");
}
In log error:
Quote:
Error in thread GUILD PROCESS THREAD ERROR: :
TokenID: 0System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Butterfly.Messages.GameClientMessageHandler.EndConfirmBuy()
I tried to fix it, and no success...
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
It would be a good idea,
if someone could post the least emulator with every fix that's been posted so far.
for the noobs.
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Please post fix for backdoors..
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Quote:
Originally Posted by
neto737
Please post fix for backdoors..
what backdoors? Explain please.
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Quote:
Originally Posted by
Redirected
what backdoors? Explain please.
In Swift emulator has many backdoors SQL Injection ..
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Quote:
Originally Posted by
neto737
In Swift emulator has many backdoors SQL Injection ..
There are 2, the navigator search:ownername and marketplace.
Re: [SwiftEmu] Fix's for NewCrypto! [UPDATED 01/08]
Quote:
Originally Posted by
zJordan
There are 2, the navigator search:ownername and marketplace.
You have the fixes for these backdoors?