-
Posts
5,365 -
Credits
0 -
Joined
-
Last visited
-
Days Won
67 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Tryskell
-
[Please Help] Help Fast :)
Tryskell replied to [Geo]Sky's question in Request Server Development Help [L2J]
INSERT INTO npc (`id`, `idTemplate`, `name`, `serverSideName`, `title`, `serverSideTitle`, `class`, `collision_radius`, `collision_height`, `level`, `sex`, `type`, `attackrange`, `hp`, `mp`, `hpreg`, `mpreg`, `str`, `con`, `dex`, `int`, `wit`, `men`, `exp`, `sp`, `patk`, `pdef`, `matk`, `mdef`, `atkspd`, `aggro`, `matkspd`, `rhand`, `lhand`, `enchant`, `walkspd`, `runspd`, `isUndead`, `dropHerbGroup`, `basestats`) VALUES (16000, 30361, 'Lady Gaga', 1, 'xXxLooPxXx', 1, 'LineageMonster.wererat_01te', 14.00, 25.00, 35, 'male', 'L2Npc', 40, 773, 366, 7.11, 1.84, 40, 43, 30, 21, 20, 20, 2470, 145, 159, 170, 111, 113, 230, 500, 333, 0, 0, 0, 80, 120, 0, 1, 1); Normally corrected, I don't know Freya stuff but your problem is resolved, if there is another error it's another thing :P. Lady Gaga as a wererat with a male voice ? o_o -
help : {need a developer}
Tryskell replied to xdjb56x's question in Request Server Development Help [L2J]
I know, my answer won't help a lot, but you don't need a developer, at this state you need a decent pack. Else try to check configs files, if the NoSpawn option have been put on True. Any error in GS when you try to spawn a npc ? -
[Help] Pvp points from Mobs
Tryskell replied to dymek1984's question in Request Server Development Help [L2J]
Ouahou, perhaps you should take some time. You know, it's pointless to code if you are ill or if you can't think correctly. Just re-think to the code in some days, you melt all what I said and it's not good. The first code I posted was only to show one use of checkIfInRange, nothing more. Just saying "heeee, the code is used in this method, so it should normally work". Edit your previous code to remove this crappy code and put the updated version. And forget Java for 2-3 days. To avoid mental self-side issues :P. -
[Help] Pvp points from Mobs
Tryskell replied to dymek1984's question in Request Server Development Help [L2J]
Let's see what can be wrong : - this formula isn't the good one ; - checkIfInRange is broken ; - The range put in config (in this case, ALT_PARTY_RANGE2) is too low ; - you're not in the good range ingame, so basically even if it works you think it's broken. - you didn't updated your l2jserver.jar but think you did ; - you found a way to make another error correcting this one ; ------ Here is a code showing you the use (basically, pick a random party member in range) private L2PcInstance getCheckedRandomMember(int ItemId, L2Character target) { List<L2PcInstance> availableMembers = new FastList<L2PcInstance>(); for (L2PcInstance member : getPartyMembers()) { if (member.getInventory().validateCapacityByItemId(ItemId) && Util.checkIfInRange(Config.ALT_PARTY_RANGE2, target, member, true)) availableMembers.add(member); } if (!availableMembers.isEmpty()) return availableMembers.get(Rnd.get(availableMembers.size())); else return null; } That removes those points : - this formula isn't the good one ; - checkIfInRange is broken ; The others errors are users errors, so guess what :D. Another thing, rewrite your code like that : if (Util.checkIfInRange(Config.ALT_PARTY_RANGE2, player, member, true)); { member.setPvpPoints(member.getPvpPoints() + numberToAdd); member.sendMessage("You have earned " + numberToAdd + " PvP Points"); } RaidBossPointsManager.addPoints(member, this.getNpcId(), (this.getLevel() / 2) + Rnd.get(-5, 5)); if(member.isNoble()) Hero.getInstance().setRBkilled(member.getObjectId(), this.getNpcId()); -
[Please Help] Help Fast :)
Tryskell replied to [Geo]Sky's question in Request Server Development Help [L2J]
Remove 'armor', and the associated VALUES (from the end of your sql, this is the 7th value). Or share the sql I'm lazy to search. -
Source aCis - another CRAPPY interlude server
Tryskell replied to Tryskell's topic in Server Shares & Files [L2J]
My first hater yeah :). I have to add I never said I was a java developer. +5400/-3600 lines patch in preparation, wait for debug please. And continue to report any errors you can find :). Will affect ZoneManager, castles, olympiads, sieges, L2Object/L2World,... -
bad host, bad inet connection, bad pack. It's not all to have dedicated machine, if you got 1 mega connection line that won't help much. 4giga ram is enough w/o geodata Someone is perhaps playing with packet flooders too depending of your pack.
-
[Help] Pvp points from Mobs
Tryskell replied to dymek1984's question in Request Server Development Help [L2J]
Well I give you the answer because you're blind or you don't know the use of this symbol. The "!" located before "Util." means basically "if it's not / different of". Aka it's reverse the condition true/false. So your check means currently : if the range is more than 1400/1600, give pvp points to each members. If the range is lower, skip the statement. So if you're far of the killer, it will be true, when you're near the killer, it will be false. And it's why you earn rewards from far and not near. Delete the symbol to make the correct check. And merry christmas :p. -
[Help?]Is there any complete decompiler for .class files?
Tryskell replied to pipiou21's question in Request Server Development Help [L2J]
Rename a .jar to .zip. Dezip it after. After that all classes are able to be seen with a decompiler. I don't think you can reverse engineering the totality of a source without handmaded work. I'm perhaps wrong as I used only one free decompiler to see L2J 0.4.1 source code. Some parts of code were just off the main classes. I have to add different decompilers don't give the same result http://stackoverflow.com/questions/3898391/choose-and-test-java-decompiler -
[Help] Pvp points from Mobs
Tryskell replied to dymek1984's question in Request Server Development Help [L2J]
if (!Util.checkIfInRange(Config.ALT_PARTY_RANGE2, player, member, true)); Try to explain with words what does this line. Explain all, variables, [glow=red,2,300]symbols[/glow] (one word is important in this post). Basically, your code is good, but you do a mistake. Check again the important word of the post. Another thing I can say to help you. Basically, the code works if you're FAR but not if you're NEAR. It means the range checker works (if it wasn't working at all, you will never have points in party), but not like you want. Why ? This was another big tip :). -
I loled. I have no idea what is the "test server helper" instance, but you can add a bypass on it too, or modify the bypass if this is the npc which give you the noblesse. The bypass is the command written in htm. for example if the test server had a "noblesse me" command, you just have to edit it to add a condition "if else". That avoid both to create new instance and create new quest ;). ---- Here is the classmaster <html><body> <center>Human Fighter Class Master:</center><br> <a action="bypass -h npc_%objectId%_change_class 1">Advance to Warrior</a><br> <a action="bypass -h npc_%objectId%_change_class 4">Advance to Knight</a><br> <a action="bypass -h npc_%objectId%_change_class 7">Advance to Rogue</a> </body></html> As you can see, he uses the same bypass (change_class) 3 times, only option (1,4,7) is modified. The bypass got an option because of the bypass code, not all bypasses got option. Basically if you wanted to add gb on the change class characters, you will have to edit "change_class". With an eclipse search in sources, you won't have any difficulty to locate it. I hope my example is fine o_o.
-
anyone know Import this java code epilogue to freya?
Tryskell replied to mewice1's question in Request Server Development Help [L2J]
As said roy.rm, you have to add 2 methods and one config. The 2 methods are located in L2PcInstance, and are named getSellStoreCurrency() getBuyStoreCurrency() You have to copy paste them. The config is just a variable initialization, find all occurences of STORE_BUY_CURRENCY in your epilogue pack. With those 3 errors corrected all errors will dissapear. PS : if a method disappear from a chronicle to a newer chronicle, it's 3 things : ----> name of method have been changed, even slightly ----> method have moved in another file ----> methods are supposed to be custom aswell, so your diff patch is bugged / misses some part of codes. Anyway, with what I said higher, you should be able to correct it. -
[Help] Pvp points from Mobs
Tryskell replied to dymek1984's question in Request Server Development Help [L2J]
Well first do as I said, post a clean code and try to add ONLY the range check. I know (!(Util.checkIfInRange... is for range, but that doesn't have any relation with ToReward lol. I want to see how you include the check, I think you did one or 2 errors, and I perhaps know them. About the location of the check, take one minute to think. When do you want to verify the range ? "Only when I got a party" is a first point. Second point is "who is affected ?" Only the killer, or each member ? With those 2 questions you got the location. -
Source aCis - another CRAPPY interlude server
Tryskell replied to Tryskell's topic in Server Shares & Files [L2J]
Some ppl (I don't want to name them, they got their own voodoo dolls on my desk) make me the remark the forum wasn't looking professional, and the publicity (because of free forum) sux (which I agree if you don't use the wonderful AdBlock Plus plugin of Mozilla FF). So basically Sido came to me to talk about that, and a new forum is made. More pro according to some. Link is here, and the main post is updated aswell. As Sido is noob :-X, the subdomain doesn't work right now. I will update topic if there's any change, but for the moment use this adress. You won't have to recreate account if you register now. The existing topics will be teleported. -
[Help] Pvp points from Mobs
Tryskell replied to dymek1984's question in Request Server Development Help [L2J]
Take back your code of the 20th december, it was near all good. I don't get why you began to use ToReward stuff. public boolean doDie(L2Character killer) { if (!super.doDie(killer)) return false; L2PcInstance player = null; if (killer instanceof L2PcInstance) player = (L2PcInstance) killer; else if (killer instanceof L2Summon) player = ((L2Summon) killer).getOwner(); if (player != null) { int numberToAdd = (500/(player.getParty().getMemberCount())); broadcastPacket(new SystemMessage(SystemMessageId.RAID_WAS_SUCCESSFUL)); if (player.getParty() != null) { for (L2PcInstance member : player.getParty().getPartyMembers()) { member.setPvpPoints(member.getPvpPoints() + numberToAdd); member.sendMessage("You have earned " + numberToAdd + " PvP Points"); RaidBossPointsManager.addPoints(member, this.getNpcId(), (this.getLevel() / 2) + Rnd.get(-5, 5)); if(member.isNoble()) Hero.getInstance().setRBkilled(member.getObjectId(), this.getNpcId()); } } else { player.setPvpPoints(player.getPvpPoints() + numberToAdd ); player.sendMessage("You have earned " + numberToAdd + " PvP Points"); RaidBossPointsManager.addPoints(player, this.getNpcId(), (this.getLevel() / 2) + Rnd.get(-5, 5)); if(player.isNoble()) Hero.getInstance().setRBkilled(player.getObjectId(), this.getNpcId()); } } RaidBossSpawnManager.getInstance().updateStatus(this, true); return true; } Instead of int numberToAdd = (500/(player.getParty().getMemberCount())); write int numberToAdd = 500;. You will initialize it to 500. I explain why after. Now we have to change value on numberToAdd, right ? The value differs from if you got a party (numberToAdd divided by party members) or if you solo (numberToAdd). Again right ? So basically, we initialized numberToAdd with a fixed number, 500. Where to calculate this value for the team ? Logically, you have to put it after the party check. if (player.getParty() != null) { numberToAdd = (500/(player.getParty().getMemberCount())); The solo part will use the basic value, 500. So you haven't to change anything on it. -
[Help] Which file to Run ?
Tryskell replied to zazazaza's question in Request Server Development Help [L2J]
build.xml. On eclipse, right click on it > run as -> ant build. -
Source aCis - another CRAPPY interlude server
Tryskell replied to Tryskell's topic in Server Shares & Files [L2J]
As you know (and as the name of project suggests it aswell), it isn't the first IL fork. I don't want this project fails after 2 weeks because of bad organization. This is why in first time, I will be 'normally' alone, to give the way I want to the developement. Trusted people will come with time. As I said to Akken (via PM), there is a straight way to develop an IL server. The goal isn't to innovate, but to repair code with current L2J code. A massive but meticulous work of copy-paste, no more, no less. It's stupid to fix little things which will dissapear with a full rewritten code. I see big. ----- I make a little synopsis of what I have msging to a guy who proposed his time as developer. I search developers, but my criterias are higher than current projects. Basically, if you want to help to develop aCis, you can, and I will thanks you (frenchkissing o_o). But one step after another. First compile server, test, find bugs, and make patches about. You can post them on forum, and I can have an eye on your work, and about the quality too. With time, I will trust (or the contrary haha) you. So basically even thinking to help, you can fail to my criterias. This is an "inner-circle" type team, biggest circle represents all unknown people :). ----- As a project isn't only developers, but community, I need testers. More they are, more bugs are found, faster they are fixed. Sido is already on the "wishing list" for forum moderation if community grows enough, so don't apply for it please :). I talked with Sido about a new place for forum, which basically will be free of publicities. I will change links when time will come, but until the moment you can (and encouraged to) use the forum to report bugs. ----- I made some commits this night, the last have never been made on a IL fork from what I know (and sorry if I'm wrong, didn't test ALL CRAPPY FORKS :D). Ty all for posts, Tk. -
Source aCis - another CRAPPY interlude server
Tryskell replied to Tryskell's topic in Server Shares & Files [L2J]
I profite about the number 15 commit to make a bump :). In program, full config refactor, and around 10 deleted configs. Think to update all your .properties files. Next commit tomorrow or in 2 days, full MMOCore refactor. -
[Help] can't find config
Tryskell replied to zazazaza's question in Request Server Development Help [L2J]
Sethek shared between gameserver.properties and database.properties. Use a search tool next time, notepad++ is enough to scan a folder with a specific name (you could try with GameserverPort, InternalHostname etc). Btw you will have many problems with Archid, so just forgive it. This pack isn't finished and won't be finished according to Sethek words. -
[Help] Pvp points from Mobs
Tryskell replied to dymek1984's question in Request Server Development Help [L2J]
I just reread your code, wtf are you using List<L2PcInstance> ToReward = FastList.newInstance(); int count = 500 / ToReward.size(); Drop the ToReward stuff, it's what it bugs. You initialize a FastList in a list, and divide this empty list from 500. Total illogismadnessupawesomerror. Just do as you did later about the number of party mmebers, I don't get this "new List feature" lol. ---- I don't think you understand you have to initialize the variable OUT of the for loop, but must add this variable INSIDE it aswell. And remove the CONTINUE after the "if" omg. Try to understand what you copy/paste. ---- Reread correctly all my posts, you have all answers. If you're blocked in a point I already talked sooner, you won't have any answer. Post back your code with error in the same post, that will avoid me to ask for error or for the code. -
[HElP] Soneone plz help!!
Tryskell replied to sakisd's question in Request Server Development Help [L2J]
You got a bug at L2Skill.getTargetList(L2Skill.java:1431) => method getTargetList at line 1431 According to message, it's about a use of L2ItemInstance, you can't use it in this (dunno what, no code) condition. -
You can create a new mob in npc.sql c/ping another existant template, and spawn instances of this mob with //spawn customIDofyourmob. Remember, the ID is unique to your mob, when the template have to be an existing mob.
-
Source aCis - another CRAPPY interlude server
Tryskell posted a topic in Server Shares & Files [L2J]
Links aCis forums aCis Discord channel aCis facebook page crappy YouTube channel Blackbird PTS informations Introduction aCis (acronym for "another CRAPPY interlude server") is a Java emulator, based on L2J work, focusing on Interlude chronicle. Project leader is named Tryskell. The project begun around december 2010, after the end of L2JArchid. At this moment, none European L2JIL pack was maintained. Particularities We focus about retailness ; a big emphasis is done to reproduce the good aspects of L2OFF behavior, using all informations we still have. The customs are dropped when not needed. It allows you to make WHAT YOU REALLY WANT, avoiding any conflict. The time saved not developing customs is fully used to enhance retail behavior. The pack is under a freemium concept, which mean you can contribute with money or with code, and get rewarded with latest sources access. Read the dedicated thread to understand the whole concept. Achievements Countless reworks have been done, but the biggest could be named as: XMLization of all static tables. Completion of quests under Java, with drop rates and behaviors checked using L2OFF. Rewritten AIs using L2OFF behavior. Numerous reworked systems : movement, duel, knownlist, retail-like spawn manager, admincommands,... 800+ reported bugfixes - without counting my own edits/fixes. Types of groups Supporters/donators have to be active to stay in sources. It doesn't have to be a particular amount, you just have to share from time to time *anything*. I don't accept anymore silent ppl. Only useful people will be kept. FREE USER Public branch is updated every year. The stability state isn't guaranteed - it is delivered "as it". Free users can access to the Discord channel to get support. Free users, even based on outdated branch, can contribute to project, and be rewarded for their work (see "Contribution" section). DONATOR You will be registered into the private Gitlab, for the time of your subscription. You will have access to specific forums boards, such as "custom" && "FAQ". I will give support for any retail issue you report, based on my own IRL timelapse / project handling. I don't busy about customs. If you contribute to project, you can be rewarded for your work (see "Contribution" section). SUPPORTER Free users, as Donators, can reach that status sharing enough bugfixes or contributing enough to the pack they're declared "essential". Main contributors are rewarded by "Supporter" status, they got a direct access to sources, to all boards and don't pay any fee. That access is maintained until they stop to contribute or contribution amount becomes too low. Cookies All your reports and shares (bugfixes) are counted as a CONTRIBUTION. Contribution is taken in consideration when your work is COMMITED, and is based on the complexity of the report/bugfix. The contribution system is visible on forums. A specific field, named "Cookies" was added. Cookies can be used instead of money, and is spent on a ratio 1:1 over either the initial Donator subscription (100 cookies) or to pay the monthly fee (10 cookies / month). If you stack up 12 free months, cookies are then translated as money reward (paid over Paypal). Ratios are as following : one report : 2 to 10 cookies, depending about the severity one bugfix : from 2 to 100+ cookies (from typos fix to complete reworks) Bounties & Bounty Hunters #bounties Discord channel allow you to deliver some tasks as a requested code for a fixed fee and based on a description. That fee is paid using subscription money. Any game feature or bug can be considered as a task. The priority is given to bugs generating instability. Tasks are defined by either me or Donators. The fee is paid only if requested code is committed and final part of the files. A variable part of the fee can be cut depending about how buggy the proposed code is. If the code is too buggy, it will be rejected. That fee can be either translated to : Supporter or a Donator with enough credits (> 12 stacked subscription months) : real money, payment is done using Paypal ONLY. Donator with good contribution background : Supporter rank. Other : cookies, which can be stacked and spent as a regular money-base upon initial fee or monthly fee. Any @@donator can actually use his own spent money to lead its own bounties. As an exemple, sending me 100€ as initial fee allow you to "spend them" on whatever task you want to be prioritized. Giving no direction means I can use them as I want. If multiple concurrent people deliver code for the same task, the less buggier version and the most "aCis-friendly" (documented code, using aCis standards, etc) version will be chosen. The only rewarded people will be the chosen code's author. In case multiple concurrent people propose identical solutions in terms of "code coolness" and "features", the first posted version got the priority. If multiple friendly people work together to propose a code, the reward will be splitted between authors. Define the % of authorship between yourselves. In order everyone works on the same stuff, and as L2OFF is as bad as L2J in terms of data stability, here's a unique source for data : https://drive.google.com/file/d/1bk1etsVeHsEdBmLhXd-6TKjKSTfzTWU-/view?usp=sharing In this zip, you will find following : AdvExt Setp2019 HTM folder AdvExt Setp2019 scripts folder (since L2OFF IL fstring.txt sucks ass, both IL and GF versions are added. L2OFF GF version must be used, since it's far better translated. Decompiled ai.obj for L2OFF IL Vanganth and L2OFF GF Price Joining donation: 200€ + 100 cookies, or 200 cookies This fee has to be paid if you are joining aCis project. Next month, and all other months, you will have to donate only basic monthly donation. Monthly donation: 10€ / 10 cookies This fee has to be paid every month. I reserve the right to refuse your private access based on any type of criterias. Once you donated, send me a PM on one of following platforms, I will manually setup your forum account : aCis forums, via my profile (send PM) MxC forums, via my profile (send PM) aCis Discord channel If your payment doesn't follow my conditions, I will return it back to you. Blackbird PTS aCis got its own Public Test Server, named Blackbird ! This server got the latest master branch pushed, and can also welcome experimental branches - in this case, special announcement is done on Discord. All accounts and characters got admin level. You can use //help ingame to refer to the admin commands and see what you can do. More infos can be found on both aCis forums and Discord about how to reach it. -
[Help] Pvp points from Mobs
Tryskell replied to dymek1984's question in Request Server Development Help [L2J]
What doesn't work, be more accurate. Compilation ? If yes, give error. Ingame ? If yes, try to make your code talks for you, adding some player.sendMessage("Test to see if that work"); in good places (after each conditions). -
[Help] Compile Interlude
Tryskell replied to Justkiding's question in Request Server Development Help [L2J]
Archid is closed, and this rev 11 is the "free" version of it, which is fully bugged (but still have nice codes to ninja). Anyway, archid internal errors have nothing to see with compilation. So you should be able to compile fine, but will have errors ingame (like custom NPCs in giran, basic datatable item error, stuff added via enterworld,...). You really should forgive Archid, as you won't have any support for it. Try with another project. Well, I profite of this topic to begin my marketing campaign :P. Currently I work on my own IL project, aCis. It's L2J based, aim to correct IL lacks and will be free (both timeline/source). More infos here : http://www.assembla.com/wiki/show/acis_project As I'm working alone, I would be glad if someone can try to test it. You shouldn't have any problem, both of compilation and installation. About eventual ingame bugs or GS log bugs, I invite you to report on the forum shown in the wiki page. About L2Jfree, it can work, but you have to use Maven, not Ant (from what I rem of L2JFree).