Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/04/18 in all areas

  1. If I'm not mistaken, that's how it should work. LUA -- gameforge.channel_reminder = {} -- gameforge.channel_reminder._010_syschat = "You're connected to channel %d." quest channel_reminder begin state start begin when login begin local channelID = pc.get_channel_id() syschat(string.format(gameforge.channel_reminder._010_syschat, (channelID == 99 and 0 or channelID))) end end end Source // "CHANNEL_REMINDER_SYSCHAT"; // "You're connected to channel %d."; ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("CHANNEL_REMINDER_SYSCHAT"), g_bChannel == 99 ? 0 : g_bChannel);
    2 points
  2. Hi fellas, Here are the official version of these classes: CMoveTextLine - Used in Yutnori CMoveImageBox - Used in MonsterCard, Rumi and CatchKing CMoveScaleImageBox - Used in Yutnori I already reversed them months ago except the CMoveScaleImageBox but yesterday I finished them coz they had a little problem, but now seems working well. What you must know, this release isn't stable, I just reversed them, and tested with the scripts what you will see, so I couldn't stress them, they may have problems. And I don't recommend to use the SetScalePivotCenter function, I don't know why but works a bit strange than the official, it needs something more during the texture load in. Video of them: PS: If I missed something just write a comment below.
    1 point
  3. M2 Download Center Download Here ( Internal ) Download Here ( Mega ) Here you have 50 New Npc's for your Privatserver. I dont have screens becuse of >> 50 Npcs... sorry maybe when i have Time, ill update the thread. Screen Hope you need the Npc's. Elitepvpers = Link down, now only here on metin2dev. PS: Exported by me, long ago
    1 point
  4. Dear Community, I have decided to share the first part of my model collection with you, which contains about thousands of 3D granny models. Of course, most of them are published on epvp or on other forums, but some of them are very hard to find. By the way, it does not include all the 3D models I have ever found, just the better ones. It is possible that not all of them are working perfectly and that you can find ugly ones in the collection too, but most of them are very useful and attractive. If you like them, later I may share the second part too. Some screens: Download [1,2Gb]: I hope that you will enjoy them Kind regards, RoxaLyssa
    1 point
  5. A guy asked me to do this to them, so I said to share with you. I think this is good for pvm server. Download link: [Hidden Content]
    1 point
  6. 1 point
  7. For quest already exist a option. say(string.format("[ITEM value;%d]", 189)) -- c_item_name(vnum) say(string.format("[MOB value;%d]", 20091)) -- c_mob_name(vnum) EVENT_TYPE_ITEM_NAME EVENT_TYPE_MONSTER_NAME
    1 point
  8. At config put 0 to check hack or something like that.
    1 point
  9. AttackProcess(); MovementProcess(); m_GraphicThingInstance.MotionProcess(IsPC()); // Hide weapon: GetCurrentMotionIndex public version of the __GetCurrentMotionIndex in gamelib\\ActorInstance.h if (m_GraphicThingInstance.GetCurrentMotionIndex() < CRaceMotionData::NAME_CLAP || m_GraphicThingInstance.GetCurrentMotionIndex() == CRaceMotionData::NAME_DIG) { if (m_GraphicThingInstance.GetPartItemID(CRaceData::PART_WEAPON) != m_adwPart[CRaceData::PART_WEAPON]) { m_GraphicThingInstance.AttachWeapon(m_adwPart[CRaceData::PART_WEAPON]); CItemData* pItemData; if (CItemManager::Instance().GetItemDataPointer(m_adwPart[CRaceData::PART_WEAPON], &pItemData)) __GetRefinedEffect(pItemData); } } else if (m_GraphicThingInstance.GetPartItemID(CRaceData::PART_WEAPON)) { m_GraphicThingInstance.AttachWeapon(0); __ClearWeaponRefineEffect(); } // EOF Hide weapon if (IsMountingHorse()) { m_kHorse.m_pkActor->HORSE_MotionProcess(FALSE); } Give a try with this, just put in the CInstanceBase::Update make it fit over there, and don't forget to make a public function for the GetCurrentMotionIndex.
    1 point
  10. 1 point
  11. "c++11" code, a little bit optimised maybe someone will be interested; void CPythonPlayer::PickCloseItemVector() { CInstanceBase * pkInstMain = NEW_GetMainActorPtr(); if (!pkInstMain) return; TPixelPosition kPPosMain; pkInstMain->NEW_GetPixelPosition(&kPPosMain); CPythonItem& rkItem = CPythonItem::Instance(); std::vector<DWORD> itemlist{ rkItem.GetCloseItemVector(pkInstMain->GetNameString(), kPPosMain)}; if (itemlist.empty()) return; for (auto &i : itemlist) SendClickItemVectorPacket(i); } std::vector<DWORD> CPythonItem::GetCloseItemVector(const std::string & myName, const TPixelPosition & c_rPixelPosition) { DWORD dwCloseItemDistance = 1000 * 1000; std::vector<DWORD> itemlist; for (auto &i : m_GroundItemInstanceMap) { TGroundItemInstance * pInstance = i.second; DWORD dwxDistance = DWORD(c_rPixelPosition.x - pInstance->v3EndPosition.x); DWORD dwyDistance = DWORD(c_rPixelPosition.y - (-pInstance->v3EndPosition.y)); DWORD dwDistance = DWORD(dwxDistance*dwxDistance + dwyDistance * dwyDistance); if (dwDistance < dwCloseItemDistance && (pInstance->stOwnership == "" || pInstance->stOwnership == myName)) { itemlist.push_back(i.first); } } return itemlist; // moving vector not explicit } void CPythonPlayer::SendClickItemVectorPacket(DWORD dwIID) { if (IsObserverMode()) return; CPythonNetworkStream& rkNetStream = CPythonNetworkStream::Instance(); rkNetStream.SendItemPickUpPacket(dwIID); }
    1 point
  12. Solution is in IntroSelect.py Add that line
    1 point
  13. Hi guys, i wanna let u know that dungeon is not for sale anymore! Ty for your interest keep on eye on my posts because soon I will have more cool content.
    1 point
  14. M2 Download Center Download Here ( Internal )
    1 point
  15. some people asked me to reupload it, so here it is. [Hidden Content] !kadB1ag08kJqD502gvSoqNIF2V14yHk_iEreuK7VCtE best regards, dexam
    1 point
  16. @Endymion Where is break? Information displays many times when we have a few in inventory e.g 10x Poison Sword+8. Under: BroadcastNotice(szUpgradeAnnouncement); Add: break;
    1 point
  17. Don't look at difference in item names, I used wrong item_proto in client. xd [Hidden Content]
    1 point
  18. Good job, but better thing will be if you can fix fonts globally in whole client. Text is rendered badly. Some letters like m, a etc. have some pixels on the bottom of letter or above etc. Try to use Tahoma font size 14px (Tahoma is fixed at size 12px) or Arial font size 12 px and you will see what happen. Problem is pixelating some letters. I think it's a problem of client source text converting. Maybe someting of this could fix the problem but idk. [Hidden Content] @xP3NG3Rx
    0 points
×
×
  • 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.