How would i load a custom column from the characters database and save it?
Im trying to add some kind of a points system, im pretty new to c++ since i usually code in PHP & Java.
How would i load a custom column from the characters database and save it?
Im trying to add some kind of a points system, im pretty new to c++ since i usually code in PHP & Java.
Same way you would in anyother language. Make another column in the table, and then where ever the table is referenced in the source, be sure to add that extra column to be read.
What Zymus said, but personally I would create a new table for handling this, with the character GUID and your custom data stored. It's much easier to write a new bit of code for that table than having to rewrite all the old code to accept the new table structure.