RPG Maker Vx Ace has a built in language which is ruby - this is the language that would mostly used for changing any functionality within the default engine. In order to use additional C++ systems with ace, you would have to write them in a dll and use ruby code to call the functions within the dll.
If you truly intend to accomplish tasks that others have deemed 'impossible' then I suggest you find a new challenge. Having FULL online functionality within ace is extremely possible, it just requires an
extensive knowledge of the following;
- the default rpg maker engine,
- ruby code writing,
- processing HTTP requests and interpreting their replies,
- php code writing,
- performing SQL Database queries with php,
- maintaining an SQL database,
And it also requires either of the following;
- Purchase an expensive server and services from some web host,
- Set up your own server, purchase a web domain etc and DIY. (involves much much much more work, such as downloading and installing php and SQL manually...)
(personally, I recommend both of these, then you can use your 'paid for server' for the finished project, and your own server (which should also be accessible offline -> ie, from your localhost) for performing changes to the system (for development).
Finally, and most importantly, it requires TIME.
In order to setup your own custom systems you have to debug a whole heap of crap such as; Why isnt your server returning the correct data? is it an issue in a php script or some ruby code? perhaps its a small bug hidden in your C++ dll?
Additionally, almost all of the default engine must be rewritten. If you want a login title screen, you have to rewrite the title system, the save system and the loading system, then you have to make your new system correctly interact with your web server, correctly process each request and interpret the incoming results - OH YEA, and dont forget the fact you have to rewrite the input system to detect all keypresses before you can do any of that! (cant login if you cant detect the keypress

)
As you can see, each 'small feature' requires an inordinate amount of work. Due to this, there is no single script I could show you. (well, I could link the core http processing script I wrote, but considering no one but me has seen it yet, and I have not finished it yet, that wont happen I'm afraid).
Others have stated, and I shall reiterate. Search the forums for the threads that have been asked on the subject of 'Online' and 'MMO' before (a lot of them fairly recently). Those topics may give you additional insight into how to go about setting things up.
Additionally, it would be 500x easier and quicker for you to use an alternative engine to create a game with online features.