View Full Version : My first C++ script

02-20-2014, 12:36 AM
ok screwing around with one of my stupid lil toolz I decided to try and make a stand alone version of it thru VB or C# or C++.
I decided to go with C++.

ok what is it you say??
Ok well there are nice item generators for making custom items. butttt.....
they can only make 1 item at a time. if your only making a few items then yea they are awesome.
but what if you want to build custom tiers of armor for class's. that can take many hours.

sooo how does this help me you ask....
this will belch out an sql with a skeleton of 8 items per xx tiers for x class.
with scaled stats and armor value(not perfect math...).
then all that is left is to edit there names and the display id..(unless you can compile then you can change the display id's in the source.).

Source >> HERE (https://github.com/BlackWolfsDen/Toolz/blob/master/ArmorMaker/ArmorBundleBatcher.cpp)<<
Compiled >> HERE (http://www.mediafire.com/download/3m3rh2r7890l01p/ArmorBundleBatcher.exe)<<

I utilized 3D Array's and loops within loops.
`It'z another thing'o'mah'jigger`

02-20-2014, 01:59 AM
Kind of cluttered, but I guess it is good for your first. :P

02-20-2014, 02:23 AM
yea I kinda built this from the hip with a ton 'o' errs lol yea alotta the tables/arrays are not as condensed as they could be lol
but it works and even uses a ';' at the end instead of a ',' so the sql is "ready to grind" :D

02-21-2014, 12:41 AM
this is sick! i love it hahaha works great too.

02-21-2014, 11:38 AM
this is sick! i love it hahaha works great too.

thank you :D this is literally my very first c++ script lol figured I would give it a try with that tool and make it a bit easier to use rather than jumping thru hoops via server restart to make the tiers :D
I did not test the created items in-game but did cross reference primary values (subclass,invtype,reqClass,blah blah) to verify the proper bit or value, and that it does grind into the sql DB properly.