
Originally Posted by
s4nta
ctrl-f is your friend. many of the veterans here have spent years working on maplestory sources (lolrip) and desiring to instantly understand where things are just isn't reasonable if you're only starting out.
if i were given a fresh source that isn't odin-based and wanted to implement autoregister, here's what i'd do:
1) how do i want autoregister to look? most servers with it have it so it creates an account on login if it doesn't exist yet.
2) since i want to look for some method that's triggered on login, i'd do some trial and error to find what code is called when i enter my username and password (or look at past releases). in this case, it's loginpasswordhandler / mapleclient::login.
3) code up a method to check if an account exists, and a method to create an account with a given username and password. you'll have to play around a bit with this to find where it goes.
look at past releases a lot to see how other people code up stuff. there's no getting around the learning curve (which is admittedly quite steep); like every other codebase, you're going to have to spend a decent bit of time familiarizing yourself with it.