Coyote™ Posted February 9, 2010 Posted February 9, 2010 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. Quote
Kяaσh Posted February 9, 2010 Posted February 9, 2010 Your share is awesome good try you learn so fast,and for sure you deserve +1.keep sharing Quote
`Peter Posted February 10, 2010 Posted February 10, 2010 hmmm, very nice Share. But also space connsuming ^^ Quote
Apithanos Posted February 10, 2010 Posted February 10, 2010 very Excellent coyote ! keep sharing dude ;) as i see you are perfect ! :D Quote
Coyote™ Posted February 10, 2010 Author Posted February 10, 2010 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. Quote
Matim Posted February 10, 2010 Posted February 10, 2010 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. Quote
Kràtos Posted February 10, 2010 Posted February 10, 2010 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 ;] Quote
Coyote™ Posted February 10, 2010 Author Posted February 10, 2010 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 Quote
Kràtos Posted February 10, 2010 Posted February 10, 2010 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 Quote
Coyote™ Posted February 10, 2010 Author Posted February 10, 2010 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 Quote
Coyote™ Posted February 11, 2010 Author Posted February 11, 2010 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. Quote
Recommended Posts
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.