Jump to content
metin2dev

Nirray

Members
  • Content count

    23
  • Joined

  • Last visited

  • Days Won

    2

Nirray last won the day on October 9

Nirray had the most liked content!

Community Reputation

20 Good

1 Follower

About Nirray

  • Rank
    Neutral

Profile Information

  • Gender
    Male
  • Location
    Poland

Recent Profile Visitors

241 profile views
  1. Replace: if count > 1: for i in xrange(count): net.SendChatPacket(statusPlusCommand) To: if count > 1: net.SendChatPacket("%s %s" % (statusPlusCommand, count)) My test [without your CMD source edit] If it doesn't work, change second %s to %d because you have integer convert set. [count = int(self.inputDialog.GetText())]
  2. Nirray

    [KAMI SHOWCASE]

    LAST VISITED: January 21 Latest post: December 5, 2016 Last activity: January 8 I don't think so
  3. Nirray

    open Accessory socket time

    game\src\item.cpp Search: bool CItem::EquipTo(LPCHARACTER ch, BYTE bWearCell) scroll down and look for: // ACCESSORY_REFINE StartAccessorySocketExpireEvent(); // END_OF_ACCESSORY_REFINE Comment it with "//" then search: bool CItem::Unequip() and look for: // ACCESSORY_REFINE StopAccessorySocketExpireEvent(); // END_OF_ACCESSORY_REFINE Comment it with "//" Other way - change function void CItem::StartAccessorySocketExpireEvent() to: void CItem::StartAccessorySocketExpireEvent() { return; } You can also remove it from client python root\uitooltip.py for visual client aspects
  4. Nirray

    open Graphics changing upon distance?

    LODs are for performance boost for GPU/CPU. Yes you can - mostly of the metin .gr2 models have LOD files which are stored inside model or as separated .gr2 files with lod_01/2/3 at the end of the parent model name. For example: c1-009-hotel.gr2 and c1-009-hotel_lod_01.gr2 Or disable loading LODs in client source for granny .cpp/h files Post edit: \GameLib\ActorInstanceData.cpp void CActorInstance::SetShape(DWORD eShape, float fSpecular) \GameLib\Area.cpp __SetObjectInstance_SetBuilding \GameLib\RaceData.cpp CGraphicThing * CRaceData::GetLODModelThing() \EterGrnLib\ThingInstance.cpp void CGraphicThingInstance::UpdateLODLevel() + \EterGrnLib\LODController.cpp static float LODHEIGHT_ACTOR = 500.0f; static float LODDISTANCE_ACTOR = 5000.0f; static float LODDISTANCE_BUILDING = 25000.0f;
  5. Nirray

    open Graphics changing upon distance?

    It's called LOD
  6. Back to the Future Repair your DB tables https://dev.mysql.com/doc/refman/8.0/en/mysql-real-connect.html It used to be normal on those files
  7. Nirray

    open Hp recovery with potions

    I said "or" (there's no need to delete it if you already set true to false but I've also told you where the max health bonus occurs in the source code). For the second part I meant something like "do it yourself" but nevermind. Post here your char_item.cpp in code tag and item_proto lines of those vnums from DB: ITEM_AUTO_HP_RECOVERY_S = 72723, ITEM_AUTO_HP_RECOVERY_M = 72724, ITEM_AUTO_HP_RECOVERY_L = 72725, ITEM_AUTO_HP_RECOVERY_X = 72726, ITEM_AUTO_SP_RECOVERY_S = 72727, ITEM_AUTO_SP_RECOVERY_M = 72728, ITEM_AUTO_SP_RECOVERY_L = 72729, ITEM_AUTO_SP_RECOVERY_X = 72730, then I could help you again
  8. Nirray

    open Hp recovery with potions

    How to remove max hp bonus: char_item.cpp in \game\src Search: case ITEM_AUTO_SP_RECOVERY_X: isSpecialPotion = true; set it to false or scroll down and search: if (true == isSpecialPotion) { if (type == AFFECT_AUTO_HP_RECOVERY) { bonus = POINT_MAX_HP_PCT; } else if (type == AFFECT_AUTO_SP_RECOVERY) { bonus = POINT_MAX_SP_PCT; } } delete/comment Also, your fast health recovery bug is in the same file (char_item.cpp) - or db item_proto values Search: PointChange + POINT_HP Good luck!
  9. Nirray

    open question about locale_game.txt

    Fastest way Edit locale_game.txt And add after "LOGIN_CONNETING" |cffRRGGBB RR - Red value in hex GG - Green value in hex BB - Blue value in hex //Addon: cff -> alpha value in hex Result:
  10. Nirray

    open NPC run motion

    more like no motion accumulation in .gr2 animation
  11. Nirray

    open Skillbook display problem

    uitooltip.py in root Search: elif 50300 == itemVnum: if 0 != metinSlot: self.__SetSkillBookToolTip(metinSlot[0], localeInfo.TOOLTIP_SKILLBOOK_NAME, 1) self.ShowToolTip() return And and below elif with your ID/set "or" after itemVnum Edit: I forgot that skillbook is only one -> check @JarajTo solution (but I don't think it's good, because 6th skills are with us since 2014 and it's some kind of item_proto/python problem) Edit2: Check if all of your skills are in root-> playersettingmodule.py and locale -> skilldesc.txt/skilltable.txt
  12. Change it to: #include <Windows.h>
  13. Nirray

    open Patcher build

    Link is down and also post here those errors so we could help you
  14. My solution: quest showlevel begin state start begin when 9010.chat."Your level: #PlayerGetLevel" begin say(""..pc.get_level().."") end end end Python client script: root->uiquest.py Search: def AppendQuestion(self, name, idx): and replace if not self.btnAnswer: return import player import string level = str(player.GetStatus(player.LEVEL)) new_name = string.replace(name, '#PlayerGetLevel', level) self.btnAnswer[idx].SetText(new_name) x, y= self.btnAnswer[idx].GetGlobalPosition() like that: Result:
  15. quest showlevel begin state start begin when 1231.chat."Show level" begin say(""..pc.get_level().."") end end end
×