Error buy Group Forum

olamundo

Member
Mar 2, 2017
50
0
When I buy a group forum it gives this error, does anyone know how to solve it?
01:29:55 - [ERROR] Exception:
System.FormatException: The input string was not in a correct format.
em System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
em System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
em System.Convert.ToInt32(String value)
em Plus.Communication.Packets.Incoming.Catalog.PurchaseFromCatalogEvent.Parse(GameClient Session, ClientPacket Packet) na C:\Users\User\Desktop\Plus Emulator - Release 2\Emulator Source\Communication\Packets\Incoming\Catalog\PurchaseFromCatalogEvent.cs:linha 268
em Plus.Communication.Packets.PacketManager.TryExecutePacket(GameClient Session, ClientPacket Packet) na C:\Users\User\Desktop\Plus Emulator - Release 2\Emulator Source\Communication\Packets\PacketManager.cs:linha 154
em Plus.HabboHotel.GameClients.GameClient.parser_onNewPacket(ClientPacket Message) na C:\Users\User\Desktop\Plus Emulator - Release 2\Emulator Source\HabboHotel\GameClients\GameClient.cs:linha 66
 

Damien

Don't need glasses if you can C#
Feb 26, 2012
434
647
Getting sick and tired of posting this now, search the forums I've posted this fix more than one.

The problem is located in the purchase event. I'm going to take a guess and say you haven't defined the extradata for the group forums interaction type, thus having it reset to an empty string by default. This causes an error due to the fact the extradata is used for the groupId, since the extradate is being reset that's why it's giving you the nasty error. But how do I go about fixing this? Simple. In PurchaseFromCatalogEvent.cs look for where the other group interactions are located, and add the group forums one into the case.

mF2NyJKmSva_rT_HURFffA.png


should be InteractionType.GUILD_FORUM:
 

Users who are viewing this thread

Top