notbugme
-
Posts
50 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by notbugme
-
-
3 godziny temu, Raylee napisał:
Fotoğrafın işe yaramadı.
Bir resim yükleme kutusunu kullanın!
Örneğin: http://i.epvpimg.com
Saygılarımızla
RayleeOk. Thank you.
-
Why I shared my picture deleted
-
No problem. Than you.
-
Dnia 12.11.2018 o 17:20, xUniverse napisał:
Thanks,
This part of my function was good, but I found the problem in: if (CItemData::WEAPON_ARROW == pItemData->GetSubType()).
Solved.
### If someone has the same problem (and has NEW_ARROW_SYSTEM enabled), this is my fixed __HasEnoughArrow() function (in PythonPlayerSkill.cpp
bool CPythonPlayer::__HasEnoughArrow() { CItemData * pItemData; if (CItemManager::Instance().GetItemDataPointer(GetItemIndex(TItemPos(INVENTORY, c_Equipment_Arrow)), &pItemData)) if (CItemData::ITEM_TYPE_WEAPON == pItemData->GetType()) #ifdef ENABLE_NEW_ARROW_SYSTEM if (CItemData::WEAPON_ARROW == pItemData->GetSubType() || CItemData::WEAPON_UNLIMITED_ARROW == pItemData->GetSubType()) #else if (CItemData::WEAPON_ARROW == pItemData->GetSubType()) #endif { return true; } PyCallClassMemberFunc(m_ppyGameWindow, "OnCannotShotError", Py_BuildValue("(is)", GetMainCharacterIndex(), "EMPTY_ARROW")); return false; }
Thank you bro.
-
15 godzin temu, Caramelito napisał:
Ok, let's say somebody will answer you to that question. But mine is: what the f* you gonna do with it once you know that? You gonna ask for more and more and more. This is not a "how to" topic as penger said above.
No, I don't want any more. How you work without just pressing the button. Thanks you.
-
Do I have to press the button to work? How does it work without pressing the button?
-
Autopot aktive no sorty
-
I tried your python part but when I change channel, channel info (under minimap) is still same..
How Can I fix it? Thanks. -
-
-
-
-
Dnia 11.09.2018 o 5:46 PM, ѕeмa™ napisał:
U mean this right?
https://metin2.download/picture/yNIj3Wv5U09p00seMD8h5xRuS6BqRb4A/.gif
Well i did this:
Onupdate:if self.max_hp > self.actual_hp: if app.GetTime() > self.time: self.max_hp -= 1 dbg.TraceError(str(self.actual_hp)+"_"+str(self.max_hp)) self.hpGauge.SetPercentage(self.max_hp, 100) self.time = app.GetTime() + 0.005
def sethp
def SetHP(self, hpPercentage): if not self.hpGauge.IsShow(): self.SetSize(200 + 7*self.nameLength, self.GetHeight()) self.name.SetHorizontalAlignCenter() self.name.SetWindowHorizontalAlignCenter() self.name.SetPosition(0, 8) self.hpGauge.SetWindowHorizontalAlignCenter() self.hpGauge.SetPosition(0, 23) self.hpGauge.Show() self.percent.Show() self.UpdatePosition() self.max_hp = hpPercentage self.hpGauge.SetPercentage(hpPercentage, 100) self.actual_hp = hpPercentage
def init
self.actual_hp = 0 self.max_hp = 100 self.time = 0
I did this fast, if it's bugged i dont know but if u find a bug, tell me.
You can play with this code, example: if the difference is too high u can make the hp goes faster and if the difference is not too much goes slower.
Good luck
.....py ?
-
2 godziny temu, Dobrescu Sebastian napisał:
Serach in char_state.cpp: m_pkParty->SendMessage(this, PM_ATTACKED_BY, 0, 0); Add after: if (m_pkMobData->m_table.dwVnum == 1111) // mob that attack vnum { LPCHARACTER the_object = FindVictim(5555, m_pkMobData->m_table.wAggressiveSight); // 5555 = object vnum SetVictim(the_object); return; }
It's not tested, i just writed it.
- 1
-
18 godzin temu, WeedHex napisał:
Show a video, i can misunderstand the problem...
The monsters are attacking the object.
2 godziny temu, Dobrescu Sebastian napisał:Serach in char_state.cpp: m_pkParty->SendMessage(this, PM_ATTACKED_BY, 0, 0); Add after: if (m_pkMobData->m_table.dwVnum == 1111) // mob that attack vnum { LPCHARACTER the_object = FindVictim(5555, m_pkMobData->m_table.wAggressiveSight); // 5555 = object vnum SetVictim(the_object); return; }
It's not tested, i just writed it.
char_state.cpp: In member function 'virtual void CHARACTER::StateBattle()':
char_state.cpp:1115: error: invalid conversion from 'int' to 'CHARACTER*'
char_state.cpp:1115: error: initializing argument 1 of 'CHARACTER* FindVictim(CHARACTER*, int)'
gmake: *** [OBJDIR_GAME/char_state.o] Error 1
root@host:/usr/aSource/Server/game/src #
-
I tried your python part but when I change channel, channel info (under minimap) is still same..
How Can I fix it? Thanks. -
Hello, I'm just adding this system: VdpXlJxD!BmOqKWSm8mgLZi3GmHw_Iwbpea6lmTZZVVVijjk73X0
Everything went good, but I got problem when I send in client whisper client close and sysser from channel give me this errorProcess: UNKNOWN HEADER: 41, LAST HEADER: 0(0), REMAIN BYTES: 553, fd: 20
- 2
- 1
- 2
-
-
How do you make the monsters attack the pole?
-
Hello friends
On the Metin2 official server, the task category system shows the number of tasks on the side. How can I do that. Thank you. -
Dnia 18.05.2018 o 16:00, Adrian1997 napisał:
char.cpp için arama:
Eğer (m_bCharType == CHAR_TYPE_HORSE ||
GetRaceNum () == 20101 ||
GetRaceNum () == 20102 ||
GetRaceNum () == 20103 ||
GetRaceNum () == 20104 ||
GetRaceNum () == 20105 ||
GetRaceNum ( ) == 20106 ||
GetRaceNum () == 20107 ||
GetRaceNum () == 20108 ||
GetRaceNum () == 20109
)Yes Attached
if (m_bCharType == CHAR_TYPE_HORSE || GetRaceNum() == 20101 || GetRaceNum() == 20102 || GetRaceNum() == 20103 || GetRaceNum() == 20104 || GetRaceNum() == 20105 || GetRaceNum() == 20106 || GetRaceNum() == 20107 || GetRaceNum() == 20108 || GetRaceNum() == 20109 )
-
-
eğer ışınlandıktan sonra yada karakter değişikliğinden sonra binekten inmezse işte o zaman bug olur bu bug değil sistemin kendisi böyle
-
When the player enters any map, you can automatically remove the item from the costume window. How can I do this encoding?
Arrow Bag Horse Problem
in Community Support - Questions & Answers
Posted
Hello friends.
Arrow bag effect not working on horse. Thank You.