retep998 / Vana

Git mirror of the svn repo for Vana, a MapleStory private server written in C++.
GNU General Public License v2.0
75 stars 34 forks source link

Add advanced !packet command #20

Open diamondo25 opened 7 years ago

diamondo25 commented 7 years ago

This command supports the following 'placeholders':

Also i fixed/expanded the atoli() function. It now acts more like atoi, where it has to remove whitespaces (using isspace) first, then check for the plus/minus sign, and after that finally parse the numbers. After that, make the value negative, of course.