Jump to content

Recommended Posts

1 godzinę temu, xP3NG3Rx napisał:

What do you mean with this?

Btw, here is my reversed class for the Monstercard render target, you can check it for your own ideas.

This is the hidden content, please

This one is still not compatible with this base, so you have to code it by yourself to make it work.
Practice :D.

pvw19788.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 2
  • Love 1
Link to comment
Share on other sites

  • Honorable Member

Ahhh, yes. I'm blind. I've read WoM instead of WoW :lol:.
But to be honest, that is not necessary at all.
In metin2 you can see all the time how your character looks like, so why would we put it on the inventory as well?
I would understand if the game would have that much opportunity like wow has, you could customize your outfit or something, but doesn't.

Link to comment
Share on other sites

  • Forum Moderator
On 2/24/2019 at 4:59 PM, xP3NG3Rx said:

Btw, here is my reversed class for the Monstercard render target, you can check it for your own ideas.

This one is still not compatible with this base, so you have to code it by yourself to make it work.
Practice :D.

Haha, i did it long time ago, now you make it public, danke sexy p3nger. ?

I think i will post my full version, soon.

 

  • Love 10
Link to comment
Share on other sites

  • Premium

Hmm..somehow when I try to open the client it closes even before channel window is able to show, without any error. Although it compiles fine.

Has anyone got the same error and managed to fix it? I'm sure I messed up somewhere I just can't find the issue.

Of course, I doublechecked every single implementation and I'm sure I did okay.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

  • Premium
18 minutes ago, xP3NG3Rx said:

Errorlog, syserr could help.

That's the thing, I got no error.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

  • Premium
5 minutes ago, xP3NG3Rx said:

Have you tried in debug mode?

I'll try very soon, thanks for the answers.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

1 oră în urmă, Syreldar a spus:

I'll try very soon, thanks for the answers.

It's probably not an error, it's a code problem.

The client must be set to debug mode.

d47c435855c89f72818533e49aa999b7.png

Now change the launcher's output directory to the client's folder.

abb3644dbf36e9b711d75991f6ebe768.png

Now make this change in Debugging. (UserInterface -> Properties -> Debugging)

66bd8c1284829f28346496ad791a9e23.png

Open a new debugging instance:

5504aa49294820b68556bc7fba29ad5b.png

 

In this way, you will be able to see the call stack.

Once the debug instance begins, log in to the client and wait for the crash. When the crash will appear you will be able to see callStack in visual studio ..

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

vor 39 Minuten schrieb TysonDMG:

now i have another problem.. 

CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 19 

i can't view weapon and armors.. 

maybe because this is only a basic version not a "i put all things in your ass and you have nothing to do" version.

Link to comment
Share on other sites

vor 1 Minute schrieb TysonDMG:

0307 14:01:05395 :: 'module' object has no attribute 'SetArmor'
line

        renderTarget.SetArmor(self.RENDER_TARGET_INDEX, 11499)
can you help with this..?

I told you always my opinion. And the function SetArmor is NOT included. As i said, not a "i put all things in your ass and you have nothing to do" version. ??‍♂️

Link to comment
Share on other sites

9 hours ago, TysonDMG said:

0307 14:01:05395 :: 'module' object has no attribute 'SetArmor'
line

        renderTarget.SetArmor(self.RENDER_TARGET_INDEX, 11499)
can you help with this..?

First in CRenderTarget.h find void SelectModel(DWORD index);

add 

		void ChangeArmor(DWORD dwVnum);
		void ChangeWeapon(DWORD dwVnum);
		void ChangeHair(DWORD dwVnum);

If you named the functions in crendertarget.cpp otherwise change it as you named them

Second in UserInterface/CPythonRenderTargetModule.cpp

find this { "SelectModel", renderTargetSelectModel, METH_VARARGS },

add

		{ "ChangeArmor", renderTargetChangeArmor, METH_VARARGS },
		{ "ChangeWeapon", renderTargetChangeWeapon, METH_VARARGS },
		{ "ChangeHair", renderTargetChangeHair, METH_VARARGS },

And in crendertarget.cpp should look like this

void CRenderTarget::ChangeArmor(DWORD vnum)
{
	if (!m_visible || !m_pModel)
		return;
	
	m_pModel->SetArmor(vnum);
	m_pModel->Refresh(CRaceMotionData::NAME_WAIT, true);
}

It works for me, tell me if it helped.

Link to comment
Share on other sites

La 07.03.2019 la 23:13, Artefact a spus:

First in CRenderTarget.h find void SelectModel(DWORD index);

add 


		void ChangeArmor(DWORD dwVnum);
		void ChangeWeapon(DWORD dwVnum);
		void ChangeHair(DWORD dwVnum);

If you named the functions in crendertarget.cpp otherwise change it as you named them

Second in UserInterface/CPythonRenderTargetModule.cpp

find this { "SelectModel", renderTargetSelectModel, METH_VARARGS },

add


		{ "ChangeArmor", renderTargetChangeArmor, METH_VARARGS },
		{ "ChangeWeapon", renderTargetChangeWeapon, METH_VARARGS },
		{ "ChangeHair", renderTargetChangeHair, METH_VARARGS },

And in crendertarget.cpp should look like this


void CRenderTarget::ChangeArmor(DWORD vnum)
{
	if (!m_visible || !m_pModel)
		return;
	
	m_pModel->SetArmor(vnum);
	m_pModel->Refresh(CRaceMotionData::NAME_WAIT, true);
}

It works for me, tell me if it helped.

ILp1hvf.png

SYSERR: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 11209

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.