Jump to content

[Temp Fix] Corrected Smuggler Market Script


Dahak

Recommended Posts

Its me again, with another quick patchjob.

 

Smugglers Markets would crash with more than 14 types of stolen goods on board, due to their coding. Correcting their coding causes a crash with more than 15, as the base script it inherits from only has 15 buy lines.

 

I fixed this by adding pages identical in function to the trading upgrade.

 

An additional bug fixed is that while stations buy for 15%, it was displaying 25% price.

 

This does not fix the bug where the station buys nonstolen goods first, unfortunately. I can do that, but I haven't yet since it requires a serverside script change, and I don't have access to that on the server I play on, so don't feel like messing with it at the moment.

 

The bug report thread is here.

smugglersmarket.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...