-
Posts
236 -
Joined
-
Last visited
-
Days Won
3 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Necro
-
-
Yes it was and therefore i put 0 because problem was too.
SOLVED -> Bad syntax in mob_proto -> client version
-
Hi, i have this little problem, i read that problem can be in mob_color but i set every mobs value (mob_color) to 0 and problem is continue, thanks for your ideas.
-
In locale_game.txt what do you have here
EXCHANGE_TITLE
Problem isnt by Lv in trade i can open window but when i put item, nothing happen
-
Hi guys, do you know where can be a problem? I know that problem isnt in game/db, binary, samowhere in root but uiexchange.py is good too. Thanks
-
Hi all, how can i convert mob_proto to the ansi when my dump_proto have a new structure? Thank you
-
That's all? No need to add the gr2 animation?
GR2 Animation was made by Ymir long time ago
-
1
-
-
At client src:
Change this(InstanceBase.cpp):
m_dwLevel = c_rkCreateData.m_dwLevel
To this:
BYTE level_mob = CPythonNonPlayer::Instance().GetMobLevel(c_rkCreateData.m_dwRace); m_dwLevel = ((c_rkCreateData.m_dwRace > 8 && c_rkCreateData.m_bType == CActorInstance::TYPE_ENEMY) ? level_mob : c_rkCreateData.m_dwLevel);
Ah and don't forget to include PythonNonPlayer.h
After that open PythonNonPlayer.h and add this:
std::map<DWORD, BYTE> LevelByVnum;
Next we need to open PythonNonPlayer.cpp:
Find this line:
m_NonPlayerDataMap.insert(TNonPlayerDataMap::value_type(pNonPlayerData->dwVnum, pNonPlayerData));
Under that line add this:
LevelByVnum[pNonPlayerData->dwVnum] = pNonPlayerData->bLevel;
And finally add this event:
BYTE CPythonNonPlayer::GetMobLevel(DWORD dwVnum) { map<DWORD, BYTE>::iterator it; it = LevelByVnum.find(dwVnum); if (it != LevelByVnum.end()) { return it->second; } return 0; }
It's untested but it will probably work.
One more thing -> PythonNonPlayer.h -> difine DWORD GetMobLevel; i hope that is right
-
1
-
-
Open "char.cpp"
Search
if (IsPC() == true && (LC_IsEurope() == true || LC_IsCanada() == true || LC_IsSingapore() == true))
replace if so it looks like this:
if (IsPC() == true && (LC_IsEurope() == true || LC_IsCanada() == true || LC_IsSingapore() == true)) { addPacket.dwLevel = GetLevel(); } else { if(IsPet()){ addPacket.dwLevel = GetLevel(); }else{ addPacket.dwLevel = 0; } }
Then open "PetSystem.cpp" and Search
m_pkChar->SetPet();
is added below
m_pkChar->SetLevel(100);
This tutorial is for pet´s....
-
Hi guys, what is a different between AFFECT_JEOKRANG, AFFECT_CHEONGRANG and AFFECT_RED_POSSESION,AFFECT_BLUE_POSSESION
That is the same or not?
-
Have you defined getinput function?
-
score can change in DB no?
-
-
-
Hi guys, i have little (for me big) problem
For me doesnt work animation for attack with hands and riding on the horse.
Do you know any how to solve it?
Thank you
-
-
look in this line :
char.cpp:3543: error: duplicate case valuechar.cpp:3401: error: previously used herechar.cpp:3544: error: duplicate case valuechar.cpp:3441: error: previously used hereand this point are already defined -> use ctrl+f -
Good work with granny
-
okey Thanks all
-
Hi, devs
Is that necessary because of the loading items or ymir only made some fun?
Thanks
if (iPulse - GetSafeboxLoadTime() < PASSES_PER_SEC(10)) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<â°í> â°í¸¦ ´ÝŔşÁö 10ĂĘ ľČżˇ´Â ż Ľö ľř˝Ŕ´Ď´Ů.")); return; }
Because i am still nervous like a player wait for 10 seconds to open
-
Hi, is there any chance to find binary for 2013 SF without positive virus scan (in Virus Total) with disable CRC a HS?
-
Hi how to do same code like this but with RESIST FOR EMPIRE(JINNO)?
else if (pkVictim->IsPC()) { iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_HUMAN)) / 100;
Thank you
-
Thanks i just looking for any error because everything is okay but bonus doesnt work -> shinsoo resist
-
Hi, can i do code like this?
if (pkAttacker->IsPC() == true) { switch (pkAttacker->GetJob()) { case JOB_WARRIOR: iAtk -= (iAtk * pkVictim->GetPoint(POINT_RESIST_WARRIOR)) / 100; break; case JOB_ASSASSIN: iAtk -= (iAtk * pkVictim->GetPoint(POINT_RESIST_ASSASSIN)) / 100; break; case JOB_SURA: iAtk -= (iAtk * pkVictim->GetPoint(POINT_RESIST_SURA)) / 100; break; case JOB_SHAMAN: iAtk -= (iAtk * pkVictim->GetPoint(POINT_RESIST_SHAMAN)) / 100; break; } switch (pkAttacker->GetEmpire()) { case 1: iAtk -= (iAtk * pkVictim->GetPoint(POINT_RESIST_SHINSO)) / 100; break; case 2: iAtk -= (iAtk * pkVictim->GetPoint(POINT_RESIST_CHUNJO)) / 100; break; case 3: iAtk -= (iAtk * pkVictim->GetPoint(POINT_RESIST_JINNO)) / 100; break; } }
two times switch?
-
Your work or some chinese mnorpg models and effect?
Mob_proto loaded by Client without LZO compress?
in Community Support - Questions & Answers
Posted
Hi is there any chance help me set this code ?![:D :D](//metin2.dev/board/applications/core/interface/js/spacer.png)