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.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...