-
Posts
8,941 -
Joined
-
Last visited
-
Days Won
25 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by SweeTs
-
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
How you expect me to talk to you, while you are +-30 years old. I told you like 2 or even 3 times to "clean the file from useless code" aka remove everything summon related. Obviously you did *not*. I gave you cleaned file and *no idea* why you added brackets which break the code. Could you explain me, WHY, why did you add brackets there? Yeah, here is the place to help people learn and understand and all you are doing so far, is throwing away the knowledge we want to pass. In addition, it's enough to read the code to understand what's wrong. player.getSummon() - wait, what? Summon? I don't care about summon, the code is *not* about summon - let's remove it! Sorry to say, but you pretend to be a retard, so far. ----- All I told you so far is correct and you should learn. - take random code - clean it from useless stuff - add your code - enjoy Guess what, I had to throw few 'fack', 'goddamn' and 'kurwa' untill you proceed to step.. 2. So yeah, something is wrong here. You don't want to learn, you don't read what I'm saying to you or you are simply a retard and you should say it at first. ---- Anyway, you heav CLEAN FILE. So what left to do? Add your 1 line code aka plyaer.addSkill(..). Also, obviously, you should add destroyItem line, otherwise item will stay in inventory. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
Wow, you expect the server will read your minds that you want to add a skill? Code it. AND FOR FACKS SAKE, WHY YOU ADDED THOSE USELESS, BREAKING CODE BRACKETS?!?! God, you are such a weird guy. You have clean file, now try code your shit. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
Wow, you are getting close to clean file that's good. But again, why goddamn brackets without if statement?! Edit your code in eclipse, see errors in real time. God. https://pastebin.com/aNJWk7XT -
Help L2j Acis Experince.java help
SweeTs replied to Xenokage's question in Request Server Development Help [L2J]
Like he said. Take your time and edit or handcode some static values up to your max lvl at least to see if it's working. -
Help L2j Acis Experince.java help
SweeTs replied to Xenokage's question in Request Server Development Help [L2J]
Classes folder, xml. Also contains various level info which you must feed. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
God no. You don't even know what you're doing. You don't want, don't need, ANY summon code. So just facking delete it, remove, erase. Kurwa usuń. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
Then it's even worse. You can't think logically. Can you read? Yes, you can, so read this line Read this and guess why it's not working. As there is no message why the code breaks, let's add the message. if(!activeOwner.hasSummon()) { activeOwner.sendMessage("The code is about facking summon which is not summoned! So do facking nothing, terminate the code. "); return false; } Again, REMOVE CODE YOU DON'T WANT. Die trying or leave it. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
First register the godamn handler. Where? Search. And you was SUPPOSED TO edit the code. And wtf is this, new kind of coding? Brackets without an if? Even if you register it, it won't work as it's returning false on first lines. JUST THINK. You have all the tools and solutions. Dig, try, learn. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
Are you facking kidding me? You don't want to learn, you don't want want to try. I'm out. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
Leave that ItemSkills ffs. All you need it that useItem method. Take a look here https://bitbucket.org/l2jserver/l2j_datapack/src/eb8beefdf2cff2fe99e006bf4dcf20997a007104/dist/game/data/scripts/handlers/itemhandlers/BeastSoulShot.java?at=develop&fileviewer=file-view-default See, you have ready code. Just remove useless stuff from there and add your one line code. Good luck. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
Yea it will magically work.. One last time, open other handler, see how it's done and do the same. Use the same methods, you must have useItem method and such.. It's not hard just think. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
lol.. You can't even create new Godamn file.. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
Null check with code execution is always welcome. The same with brackets around the return =) ---- Man, for fack sake, can you read? Leave this Godamn ItemSkills.java alone! YOU HAVE TO CREATE NEW HANDLER AKA NEW FILE. And why the heck you try to create new object?! Who told you that why you want to do so? Check existing files, God. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
No, it's wrong, so wrong. I told you that you need new handler. Check scripts/handlers/itemhandlers for the structure. Then you add that handler to your item xml. -
Help Forgotten Scroll skill
SweeTs replied to InFocus's question in Request Server Development Help [L2J]
Don't guess, just read code. ItemSkills.java uses skill defined on xml. It's using player.useMagic(.. and what you want to do is player.addSkill(.. So, again, you have to create NEW ITEM HANDLER to handle your request. -
Depends what you aim. If you ask me, bot protection is useless, kinda. As others said, premium adrenaline will work. So what's the point of that 'protection'? Else you want the hwid feature which also it's it rly a must. So.. Long story short, don't waste money on it. You an spend them better.
-
If you kept the config like this... What do you expect?
-
Discussion Looking for Paid H5 based private Projects
SweeTs replied to HyperBlown's topic in Server Development Discussion [L2J]
Everyone who can/know to code, care about that. But as most people out there who open the server, is not a dev / don't know to code / is an (wannabe) admin, choose 'rdy to go' packs, don't care about the code quality. -
Discussion Looking for Paid H5 based private Projects
SweeTs replied to HyperBlown's topic in Server Development Discussion [L2J]
Smart answer, like someone cares and it's relevant. Just stop shitting around. -
Discussion Looking for Paid H5 based private Projects
SweeTs replied to HyperBlown's topic in Server Development Discussion [L2J]
I got the point, I also would consider that and most likely go with it. But, as a friend of mine was using it and found out that even 'basic' things, skills related, are not implemented, works bad.. Then well. If someone don't mind to pay $$, then something like fandc / sunrise is ok, as it's sort of "ready to go". L2jserver needs some work, for sure - as any pack. But comparing ready features / working content (even if not retail like) / customs, those commercial RU packs are a 'better' option. @Batman As always, shit post, not worth to mention. -
Discussion Looking for Paid H5 based private Projects
SweeTs replied to HyperBlown's topic in Server Development Discussion [L2J]
Like people cares that much about formulas, quests or skill power. They just push the button. Fandc maybe is good, but sources costs a lot. So, Mobius or sunrise is a better choice. L2jserver, sadly, has issues even with basic things, skills. -
Help Weekly Olympiads
SweeTs replied to maxicroma's question in Request Server Development Help [L2J]
As I said, first of all decrease the AltOlyWPeriod to like 3 days instead of a week. Then, about the configurable period, all you need is to take a look on l2jserver or l2junity files and c/p the code, calendar related. Take a look here, on setNewOlympiadEnd, see how it's done and voila. 1 = Period will be in months. 2 = Period will be in weeks. 3 = Period will be in days. Multiplier config is obvious, I guess. So, no need to explain. https://bitbucket.org/UnAfraid/l2junity/src/d4e5e5ba7a96d89eb9081b897ba59c6024ec78e0/l2junity-gameserver/src/main/java/org/l2junity/gameserver/model/olympiad/Olympiad.java?at=master&fileviewer=file-view-default
