Jump to content

[Share]AIO Voiced Command.


Recommended Posts

GRRR newb .cz dose not work! >.<

 

It's okay for me.. =/

Try again, or log in msn and tell me to send you the patch xd

Link to comment
Share on other sites

1) Everything is for every chronicle >_>

2) It has been coded for IL, since I know that 90% of "Devs" here use it. It can be 'changed' to Gracia though with 1-2 lil changes.

I know is every cronicle

but the codes are different ....

Thx Anyway for Info

Link to comment
Share on other sites

So guys?

2 pages from posts, and nobody can provide a detailed feedback, in order to know if I have to fix anything?

Link to comment
Share on other sites

So guys?

2 pages from posts, and nobody can provide a detailed feedback, in order to know if I have to fix anything?

newbs when ur on, change the pastebin link into a .com also give me the patch T_T

Link to comment
Share on other sites

So guys?

2 pages from posts, and nobody can provide a detailed feedback, in order to know if I have to fix anything?

Is as simple as it can be, what feedback do you want, I really like it, beautifull and nice.

Also add, messages when someone do something in AIO, to seem prettier :).

Link to comment
Share on other sites

you have an error

private static final String[] VOICED_COMMANDS = { "stats" };

 

it must be like:

private static final String[] VOICED_COMMANDS = { "aio" };

 

Its awesome :)

Link to comment
Share on other sites

you have an error

private static final String[] VOICED_COMMANDS = { "stats" };

 

it must be like:

private static final String[] VOICED_COMMANDS = { "aio" };

 

Its awesome :)

 

-beep-ing pastebin..

I fixed this 2 days before, but now it is still like that O_o

 

Check it again, it seems normal to me..

 

EDIT: Get your link nab Seth: http://pastebin.com/m3d930471

Link to comment
Share on other sites

Cayote, i think this is bugged

+			else if (_command.startsWith("aio_minishop"))
+			{
+				if (Config.ENABLE_VCAIO_SHOP)
+				{
+					InventoryUpdate iup = new InventoryUpdate();
+					activeChar.getInventory().reduceAdena("Item", Config.VCAIO_MINISHOP_ADENAS, activeChar, null);
+					activeChar.getInventory().addItem("Item", 3470, 1, activeChar, null);
+					activeChar.getInventory().updateDatabase();
+					activeChar.sendPacket(iup);
+				}
+			}

If you have 0 adena, you can still buy the Gold Bar.

 

Here is my fix for that, haven't tested it...( you cannot buy it if you don't have the adena that are needed ).

 

		+			else if (_command.startsWith("aio_minishop"))
			+			{
			+				if (Config.ENABLE_VCAIO_SHOP)
			+				{
			+	                 if (activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.VCAIO_MINISHOP_ADENAS)
			+               {
			+					InventoryUpdate iup = new InventoryUpdate();
			+					activeChar.getInventory().reduceAdena("Item", Config.VCAIO_MINISHOP_ADENAS, activeChar, null);
			+					activeChar.getInventory().addItem("Item", 3470, 1, activeChar, null);
			+					activeChar.getInventory().updateDatabase();
			+					activeChar.sendPacket(iup);
			+				}
			+               else
			+                {
			+                	activeChar.sendMessage("You do not have enough adena to buy this")
			+                }
			+			}

 

EDIT: Tested and working perfectly :)

Link to comment
Share on other sites

Cayote, i think this is bugged

+			else if (_command.startsWith("aio_minishop"))
+			{
+				if (Config.ENABLE_VCAIO_SHOP)
+				{
+					InventoryUpdate iup = new InventoryUpdate();
+					activeChar.getInventory().reduceAdena("Item", Config.VCAIO_MINISHOP_ADENAS, activeChar, null);
+					activeChar.getInventory().addItem("Item", 3470, 1, activeChar, null);
+					activeChar.getInventory().updateDatabase();
+					activeChar.sendPacket(iup);
+				}
+			}

If you have 0 adena, you can still buy the Gold Bar.

 

Here is my fix for that, haven't tested it...( you cannot buy it if you don't have the adena that are needed ).

 

		+			else if (_command.startsWith("aio_minishop"))
			+			{
			+				if (Config.ENABLE_VCAIO_SHOP)
			+				{
			+	                 if (activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.VCAIO_MINISHOP_ADENAS)
			+               {
			+					InventoryUpdate iup = new InventoryUpdate();
			+					activeChar.getInventory().reduceAdena("Item", Config.VCAIO_MINISHOP_ADENAS, activeChar, null);
			+					activeChar.getInventory().addItem("Item", 3470, 1, activeChar, null);
			+					activeChar.getInventory().updateDatabase();
			+					activeChar.sendPacket(iup);
			+				}
			+               else
			+                {
			+                	activeChar.sendMessage("You do not have enough adena to buy this")
			+                }
			+			}

 

EDIT: Tested and working perfectly :)

 

yea, thanks I didn't think of it ^^

So have fun with it, since it works.

 

Gonna edit the patch.

Link to comment
Share on other sites

  • 3 weeks later...

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

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