Having problems updating an old mod

Having problems updating an old mod

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Having problems updating an old mod

Post by Kuroneko »

Hello all, I started playing Spring recently after a long time away (what has it been, two years?). Anywho, I tried firing up my old mod on the latest version of Spring and have been greeted by crash dump after crash dump. It is crashing while loaded unit definitions, however, I can't seem to find any specific cause of the error. Any help is appreciated :)

http://kuroneko.gotdns.com:27018/ta/kurota-test.sd7

Code: Select all

LogOutput initialized.
Spring 0.82.6.1 (0.82.6.1 MT-Sim)
Build date/time: Oct 15 2010 20:04:55
Available log subsystems: CollisionVolume, unit, ArchiveScanner, VFS-detail, VFS, Sound
Enabled log subsystems: Sound
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
default config file: C:\Documents and Settings\mmiller\Local Settings\Application Data\springsettings.cfg
using default configuration source "C:\Documents and Settings\mmiller\Local Settings\Application Data\springsettings.cfg"
[CMyMath::Init] CPU SSE mask: 888, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  0
	SSE 4.1:  0,  SSE 4.2:  0
	SSE 4.0A: 1,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Microsoft Windows
Microsoft Windows XP Professional Service Pack 3 (build 2600)
AMD Phenom(tm) 9600 Quad-Core Processor; 3327MB RAM, 5210MB pagefile
OS: 32bit native mode
Using read-write data directory: C:\Program Files\Spring\
Using read-only data directory: C:\Documents and Settings\mmiller\My Documents\My Games\Spring\
Using read-only data directory: C:\Documents and Settings\All Users\Application Data\Spring\
Scanning: C:\Documents and Settings\mmiller\My Documents\My Games\Spring\maps
Scanning: C:\Documents and Settings\mmiller\My Documents\My Games\Spring\mods
Scanning: C:\Program Files\Spring\base
Supported Video modes: 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1024x768, 800x600, 720x576, 720x480, 640x480, 640x350
Video mode set to 1024x768/32bit (windowed)
[      0] SDL:  1.2.10
[      0] GL:   3.3.0
[      0] GL:   NVIDIA Corporation
[      0] GL:   GeForce GTS 250/PCI/SSE2/3DNOW!
[      0] GLSL: 3.30 NVIDIA via Cg compiler
[      0] GLEW: 1.5.4
[      0] Joysticks found: 1
[      0] Using joystick 0: ThrustMaster Top Gun USB Joystick (rev2)
[      0] Connecting to local server
[      0] Sound: OpenAL info:
[      0] Sound:   Vendor:     OpenAL Community
[      0] Sound:   Version:    1.1 ALSOFT 1.11.753
[      0] Sound:   Renderer:   OpenAL Soft
[      0] Sound:   AL Extensions: AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic
[      0] Sound:   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context
[      0] Sound:                   ALC_EXT_EFX found (required for air absorption): yes
[      0] Sound:   Device:     DirectSound Software
[      0] Sound:   Available Devices:  
[      0] Sound:                       DirectSound Software
[      0] Sound: air absorption enabled: 0.1
[      0] Starting GameServer: 10 ms
[      0] Starting demo recording
[      0] Using map River Dale-v02
[      0] Recording demo demos/20101127_194408_River Dale-v02_0.82.6.sdf
[      0] Using mod KuroTA 0.535
[      0] Using mod archive KuroTA.SDD
[      0] Loading client data: 733 ms
[      0] User number 0 (team 0, allyteam 0)
[      0] Sound:  parsed 3 sounds from gamedata/sounds.lua
[      0] Sound: Unable to open audio file: sounds/incoming_chat.wav
[      0] Loading sounds: 0 ms
[      0] Sound: Unable to open audio file: sounds/multiselect.wav
[      0] Camera and mouse: 220 ms
[      0] Parsing unit icons
[      0] Loading GameData Definitions
[      0] Loading all definitions:  0.502000
[      0] Loading GameData Definitions: 565 ms
[      0] Parsing Map Information
[      0] Loading SMF
[      0] Loading Map
[      0] Calculating smooth height mesh
[      0] Calculating smooth mesh: 327 ms
[      0] Number of damage types: 11
[      0] Creating unit textures
[      0] Loading weapon definitions
[      0] Sound: WAV file sounds/Magrocket.wav has data length 291939 greater than actual data length 29058
[      0] Sound: WAV file sounds/electronhit.wav has data length 291939 greater than actual data length 129058
[      0] Sound: WAV file sounds/rondhit.wav has data length 291939 greater than actual data length 41764
[      0] Loading unit definitions
[      0] Spring 0.82.6.1 (0.82.6.1 MT-Sim) has crashed.
[      0] MT with 4 threads.
[      0] Exception: Access violation (0xc0000005)
[      0] Exception Address: 0x0022ee23
[      0] DLL information:
[      0] 0x00400000	spring-multithreaded
[      0] 0x7c900000	ntdll
[      0] 0x7c800000	kernel32
[      0] 0x10000000	DevIL
[      0] 0x77c10000	MSVCRT
[      0] 0x77dd0000	ADVAPI32
[      0] 0x77e70000	RPCRT4
[      0] 0x77fe0000	Secur32
[      0] 0x68b20000	GLU32
[      0] 0x5ed00000	OPENGL32
[      0] 0x77f10000	GDI32
[      0] 0x7e410000	USER32
[      0] 0x73760000	DDRAW
[      0] 0x73bc0000	DCIMAN32
[      0] 0x76c90000	IMAGEHLP
[      0] 0x6fbc0000	mingwm10
[      0] 0x7c9c0000	SHELL32
[      0] 0x77f60000	SHLWAPI
[      0] 0x71ab0000	WS2_32
[      0] 0x71aa0000	WS2HELP
[      0] 0x61b80000	zlib1
[      0] 0x70780000	vorbisfile
[      0] 0x68140000	ogg
[      0] 0x64cc0000	vorbis
[      0] 0x6b600000	OpenAL32
[      0] 0x76b40000	WINMM
[      0] 0x66fc0000	freetype6
[      0] 0x62aa0000	glew32
[      0] 0x012d0000	SDL
[      0] 0x7c340000	MSVCR71
[      0] 0x76390000	IMM32
[      0] 0x773d0000	comctl32
[      0] 0x5d090000	comctl32
[      0] 0x73f10000	dsound
[      0] 0x774e0000	ole32
[      0] 0x77c00000	VERSION
[      0] 0x76c30000	WINTRUST
[      0] 0x77a80000	CRYPT32
[      0] 0x77b20000	MSASN1
[      0] 0x72d20000	wdmaud
[      0] 0x72d10000	msacm32
[      0] 0x77be0000	MSACM32
[      0] 0x77bd0000	midimap
[      0] 0x74720000	MSCTF
[      0] 0x02db0000	xfire_toucan_43094
[      0] 0x71ad0000	WSOCK32
[      0] 0x77120000	OLEAUT32
[      0] 0x76380000	MSIMG32
[      0] 0x755c0000	msctfime
[      0] 0x69500000	nvoglnt
[      0] 0x72280000	DINPUT
[      0] 0x688f0000	HID
[      0] 0x77920000	SETUPAPI
[      0] 0x73ee0000	KsUser
[      0] 0x59a60000	DBGHELP
[      0] Stacktrace:
[      0] (0) Unknown [0x0022EE23]
[      0] (1) C:\Program Files\Spring\spring-multithreaded.exe [0x009BA382]
[      0] (2) C:\Program Files\Spring\spring-multithreaded.exe [0x00571666]
[      0] (3) C:\Program Files\Spring\spring-multithreaded.exe [0x0059D2FC]
[      0] (4) C:\Program Files\Spring\spring-multithreaded.exe [0x0059E00F]
[      0] (5) C:\Program Files\Spring\spring-multithreaded.exe [0x00008A2E]
[      0] (6) C:\Program Files\Spring\spring-multithreaded.exe [0x00017E0E]
[      0] (7) C:\Program Files\Spring\spring-multithreaded.exe [0x0009BD29]
[      0] (8) C:\Program Files\Spring\spring-multithreaded.exe [0x0009CB3D]
[      0] (9) C:\Program Files\Spring\spring-multithreaded.exe [0x00672A4A]
[      0] (10) C:\Program Files\Spring\spring-multithreaded.exe [0x0067A641]
[      0] (11) C:\Program Files\Spring\spring-multithreaded.exe [0x0067B728]
[      0] (12) C:\Program Files\Spring\spring-multithreaded.exe [0x0067BF60]
[      0] (13) C:\Program Files\Spring\spring-multithreaded.exe [0x000010A7]
[      0] (14) C:\Program Files\Spring\spring-multithreaded.exe [0x00001123]
[      0] (15) C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C817077]
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Having problems updating an old mod

