Hello I have a few problems and problems are always coming up so I decided to put all my problems in this thread and hopefully you guys can help :)
Thanks
1.Everytime I add furni to my retro, the cata page I put it in disconnects when I look at it, what is the problem
here?
2. I cannot plant seeds, I can buy them and place them but they do not plant in the ground.
3. how to make a votingapi for illumcms?
I will post anymore problem I come across any help is much appreciated.
06-11-13
The General
Re: Help with various fixes
1: probably some incorrect packet header.
2: DNS gets updated once in a while. Changes arent immediately in effect.
3: Its not coded.
4: You need to edit the swf. You can do that with trillix or any other flash decompiler.
06-11-13
Chase Bergroth
Re: Help with various fixes
1. Any idea on how I would fix this? could I download a nice dice , just the swf and sql?.
2. Ive waited overnight, it will change and work maybe for a few hours, longest was about 16 hours and then it will revert back to root when I go to the Next Hotel - Make friends, join the fun, get noticed!, when I have it set to my IP it works fine but it says the ip in the address.
3.would you know anywhere I could find this?
4.Is that the habbo.swf? I have a decompiler.
06-11-13
Japaojp
Re: Help with various fixes
[SWIFT] FIX FOR DICE:
Find it in incoming.cs
Code:
Incoming.RunDice = 29;
And replace for:
Code:
Incoming.RunDice = 22;
And bump! Dices work :D
06-11-13
Chase Bergroth
Re: Help with various fixes
I have tried this fix and it seemed to do nothing.. I will try it again haha,.
06-11-13
Gaby
Re: Help with various fixes
Quote:
Originally Posted by Chase Bergroth
I have tried this fix and it seemed to do nothing.. I will try it again haha,.
You need to debug the emulator with visual c#.
06-11-13
Chase Bergroth
Re: Help with various fixes
Sounds difficult, how do I go about this? If I have never done it would I be able to do it and how?
07-11-13
Gaby
Re: Help with various fixes
Quote:
Originally Posted by Chase Bergroth
Sounds difficult, how do I go about this? If I have never done it would I be able to do it and how?
Open your emulator with visual c#, do Japaojp's fix and then click on debug.
There's nothing wrong with your swfs and database, you need to edit your emulator. If you still don't understand me, please just use phoenix.
07-11-13
Chase Bergroth
Re: Help with various fixes
yeah i understand that, just not sure on what japaojps's fix is, the link i posted is labeled swift fixes but its swfs and db thats why i was confused for a minute
07-11-13
Japaojp
Re: Help with various fixes
My fix is for your emulator.
Open with visual studio your source project of emulator and find the file incoming.cs
After, do what I say in the thread. After this, debug, pressing F5!
I can't explain better than this..
08-11-13
Chase Bergroth
Re: Help with various fixes
EDIT:ill get back to you soon i didnt see the fix posted earlier sorry.
08-11-13
Chase Bergroth
Re: Help with various fixes
ok ive opened up the project with visual c# I cant find how to get to incoming.cs in the visual editor unless i open it i have opened it and tried changed what I need, but I cannot debug.
also how can i make a votingapi for illuminaCMS>
08-11-13
Japaojp
Re: Help with various fixes
Please, print your errors.
08-11-13
Chase Bergroth
Re: Help with various fixes
I am not getting any errors, I have opened the source up with visual c#, I opened the incoming.cs to change the dice line, then I went back to visual c# and it wont let me debug it is grayyed out.
With any changes to the .cs files do you need to debug?
08-11-13
Japaojp
Re: Help with various fixes
Yes, do you. Grayed? Print it, I can't understand u.
08-11-13
Chase Bergroth
Re: Help with various fixes
Sorry I was opening the wrong c# file, I have noe debugged and it has gone to opening up my emulator, is this all that needs to be done?
thankyouvery much I got the gates and dice working now:D
now I have these problems left at the moment.
1.Everytime I add furni to my retro, the cata page I put it in disconnects when I look at it, what is the problem
here?
2. I cannot plant seeds, I can buy them and place them but they do not plant in the ground.
3. how to make a votingapi for illumcms?
4. gifts dont work
08-11-13
Japaojp
Re: Help with various fixes
1 - IDK
2 - Not coded
3 - IDK what are you talking about, but I don't think I know it
4 - Not coded - I have it, but isn't a good fix
08-11-13
Chase Bergroth
Re: Help with various fixes
1. any ideas on what could cause this?
2. do you know anywhere I can get the coding for this? or lost cause?
3. Voting APIs are for voting for retro lists when you open the client
4. I have found this fix but in the first lot in catalog.cs I cant find excatly which one he wants me to change i have 2, i have tried them both and they dont seem to work so im not sure what im doing wrong.
Spoiler:
In: Catalog.cs Click in "EDIT" -> Go to... and digit: 1144, press Ok.
Search for: if (IsGift)
And, replace all if by:
using (adapter = ButterflyEnvironment.GetDatabaseManager().getQueryreactor())
{
adapter.runFastQuery(string.Concat(new object[] { "UPDATE items SET base_id = '", row["item_id"], "' WHERE item_id = ", item.Id }));
adapter.setQuery(string.Concat(new object[] { "UPDATE items_extradata SET data = '" + row["extradata"] + "' WHERE item_id = " + item.Id }));
adapter.addParameter("extradata", row["extradata"]);
adapter.runQuery();
adapter.runFastQuery("DELETE FROM user_gifts WHERE gift_id = " + item.Id);
}
string s = item.GetBaseItem().Type.ToString().ToLower();
string extraData = row["extradata"].ToString();
item.BaseItem = Convert.ToUInt32(row["item_id"]);
item.refreshItem();
item.ExtraData = extraData;
if (!room.GetRoomItemHandler().SetFloorItem(this.Session, item, item.GetX, item.GetY, item.Rot, true, false, true))
{
this.Session.SendNotif("Failed to create your gift!");
}
else
{
this.Response.Init(Outgoing.OpenGift);
this.Response.AppendString(item2.Type.ToString());
this.Response.AppendInt32(item2.SpriteId);
this.Response.AppendString(item2.Name);
this.Response.AppendInt32(item.Id);
this.Response.AppendString(s);
this.Response.AppendBoolean(true);
this.Response.AppendString(extraData);
this.SendResponse();
}
}
else
{
room.GetRoomItemHandler().RemoveFurniture(this.Session, item.Id);
using (adapter = ButterflyEnvironment.GetDatabaseManager().getQueryreactor())
{
adapter.runFastQuery("DELETE FROM user_gifts WHERE gift_id = " + item.Id);
}
this.Session.GetMessageHandler().GetResponse().Init(Outgoing.SendPurchaseAlert);
this.Session.GetMessageHandler().GetResponse().AppendInt32(1);
int i = 2;
if (item2.Type.ToString().ToLower().Equals("s"))
{
if (item2.InteractionType == InteractionType.pet)
{
i = 3;
}
else
{
i = 1;
}
}
this.Session.GetMessageHandler().GetResponse().AppendInt32(i);
List<UserItem> list = ButterflyEnvironment.GetGame().GetCatalog().DeliverItems(this.Session, item2, (int)row["amount"], (string)row["extradata"], 0, 0);
this.Session.GetMessageHandler().GetResponse().AppendInt32(list.Count);
foreach (UserItem item3 in list)
{
this.Session.GetMessageHandler().GetResponse().AppendInt32(item3.Id);
}
this.Session.GetMessageHandler().SendResponse();
this.Session.GetHabbo().GetInventoryComponent().UpdateItems(true);
//this.Session.GetMessageHandler().GetResponse().Init(Outgoing.UpdateInventary);
//this.Session.GetMessageHandler().SendResponse();
}
}
}
}
this.Session.GetMessageHandler().GetResponse().Init(Outgoing.UpdateInventary);
this.Session.GetMessageHandler().SendResponse();
To enable the gift purchase, edit this:
In Incoming.cs,
Search by: Incoming.PurchaseGift = 0x0901
Replace by: Incoming.PurchaseGift = 0x0900
For the present don't bug stay in inventory and when placing it on the ground, do this:
In: GameClientMessageHandler.cs, Search by: internal void PlaceItem()
And, replace all void PlaceItem, by: