Jump to content

Exygo

Active Member
  • Posts

    534
  • Joined

  • Last visited

  • Days Won

    17
  • Feedback

    0%

Everything posted by Exygo

  1. It looks like you tried to acces key of a dict and that dict doesn't have that key..
  2. Man, I don't think you will find it, I think the design is made by darkdev long time ago
  3. Story: Over time I learned that the SetEvent function can cause weird problems in Metin2, maybe you have this bug or maybe not, I actually encountered this problem and found the fix. How to trigger the bug: 1. Use this quest for a test: quest test begin state start begin when 9003.chat."quest test" begin say("Hey we are doing a test here") local o = select("option 1","option 2") if o == 1 then return elseif o == 2 then return end end end end 2. Now you click on the NPC, choose "quest test" option and don't click on any option(1,2) 3. /transfer your_character with another GM account 4. The character who clicked on "quest test" option and didn't choose any of the sub-options (1 or 2 ) will now have an invisible stucked window on the center and can't click on the ground or click the area in the center of the screen(where the quest ui was before teleportation) How to fix it: 1. Go to uiQuest.py 2. In def MakeQuestion find the SetEvent functions and edit them as below: def MakeQuestion(self, n): global entire_questbutton_number global entire_questpage_number global cur_questpage_number entire_questpage_number = ((n-2)/7)+1 entire_questbutton_number = n if not self.board: return self.btnAnswer = [self.MakeEachButton(i) for i in xrange (n)] import localeInfo self.prevbutton = self.MakeNextPrevPageButton() self.prevbutton.SetPosition(self.sx+self.board.GetWidth()/2-164, self.board.GetHeight()/2-16) self.prevbutton.SetText(localeInfo.UI_PREVPAGE) #self.prevbutton.SetEvent(self.PrevQuestPageEvent, 1, n) # buggy self.prevbutton.SAFE_SetEvent(self.PrevQuestPageEvent, 1, n) # unbuggy self.nextbutton = self.MakeNextPrevPageButton() self.nextbutton.SetPosition(self.sx+self.board.GetWidth()/2+112, self.board.GetHeight()/2-16) self.nextbutton.SetText(localeInfo.UI_NEXTPAGE) #self.nextbutton.SetEvent(self.NextQuestPageEvent, 1, n) # buggy self.nextbutton.SAFE_SetEvent(self.NextQuestPageEvent, 1, n) # unbuggy if cur_questpage_number != 1: cur_questpage_number = 1 Note: After that you should check for other SetEvent functions (comment them and see if the bug still happens) Info: The bug has something to do with the function arguments Other locations where this bug caused problems: intrologin.py - can cause the arrow keys,enter,esc to not work in the select character phase
  4. Community thanks you for this pack, and for the snakes boobs too.
  5. This is just a notice for guys who didn't observed this ymir mistake, and is not about string length, you can let multiple accounts with modified py files with net.SendGuildPostCommentPacket in OnUpdate
  6. I just want to inform you guys(if you didn't know) that the function net.SendGuildPostCommentPacket can be used to increase the size of guild_comment table, so good luck to fix it in your server.
  7. And by the way you wrote s_adwEterPackKey() / s_adwEterPackKey() 2 times
  8. Maybe they need #include <cstdint> too ?
  9. If he has "[" in the name then you can do it easy in python
  10. Unfourtunately I can't open the attachments Sorry, there is a problem The page you are trying to access is not available for your account.
  11. Try DATE() + "..(get_time() + 7*60*60*24).." [Hidden Content]
  12. Use mysql_query function, i recommend to get it from wom2 src(c++) or search one on the forum
  13. It is a little bit too early don't you think ?
  14. You say this to everyone we shouldn't take your comments seriously, you are so invisible
  15. I think you need a new system that includes serverside too and maybe some packets etc
  16. It's logic.. you replace the path of auro for your client so the client replace the effect...
×
×
  • 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.