Jump to content

Recommended Posts

What is this "Improved TraceError" ?

I always get bored with the coding style while coding.

Exmaple Old:

import dbg
value = 15
dbg.TraceError("Testing Code {}".format(value))

syserr output
0717 14:46:21398 :: Testing Code 15


This output is very difficult, and I constantly need to do "import" repeatedly.
It doesn't show in which file and on which line the output is given.
I have improved this significantly.
 

Exmaple New:

value = 15
printb("Testing Code {}".format(value))

syserr output
0717 14:46:21398 :: [Name:intrologin.py Line:188] Testing Code 15


This is the hidden content, please
 or 
This is the hidden content, please

 

  • Metin2 Dev 59
  • Good 8
  • Love 2
  • Love 10
Link to comment
https://metin2.dev/topic/31088-m2-improved-traceerror/
Share on other sites

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.