-
Posts
276 -
Joined
-
Last visited
-
Days Won
7 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Shang
-
M2 Download Center Download Here ( Internal ) Hi devs, today I will release the fix I made for the skill cooldown, already fixed on official servers, this is the bug it self: And this is the fix: Regards! Fix skill cooldown ~ Shang.rar ### root/ui.py ### Search: def SetSlotCoolTimeColor(self, slotIndex, r, g, b, a): wndMgr.SetSlotCoolTimeColor(self.hWnd, slotIndex, r, g, b, a) ### Add after: def StoreSlotCoolTime(self, key, slotIndex, coolTime, elapsedTime = 0.0): wndMgr.StoreSlotCoolTime(self.hWnd, key, slotIndex, coolTime, elapsedTime) def RestoreSlotCoolTime(self, key): wndMgr.RestoreSlotCoolTime(self.hWnd, key) Thanks to @Horinna for report that bug. Here's the fix: """ Find this: elif (not self.__CanUseSkillNow()) or (skillGrade != j): skillPage.SetSlotCount(realSlotIndex, 0) skillPage.DisableCoverButton(realSlotIndex) Add this under:""" skillPage.DeactivateSlot(realSlotIndex) # After the else, paste this: if player.IsSkillActive(slotIndex) and (skillGrade == j): # fix001 skillPage.ActivateSlot(realSlotIndex) # The if should look like this: if (skillGrade == skill.SKILL_GRADE_COUNT) and j == (skill.SKILL_GRADE_COUNT-1): skillPage.SetSlotCountNew(realSlotIndex, skillGrade, skillLevel) elif (not self.__CanUseSkillNow()) or (skillGrade != j): skillPage.SetSlotCount(realSlotIndex, 0) skillPage.DisableCoverButton(realSlotIndex) skillPage.DeactivateSlot(realSlotIndex) # fix else: skillPage.SetSlotCountNew(realSlotIndex, skillGrade, skillLevel) if player.IsSkillActive(slotIndex) and (skillGrade == j): # fix skillPage.ActivateSlot(realSlotIndex)
- 52 replies
-
- 158
-
What Ken published is nothing. This is only a rendering of an image, published by Mijago with FineListBox for his last switchbot. This is what it does: Otherwise thanks for the release.
-
It doesn't but think it was my fault, because I added the alpha sensitive directly to the board object.
-
There is a bug with scaled images, look at this gif:
-
Looking for RenderTarget to buy.
Shang replied to Shang's topic in Paid Support / Searching / Recruiting
I don't have it. -
Looking for RenderTarget to buy.
Shang replied to Shang's topic in Paid Support / Searching / Recruiting
#UP -
Hello devs, I'm looking for the RenderTarget, what is it? Well, it was implemented on official servers with MonsterCard system and later with the Shop Decoration. Here's a video to show what I mean: I mean the mob model rendering. I pay for it, if someone is able to develop it, send me a private message on the forum.
-
It is the texture of the weapon, is not compatible with 100% specular.
-
Did you test what you wrote? If i'm not wrong, if u die and not unmount the horse, the player won't do the die animation, it will die but you will see it ridding the horse.
-
Look at the video lol
-
As sema said, it looks awesome, good job.
-
It is not necessary to change anything in the PythonBackground.cpp because there is already another level of shadow that makes what you want to do. Changing the shadow level to 5 is enough. The level 5 is the highest level.
-
Illumina Interface 3.0 System | Twix Work / LegolasOfficial
Shang replied to ZyuX's topic in Interfaces
Upload the intrologin.py file. -
Lol there is a bag on player's back.
-
Problem at creating a simply lua function C++
Shang replied to Krixius's topic in Community Support - Questions & Answers
int pc_get_rank(lua_State* L) { LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); if (!ch) { lua_pushnumber(L, 0); return 1; } char szQuery[512]; snprintf(szQuery, sizeof(szQuery), "SELECT rank FROM player.player WHERE name='%s'", ch->GetName()); std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery(szQuery)); if (pMsg->Get()->uiNumRows > 0) { MYSQL_ROW row = mysql_fetch_row(pMsg->Get()->pSQLResult); int iRank = 0; str_to_number(iRank, row[0]); lua_pushnumber(L, iRank); return 1; } lua_pushnumber(L, 0); return 1; } You are not pushing the query return value, you're pushing 0 all the time. Not tested. Oh, and it is better to declare first the LPCHARACTER to avoid core crashes if it doesn't exists. PS: Where did you get the Dev member? In a bet? -
list index out of range !!!
Shang replied to NeXoN's topic in Community Support - Questions & Answers
I didn't read it was a lua list, i thought it was a python dictionary, sorry sir. -
list index out of range !!!
Shang replied to NeXoN's topic in Community Support - Questions & Answers
I thought I was blind, but not, I see a dictionary here not a "theorical list". PS: Try to help not to correct others word. -
list index out of range !!!
Shang replied to NeXoN's topic in Community Support - Questions & Answers
Make a debug output of int(catId), maybe it isn't 1 and it is 0, oh, and try to do a check if the catId is in the dictionary with this: if self.items.has_key(int(catId)). -
I'm looking for the old metin2 webpage
Shang replied to Shang's topic in Community Support - Questions & Answers
2014 pls, 3 years... -
It only works on Warrior's with Sword Aura affect.
-
There is a public one in epvp.
-
official [Old][Archive] - [Official] Unpacked Updates Metin2.de
Shang replied to Shogun's topic in Guides & HowTo
Can someone upload 16.3 patches?