Jump to content

Not Able to Edit or Search

Closed 2.11.4 2.11.5

Ladie_M
Ladie_M

Posted

Just purchased today. When in GUI to change vendor name and add items, it does not save vendor name. I am also unable to search for items. The entire section just clears out. I followed the video, but when typing in wood, it shows nothing and autmoatically repopulates the word "Text" in the search bar.

tofurahie

Posted

1 hour ago, Ladie_M said:

Just purchased today. When in GUI to change vendor name and add items, it does not save vendor name. I am also unable to search for items. The entire section just clears out. I followed the video, but when typing in wood, it shows nothing and autmoatically repopulates the word "Text" in the search bar.

can you send me your current data and config

The_X_

Posted

@tofurahie

I’m having the exact same problem; the old NPCs work perfectly, but the new ones:
1) Have strange names.
2) Return an empty result for any search query entered.

Plus other errors.

At first glance, it looks like the issue stems from the new `Facepunch.StringView` introduced in this patch. Most likely, the commands behind the interface aren't executing correctly because of that `StringView` in the arguments

.1483247496_.png.212b3a448e6739414e1ca01ee1e3dae5.png

The_X_

Posted

I can confirm that in UI_NpcShop, you are using `string.Join(...., arg.Args, ...)` to pass data to submodules.
In previous wipes, it held a `string[]`, but in this one, it's `Facepunch.StringView[]`. They added this new type but didn't provide proper extension methods for all the functions where it's used.

I opted for a workaround: `arg.Args.Select(x => x.ToString()).ToArray()`

tofurahie

Posted

Changed Status from Pending to Closed

Changed Fixed In to 2.11.5

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.7m
Total downloads
Customers
11.5k
Customers served
Files Sold
164.4k
Total sales
Payments
3.6m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.