Jump to content

North

Premium
  • Posts

    465
  • Joined

  • Last visited

  • Days Won

    10
  • Feedback

    0%

Everything posted by North

  1. Tokenizing the packets would be a good idea.
  2. You can`t, the best way is to fix your problem serverside.
  3. Why would you need that? If they changed something is both client and server side so renaming again the old packet into the launcher won`t fix shit. The solution is capture again the packets and analyze them and update your damage hack, but since you didn`t do it you can`t fix this. And it is fair, a simple solution to block simple newbies.
  4. You are exceeding the maximum of 100% for that bonus. It`s like having 120% crit rate, you will crit 100% anyway. (example)
  5. If changing the packet name and size blocks you, then you should consider studying what you are actually doing.
  6. Dude you just have to import the module and run it when the button is clicked, if you can`t do that then im sorry but go back to the basics. I`ll help you with an example: filename autopotions.py class sampleclass: @staticmethod def sampledef(): print("Imported successfully") file importer.py from autopotions import sampleclass as f def start(): f.sampledef() start() or without class/static methods: class sampleclass: def sampledef(self): print("Imported successfully") from autopotions import sampleclass def start(): Sampleclass = sampleclass() Sampleclass.sampledef() start()
  7. My bad this time, i`ve misread. It wasn`t packet mismatching but sequence, and in this case it`s not so important but it gives you a hint probably. The main problem is that the socket (the client-server comunication) gets fucked somehow, you have to dig more to find the real issue. Hint: Using a debugger would help.
  8. It`s a patch not a problem solved probably (or you just have a messed up sash package) but gj
  9. The packets in your launcher and server aren't matched. Post in pastebin your packet.cpp launcher and server for further help.
  10. for a bunch of stupid stuff you really want to use other people code? jeez...
  11. Don`t be a fool. @ManiacRobert just gave you the correct solution. You have a mismatch somewhere, and it`s like 99% the subtype indexing.
  12. I know very well what he did and it`s just a copy/paste from the previous existing bonuses but it wasn`t about that. The point was to use the correct words for that part.
  13. case POINT_ATTBONUS_BELL: return LC_TEXT("Bell resistance: %d%%"); ? ATT and the text is resistance?
  14. ## Start of Pet/Mount System Bonus info ## elif itemVnum >= 53001 and itemVnum <= 53999 or item.GetItemSubType() == item.COSTUME_TYPE_MOUNT: self.AppendSpace(5) for g in xrange(item.ITEM_APPLY_MAX_NUM): (affectType, affectValue) = item.GetAffect(g) affectString = self.__GetAffectString(affectType, affectValue) if affectString: affectColor = grp.GenerateColor(0.3824, 0.5804, 0.9824, 1.0) # You can play here for the text color. self.AppendTextLine(affectString, affectColor) self.__AppendAttributeInformation(attrSlot) bHasRealtimeFlag = 0 for i in xrange(item.LIMIT_MAX_NUM): (limitType, limitValue) = item.GetLimit(i) if item.LIMIT_REAL_TIME == limitType: bHasRealtimeFlag = 1 if bHasRealtimeFlag == 1: self.AppendMallItemLastTime(metinSlot[0]) ## End of Pet/Mount System Bonus info ## Sorry, reupdated with the mount in the check aswell, i didn`t have any limits on that seal but if you have any they will apply as for the pets.
  15. Snippet updated to show the LIMIT information in the proto if there are any. ## Start of Pet System Bonus info ## elif itemVnum >= 53001 and itemVnum <= 53999: self.AppendSpace(5) for g in xrange(item.ITEM_APPLY_MAX_NUM): (affectType, affectValue) = item.GetAffect(g) affectString = self.__GetAffectString(affectType, affectValue) if affectString: affectColor = grp.GenerateColor(0.3824, 0.5804, 0.9824, 1.0) # You can play here for the text color. self.AppendTextLine(affectString, affectColor) self.__AppendAttributeInformation(attrSlot) bHasRealtimeFlag = 0 for i in xrange(item.LIMIT_MAX_NUM): (limitType, limitValue) = item.GetLimit(i) if item.LIMIT_REAL_TIME == limitType: bHasRealtimeFlag = 1 if bHasRealtimeFlag == 1: self.AppendMallItemLastTime(metinSlot[0]) ## End of Pet System Bonus info ## Result:
  16. Did you setup the atlasinfo to gather the coordinates from the shortcut that you are using?
  17. Code updated, that one posted wasn`t complete on my client (wasn`t appending the info to the space). ## Start of Pet System Bonus info ## elif itemVnum >= 53001 and itemVnum <= 53999: self.AppendSpace(5) for g in xrange(item.ITEM_APPLY_MAX_NUM): (affectType, affectValue) = item.GetAffect(g) affectString = self.__GetAffectString(affectType, affectValue) if affectString: affectColor = grp.GenerateColor(0.3824, 0.5804, 0.9824, 1.0) # You can play here for the text color. self.AppendTextLine(affectString, affectColor) self.__AppendAttributeInformation(attrSlot) ## End of Pet System Bonus info ## Some screenshots: For who doesn`t have a brain, here is the tabulation: Hope it will be useful to someone.
  18. Thanks for the fix. Message attacks are really a plague on Metin2.
  19. Just study python, or look up on stackoverflow, this thing is super trivial.
  20. just use questflags or the cmd, then you check if it`s 1 then print the info, if it`s 0 then don`t
  21. STOP MAKING REQUESTS HERE, THIS SECTION OF THE FORUM IS FOR TECHNICAL PROBLEMS NOT TO OPEN YOUR SHITTY SERVER, THANKS Arrogant prick
×
×
  • 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.