Jump to content

Metin2 Dev

Bot
  • Posts

    2151
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Metin2 Dev

  1. Aand what i said? Sending a compressed vector and reconstruct on client.. Compression is really worth.. i
  2. You not mentioned if your actual batch of packest are static or dynamic ? Try compress packets using lz4 and a use dynamic packet.
  3. On top of that function (IsEmptyItemGrid case INVENTORY) you have BYTE bCell (i think). Change that into WORD bCell.
  4. Redis, I understand. I moved to redis long time ago after a db crash. But why haproxy and moving the player on another instance ? Why do you want to work a lot to do this change instead of fixing the crashes. From my experience I can tell you crash cores are disaprearing completly after several months of online server if you solve them one by one. I recomend you start your game/db in test mode with ASAN for 10-15 players and after each exception just solve it.
  5. Yes. It's posible. The performance boost is not big anyway. If you want to do this on a live server and make the transition easy I recomend SOCI .
  6. def OnTop(self): self.SetFocus() Use this workaround
  7. Looks nice You can also try phpMyAdmin. You can create users with only read permissions.
  8. Check core's syslog, channel cores.. look for MOB: #132 and see if values for exp are 0 just to make sure that the proto is read correct
  9. for i in xrange(self.LEN_JOBLIST * 2 - 1): Delete that - 1
  10. The target need to wear pendant items. Make sure that the target wear pendat items and add a chatPacket so we can see what server send. if app.ENABLE_ELEMENT_TARGET: def SetHPTargetBoard(self, vid, hpPercentage, bElement): import chat chat.AppendChat(chat.CHAT_TYPE_INFO, "Target element: {}".format(bElement)) if vid != self.targetBoard.GetTargetVID(): self.targetBoard.ResetTargetBoard() self.targetBoard.SetEnemyVID(vid) self.targetBoard.SetHP(hpPercentage) self.targetBoard.SetElementImage(bElement) self.targetBoard.Show() else: def SetHPTargetBoard(self, vid, hpPercentage): if vid != self.targetBoard.GetTargetVID(): self.targetBoard.ResetTargetBoard() self.targetBoard.SetEnemyVID(vid) self.targetBoard.SetHP(hpPercentage) self.targetBoard.Show()
  11. Add in makefile game LIBS += -lssl
  12. Add a ChatPacket into SetHPTargetBoard and see the element value when u click on target player. It's not enough to modify only python part.. The players don't have an element by default.. The players are equipped with resistance against elements. You might want to check what resistance an player has for a specific element? What u try to do make no sense.
  13. Make sure they can't use another client, try add client version on auth phase! // Under: const TPacketCGEmpire* p = reinterpret_cast<const TPacketCGEmpire*>(c_pData); // Input_login.cpp // Add if (p->bEmpire != 1) { d->SetPhase(PHASE_CLOSE); return; } // Replace 1 in if statement with the empire index you want to keep.
  14. If you want to get an good answe then ask a good question.. You first said this " it says that function not declared" which i provided fix... not working your quest function is different than undeclared
  15. Add them in quest_functions locale/service/quest/quest_functions file
  16. Hi, unfortunately not. That project was frozen there and then. Are you struggling with the same thing?
  17. Good morning or evening, my client crashes when I hover over an item. It happens only sometimes and it's pretty random. Debugged it and wondering if someone could help me more than chatgpt thank you
  18. Can't get it why people use c++ to write simple dungeons instead of lua, but hey is cool to do things in c++ since source was released. Duneons should be done usijng lua where possible
  19. can anyone post a video what is this change doing?
  20. works fine on Martysama but you have to be careful when adding code thank you
  21. I reversed it a long time ago and I also played with it on official servers. - The element can be added on weapons +7 or bigger. - The element can be max +3 - For each plus you get a random value of element power between 1 and 8 - For each plus you get a random value of attack between 2 and 12 I got power of element value 8 multiple times on official so I don't think they have a special algorithm for the random.
  22. Well, stun him then. Or maybe also try to put his attack speed on a negative value (idk if this will work).
  23. Yes. Add an affect on him with the time that you want and stun him or set his movement speed to a negative value.
×
×
  • 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.