Jump to content

Ship Vendor Save Problems

Pending 1.0.7

WorldEnder
WorldEnder

Posted

I've placed some ship vendors on my map but when I got to around #9 I had a couple problems. One problem was that one of the NPCs wouldn't let me view the available ships tabs yet all the other ones were fine. I tried reloading plugin, restarting server, removing vendor with remove tool and reloading and it still wouldn't let me access that tab. I also don't know how to actually delete a vendor so its gone gone, so if you could please tell me how to do that as well that would be great because all I was able to do was get it to go under the map but it even wanted to fight me doing that and which was my next problem, that my 9th, 10th and 11th vendors gave me so much trouble getting them to /ship vendor save where I  /ship vendor move them. As of right now I have the 10th vendor jumping around the map every time I save no matter where I try to save it. I did get it to stay a couple times somehow but it wasn't placed where I wanted exactly so I regretfully moved it. Right not I cant get it to stay no matter what, and I don't know how to delete the vendor so I can try again and also get rid of the half broken vendor. Thanks.

MeventSupport

Posted

38 minutes ago, WorldEnder said:

I've placed some ship vendors on my map but when I got to around #9 I had a couple problems. One problem was that one of the NPCs wouldn't let me view the available ships tabs yet all the other ones were fine. I tried reloading plugin, restarting server, removing vendor with remove tool and reloading and it still wouldn't let me access that tab. I also don't know how to actually delete a vendor so its gone gone, so if you could please tell me how to do that as well that would be great because all I was able to do was get it to go under the map but it even wanted to fight me doing that and which was my next problem, that my 9th, 10th and 11th vendors gave me so much trouble getting them to /ship vendor save where I  /ship vendor move them. As of right now I have the 10th vendor jumping around the map every time I save no matter where I try to save it. I did get it to stay a couple times somehow but it wasn't placed where I wanted exactly so I regretfully moved it. Right not I cant get it to stay no matter what, and I don't know how to delete the vendor so I can try again and also get rid of the half broken vendor. Thanks.

Hey! That one NPC most likely got created with a currency ID that doesnt exist in your config. When you run /ship vendor create 1 or whatever number, it writes that straight into the vendor without checking, and if there is no currency with that ID the ships tab just fails to draw. Open the config, find that bot in "Bots" and set its "Currency ID" to one that actually exists in the "Currencies" section (by default thats 0), then reload. Worth peeking at the server console when you click the tab too, youll see the error there.

 

So theres no delete command for vendors right now, thats why nothing you tried worked. The NPCs arent saved by the server, the plugin respawns them from the config every load, so killing or burying them does nothing. Just open the config, find the vendor in the "Bots" list and either remove that whole block or set its "Enabled" to false, then reload the plugin. Use /ship vendor list first, the number in brackets is the position in that list so you know which one to pull.

 

The jumping vendor is a real bug on our side. Positions are stored relative to a monument, and when you move the NPC it saves the offset against the monument youre standing at, but on reload it spawns at the first monument on the map with the same name. So if your map has two or three harbors or fishing villages, the vendor pops out at a different copy of it, which looks totally random. Were fixing it so it picks the right one. For now the only reliable spots are monuments that exist once on the map like outpost, bandit camp, launch site.

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
3.1m
Total downloads
Customers
12.1k
Customers served
Files Sold
171.3k
Total sales
Payments
3.7m
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.