Post by smoth »

[      0] Sound: WAV file sounds/Magrocket.wav has data length 291939 greater than actual data length 29058
[      0] Sound: WAV file sounds/electronhit.wav has data length 291939 greater than actual data length 129058
[      0] Sound: WAV file sounds/rondhit.wav has data length 291939 greater than actual data length 41764
Maybe
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Re: Having problems updating an old mod

Post by Kuroneko »

smoth wrote:
[      0] Sound: WAV file sounds/Magrocket.wav has data length 291939 greater than actual data length 29058
[      0] Sound: WAV file sounds/electronhit.wav has data length 291939 greater than actual data length 129058
[      0] Sound: WAV file sounds/rondhit.wav has data length 291939 greater than actual data length 41764
Maybe
Those warnings have existed in there for a long time, however, I tried pulling them out to see if it made any difference...but it didn't =\
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Having problems updating an old mod

Post by FLOZi »

Quite unpleasant. Crash messages should be improved in current master btw (not sure if those commits are in latest 82 branch).

Did you get the same problem with non-MT spring?
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Re: Having problems updating an old mod

Post by Kuroneko »

FLOZi wrote:Quite unpleasant. Crash messages should be improved in current master btw (not sure if those commits are in latest 82 branch).

Did you get the same problem with non-MT spring?
Yeah, same crash. I tried several other mods and several maps. The crash is definitely localized to my mod with any map. I played around with limiting the units that are being loaded by removing them from the folder. I found that one of the units causing problems is the armflash. I tried converting it to lua (everything is currently still fbi), but that didn't help any =\
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Having problems updating an old mod

