enisina
-
Posts
195 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by enisina
-
-
-
On 10/12/2019 at 6:24 PM, Anix said:
That's why you need to buy the source man.
leave here
-
15 minutes ago, Alvane said:
Maybe you entered wrong port for marks in serverinfo.py?
I checked. saving data to server
-
-
22 hours ago, VegaS™ said:
- Server\src\game\src\DragonSoul.h
//1.1) Search for: bool DragonSoulItemInitialize(LPITEM pItem); //1.2) Add after: bool AreActivedAllSlotsDragonSoulByPage(const LPCHARACTER ch, const BYTE bPageIndex = DRAGON_SOUL_DECK_0) const;
- Server\src\game\src\DragonSoul.cpp
//1.1) Search for: BYTE GetStrengthIdx(DWORD dwVnum) { return (dwVnum / 10) % 10; } //1.2) Add after: bool DSManager::HasActivedAllSlotsByPage(const LPCHARACTER ch, const uint8_t bPageIndex) const { if (!ch || bPageIndex >= DRAGON_SOUL_DECK_MAX_NUM) return false; const uint16_t iDragonSoulDeckAffectType = AFFECT_DRAGON_SOUL_DECK_0 + bPageIndex; // 540 + [0 or 1] if (!ch->FindAffect(iDragonSoulDeckAffectType)) return false; // start : 32 + ([0 or 1] * 6) = [32 or 38] // end : start + 6 const uint8_t iStartIndex = WEAR_MAX_NUM + (bPageIndex * DS_SLOT_MAX); const uint8_t iEndIndex = iStartIndex + DS_SLOT_MAX; uint8_t bSlotActive = 0; for (uint8_t bCell = iStartIndex; bCell < iEndIndex; ++bCell) // {0: 32-38, 1: 38-44} { const LPITEM pkItem = ch->GetWear(bCell); if (pkItem && pkItem->IsDragonSoul()) { if (IsTimeLeftDragonSoul(pkItem) && IsActiveDragonSoul(pkItem)) ++bSlotActive; } } return (bSlotActive == DS_SLOT_MAX); }
- How-To-Use-Ex:
#include "DragonSoul.h" const DSManager & rkDSManager = DSManager::instance(); if (rkDSManager.HasActivedAllSlotsByPage(ch, DRAGON_SOUL_DECK_0)) { ch->ChatPacket(CHAT_TYPE_INFO, "DragonSoul: You've all of the dragon souls active in page 1."); // do something } if (rkDSManager.HasActivedAllSlotsByPage(ch, DRAGON_SOUL_DECK_1)) { ch->ChatPacket(CHAT_TYPE_INFO, "DragonSoul: You've all of the dragon souls active in page 2."); // do something }
You are a genius! can i ask you for help? I don't know the c ++ language. can you write a function for this to work?
item.GetDSSetWeight(dsType, grade)
item.GetDSBasicApplyCount(dsType, grade)item.GetDSBasicApplyValue(dsType, type)
item.GetDSAdditionalApplyValue(dsType, type)
if app.ENABLE_DS_SET: def __AppendDragonSoulAttributeInformation(self, attrSlot, dsType = 0, grade = 0): if 0 != attrSlot: if grade != 0: setWeightValue = item.GetDSSetWeight(dsType, grade) basicApplyCount = item.GetDSBasicApplyCount(dsType, grade) for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM): type = attrSlot[i][0] value = attrSlot[i][1] if 0 == value: continue affectString = self.__GetAffectString(type, value) if affectString: affectColor = self.__GetAttributeColor(i, value) setValue = 0 if i < basicApplyCount: setValue = item.GetDSBasicApplyValue(dsType, type) else: setValue = item.GetDSAdditionalApplyValue(dsType, type) if setValue != 0: setValue = (setValue * setWeightValue - 1)/100 + 1 if affectString.find('%') == -1: self.AppendTwoColorTextLine(affectString, affectColor, " (+%d)" % (setValue)) else: self.AppendTwoColorTextLine(affectString, affectColor, " (+%d%%)" % (setValue)) else: self.AppendTextLine(affectString, affectColor) else: for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM): type = attrSlot[i][0] value = attrSlot[i][1] if 0 == value: continue affectString = self.__GetAffectString(type, value) if affectString: affectColor = self.__GetAttributeColor(i, value) self.AppendTextLine(affectString, affectColor)
-
-
16 minutes ago, MrQuin said:
Use https://paste2.org to paste the files because i can't download them
or use mega
uiguild.py
uiuploadmark.py
- 1
- 1
-
On 10/9/2019 at 4:40 PM, MrQuin said:
post your uiguild.py + uiUploadMark.py
-
-
21 minutes ago, MrQuin said:
A picture would be nice
*And if you bought the source from @martysama0134(even thought i don't think it is a source problem) you sould've asked him
i didn't buy, i'm using warez version
-
Hi, i have a problem like this, guild icons don't show
update
when I try to load a signature it gives a syserr;
invalid idx 0
invalid idx 0
markmanager.cpp
bool CGuildMarkManager::GetBlockCRCList(DWORD imgIdx, DWORD * crcList) { // Ŭ¶óÀ̾ğÆ®¿¡¼ ¼¹ö¿¡ ¾ø´Â À̹ÌÁö¸¦ ¿äûÇÒ ¼ö´Â ¾ø´Ù. if (m_mapIdx_Image.end() == m_mapIdx_Image.find(imgIdx)) { sys_err("invalid idx %u", imgIdx); return false; } CGuildMarkImage * p = __GetImage(imgIdx); if (p) p->GetBlockCRCList(crcList); return true; }
Uptade;
devil updated 1.8 problem persists.
- 2
- 1
- 1
-
On 10/2/2019 at 1:13 AM, xP3NG3Rx said:
Holly kebab! This code looks like chernobyl.
On 10/2/2019 at 1:54 AM, filipw1 said:ch->YukseltmePaneliniAc();
Dunno what you are talking about
On 10/2/2019 at 2:44 AM, ManiacRobert said:self.AuraText1 = KygnObject("AuraText1") self.AuraText2 = KygnObject("AuraText2") self.AuraText3 = KygnObject("AuraText3") self.AuraText4 = KygnObject("AuraText4") self.AuraText5 = KygnObject("AuraText5") self.AuraText6 = KygnObject("AuraText6")
Ok
On 10/2/2019 at 11:28 AM, Syreldar said:I think Jesus appeared before me for a brief moment after reading this.
On 10/2/2019 at 12:12 PM, MrQuin said:On 10/3/2019 at 12:14 AM, cBaraN said:Ugh... god bless us from these codes
On 10/3/2019 at 7:10 AM, Helia01 said:OMFG...
I was blindedyou expect a system like a beggar in the forum, and then you raise words to others when you can't do shit yourself. If you know so much when you do share. the half-wit: D
-
Dostum resim görünmüyor.
English: pictures not show
-
2 hours ago, MrQuin said:
More than 300 player
where did you get it? download link?
-
5 hours ago, V0lvox said:
What the syserr say ? Debug Binary?
no syserr, debug is not compiled with client.
edit: fixed black screen problem. The file public_store_001.dds does not exist. I couldn't solve the problem with editing tooltip fix
-
12 minutes ago, MrQuin said:
Ken's'i yaklaşık 3 yıldır kullanıyorum ve onunla hiçbir problemim yok
how many players did you use on the server?
-
9 hours ago, Dalí said:
Of those mentioned by you, great is the best option
ken and great systems are using sql. koray is using cache. Doesn't that make more sense?
9 hours ago, Kori said:@Ikarus_ offline Shop
sorry but his system has a very ugly interface.
8 hours ago, ManiacRobert said:All public offlineshop's have memory leak and at final server will crash with 'Segmentation Fault (core dumped)", don't use any public offlineshop, but, if you have general knowledge about memset and moving all querry to smart pointers, you're good, but remove edit function and don't use ken.
koray says there is no problem. also why should we not use ken? I don't think of using edit functions at all.
-
Quote
NextUpdate will include Hair
https://metin2.download/picture/bFm48CE3T4YF2k5I36YO6n1I9UMJUR6O/.gif
2.0 -> Rüstung Costüme/Waffen
3.0 -> Hair bug Fix + On/Off Render Target on Gameoptions
such a problem occurred when I made these arrangements. also the background is black? @V0lvox
- 1
-
On 24.08.2019 at 11:05, Mali61 said:
Can you make tutorial in cmake compiler?
- 1
- 1
- 2
- 1
-
Ken, great, koray offlineshop. which do you think is the best performance?
-
incompatible with weapon evolution system. Can you help? thanks @V0lvox
-
-
if there is no item in 1st place and the /test 0 1 command is used, the game will crash.
if(!item)
return;
Not work
-
What source branch should I use?
in Community Support - Questions & Answers
Posted
hello, which version of the game and client source branch does not give any package errors?