Jump to content

Recommended Posts

Posted

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.

 

Posted

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.

Posted

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!
Posted

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.
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock