Re: Haggle In world trade twx 2.05
Comet wrote:
Getting this line frequently.
them for 1,152 credits.
Your offer [Script run-time error in 'HAGGLE': '' is not a number, line 223
Script terminated: scripts\2_worldtrade.ts
Anyone know what could be causing it? I've never been fine tuned for scripts.
TWGS V 2.20B
Quest TWGS is what it's on.
That looks like the getword or cuttext command did not get the number
or the settexttrigger was not set to grab after the target number.
One other thing it could be , is when it grabs a number it did not have a striptext (variable) ","
so that 1,250 would be a number 1250
Without seeing the actual code I can only offer ideas based on the error shown.
Hope this helps.
If you have the .ts script of the file your running , I'll fix it for you.
But my guess is that its the haggle routeen in your includes that has the erroneous code.
I may have fixed this a few years back.
If you want to try my .cts to see if you have same issue ?
Attachment:
File comment: This is the .cts I use.
2_WorldTrade.cts [73.33 KiB]
Downloaded 568 times
Vid Kid/CareTaker