brenoepics / morningstar

An open-source Arcturus Community Fork.
GNU General Public License v3.0
3 stars 2 forks source link

Bug: 26598 loaded CatalogItems will disconnect client when open Catalog #264

Closed brenoepics closed 1 year ago

brenoepics commented 5 years ago

In GitLab by @HHtech on Oct 12, 2019, 11:56

When the CatalogManager has loaded > (more than) 26598 CatalogItems and you open the Catalog you will disconnect.

I already tested to add the line "statement.setFetchSize(1000);" after executing the query "SELECT * FROM catalog_items" in the CatalogManager.

I have disabled the CatalogPages with CatalogItems because they can't be loaded anymore. Apparently 26598 Catalog Items is the maximum.

This bug can be tested by adding 26599 CatalogItems.

Probably a solution (not tested) as I don't know where to find it:

the client will throw you out due to the swf's max message length. You can change this by disassembling the swf and manually editing the value. If I remember correctly, the class is named EvaWireFormat in production versions. source: http://forum.ragezone.com/f333/crash-catalog-inventory-plusemu-1141426/

brenoepics commented 4 years ago

In GitLab by @beny-archive on Dec 27, 2019, 15:29

Not related to the Emulator. There is a maximum packet size the client (swf) can handle. Reduce the amount of items in your catalog.

brenoepics commented 4 years ago

In GitLab by @beny-archive on Dec 27, 2019, 15:29

closed