Started by jamespetts, January 21, 2009, 12:20:03 AM
0 Members and 1 Guest are viewing this topic.
Quote from: tttron on February 17, 2009, 01:00:30 AMI've tested with the executable you linked earlier (http://simutrans-germany.com/~patches/download.php?file=sim-wingdi-replacing-r2260.zip) - the replacement does work with that one. Just to be sure, I started another game with your Experimental executable and the replacement still didn't work as described above. Did you try it for yourself with your executable?
dep->append_vehicle(self, veh, false);
# Insolvency and debt settings## These settings allow what happens when the player runs out of money and goes# into the red to be customised. ## "interest_rate_percent" is the annual interest rate (charged monthly) on all# overdraft debt (i.e., on all negative account balances). It can be between 0# and 255. # # "allow_bankruptsy" determines whether, when the player is deemed to have been# insolvent for more than a certain period, the player should be declared# bankrupt and the game over. 0 = no, 1 = yes.# # "allow_purchases_when_insolvent" determines whether, if the player's bank# balance falls below the player's credit limit (shown in the finance window),# the player will be unable to spend any new money on capital items (excluding# bulldozing) until the player has come back within the credit limit again.# 0 = no, 1 = yes.## To revert to the behaviour of Simutrans standard, set interest_rate_percent to# 0, set allow_bankruptsy to 1, and set allow_purchases_when_insolvent to 1.interest_rate_percent = 10allow_bankruptsy = 0allow_purhcases_when_insolvent = 0
Quote from: jamespetts on February 20, 2009, 01:17:34 PM... (I suspect that this might be what is causing Z9999's crashes).I have not fixed it yet, but will do for the next version.
QuoteSimutrans-Experimental.exe caused an Access Violation at location 00401be0 in module Simutrans-Experimental.exe Reading from location 000002a8.Registers:eax=0013e4e8 ebx=00000000 ecx=00000000 edx=000002a8 esi=00000028 edi=00000057eip=00401be0 esp=0013e4c4 ebp=0013e4c8 iopl=0 nv up ei pl nz na po nccs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000206Call stack:00401BE0 Simutrans-Experimental.exe:00401BE000485621 Simutrans-Experimental.exe:00485621004A24F5 Simutrans-Experimental.exe:004A24F5004A408F Simutrans-Experimental.exe:004A408F00450AF6 Simutrans-Experimental.exe:00450AF600450DF5 Simutrans-Experimental.exe:00450DF50047D8BF Simutrans-Experimental.exe:0047D8BF00471F00 Simutrans-Experimental.exe:00471F0000431AB9 Simutrans-Experimental.exe:00431AB97C817067 kernel32.dll:7C817067 RegisterWaitForInputIdle
QuoteSimutrans-Experimental.exe caused an Access Violation at location 0040924a in module Simutrans-Experimental.exe Reading from location 000002e4.Registers:eax=00000000 ebx=00000000 ecx=00000000 edx=00be6070 esi=0000007a edi=00000deeeip=0040924a esp=0013e4f4 ebp=0013e4f8 iopl=0 nv up ei pl nz na pe nccs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202Call stack:0040924A Simutrans-Experimental.exe:0040924A004A2361 Simutrans-Experimental.exe:004A2361004A408F Simutrans-Experimental.exe:004A408F00450AF6 Simutrans-Experimental.exe:00450AF600450DF5 Simutrans-Experimental.exe:00450DF50047D8BF Simutrans-Experimental.exe:0047D8BF00471F00 Simutrans-Experimental.exe:00471F0000431AB9 Simutrans-Experimental.exe:00431AB97C817067 kernel32.dll:7C817067 RegisterWaitForInputIdle