leonvanilla
-
Posts
12 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by leonvanilla
-
-
Acum 3 minute, displayjokes a spus:
The part you edited that is giving you errors, i don't see a missing ";" there, so it must be something else
I solved it, but it still tells me it's not online.
-
-
Acum 7 minute, displayjokes a spus:
I believe what you want to do can be done easier, you are only returning true in that function, on ACMD(do_emotion), find this:
if (!victim->IsPC() || victim == ch)
Change it to:
if ( (!victim->IsPC() && victim->GetRaceNum() != 30122 ) || victim == ch)
I believe it work, if not you can play around that if, this is not tested, plus what MrQuin said, you will need the animations for the NPCs.
NPC is a function starter in InstanceBase.cpp.
int i=0;
if(c_rkCreateData.m_dwRace == 30122)
{
SetInstanceType(CActorInstance::TYPE_PC);
SetRace(3);
i=1;
}Whatever I do in cmd_emotion tells me that NPC is not online.
I get this error at the function given to you above. -
Acum 4 minute, MrQuin a spus:
The fuc* am i looking at here ?
At least add the .gr2 emotions to the npc from the client sideI want you to be able to provide that NPC's emotions.
-
Acum 1 minut, displayjokes a spus:
You did not declared ch, you have it rch, change the ch-> to rch-> has it is declared on the begining
I tried and ...
-
Acum 1 oră, displayjokes a spus:
Watchout for the bumping rules, @Raylee will slap you
On topic, i belive you are doing this: IF character is NPC equals to 30122, do something, so try to spell it out, you will see the error, you verify if it's an NPC and you want a true or false to be a vnum/id..
I believe you must do GetRaceNum() to get a comparsion to npc vnum/id
Something like:
ch->IsNPC() && ch->GetRaceNum() == 30122
I'm getting this error.
-
Acum 10 minute, displayjokes a spus:
Watchout for the bumping rules, @Raylee will slap you
On topic, i belive you are doing this: IF character is NPC equals to 30122, do something, so try to spell it out, you will see the error, you verify if it's an NPC and you want a true or false to be a vnum/id..
I believe you must do GetRaceNum() to get a comparsion to npc vnum/id
Something like:
ch->IsNPC() && ch->GetRaceNum() == 30122
I'll try and come back with an answer, thank you nice.
-
-
How can I make emotions work on a particular NPC, I tried in cmd_emotion the function (ch-> IsNPC () == 30122), but I got an error.
-
-
I had the horse removed from the server for a long time and wanted to put it and show me the effect of running.
https://metin2.download/picture/pQzpuahyXTk7qW4oOE87M29W9W7MsUia/.gif
Does anyone know where the effect is to put it back, please?
Allow Emotion NPC
in Community Support - Questions & Answers
Posted
I said try to return true on that function but it gives me segmentation error.