Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

you have an error

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

 

it must be like:

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

 

Its awesome :)

Posted

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

Posted

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 :)

Posted

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.

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