Darihon Posted May 1, 2014 Report Share Posted May 1, 2014 Hello, Since I started working on my C++ skills, I thought I would make something that has use. What is it? This tool is basically a normal console that allows you to generate the code that you use to add weapons, vehicles and items to the traders (Eg. ('["1Rnd_HE_M203",1]',10,'[4,"ItemGoldBar",1]','[2,"ItemGoldBar",1]',0,60,'trade_items')). Any ETA? Not yet, the coding process is long, because every item (weapon, vehicle and items) have 10+ lines of code. I'm currently only done with adding the weapon list. Rough ETA: next week. Why did I post it this early? I want to know your guys opinion about it, if it's worth to keep going with this project. Pictures: Current ammount of lines: 464 insertcoins, Sandbird, celticwarrior06 and 3 others 6 Link to comment Share on other sites More sharing options...
bFe Posted May 1, 2014 Report Share Posted May 1, 2014 This would definitely simplify the "work" of adding new stuff to the trader, especially for the rookie server owners/admins. Link to comment Share on other sites More sharing options...
Darihon Posted May 1, 2014 Author Report Share Posted May 1, 2014 This would definitely simplify the "work" of adding new stuff to the trader, especially for the rookie server owners/admins. Great to know! :) Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted May 1, 2014 Report Share Posted May 1, 2014 Interested in this, will watch it for development! Link to comment Share on other sites More sharing options...
Darihon Posted May 1, 2014 Author Report Share Posted May 1, 2014 Thanks for the positive reactions, guys! I will see if I can finish this thing asap. Working on the prices right now! Link to comment Share on other sites More sharing options...
insertcoins Posted May 2, 2014 Report Share Posted May 2, 2014 awesome, will deffo use this Link to comment Share on other sites More sharing options...
Firecock Posted May 2, 2014 Report Share Posted May 2, 2014 Nice! Link to comment Share on other sites More sharing options...
hambeast Posted May 2, 2014 Report Share Posted May 2, 2014 Darihon, I had a similar tool I wrote a while back to generate inventory / backpack strings for donors. I found it immensely helpful when I moved the in game object data from hard coded arrays to a database. If you want I can provide you with my tables I use that contain the weapon classname, description, and ammo classnames. Link to comment Share on other sites More sharing options...
Darihon Posted May 2, 2014 Author Report Share Posted May 2, 2014 If you could send them, hambeast than that would one less pain in the ass. Working on strings right now, since I don't want 18k lines of code .. Link to comment Share on other sites More sharing options...
WAE Posted May 3, 2014 Report Share Posted May 3, 2014 Once you're done with the console version, you could go onto developing a GUI version of this application if you get bored, worth a try! :) Looking forward to this too :P Link to comment Share on other sites More sharing options...
Darihon Posted May 3, 2014 Author Report Share Posted May 3, 2014 A friend told me that that was a better solution too, but then I would need to learn C# firdt ^^. Link to comment Share on other sites More sharing options...
Darihon Posted May 3, 2014 Author Report Share Posted May 3, 2014 Just a quick update: I am working on the generating code, which is the latest thing that I'll have to do before I'll release V1. This version contains only: weapons and some stuff will need to be edited by hand (edit some: '' to: "" and buy/sell price, since it generates both the same atm.). Lines of code: 675 lines. Link to comment Share on other sites More sharing options...
xtxs Posted May 4, 2014 Report Share Posted May 4, 2014 Aww man I am want soooo bad :). Good work tho! Link to comment Share on other sites More sharing options...
Darihon Posted May 7, 2014 Author Report Share Posted May 7, 2014 Aww man I am want soooo bad :). Good work tho! Thanks! Working on the code right now, which will take some time since I ain't got much time this week. Link to comment Share on other sites More sharing options...
xtxs Posted May 16, 2014 Report Share Posted May 16, 2014 Sorry for buggung ^_^, but any update? Link to comment Share on other sites More sharing options...
Darihon Posted May 16, 2014 Author Report Share Posted May 16, 2014 I haven't had time yet to work further. I will see if I can make progess this weekend. Link to comment Share on other sites More sharing options...
hambeast Posted May 21, 2014 Report Share Posted May 21, 2014 If you could send them, hambeast than that would one less pain in the ass. Working on strings right now, since I don't want 18k lines of code .. Sorry Darthon, didn't see your reply until now. I've PM'ed you a pastebin of my primary_weapons and secondary_weapons tables. Hope they help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now