Jump to content

[Share]AIO Voiced Command.


Recommended Posts

Hello Everybody.

Well, I decided to write something and I remembered that idea, which I thought some days before..

So here it is with available infos/teleportation/mini shop/buffing/wh.

 

Note that everything is a sample to add stuff of depending to your needs.

What I mean, is that, for example, I may have added only a few buffs, but you can c/p everything I've written and add even more.

 

I searched to find something like this here and in google and didn't find anything.

 

Ah I almost forgot it: Almost every little value is configurable, so if you are a beginner you can easily handle it.

 

Anyway, here you are:

 

http://pastebin.com/0X0Hgn4D

 

A little thing to add, since some problems occured.

If you are using equal, then instead of registering the command at the gameserver file, do this.

 

Tested ingame and works properly.

Good Luck using it!

 

Best Regards.

Link to comment
Share on other sites

hmmm, very nice Share. But also space connsuming ^^

 

3 html files and some java codes won't lag you, don't worry.

It's like adding any other code.

 

And by the way, I could remove the htmls and use the TextBuilder, although in this way it will be more helpful for newbies that may need to edit the file.

 

@ Thanks all.

Link to comment
Share on other sites

3 html files and some java codes won't lag you, don't worry.

It's like adding any other code.

 

And by the way, I could remove the htmls and use the TextBuilder, although in this way it will be more helpful for newbies that may need to edit the file.

 

@ Thanks all.

 

Leave it as it is, externat htmls - easy to edit, and someone dont have to compile all the time, even with little change in core.

 

Also code looks better without HTML inside java file.

Link to comment
Share on other sites

It seems good... but not complete... you add just one location... use another method and bypass the html ... ;]

 

Though you have see the AIO of biggboss well there are souch of diference methods... sample use multicommanders

 

and if (command.startswith("Giran"))

{

       activeChar.teleLocation(bla bla,blabla,blabla);

}

 

Gj ;]

 

 

Link to comment
Share on other sites

It seems good... but not complete... you add just one location... use another method and bypass the html ... ;]

 

Though you have see the AIO of biggboss well there are souch of diference methods... sample use multicommanders

 

and if (command.startswith("Giran"))

{

       activeChar.teleLocation(bla bla,blabla,blabla);

}

 

Gj ;]

 

 

 

Actually, the whole code was just a sample on how to create more stuff like this and learn new methods xD

 

I could add sqls or htmls linking, but then I would not be able to show to members anything :X

 

Leave it as it is, externat htmls - easy to edit, and someone dont have to compile all the time, even with little change in core.

 

Also code looks better without HTML inside java file.

 

Well, I personally prefer combining everything in 1 file, although I had to use extra htmls for this =P

Link to comment
Share on other sites

Actually, the whole code was just a sample on how to create more stuff like this and learn new methods xD

 

I could add sqls or htmls linking, but then I would not be able to show to members anything :X

 

With this method we cant add more... with multicommander method we can add more ;] thats my point T.T

 

p.s; no need to connect with sql... we can do everything from java

Link to comment
Share on other sites

With this method we cant add more... with multicommander method we can add more ;] thats my point T.T

 

p.s; no need to connect with sql... we can do everything from java

 

Well, I will try to add it when I find some more free time..

 

PS: Ye, I know, I am just trying to tell that nobody would learn if I added sqls and they only had to add some ID and ammount values ;x

Link to comment
Share on other sites

For what cronicle is ? IL - Gracia ?

 

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.

Link to comment
Share on other sites

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