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

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

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..