Post by FLOZi »

I downloaded the mod, I'll take a look sometime tomorrow evening (after 7pm GMT) if no one else has got to it by then.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Having problems updating an old mod

Post by hoijui »

for the future, attach infolgo.txt as file to your post.

crashed here:
http://github.com/spring/spring/blob/0. ... er.cpp#L92

(am not investigating further ;-) )
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Having problems updating an old mod

Post by abma »

it "worked" here, but i can't build only a few units and no com is spawned.

but i got this:

[ 0] Loading unit definitions
[ 0] WARNING: too many unit categories (32), skipping notstructure
[ 0] WARNING: removed the "armack" entry from the "armalab" build menu
[ 0] WARNING: removed the "armzeus" entry from the "armalab" build menu
[ 0] WARNING: removed the "armfido" entry from the "armalab" build menu
[ 0] WARNING: removed the "armvader" entry from the "armalab" build menu
[ 0] WARNING: removed the "armaser" entry from the "armalab" build menu
[ 0] WARNING: removed the "armfast" entry from the "armalab" build menu
[ 0] WARNING: removed the "armmav" entry from the "armalab" build menu
[ 0] WARNING: removed the "oppressor" entry from the "armalab" build menu
[ 0] WARNING: removed the "armmark" entry from the "armalab" build menu
[ 0] WARNING: removed the "armamph" entry from the "armalab" build menu
[ 0] WARNING: removed the "armsnipe" entry from the "armalab" build menu
[ 0] WARNING: removed the "armspy" entry from the "armalab" build menu
[ 0] WARNING: removed the "armdecom" entry from the "armalab" build menu
[ 0] WARNING: removed the "shiva" entry from the "armalab" build menu
[ 0] WARNING: removed the "armfark" entry from the "armalab" build menu
[ 0] WARNING: removed the "armfboy" entry from the "armalab" build menu
[ 0] WARNING: removed the "armmech" entry from the "armalab" build menu
[ 0] WARNING: removed the "armacsub" entry from the "armasy" build menu
[ 0] WARNING: removed the "armcarry" entry from the "armasy" build menu
[ 0] WARNING: removed the "armsubk" entry from the "armasy" build menu
[ 0] WARNING: removed the "armmship" entry from the "armasy" build menu
[ 0] WARNING: removed the "armcrus" entry from the "armasy" build menu
[ 0] WARNING: removed the "armbats" entry from the "armasy" build menu
[ 0] WARNING: removed the "armsjam" entry from the "armasy" build menu
[ 0] WARNING: removed the "armaas" entry from the "armasy" build menu
[ 0] WARNING: removed the "grongo" entry from the "armasy" build menu
[ 0] WARNING: removed the "armarc" entry from the "armasy" build menu
[ 0] WARNING: removed the "armrecl" entry from the "armasy" build menu
[ 0] WARNING: removed the "anabel" entry from the "armasy" build menu
[ 0] WARNING: removed the "armacv" entry from the "armavp" build menu
[ 0] WARNING: removed the "armcroc" entry from the "armavp" build menu
[ 0] WARNING: removed the "armbull" entry from the "armavp" build menu
[ 0] WARNING: removed the "armjam" entry from the "armavp" build menu
[ 0] WARNING: removed the "armmart" entry from the "armavp" build menu
[ 0] WARNING: removed the "armspid" entry from the "armavp" build menu
[ 0] WARNING: removed the "armseer" entry from the "armavp" build menu
[ 0] WARNING: removed the "armmerl" entry from the "armavp" build menu
[ 0] WARNING: removed the "armmanni" entry from the "armavp" build menu
[ 0] WARNING: removed the "armyork" entry from the "armavp" build menu
[ 0] WARNING: removed the "armscab" entry from the "armavp" build menu
[ 0] WARNING: removed the "armlatnk" entry from the "armavp" build menu
[ 0] WARNING: removed the "awaller" entry from the "armavp" build menu
[ 0] WARNING: removed the "armmedt" entry from the "armavp" build menu
[ 0] WARNING: removed the "armcamp" entry from the "armavp" build menu
[ 0] WARNING: removed the "armrebel" entry from the "armavp" build menu
[ 0] WARNING: removed the "armsabot" entry from the "armavp" build menu
[ 0] WARNING: removed the "armch" entry from the "armhp" build menu
[ 0] WARNING: removed the "armsh" entry from the "armhp" build menu
[ 0] WARNING: removed the "armanac" entry from the "armhp" build menu
[ 0] WARNING: removed the "armah" entry from the "armhp" build menu
[ 0] WARNING: removed the "armmh" entry from the "armhp" build menu
[ 0] WARNING: removed the "armthovr" entry from the "armhp" build menu
[ 0] WARNING: removed the "rodent" entry from the "armhp" build menu
[ 0] WARNING: removed the "spotter" entry from the "armhp" build menu
[ 0] WARNING: removed the "manta" entry from the "armhp" build menu
[ 0] WARNING: removed the "nsaarhov" entry from the "armhp" build menu
[ 0] WARNING: removed the "nsaagch" entry from the "armhp" build menu
[ 0] WARNING: removed the "nsaalith" entry from the "armhp" build menu
[ 0] WARNING: removed the "armlashover" entry from the "armhp" build menu
[ 0] WARNING: removed the "concealer" entry from the "armhp" build menu
[ 0] WARNING: removed the "armck" entry from the "armlab" build menu
[ 0] WARNING: removed the "armpw" entry from the "armlab" build menu
[ 0] WARNING: removed the "armrock" entry from the "armlab" build menu
[ 0] WARNING: removed the "armham" entry from the "armlab" build menu
[ 0] WARNING: removed the "armjeth" entry from the "armlab" build menu
[ 0] WARNING: removed the "arm_trin" entry from the "armlab" build menu
[ 0] WARNING: removed the "armwar" entry from the "armlab" build menu
[ 0] WARNING: removed the "armflea" entry from the "armlab" build menu
[ 0] WARNING: removed the "bothmauler" entry from the "armmtlab" build menu
[ 0] WARNING: removed the "bothfury" entry from the "armmtlab" build menu
[ 0] WARNING: removed the "aminejam" entry from the "armmtlab" build menu
[ 0] WARNING: removed the "armcs" entry from the "armsy" build menu
[ 0] WARNING: removed the "armpt" entry from the "armsy" build menu
[ 0] WARNING: removed the "armroy" entry from the "armsy" build menu
[ 0] WARNING: removed the "armtship" entry from the "armsy" build menu
[ 0] WARNING: removed the "armsub" entry from the "armsy" build menu
[ 0] WARNING: removed the "armmls" entry from the "armsy" build menu
[ 0] WARNING: removed the "armmcary" entry from the "armsy" build menu
[ 0] WARNING: removed the "armripp" entry from the "armsy" build menu
[ 0] WARNING: removed the "wrecker" entry from the "armvac" build menu
[ 0] WARNING: removed the "armcv" entry from the "armvp" build menu
[ 0] WARNING: removed the "armfav" entry from the "armvp" build menu
[ 0] WARNING: removed the "armstump" entry from the "armvp" build menu
[ 0] WARNING: removed the "armsam" entry from the "armvp" build menu
[ 0] WARNING: removed the "armmlv" entry from the "armvp" build menu
[ 0] WARNING: removed the "armmlv" entry from the "armvp" build menu
[ 0] WARNING: removed the "ahermes" entry from the "armvp" build menu
[ 0] WARNING: removed the "corack" entry from the "coralab" build menu
[ 0] WARNING: removed the "corpyro" entry from the "coralab" build menu
[ 0] WARNING: removed the "corcan" entry from the "coralab" build menu
[ 0] WARNING: removed the "corroach" entry from the "coralab" build menu
[ 0] WARNING: removed the "corspec" entry from the "coralab" build menu
[ 0] WARNING: removed the "corfast" entry from the "coralab" build menu
[ 0] WARNING: removed the "cormort" entry from the "coralab" build menu
[ 0] WARNING: removed the "corvoyr" entry from the "coralab" build menu
[ 0] WARNING: removed the "corsumo" entry from the "coralab" build menu
[ 0] WARNING: removed the "cornecro" entry from the "coralab" build menu
[ 0] WARNING: removed the "corspy" entry from the "coralab" build menu
[ 0] WARNING: removed the "cordecom" entry from the "coralab" build menu
[ 0] WARNING: removed the "coremech" entry from the "coralab" build menu
[ 0] WARNING: removed the "ckraken" entry from the "coralab" build menu
[ 0] WARNING: removed the "cormak" entry from the "coralab" build menu
[ 0] WARNING: removed the "coracsub" entry from the "corasy" build menu
[ 0] WARNING: removed the "coracsub" entry from the "corasy" build menu
[ 0] WARNING: removed the "corcarry" entry from the "corasy" build menu
[ 0] WARNING: removed the "corshark" entry from the "corasy" build menu
[ 0] WARNING: removed the "cormship" entry from the "corasy" build menu
[ 0] WARNING: removed the "corcrus" entry from the "corasy" build menu
[ 0] WARNING: removed the "corsjam" entry from the "corasy" build menu
[ 0] WARNING: removed the "corbats" entry from the "corasy" build menu
[ 0] WARNING: removed the "corssub" entry from the "corasy" build menu
[ 0] WARNING: removed the "corarch" entry from the "corasy" build menu
[ 0] WARNING: removed the "correcl" entry from the "corasy" build menu
[ 0] WARNING: removed the "wouter" entry from the "corasy" build menu
[ 0] WARNING: removed the "cncaine" entry from the "corasy" build menu
[ 0] WARNING: removed the "corpbats" entry from the "corasy" build menu
[ 0] WARNING: removed the "coracv" entry from the "coravp" build menu
[ 0] WARNING: removed the "corseal" entry from the "coravp" build menu
[ 0] WARNING: removed the "correap" entry from the "coravp" build menu
[ 0] WARNING: removed the "coreter" entry from the "coravp" build menu
[ 0] WARNING: removed the "cormart" entry from the "coravp" build menu
[ 0] WARNING: removed the "corgol" entry from the "coravp" build menu
[ 0] WARNING: removed the "corvrad" entry from the "coravp" build menu
[ 0] WARNING: removed the "corvroc" entry from the "coravp" build menu
[ 0] WARNING: removed the "corinc" entry from the "coravp" build menu
[ 0] WARNING: removed the "corsent" entry from the "coravp" build menu
[ 0] WARNING: removed the "cormabm" entry from the "coravp" build menu
[ 0] WARNING: removed the "corsabot" entry from the "coravp" build menu
[ 0] WARNING: removed the "corarv" entry from the "coravp" build menu
[ 0] WARNING: removed the "corfidel" entry from the "coravp" build menu
[ 0] WARNING: removed the "cwaller" entry from the "coravp" build menu
[ 0] WARNING: removed the "corkrog" entry from the "corgant" build menu
[ 0] WARNING: removed the "cougar" entry from the "corgant" build menu
[ 0] WARNING: removed the "corch" entry from the "corhp" build menu
[ 0] WARNING: removed the "corsh" entry from the "corhp" build menu
[ 0] WARNING: removed the "corsnap" entry from the "corhp" build menu
[ 0] WARNING: removed the "corah" entry from the "corhp" build menu
[ 0] WARNING: removed the "cormh" entry from the "corhp" build menu
[ 0] WARNING: removed the "corthovr" entry from the "corhp" build menu
[ 0] WARNING: removed the "vermin" entry from the "corhp" build menu
[ 0] WARNING: removed the "watcher" entry from the "corhp" build menu
[ 0] WARNING: removed the "nsacbrim" entry from the "corhp" build menu
[ 0] WARNING: removed the "nsacbehe" entry from the "corhp" build menu
[ 0] WARNING: removed the "nsaclash" entry from the "corhp" build menu
[ 0] WARNING: removed the "corelashover" entry from the "corhp" build menu
[ 0] WARNING: removed the "corck" entry from the "corlab" build menu
[ 0] WARNING: removed the "corak" entry from the "corlab" build menu
[ 0] WARNING: removed the "corstorm" entry from the "corlab" build menu
[ 0] WARNING: removed the "corthud" entry from the "corlab" build menu
[ 0] WARNING: removed the "corcrash" entry from the "corlab" build menu
[ 0] WARNING: removed the "gladiator" entry from the "corlab" build menu
[ 0] WARNING: removed the "bothmauler" entry from the "cormtlab" build menu
[ 0] WARNING: removed the "bothfury" entry from the "cormtlab" build menu
[ 0] WARNING: removed the "cminejam" entry from the "cormtlab" build menu
[ 0] WARNING: removed the "corcs" entry from the "corsy" build menu
[ 0] WARNING: removed the "corpt" entry from the "corsy" build menu
[ 0] WARNING: removed the "corroy" entry from the "corsy" build menu
[ 0] WARNING: removed the "cortship" entry from the "corsy" build menu
[ 0] WARNING: removed the "corsub" entry from the "corsy" build menu
[ 0] WARNING: removed the "cormls" entry from the "corsy" build menu
[ 0] WARNING: removed the "cormcary" entry from the "corsy" build menu
[ 0] WARNING: removed the "corbt" entry from the "corvac" build menu
[ 0] WARNING: removed the "corcv" entry from the "corvp" build menu
[ 0] WARNING: removed the "corfav" entry from the "corvp" build menu
[ 0] WARNING: removed the "corgator" entry from the "corvp" build menu
[ 0] WARNING: removed the "corraid" entry from the "corvp" build menu
[ 0] WARNING: removed the "cormist" entry from the "corvp" build menu
[ 0] WARNING: removed the "cormlv" entry from the "corvp" build menu
[ 0] WARNING: removed the "corlevlr" entry from the "corvp" build menu
[ 0] WARNING: removed the "corwolv" entry from the "corvp" build menu
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Having problems updating an old mod

