Page 1 of 1

Major FF bug

Posted: 04 Nov 2007, 00:30
by Tobi
I have no clue who is currently working on FF and Mad FF, but it contains a major timebomb bug that may be triggered sometime:

The modinfo.tdf of those mods defines a circular dependency:

the mods depends on tatextures.sdz AND the mod replaces tatextures.sdz

Now luckily for them it currently doesn't matter much because tatextures_v062.sdz, which replaces tatextures.sdz too, is included by default with Spring. This overrides their faulty replacement.

However, removing tatextures_v062.sdz from your Spring install and regenerating ArchiveCacheV*.txt currently breaks A LOT of seemingly unrelated mods for anyone who has FF or Mad FF installed.

I've added a simple circular dependcy check so Spring doesn't crash anymore but it's still a fatal error and I am not going to change that.

Posted: 04 Nov 2007, 00:43
by AF
This knock on effects of this issue could lock up the multi player lobbies and tools such as SpringSP.

OMG

Posted: 01 Dec 2007, 09:13
by Kovin
Mae culpa, mae maxima culpa...
So, what is the best way to fix the problem? I will do it ASAP. If it is already in Final Frontier, we probably inherited it, but it's not an answer, we have to fix it, so, what's the best way?
I can upload new versions of FF and Mad FF with bugfix.

Posted: 01 Dec 2007, 09:30
by REVENGE
...

shiit.

:lol:

My sincere apologies to anyone I might have affected. I'm not sure how this happened, but it will be fixed. In the meantime, delete Mad FF if you have related problems.

How it happened

Posted: 01 Dec 2007, 09:54
by Kovin
REVENGE wrote:...

shiit.

:lol:

My sincere apologies to anyone I might have affected. I'm not sure how this happened, but it will be fixed. In the meantime, delete Mad FF if you have related problems.
We simply inherited it becase I started Mad FF from FF 1.21, which contains this error, as I written above. Unfortunately we haven't noticed it as an error - and because I changed this file quite often, blame me. I hope no one will be affected. I mean... FF is around quite a long time, and I haven't seen any errors myself.
But I also haven't deleted tatextures.sdz, that's it.
:(

Posted: 01 Dec 2007, 10:02
by KDR_11k
Just remove the replaces line. It doesn't replace tatextures.sdz anyway.

Fix

Posted: 01 Dec 2007, 11:30
by Kovin
OK, I have fixed FF and uploaded to UF. Mad FF is bit harder, as we switched to SVN. I already fixed it there, and when we release new version on UF, it won't show up again.

Re: Fix

Posted: 01 Dec 2007, 12:55
by Pressure Line
Kovin wrote:OK, I have fixed FF and uploaded to UF. Mad FF is bit harder, as we switched to SVN. I already fixed it there, and when we release new version on UF, it won't show up again.
in that case it may be worth re-releasing the current release of mad-ff with the bug fixed, seeing as how: a) not everyone reads the forums and b) it has the potential to majorly screw up your spring install.

Posted: 01 Dec 2007, 13:32
by KDR_11k
When Kernel Panic had a version that broke something with a replace line we asked a mod to add a warning to delete the affected version to the topic of #main.

Posted: 03 Dec 2007, 00:05
by Kurimuzon
hey I saw this and dl'd the newest version of FF, 1.22. I try to play w/bots using the KAI AI and it works pretty well however after fire is exchanged between my units and theirs, about 5 min later it will suddenly crash.

Here's my info log if it will help any. I'ved tried on multiple maps. I haven't played against anyone yet 'cause...well, unfortunately not enough ppl play it. I'd appreciate any help :-)

Code: Select all

