shop crash ingame

11/23/2017 14:05 lifesgood38#1
Hallo zusammen,

vorab hab die Daten von Blouflash seinem release.

Ich versuche hier einen Shop zu erstellen, indem ich einfach Wings und Boards implementieren möchte.

Seht ihr den Fehler????

Hab hierzu folgende Einträge vorgenommen:

character.inc
Code:
MaFl_Capri
{
	setting
	{
		AddMenu ( MMI_TRADE );
		AddVendorItem( 0, IK3_WING, -1, 1, 30, 100 );
		AddVendorItem( 1, IK3_BOARD, -1, 1, 30, 100 );
		
	}
	SetName
	(
	IDS_CHARACTER_INC_000880
	)
	AddVendorSlot( 0,
	IDS_CHARACTER_INC_000881
	);
	AddVendorSlot( 1,
	IDS_CHARACTER_INC_000882
	);
	AddVendorSlot( 2,
	IDS_CHARACTER_INC_000883
	);
	AddVendorSlot( 3,
	IDS_CHARACTER_INC_000884
	);

}
character.txt

Code:
IDS_CHARACTER_INC_000880	Capri (Boards & Wings)
IDS_CHARACTER_INC_000881	Boards
IDS_CHARACTER_INC_000882	Bikes
IDS_CHARACTER_INC_000883	Wings
IDS_CHARACTER_INC_000884	Various
Der Character mittels World Editor ist bereits eingefügt und die richtige Eigenschaft zugewiesen.

Jedoch ingame crashed dann es, wenn man damit interagieren möchte.
11/23/2017 14:48 Dr. Peacock#2
Code:
MaFa_FlyingGear
{
	setting
	{
		AddMenu( MMI_DIALOG );
		AddMenu( MMI_TRADE  );
		AddVendorItem( 0, IK3_BOARD, -1, 1, 30, 100 ); //The Character need to solve a Quest to learn, how to Fly!
		m_nStructure= SRT_STATION;
		SetImage
		(
		"char_FlyingGear.tga"
		);
		m_szDialog= "MaFa_FlyingGear.txt";
	}

	SetName
	(
	"Midoku"
	);

	AddVendorSlot( 0,
	"Boards"
	);

	AddVendorSlot( 1,
	"Empty"
	);

	AddVendorSlot( 2,
	"Empty"
	);

	AddVendorSlot( 3,
	"Empty"
	);
}
This Code works fine. ;)
11/23/2017 15:03 lifesgood38#3
Quote:
Originally Posted by Dr. Peacock View Post
Code:
MaFa_FlyingGear
{
	setting
	{
		AddMenu( MMI_DIALOG );
		AddMenu( MMI_TRADE  );
		AddVendorItem( 0, IK3_BOARD, -1, 1, 30, 100 ); //The Character need to solve a Quest to learn, how to Fly!
		m_nStructure= SRT_STATION;
		SetImage
		(
		"char_FlyingGear.tga"
		);
		m_szDialog= "MaFa_FlyingGear.txt";
	}

	SetName
	(
	"Midoku"
	);

	AddVendorSlot( 0,
	"Boards"
	);

	AddVendorSlot( 1,
	"Empty"
	);

	AddVendorSlot( 2,
	"Empty"
	);

	AddVendorSlot( 3,
	"Empty"
	);
}
This Code works fine. ;)
Thanks for ur help.

i forgot a semicolon.

#Problem solved