Jump to content

Recommended Posts

Posted

Probably Gracia User.

Register the command @ the MasterHandler file, instead of the GS.

 

EDIT: Just saw that you're using equal.

 

Go to VoicedCommandHandler.java, located in equal/gameserver/handler.

Open it, and go to

registerVoicedCommandHandler(new version());

 

Under this, add:

if (Config.ENABLE_AIO_VC)
   registerVoicedCommandHandler(new VoicedAIOCmd());

 

Don't forget to add the import.

And you're done!

Posted

Probably Gracia User.

Register the command @ the MasterHandler file, instead of the GS.

 

EDIT: Just saw that you're using equal.

 

Go to VoicedCommandHandler.java, located in equal/gameserver/handler.

Open it, and go to

registerVoicedCommandHandler(new version());

 

Under this, add:

if (Config.ENABLE_AIO_VC)
    registerVoicedCommandHandler(new VoicedAIOCmd());

 

Don't forget to add the import.

And you're done!

 

ty man work fine now...ty ty :P

Posted

some typos....

 

121.-activeChar.getInventory().addItem("Item", 3470, 1, activeChar, null);

     +activeChar.getInventory().addItem("Item", Config.VCAIO_MINISHOP_ITEMID, Config.VCAIO_MINISHOP_ITEMAMMOUNT, activeChar, null);

 

127. -                                               activeChar.sendMessage("You do not have enough adena to use this function!")

      +                                               activeChar.sendMessage("You do not have enough adena to use this function!");

 

Posted

some typos....

 

121.-activeChar.getInventory().addItem("Item", 3470, 1, activeChar, null);

      +activeChar.getInventory().addItem("Item", Config.VCAIO_MINISHOP_ITEMID, Config.VCAIO_MINISHOP_ITEMAMMOUNT, activeChar, null);

 

127. -                                              activeChar.sendMessage("You do not have enough adena to use this function!")

      +                                              activeChar.sendMessage("You do not have enough adena to use this function!");

 

 

Sorry, fixed.

Occured because of this

 

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

  • 1 month later...
  • 1 month later...
  • 3 weeks later...
Posted

works for interlude?

 

Next time I will dekarma you, I swear.

 

How long do I have to repeat that CHRONICLE DOESN'T MATTER?

 

Its still the same java language - its so hard to understand?

 

Ye, you will have to make some changes, but thats all.

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

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