• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

My first C++ script

slp13at420

Mad Scientist

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 <<
Compiled >> HERE <<

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

slp13at420

Mad Scientist
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
 

slp13at420

Mad Scientist
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.
 
Top