Using script Commanders
Map: MartianDesert.smf
Mod: "Final Frontier 1.22" from Final_Frontier_122.sdz
Created server on port 8452
Created local client with number 0
Listening to local client on connection 0
TransportHover: 0 
Opening map file
Loading Map
Loading detail textures
Creating overhead texture
Creating ground shading
Loading tile file
Reading tiles
Reading tile map
Creating projectile texture
Number of damage types: 26
Loading units and weapons
Initializing map features
Generating trees
Parsing unit icons
Creating unit textures
Reading estimate path costs
Creating sky
Spring 0.75b2
Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
LuaUI: bound F11 to the widget selector
LuaUI: bound CTRL+F11 to tweak mode
Failed to load: gui_idle_builders2.lua  (Include() could not load 'LuaUI/Headers/spring.h.lua'
)
LuaUI v0.2
Player Kurimuzon joined as 0
AI/Bot-libs/KAI-0.12.dll has C++ interface
AI has enabled cheating.
GlobalAI1: KAI Metal Class by Krogothe
GlobalAI1: Metal Spots loaded from file
GlobalAI1: Metal Spots Found 30
GlobalAI1: UnitTable loaded in 0.001738s
AI/Bot-libs/KAI-0.12.dll has C++ interface
AI has enabled cheating.
GlobalAI2: KAI Metal Class by Krogothe
GlobalAI2: Metal Spots loaded from file
GlobalAI2: Metal Spots Found 30
GlobalAI2: UnitTable loaded in 0.001720s
AI/Bot-libs/KAI-0.12.dll has C++ interface
AI has enabled cheating.
GlobalAI3: KAI Metal Class by Krogothe
GlobalAI3: Metal Spots loaded from file
GlobalAI3: Metal Spots Found 30
GlobalAI3: UnitTable loaded in 0.001714s
GlobalAI1: Time Taken to create chokepoints: 0.092636
GlobalAI2: Time Taken to create chokepoints: 0.058341
GlobalAI3: Time Taken to create chokepoints: 0.000154
Switching to Total War style camera
Switching to Rotatable overhead camera
Switching to FPS style camera
ARMOURED METAL EXTRACTOR is being attacked
ARMOURED METAL EXTRACTOR is being attacked
Switching to Overhead (TA) style camera
Switching to Total War style camera
Switching to Rotatable overhead camera
WISP is being attacked
Switching to FPS style camera
Switching to Overhead (TA) style camera
WISP is being attacked
Spring 0.75b2 has crashed.
Exception: Access violation (0xc0000005)
Exception Address: 0x085b9a6d
DLL information:
0x00400000	spring
0x7c900000	ntdll
0x7c800000	kernel32
0x77dd0000	ADVAPI32
0x77e70000	RPCRT4
0x73f10000	dsound
0x77c10000	msvcrt
0x7e410000	USER32
0x77f10000	GDI32
0x774e0000	ole32
0x76b40000	WINMM
0x77c00000	VERSION
0x68b20000	GLU32
0x5ed00000	OPENGL32
0x73760000	DDRAW
0x73bc0000	DCIMAN32
0x76c90000	IMAGEHLP
0x71ad0000	WSOCK32
0x71ab0000	WS2_32
0x71aa0000	WS2HELP
0x10000000	SDL
0x7c340000	MSVCR71
0x00d00000	DevIL
0x66fc0000	freetype6
0x61b80000	zlib1
0x00e90000	glew32
0x003e0000	ILU
0x76390000	IMM32
0x629c0000	LPK
0x74d90000	USP10
0x5ad70000	uxtheme
0x74720000	MSCTF
0x755c0000	msctfime
0x69500000	nvoglnt
0x77120000	OLEAUT32
0x71a50000	mswsock
0x662b0000	hnetcfg
0x71a90000	wshtcpip
0x72d20000	wdmaud
0x76c30000	WINTRUST
0x77a80000	CRYPT32
0x77b20000	MSASN1
0x72d10000	msacm32
0x77be0000	MSACM32
0x77bd0000	midimap
0x73ee0000	KsUser
0x08590000	KAI-0.12
0x59a60000	DBGHELP
Stacktrace:
(0) K:\Program Files\Spring\AI\Bot-libs\KAI-0.12.dll [0x085B9A6D]
(1) K:\Program Files\Spring\AI\Bot-libs\KAI-0.12.dll [0x085BAC19]
(2) K:\Program Files\Spring\AI\Bot-libs\KAI-0.12.dll [0x085BAFCD]
(3) K:\Program Files\Spring\AI\Bot-libs\KAI-0.12.dll [0x085AC4A4]
(4) K:\Program Files\Spring\spring.exe [0x0058B1E2]
(5) K:\Program Files\Spring\spring.exe [0x005BBD0D]
(6) K:\Program Files\Spring\spring.exe [0x005DB50C]
(7) K:\Program Files\Spring\spring.exe [0x005DE5EE]
(8) K:\Program Files\Spring\spring.exe [0x00819AA9]
(9) K:\Program Files\Spring\spring.exe [0x00821C68]
(10) K:\Program Files\Spring\spring.exe [0x00822038]
(11) K:\Program Files\Spring\spring.exe [0x00822269]
(12) K:\Program Files\Spring\spring.exe [0x0090F147]
(13) K:\Program Files\Spring\spring.exe [0x00401292]
(14) K:\Program Files\Spring\spring.exe [0x004012DD]
(15) I:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816FF7]

Posted: 03 Dec 2007, 03:28
by smoth
can't my pc is fuxored

Posted: 03 Dec 2007, 08:23
by KDR_11k
Stacktrace says KAI, blame KAI.

AI

Posted: 03 Dec 2007, 18:42
by Kovin
Kurimuzon wrote:hey I saw this and dl'd the newest version of FF, 1.22. I try to play w/bots using the KAI AI and it works pretty well however after fire is exchanged between my units and theirs, about 5 min later it will suddenly crash.
Try RAI - Personally, if I have to try something under FF type mods and I want to play against something else then one commander, I use RAIv0551, haven't looked if there is newer version, but this one works fine and if you let it live for a while (15 mins+), several RAI opponents can be bit of a challenge.

Posted: 04 Dec 2007, 00:43
by Kurimuzon
KAI's the issue ne? Thanks for the info guys, I'll give that RAI a shot Kovin and let you know how it goes.

Hey what happened to the actual reply after my original post? It was pretty freakin funny if you ask me lol

Edit:

I apologize for bumping this up, but I just wanted to thank you guys for helpin me out. Works perfect! :wink: