Page 1 of 1

FEATURE DOES NOT WORK!

Posted: 27 Jul 2007, 02:14
by Snipawolf
Crashes me back to desktop with a stacktrace...

Code: Select all

[HWALL]
	{
	world=allworld;
	description=Perimeter Defense;
	category=ground wall;
	object=HWALL.s3o;
	footprintx=1;
	footprintz=1;
	height=10;
	blocking=1;
	hitdensity=100;
	damage=1500;
	metal=1;
	reclaimable=0;
   	upright=0; 
	seqnamereclamate=tree1reclamate;
	}

Code: Select all

[UNITINFO]
{
	Name=Wall;
	UnitName=HWALL;
	
	//    Required Tags
	BuildCostEnergy=10;
	BuildCostMetal=20;
	BuildTime=130;
	Category=HUMAN GROUND;
	Description=Perimeter Defense;
	FootprintX=1;
	FootprintZ=1;
	MaxDamage=1000;
	ObjectName=HWALL.s3o;
	IsFeature=1;
	Side=HUMAN;
	TEDClass=FORT;
	levelground=0;	
	
	//    Movement
	MovementClass=HTROOPER;
	MaxSlope=50;

	
	//    Sight/Radar
	SightDistance=100;
	
	//    Misc
	BuildPic=HWALL.jpg;
	MaxWaterDepth=0;
	shownanoframe=0;
	shownanospray=0;
}

Posted: 27 Jul 2007, 03:27
by lurker
I don't see how an error in those files would cause a hard crash, so why don't you post either the stacktrace or something with the feature so people can reproduce the error. And no need to use caps lock.
Also, this should probably be in the help and bugs forum.

Posted: 27 Jul 2007, 03:30
by Snipawolf
Well, I'm trying to finish off all of t1, this and a rocket launcher script are all that is in my way :evil:

Code: Select all

Using script Commanders
Map: Altored_Divide.smf
Mod: FH .25
Created server on port 8452
Created local client with number 0
Listening to local client on connection 0
no such sound: sounds/button9.wav
Exception: Parse error 'brace or further name value pairs expected' in gamedata/explosions/hlight.tdf at line 18 column 2 near
} 
Content error:
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: 5
Loading units and weapons
Inconsistant move data hover 0 Gunship HGUNSHIP
no such sound: sounds/beep6.wav
Initializing map features
Generating trees
Parsing unit icons
Creating unit textures
Unknown feature type 
Reading estimate path costs
Creating sky
Spring 0.75b2
no such sound: sounds/beep4.wav
Player Snipawolf joined as 0
<Snipawolf> .cheat
Cheating!
AI\Bot-libs\TestGlobalAI.dll has C++ interface
<Snipawolf> .give 1 hwall @6816,569,7034
Spring 0.75b2 has crashed.
Exception: Access violation (0xc0000005)
Exception Address: 0x0075e02b
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
0x77b40000	apphelp
0x755c0000	msctfime
0x69500000	nvoglnt
0x77120000	OLEAUT32
0x71a50000	mswsock
0x662b0000	hnetcfg
0x71a90000	wshtcpip
0x76c30000	WINTRUST
0x77a80000	CRYPT32
0x77b20000	MSASN1
0x72d20000	wdmaud
0x72d10000	msacm32
0x77be0000	MSACM32
0x77bd0000	midimap
0x73ee0000	KsUser
0x02a60000	TestGlobalAI
0x59a60000	DBGHELP
Stacktrace:
(0) C:\Program Files\Spring\spring.exe [0x0075E02B]
(1) C:\Program Files\Spring\spring.exe [0x00761E19]
(2) C:\Program Files\Spring\spring.exe [0x006F1CA4]
(3) C:\Program Files\Spring\spring.exe [0x005CAFB6]
(4) C:\Program Files\Spring\spring.exe [0x005DCF78]
(5) C:\Program Files\Spring\spring.exe [0x005DE5EE]
(6) C:\Program Files\Spring\spring.exe [0x00819AA9]
(7) C:\Program Files\Spring\spring.exe [0x00821C68]
(8) C:\Program Files\Spring\spring.exe [0x00822038]
(9) C:\Program Files\Spring\spring.exe [0x00822269]
(10) C:\Program Files\Spring\spring.exe [0x0090F147]
(11) C:\Program Files\Spring\spring.exe [0x00401292]
(12) C:\Program Files\Spring\spring.exe [0x004012DD]
(13) C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816FD7]

Posted: 27 Jul 2007, 07:47
by KDR_11k
Snipawolf wrote:Exception: Parse error 'brace or further name value pairs expected' in gamedata/explosions/hlight.tdf at line 18 column 2 near
}

Posted: 27 Jul 2007, 08:03
by Chrispin
That error has nothing to do with hwall.

...but it is probably something that needs fixing, just to get rid of the error.

Posted: 27 Jul 2007, 11:27
by KDR_11k
What does the COB look like?

Posted: 27 Jul 2007, 14:49
by zwzsg
Thread title in full caps, and posting an error log without even glancing at it because if you had read only the initial lines you would have seen the cause of your error is described in plain english, eh?

Posted: 27 Jul 2007, 16:36
by Snipawolf
Chrispin is right, that is an fx error that is not even used by my wall...

Hlight is a blinking light I use for stuff with antennas...

I already fixed that, too.

What should the cob include, all I included was the pieces... >__>

Posted: 27 Jul 2007, 16:38
by KDR_11k
Cobs cause a crash if they don't contain at least one function.

Posted: 27 Jul 2007, 16:39
by Snipawolf
-___-


That, is, retarded.

It wasn't working, but then I noticed it called to a corpse when it was done being built... Now, thats ingame nice..