Jump to content

BadRomani

Inactive Member
  • Posts

    82
  • Joined

  • Last visited

  • Feedback

    0%

About BadRomani

Informations

  • Gender
    Male
  • Country
    Australia
  • Nationality
    Australian

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

BadRomani's Achievements

Community Regular

Community Regular (8/16)

  • Very Popular Rare
  • One Year In
  • Conversation Starter
  • Collaborator Rare
  • Dedicated

Recent Badges

170

Reputation

  1. It's used when Portal or Event NPCs spawn. Also, you might not use it, but someone else might use it frequently. This is a very good method in terms of performance. It doesn't matter how often you use it; the important thing is that you use it effectively, even if it's just once. I think you're a very ignorant person.
  2. When a mob spawns, SetProto is called. This retrieves all the data in the protocol. It is added to the map using RegisterRaceNumMap. Then, when you want to check for this mob's existence, you create an empty Interactor and fill it with GetCharactersByRaceNum. But GetCharactersByRaceNum was traversing the entire map. I changed it to Category. So; I want to search for this NPC with Vnumber from the Event Category. I want to search for this NPC with Vnumber from the Shop Category. etc. Increased Performance Download Alternative download links → M2DL
  3. To avoid errors like "object has no attribute", add this to Init. uiUserReport.py self.popup = None ----------- Reporting yourself is stupid. Open uiTarget.py and change: if app.ENABLE_USER_REPORT_SYSTEM: if chr.GetInstanceType(self.vid) == chr.INSTANCE_TYPE_PLAYER: if not player.IsMainCharacterIndex(vid) and self.reportButton: self.reportButton.Show() Importing files for every function is ridiculous. Also, creating classes manually is one of the things I hate most in life. Open game.py, search for it and add it. if app.ENABLE_USER_REPORT_SYSTEM: self.targetBoard.BindInterface(self.interface) Create InterfaceModule.py class (Close, Hide All, MakeWindow and more) Add InterfaceModule.py: if app.ENABLE_USER_REPORT_SYSTEM: def ToggleUserReportWindow(self): if not self.wndUserReportWindow.IsShow(): self.wndUserReportWindow.Open() else: self.wndUserReportWindow.Close() def UserReportTargetName(self, name): if self.wndUserReportWindow: self.wndUserReportWindow.SetTargetName(name) uiTarget.py Add: if app.ENABLE_USER_REPORT_SYSTEM: def BindInterface(self, interface): self.interface = interface def OnReportPlayer(self): if self.interface: self.interface.UserReportTargetName(self.nameString) self.interface.ToggleUserReportWindow() and uiTarget.py Add: Init Add - > self.interface = None Destryo Add - > self.interface = None
  4. Errors: 1: Time-limited items cannot be added. 2: Metin stones cannot be added to objects such as armor and weapons with the json file. For example: /i 19 you can add stones to this object. But you cannot add stones to the object that comes with the json file.
  5. Hello Everyone This Korean text is in locale_strings.txt but it is outputting like this. I tried with locale_strings.txt (untouched version) and it is giving the same error. What could be the reason for this? I am about to lose my mind. 1: [Hidden Content] 2: [Hidden Content] 3: [Hidden Content]
  6. Yes, I did that later. I tried to find the player's pid.
  7. I do not recommend using the system. When items are deleted, the affects in affect.sql are loaded.
  8. CEventFunctionHandler::Instance().AddEvent([pkKiller](SArgumentSupportImpl*) { pkKiller->TimeOver(2); }, "DEMON_TOWER_EVENT", std::chrono::seconds(10).count()); A function was developed that sends me a message with WHISPER after 10 seconds. But it doesn't work. Can the LPCHARACTER pointer be used? Example: char_battle.cpp ::Dead -> pkKiller
  9. @ Owsap I discovered a bug. These items are used as REAL_TIME. If the items are deleted, the effects are not deleted. Can you make an edit to delete the effects when the items are deleted?
  10. Yes, it should be like this. I was going to do it like this, in a shorter and more compact way. But I preferred to use return false for people who don't know the short circuit feature.
  11. bool CHARACTER::IsReflect() const { if (m_pkMobInst != nullptr) return m_pkMobInst->m_IsReflect; else return false; } Oh brother, you code so badly. Fix bool CHARACTER::IsReflect() const { if (m_pkMobInst != nullptr) return m_pkMobInst->m_IsReflect; return false; } // OTHER if (IsReflector() && IsReflect()) SetReflect(false); // OTHER if (IsReflector() && GetHPPct() < 25 && !IsReflect()) SetReflect(true);
  12. I added all the codes you gave without any problems. In the first codes you gave, there was no problem when the skill page was opened after riding after using the skills, only when the skill level changed from master to grandmaster or perfectmaster, there was a highlight problem and a time problem. But now, after doing everything you said, the same problem continues. Use the skill and change the page.
  13. if (ch->IsGM()) tch->SendEquipment(ch); else ch->PermissionViewEquip(tch, EPacketPermissionViewEquip::PERMISSION);
  14. Change your character and re-enter the game. Syserr.txt 0901 11:48:25282 :: File "uiAttr67Add.py", line 474, in RefreshLockedSlot 0901 11:48:25283 :: ReferenceError 0901 11:48:25283 :: : 0901 11:48:25283 :: weakly-referenced object no longer exists 0901 11:48:25283 ::
×
×
  • 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.