Post by FLOZi »

Your movedefs.lua is incorrectly formatted. All units that use a movedef are broken (This is why structures and aircraft work in current git master but nothing else does).

Your movedefs.lua:

Code: Select all

local moveDefs = {
KBOTSS2 = {
	FootprintX=2,
	FootprintZ=2,
	MaxWaterDepth=12,
	MaxSlope=48,
	},
Correct format:

Code: Select all

local moveDefs = {
{
  name = "KBOTSS2",
  FootprintX=2,
  FootprintZ=2,
  MaxWaterDepth=12,
  MaxSlope=48,
},
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Re: Having problems updating an old mod

Post by Kuroneko »

FLOZi wrote:Your movedefs.lua is incorrectly formatted. All units that use a movedef are broken (This is why structures and aircraft work in current git master but nothing else does).

Your movedefs.lua:

Code: Select all

local moveDefs = {
KBOTSS2 = {
	FootprintX=2,
	FootprintZ=2,
	MaxWaterDepth=12,
	MaxSlope=48,
	},
Correct format:

Code: Select all

local moveDefs = {
{
  name = "KBOTSS2",
  FootprintX=2,
  FootprintZ=2,
  MaxWaterDepth=12,
  MaxSlope=48,
},
@Flozi: Really? I based it off of the tutorial in the wiki. I also just checked CA's and it appears to be the same as well.

@abma: I just have put one of the versions I was messing with removing units out there by mistake. I'll repackage it.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Having problems updating an old mod

Post by FLOZi »

Well when i changed the movedef for armzeus to that format all of a sudden armzeus worked again.

You missed out lines 138 to 145 of the CA example which does the conversion for you. So the quickest way to fix would be to add them in. :wink: (make sure to return the new table and not the old one if you do this!)
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Re: Having problems updating an old mod

Post by Kuroneko »

FLOZi wrote:Well when i changed the movedef for armzeus to that format all of a sudden armzeus worked again.

You missed out lines 138 to 145 of the CA example which does the conversion for you. So the quickest way to fix would be to add them in. :wink: (make sure to return the new table and not the old one if you do this!)
Ah, right you are. I applied that change to the movedefs, and the mod started loaded reliably :D. However, it looks like it refuses to load the sidedata.tdf, but the lua version works fine. I guess I'll finally have to move all the build data out of there XD. Thanks for your help :)
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Having problems updating an old mod

Post by FLOZi »

You also have download tdfs as well as the CANBUILD section of your sidedata.tdf. It's possible you have some conflicts, I'm not sure which will take precedence.

If you want a single lua file with all build options in it (as opposed to CA style buildoptions-as-part-of-the-lua-unitdef), you can use S44's modified download_builds.lua here http://spring1944.svn.sourceforge.net/v ... /gamedata/ and it's corresponding builddefs.lua file
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2700
Joined: 25 Aug 2004, 13:31

Re: Having problems updating an old mod

Post by bobthedinosaur »

Related: I am trying to play an older mod, but it doesn't show up on the games list, even after a map/ mod refresh. I added a commander spawn gadget, but I don't think it makes a difference as it still won't show up. What is the main cause of older games not showing up on the list?
User avatar
Karl
Panzerstahl Developer
Posts: 746
Joined: 01 Apr 2010, 21:05

Re: Having problems updating an old mod

Post by Karl »

Well its due to fact that modinfo.lua doesn't exist
some changes in a lua file is needed cant remeber wich something with peril changes and is responsible for com spawn

oh an welcome back
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Having problems updating an old mod

Post by FLOZi »

bobthedinosaur wrote:Related: I am trying to play an older mod, but it doesn't show up on the games list, even after a map/ mod refresh. I added a commander spawn gadget, but I don't think it makes a difference as it still won't show up. What is the main cause of older games not showing up on the list?
http://springrts.com/phpbb/viewtopic.php?f=67&t=21811

(Hey that thread was so easy to find thanks to the subforum!)
Post Reply

Return to “Game Development”