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

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