Jump to content

[C++] Fix Core Downer Using Negative Number in GM Codes


Recommended Posts

  • Active+ Member

INTRODUCTION & PROBLEM

Hello, today we will fix a few errors, especially the error that caused the core down by giving an unexpected negative (-) arg (number) in the commands (Example; /mob 101 -1), and we will also regulate the use of "ChatPacket" in this functions.

WHY ?

GMs are already part of the team, you may ask why we need this, you are right, but do not forget that a GM who does not have coding knowledge may accidentally trigger this, let's not leave it to chance.

SOLUTION

The process we will do is simple, it will be enough to make sure that the given arg value is within the range we want, let's get started.

This is the hidden content, please

Edited by MT2Dev
  • Metin2 Dev 97
  • Lmao 1
  • Good 20
  • muscle 1
  • Love 1
  • Love 36

spacer.png

©

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.