Register for your free account! | Forgot your password?

You last visited: Today at 19:03

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



error sash system

Discussion on error sash system within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2016
Posts: 115
Received Thanks: 29
Question error sash system

Hallo epvp

Ich hab bei mir das sash-system eingefügt und bekomme beim compilen (client) folgende fehler:

Code:
Fehler	270	error C2039: 'PART_SASH': Ist kein Element von 'CRaceData'	c: \Client\GameLib\ActorInstanceAttach.cpp	613	gamelib
Fehler	271	error C2065: 'PART_SASH': nichtdeklarierter Bezeichner	c: \Client\GameLib\ActorInstanceAttach.cpp	613	gamelib
Fehler	272	error C2039: 'PART_SASH': Ist kein Element von 'CRaceData'	c: \Client\GameLib\ActorInstanceAttach.cpp	614	gamelib
Fehler	273	error C2065: 'PART_SASH': nichtdeklarierter Bezeichner	c: \Client\GameLib\ActorInstanceAttach.cpp	614	gamelib
Fehler	274	error C2039: 'PART_SASH': Ist kein Element von 'CRaceData'	c: \Client\GameLib\ActorInstanceAttach.cpp	614	gamelib
Fehler	275	error C2065: 'PART_SASH': nichtdeklarierter Bezeichner	c: \Client\GameLib\ActorInstanceAttach.cpp	614	gamelib
Fehler	276	error C2039: 'PART_SASH': Ist kein Element von 'CRaceData'	c: \Client\GameLib\ActorInstanceAttach.cpp	619	gamelib
Fehler	277	error C2065: 'PART_SASH': nichtdeklarierter Bezeichner	c: \Client\GameLib\ActorInstanceAttach.cpp	619	gamelib
Fehler	278	error C2039: 'PART_SASH': Ist kein Element von 'CRaceData'	c: \Client\GameLib\ActorInstanceAttach.cpp	620	gamelib
Fehler	279	error C2065: 'PART_SASH': nichtdeklarierter Bezeichner	c: \Client\GameLib\ActorInstanceAttach.cpp	620	gamelib
Fehler	280	error C2039: 'PART_SASH': Ist kein Element von 'CRaceData'	c: \Client\GameLib\ActorInstanceAttach.cpp	620	gamelib
Fehler	281	error C2065: 'PART_SASH': nichtdeklarierter Bezeichner	c: \Client\GameLib\ActorInstanceAttach.cpp	620	gamelib
Fehler	282	error C2039: 'PART_SASH': Ist kein Element von 'CRaceData'	c: \Client\GameLib\ActorInstanceAttach.cpp	621	gamelib
Fehler	284	error C2065: 'PART_SASH': nichtdeklarierter Bezeichner	c: \Client\GameLib\ActorInstanceAttach.cpp	621	gamelib
Fehler	286	error C2039: 'PART_SASH': Ist kein Element von 'CRaceData'	c: \Client\GameLib\ActorInstanceAttach.cpp	630	gamelib
Fehler	288	error C2065: 'PART_SASH': nichtdeklarierter Bezeichner	c: \Client\GameLib\ActorInstanceAttach.cpp	630	gamelib
Fehler	309	fatal error LNK1181: Eingabedatei "..\gamelib\release\gamelib.lib" kann nicht geöffnet werden.	UserInterface	UserInterface


ActorInstanceAttach.cpp:

Code:
#ifdef ENABLE_SASH_SYSTEM
void CActorInstance::AttachSash(CItemData * pItemData, float fSpecular)
{
	if (!pItemData)
	{
		RegisterModelThing(CRaceData::PART_SASH, NULL);
		SetModelInstance(CRaceData::PART_SASH, CRaceData::PART_SASH, 0);
		RefreshActorInstance();
		return;
	}
	
	RegisterModelThing(CRaceData::PART_SASH, pItemData->GetModelThing());
	SetModelInstance(CRaceData::PART_SASH, CRaceData::PART_SASH, 0);
	AttachModelInstance(CRaceData::PART_MAIN, "Bip01 Spine2", CRaceData::PART_SASH);
	
	if (fSpecular > 0.0f)
	{
		SMaterialData kMaterialData;
		kMaterialData.pImage = NULL;
		kMaterialData.isSpecularEnable = TRUE;
		kMaterialData.fSpecularPower = fSpecular;
		kMaterialData.bSphereMapIndex = 1;
		SetMaterialData(CRaceData::PART_SASH, NULL, kMaterialData);
	}
}
#endif
hoffe mir kann jemand helfen
lg
Waaaasgeht is offline  
Old 10/17/2017, 12:02   #2
 
Lauling's Avatar
 
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
hallo. der fehler sagt dir bereits wo das problem liegt.
PHP Code:
error C2039'PART_SASH'Ist kein Element von 'CRaceData'    c: \Client\GameLib\ActorInstanceAttach.cpp    613    gamelib 
öffne ActorInstanceAttach.cpp und bearbeite die zeile 613 denn dort fehlt eine dekleration.

Poste mal den inhalt deiner ActorInstanceAttach.cpp

mfg
Lauling is offline  
Reply


Similar Threads Similar Threads
Error Sash System (Character)
01/18/2016 - Metin2 Private Server - 0 Replies
Hey guys, I am currently trying to add on my Client the Sash System... but i am having some errors. I compiled the GAME+ DB+ BINARY with no errors, add everything to the server and client... but i get this: 5491d78be7.jpg
Sash system compile binary error
08/11/2015 - Metin2 Private Server - 1 Replies
Hey com :) Hab das Schulterband system soweit eingefügt und das fängt an beim client zu zicken. Ich hoffe ihr habt da eine idee. Das ist der fehler. clientbinary.jpg - directupload.net habe in GameLIb/ActorInstanceData.cpp void CActorInstance::SetAcce(DWORD eAcce, float fSpecular) {



All times are GMT +1. The time now is 19:04.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.