-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Potential Bug]: a problem with sell offer prices #150
Comments
I poked around vanilla scripts for 10-15 minutes and I don't think they're using the faction discounts either. So far I do not see a simple scriptproperty that let's me pull the actual discount for a faction. I can find booleans to see if the player has any discount with a faction. I think there must be a way to actually find the player's modifier, I'm just not seeing it at the moment. |
Same here, couldn't find anything in .xml scripts. And I think it's useless to look for some bool flag. pricemodifiers = { I think the modifier level is bound to your reputation with a faction, but the actual modifier amount can be just anything. |
DeadAir seems to have done some digging into the md, but never got anything quite working |
I am going to make a post on the ego forums referencing this issue. |
Are you on 4.2 or 5.0 beta? |
First noticed it on 4.2, then switched to beta - same problem. |
We talking about AI not completing missions from stations?
Noticed that myself I have to be on command of a ship for say the mining
missions that say too go to X and find 30km of Y then mine Z
Mission won't complete unless I'm the pilot it also won't take into account
current cargo of Z so I need to dump some Z then pick up my own container
but otherwise it's pretty easy to cheese multiple of these in same sector
by dumping crew and taking more of the mission NPC to mine Z
…On Fri, 28 Jan 2022, 2:55 am Brian Hayden, ***@***.***> wrote:
https://forum.egosoft.com/viewtopic.php?f=180&t=444602
—
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFH3SZ3OETSGXQZUDDGY2SLUYFTFTANCNFSM5M5EGYPA>
.
You are receiving this because you were assigned.Message ID:
<Misunderstood-Wookiee/Mules-and-Warehouses-Extended/issues/150/1023362509
@github.com>
|
No, it's about traders ignoring profitable deals. Maybe I should summarize in a simplified form, it will also be better for people coming from forum. Please see the screenshot. An NPC station is selling Stimulants for 114.32 Cr.
My station wants to buy stimulants for 200 Cr. Well, mules / tater trader / probably default autotrader don't think so.
- is what they see. 246.92 Cr. Depending on market situation, your station may sit forever waiting for supplies as you can't rise the price above a certain limit. You also can't manually set prices for drones/amunnition supplies. |
So they ingore trade bonuses?
…On Fri, 28 Jan 2022, 4:02 pm lznoob, ***@***.***> wrote:
No, it's about traders ignoring profitable deals.
Maybe I should summarize in a simplified form, it will also be better for
people coming from forum.
Please see the screenshot
<https://steamuserimages-a.akamaihd.net/ugc/1814389504777129966/A8AD87EAC707DCF0DA20511FB5F17C8C8D7ED00E/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false>
.
An NPC station is selling Stimulants for 114.32 Cr.
This number already includes 3 modifiers:
- high supply -27%, self-explainory
- partnership agreement -27%, comes from my reputation with PIO
faction (atleast google says so)
- VIP customer -11%, from hacking a trade terminal in the station's
engineering section
My station wants to buy stimulants for 200 Cr.
It's a good deal, right?
Well, mules / tater trader / probably default autotrader don't think so.
PIO Stimulants Lab I (MFZ-558) wants to sell 4914 Stimulants for 24692
(-0.497754)
- is what they see. 246.92 Cr.
It comes from average ware price, which is 340 Cr and high supply price
modifier:
340 * (1 - 0.27) = 248.2
Depending on market situation, you station may sit forever waiting for
supplies as you can't rise the price above a certain limit. You also can't
manually set prices for drones/amunnition supplies.
—
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFH3SZYZBKLQB47CJWRUTN3UYIPONANCNFSM5M5EGYPA>
.
You are receiving this because you were assigned.Message ID:
<Misunderstood-Wookiee/Mules-and-Warehouses-Extended/issues/150/1023889025
@github.com>
|
Yes, <find_sell_offer> only includes low/high supply modifier, not the others (I can't call it a bonus since it can also increase the price). And as I said before, only <find_sell_offer> is affected. |
haven't seen any update from ego on this |
IIRC, it doesn't actually ignore the other bonuses. Those are (or were) applied in the backend code itself instead of the scripts (granted it's been ~2 years since I was last mucking around in trade scripts so who knows what's changed). |
A new game start (Project Genesis), Brennan's Triumph sector, partially explored. Other extensions: terran/split DLCs, cheat menu.
Using a cheat menu:
In the map trade overlay I can see:
After setting up a supply mule, I can see these lines in debug logs:
It seems that find_sell_offer does not take into account a faction reputation modifiers:
50.66 / 50 = 1.0132, 1.32% modifier from high supply only.
I've seen the same behaviour with different modifiers and with different wares, so I'm sure that 1.32% here and 2% shown in game (rounded-up) are the same.
Just to clarify:
The text was updated successfully, but these errors were encountered: