Dulens. Posted August 15, 2012 Posted August 15, 2012 Hello, I created one package of voiced commands. By typing these commands, you can take full gear for your class. Available Commands : || .gear_archer || .gear_mage || .gear_dagger || .gear_tank || .gear_duelist || http://pastebin.com/gjwTZ189 - Coded on aCis Last Revision. v2 - gonna have database store, in order to use this command only once. Quote
Lioy Posted August 15, 2012 Posted August 15, 2012 Thank for sharing. Just one tip, try to use arrays and for loops to give the items. Something like that : private int[] bow_items = {1,2,3,4,5}; // IDS for(int i : bow_items) player.addItem(blabla where id i); Doing this will be great and more readable which is important. Quote
Dulens. Posted August 15, 2012 Author Posted August 15, 2012 Thank for sharing. Just one tip, try to use arrays and for loops to give the items. Something like that : private int[] bow_items = {1,2,3,4,5}; // IDS for(int i : bow_items) player.addItem(blabla where id i); Doing this will be great and more readable. Thanks for your suggestion! Quote
Fanky Posted August 16, 2012 Posted August 16, 2012 Thank for sharing. Just one tip, try to use arrays and for loops to give the items. Something like that : private int[] bow_items = {1,2,3,4,5}; // IDS for(int i : bow_items) player.addItem(blabla where id i); Doing this will be great and more readable which is important. this. you would save many lines of coding. Also,it would be more advanced if a html poped up when someone would press .gearcommand and then five options for x,y,z,a,b class would appear.By voicedcommand it can be bypassed too easy,since it lacks of checks. v2 - gonna have database store, in order to use this command only once. useless if you ask me,just put a level check. Quote
Dulens. Posted August 16, 2012 Author Posted August 16, 2012 this. you would save many lines of coding. Also,it would be more advanced if a html poped up when someone would press .gearcommand and then five options for x,y,z,a,b class would appear.By voicedcommand it can be bypassed too easy,since it lacks of checks.useless if you ask me,just put a level check. Thanks for your suggestion, I'm gonna post today the v2. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.