Jump to content

m2Ciaran

Active+ Member
  • Posts

    48
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by m2Ciaran

  1. The purpose is to use it on your test server before you introduce drop changes on your main server
  2. ! I've only used it on my test server ! Download Set item id under "high_item" event flag to highlight the item name with different color (/e high_item IDOFITEM) Usage: /drop_simul IDOFMOB AMOUNT Result:
  3. for (int i = 0; i < ITEM_LIMIT_MAX_NUM; ++i) { long limitValue = item->GetProto()->aLimits[i].lValue; switch (item->GetProto()->aLimits[i].bType) { case LIMIT_LEVEL: if (GetLevel() < limitValue) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("아이템의 레벨 제한보다 레벨이 낮습니다.")); return false; } break; } } I suggest everyone to add this piece of code to avoid players opening (Apprentice) level chest below required level
  4. Visually far better than the currently used by gf
  5. Still looking around for someone with freetime to work on flyingmanager
  6. I've tried to reach you through discord, invited once again
  7. Still looking around, the problem is flying manager - shooting invisible instance
  8. Hello. Im looking for someone who can code ninja with bow shooting 3 targets at once. (obv paid) PM
  9. Download Hello. For servers which don't use fast pickup (like 1 click and everything is in inventory) here's small q&l. Hold ~ or Z key down to pick item. Preview:
  10. Im a player and its frickin crazy that combo is disabled right after rewarp, crash etc.. Might be done in python easily, but any #tryhard player use more than 1 client Here's small q&l Download Metin2 Download
  11. You just don't use the backbuffer with anti aliasing. With that said, the old screenshot method will not work, but this one might work: bool CPythonGraphic::SaveScreenShot(const char * c_pszFileName) { LPDIRECT3DSURFACE9 lpSurface; D3DSURFACE_DESC stSurfaceDesc; uint32_t uWidth = stSurfaceDesc.Width; uint32_t uHeight = stSurfaceDesc.Height; ms_lpd3dDevice->CreateOffscreenPlainSurface(uWidth, uHeight, D3DFMT_A8R8G8B8, D3DPOOL_SYSTEMMEM, &lpSurface, NULL); if(SUCCEEDED(ms_lpd3dDevice->GetBackBuffer(0, 0, D3DBACKBUFFER_TYPE_MONO, &lpSurface))) { D3DXSaveSurfaceToFile(c_pszFileName, D3DXIFF_JPG, lpSurface, NULL, NULL); } if(lpSurface) { lpSurface->Release(); lpSurface = nullptr; } return true; } If I remember correctly there is also problem with transparency in e.g. tooltip but i dont go deep into it. Its cool for us, but players dont give a fuck about edges so... i just don't work on it
  12. Change to array size might be required if you use any additional system related with skill table or 64bit files or or or... db src-> static char text[4096 + 1]
  13. Really sad to hear you have such a problem guys. Recently, I have installed the code in 40250 base by @ TMP4 and everything is fine. My bet is that you use some additional system, which require modification If its possible you can show me the edited files in PM I'll take a look.
  14. I assume the error you posted is not related with this qol code (I work on clean files I don't know what code you have)
  15. Yes only for books and that is right, I forget about the "master" level.. crazy things. Dl is updated once again Just move the uitooltip if like that to make it work with m10 (master): if skillLevel > 0: if self.HasSkillLevelDescription(skillIndex, skillLevel): self.AppendSpace(5) if skillGrade == skill.SKILL_GRADE_COUNT: pass elif skillLevel == skillMaxLevelEnd: self.AppendTextLine(localeInfo.TOOLTIP_SKILL_LEVEL_MASTER % (skillLevel), self.NORMAL_COLOR) else: self.AppendTextLine(localeInfo.TOOLTIP_SKILL_LEVEL % (skillLevel), self.NORMAL_COLOR) if app.ENABLE_SKILL_DESCRIPTION_RENEWAL: if skillGrade == 1: if self.HasSkillLevelDescription(skillIndex, skillLevel): self.AppendTextLine(localeInfo.TOOLTIP_SKILL_BOOKS % (player.GetRemainingBooks(slotIndex), need_bookcount), 0xff375cd4) self.AppendSkillLevelDescriptionNew(skillIndex, skillCurrentPercentage, self.ENABLE_COLOR)
  16. I have updated the file, you should change char_skill.cpp First search pPC->SetFlag(flag, 0); And remove SkillLevelUp(dwSkillVnum, SKILL_UP_BY_BOOK); Now change this This #ifdef ENABLE_SKILL_DESCRIPTION_RENEWAL m_pSkillLevels[dwSkillVnum].bBooks = 0; #else pPC->SetFlag(flag, 0); #endif To this: #ifdef ENABLE_SKILL_DESCRIPTION_RENEWAL m_pSkillLevels[dwSkillVnum].bBooks = 0; SkillLevelUp(dwSkillVnum, SKILL_UP_BY_BOOK); #else SkillLevelUp(dwSkillVnum, SKILL_UP_BY_BOOK); pPC->SetFlag(flag, 0); #endif
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.