Jump to content

Tryskell

Legendary Member
  • Posts

    5,365
  • Credits

  • Joined

  • Last visited

  • Days Won

    67
  • Feedback

    0%

Everything posted by Tryskell

  1. handlers / itemhandlers / Soulshots.java You have to recode S restrictions, adding D ss/bss itemIDs to S grade check. ItemIDs of ss/bss are all shown in this file, so don't search anywhere. In IL and before, handlers are stocked to the gameserver, postIL handlers are stored in datapack. So don't search in the useless place.
  2. I let post-IL experts answer for you, cause I have no clue what a costum is. Lol. And when you type "Lineage 2 costum" in google, you have only "custom". Errrrrmmm google.
  3. DELETE FROM `characters` WHERE `level` = '1' Next time use google :P. http://www.1keydata.com/sql/sqldelete.html You will need to restart your gameserver for a full clean, as a character isn't only a character, it's too macros, inventory, clan, etc. This clean is automade at startup.
  4. Well, try reset your siege configs. Make a reset of your siege dates aswell, dunno if that can help. I tried to low database connections to 1, but that just don't bug at all ;o. Server corrects it alone to 2 if value is < 2. You can too make a save of your custom properties (copy/paste to a new folder), and copy / paste fresh ones. Add only servers infos needed to connect you (login/psw/database name), don't mod it at all, it's just to try if it comes from configs or not. If your server is in local, put down both gs/ls (aka close all), if you use wamp/lamp restart services, and after try anew. I already had some weird errors when I tried to restart wamp services when LS was still connected but gs no, errors in gs. But wasn't related to connections :(. About your LS / GS stuff, it's pretty strange too... If you run the GS alone, it loads all and wait for a LS to connect ("waiting for loginserver, retry in xx seconds") ? When you do in this order (start gs and then start ls) what is the error ? On which window ? And when you do "ls first gs second", any error in LS ? You just talked about GS error :P.
  5. Do a search in your project with "No item handler registered for item ID", you will have only 3 results, 2 haven't the Config.DEBUG thing, they both look like that : if (handler == null) _log.fine("No item handler registered for item ID " + target.getItemId() + "."); instead of upper code, put : if (handler == null) { if (Config.DEBUG) _log.fine("No item handler registered for item ID " + target.getItemId() + "."); } All errors will be shown only on debug.
  6. Epilogue patch notes : http://www.lineage2.com/epilogue/patch-notes.html Freya one : http://boards.lineage2.com/showthread.php?t=209953 If you talk about edit lvl etc, just edit npc 29176 (day) and 29022 (night) in npc.sql The level of Zaken should be raised to 83, but L2 databases show lvl 60. So you will have only custom data.
  7. Topic creator talk about L2J ideas, not about L2J complete server :). Don't worry about me, really :D. My 14 pages gameplay bible is fine for my server, and my second project got even a bigger one. I fully agree with you Fhinytau (it's for the @Triskel :D), but it's not a part of this discussion, except if you can modify commands to make them aion like (ZQSD). From the moment you have some limitations (client sided), you can't do so much. The best is still to use another game then lol :). And some "events" can be the center of a whole new gameplay. Just be creative :). An event isn't forcefully an event. The 7 signs is an event, but it's so melted in L2 than you don't even see it. Olympiads are too an event. From the moment there is a cycle, repetable to infinite or not, with winners/losers, and if possible with gift to reward people, this is an event. By events then, I didn't only talk about christmas trees, kill flying pigs with music hammer and spawn elpies in giran :). Well I guess you get my point. About attributes, a window which show current value could be usefull on IL, as there are no way to see it. It's really easy to do, something like a couple of hours. About others attributes or attributes system post IL, I disagree :). The attribute system from IL is enough, not need more, or need complete rebalance of buffs, blabla boring. Except if you want implement it on failed x5k rate with weapon +30, which is a fail about gameplay (as we talk about gameplay :P). But people like failed servers. Another question to ask to my dark gods...
  8. Well I don't think I will help a lot, I just confirm things :D. About 2 gameservers on the same loginserver, you just have to make gameservers use different port. http://l2jserver.com/forum/viewtopic.php?f=81&t=10976 About the revision, what do you try to do ? Revisions are by default different (for Interlude : 0x0102, for L2J last one before freya (epilogue ? I dunno the name lmao) : 0x0103). I don't want to say bullshit, but you tried to put 0x0104 ? It seems it's off the array. Try with 102 and 103, or any lower numbers. You shouldn't go out from the array. The error can be translated like that : The world is flat, and your caravel just jumped in the void. About WHY it doesn't allow highers numbers, if you have a translator nerd -> english, you can try to understand from that : public final byte[] readB(int length) { byte[] result = new byte[length]; for(int i = 0; i < length; i++) { result[i]=_decrypt[_off+i]; <<<<< error line } _off += length; return result; } Aka, I have no clue why it bugs, but it bugs :).
  9. It's not client mod related. In UseItem.java find // Items that cannot be used if (_itemId == 57) return; and make it like that (xxxx is your custom item ID which use your aion icon) : // Items that cannot be used if (_itemId == 57 || _itemId == xxxx) return; It should correct your problem.
  10. Hehe Sido, I had exactly the same feeling than you about the topic (aka he develop bad ideas and will keep good ones for him), so I just didn't bother, until you talk of me :p. Well you didn't have to make publicity about my concept server, but I appreciate you think I got decent ideas, even if I'm not so good you pretend :D. The problem of good ideas, they're often heavy and make the server only one way possible, and not another (aka faction server). ---- About ideas, you can try to invent a new event type. There are less than 10 differents in all. Just thinking of the concept will spend you some times. Remember some things can't be ported (or semi-broken) in some chronicles, as transform/untransform. It's the only good thing post-IL have on IL. ---- In the help section, someone is doing a code about stealing pvpkills when pvp occurs, and same code for monsters (earn pvpkills according to mob level). At default it's an "awesome" idea, it's still a fresh one. You can help him (but don't give him the final solution in one post, just work in paralel from him). Thread here : http://www.maxcheaters.com/forum/index.php?topic=186576.0 You have all concept, calcul part and even the code squeleton. ---- About the christmas event why not... I can't say it's a main feature, but it's still pleasing. Even if it's pretty heavy just for one season (christmas mainly), lol. ---- Someone have begun once time a project about dwarves spoil players (to pick adenas for example), but never finished. Can be a decent custom. I will add something like that in my server, even if it's not my top priority... ---- You can too search on others games. What have more wow/guild wars/lotro/etc than L2 haven't, excepting the main gameplay. Search just in special features of games, which make them unique :). As L2 is an asiatic MMO, all is basic, except graphic design :). PS : Currently, my project got only 1132 files (-200 files from the beginning), the last commit was 3 months ago, and the next commit is atm 2299 added / 3339 removed lines. Just to stay personal ideas are the longest to code :D.
  11. I think the 7th point isn't a real point... And I agree it means nothing for me too lol. What's "Order" refers to ? :) Have you tried to see ingame what happened ? I'm not a zone pro, but it should work with first 6 steps. Btw, before trying with a fish zone, try to make it an easier recognizable area type (like pvpzone). When you will enter in the zone, you will have directly a message like "You enter now in a combat zone", which is a easier way to see if your zone works or no. And as said in the guide, don't try with an admin character.
  12. Hi dude could you explain more about your problem and if you can use punctuation like . ; ? , that would be cool actually it is surely boring to read my own post so imagine your and you are the one who asks help consider giving more details about your problem like screenshots or whatever which could help because it's fine to help you but your problem isn't clear and mean nothing for people who never played to L2mafia I have to add stealing ideas from others servers is just lame and lack of imagination anyway good luck and dont forget to give more informations bb tyyyyy
  13. CPU usage 100%, you're focked something for sure, which make your server loading forever something. Problem is there are no real errors in your logs, so except if you find yourself or if you do a patch of the overall changes, we can't help you. Try to search in SiegeManager.java if you modified something. ---- You're right saying you need more ram, but you're wrong saying it's a normal thing :). Your server is flooded, loading a thing over and over, and grow in weight.
  14. It's related to your database, it's like if you had connections flood. Dunno if you modified something about load, but perhaps a connection isn't closed or something like that. It's pretty rare error, so...
  15. You have a simple error, you try to put a long into a int. Define _playerAdena as a long type (in PrivateStoreListBuy) : - private int _playerAdena; + private long _playerAdena; ----- Or modify getBuyStoreCurrency() method to be an int type (in L2PcInstance). - public synchronized long getBuyStoreCurrency() + public synchronized int getBuyStoreCurrency() ----- It's fully depends of the chronicle I think, if from basic you got an int type, an int type is enough. DON'T MODIFY BOTH CODES, YOU WILL HAVE EXACTLY SAME ERROR ELSE.
  16. Replace that : + if(getPvpKills() > 0) + { + int nameColor = Integer.decode("0x" + ColorNameManager.getInstance().getColor(getPvpKills(), true)); + getAppearance().setNameColor(nameColor); + } # + if(getPkKills() > 0) + { + int titleColor = Integer.decode("0x" + ColorNameManager.getInstance().getColor(getPkKills(), false)); + getAppearance().setTitleColor(titleColor); + } for + if(getPvpKills() > 0) + { + int nameColor = Integer.decode("0x" + ColorNameManager.getInstance().getColor(getPvpKills(), true)); + getAppearance().setTitleColor(titleColor); + } # + if(getPkKills() > 0) + { + int titleColor = Integer.decode("0x" + ColorNameManager.getInstance().getColor(getPkKills(), false)); + getAppearance().setNameColor(nameColor); + } There are 2 times the same code, so copy paste twice. If you fail... Just forget to develop. It's already very, very simple, and if you can't replace 4 lines alone, what will be next problem.
  17. Dunno if the instance engine is independent for each instances, but you surely to have delete the engine, or remove the instance from the instance engine. If there are no configs for it, it would mean heavy java modifications.
  18. I read your PM, all i can say is try it more :P. If you want to pay for something as simple as that, you should forget to develop at all. Plus, that won't correct your errors in your future programs. Why to give a man a fish when you can give him a polefish, well you got it. I agree there is some difficulties, but all my answers were helpfull and made 50% of the work (logical parts are made, you just have the copy/paste work). You are better than many of self-calling L2J developers aswell. Just try harder, and give me a decent code (even bugged, i don't care) but with all supposed checks made. Don't give me piece per piece, as I said it could make the thread 5000 posts. ---- And this null check about killer means : if L2Character killer is different of nothing. Your exemple is wrong in the way than the null check is useless, and you can have NPE error (when this check exists to avoid it). An NPE error occurs when the asking object (in this exemple, L2Character killer) is empty. It can happens very rarely (exemple, you disconnect, so instance doesn't exist anymore), but it can happens, and the result is a NullPointerException (aka a NPE). To avoid that, we check before all things if killer is null. If killer isn't empty, we continue the program, else we skip. Try to include too my last code as calculation method. You can compare with the existing files too. You have 12xx files to help you. Try to find another null check for killer (search tool for eclipse = ctrl+F), and see what happens in others files and adapt it for your case.
  19. If this npc instance is supposed to exist in your server (I mean, a "retail" spawn one), you can shift click on him to see his instance, after that you just have to create your custom npc and put it L2SomethingInstance (something = a rel thing of course) in his type. If you know only a name, you have to interrogate your database, npc.sql. This quest is post IL ? Never heard about a reputation quest... You can try L2VillageMasterInstance, as they are related to clan/alliance stuf...
  20. Reverse getAppearance().setTitleColor(titleColor); for getAppearance().setNameColor(nameColor); and the contrary as well. x2, so 4 changes in all.
  21. You don't specialy need to create a void method addPvpPoints neither :P. Try to complete/correct all checks first. It's like my last post was nothing :'(. Try to post when you think you completed all, we will correct together. Because if I correct each time you post, this topic will be 1000 pages long :D. Before L2PcInstance player = null;, you have to put the // check if the killer is different of null (to avoid NPE error) + the check ofc... I prefer say that if you think adding only the comment.. About the mob lvl calcul you don't need nothing special more than doing : numberToAdd = (getLevel()-79)*2; And add numberToAdd to pvp total of "player", like you did in your player vs player code. I don't get why you do 500 methods :P. Circling the calcul, you only have some checks to made, and I put them all in //comments.
  22. This is the dog which eats his tail, but : You have to adapt events to your chronicle, no other way.
  23. Search in sticky topics or in collections ones, people like do collections dunno why, but at least tkey keep links "alive". It's not possible all links are deads.
  24. Erm, sometimes people doesn't give enough informations, but you, you give too much lol. What's the finality of your NPC ? Don't bother with what he was before, just explain what he must do.
  25. Well, it's the begin... I won't cry for now :P. All my comments are right, so if there is an "if", be sure to make a "if" check :P. I refer to : L2PcInstance player = null; Which isn't a check at all :P. The concerned check is a check on killer. But you're right, you have to initialize a L2PcInstance type (could be the same name, killer, but player is fine as well). You're right about the summon check, good hit :). My imbricated "if" example was AN EXEMPLE, don't use it. Just inspire from it. The good path to follow is the commentaries one, coded just top of the if example. When you do a commentary do like that : //A commentary if blablabla { //result result } Using tabulations. Because the code you show is perfectly messed in presentation and pretty hard to read. I made efforts in my last post, do the same :P. What about the GetParty ? You hope to share pvp points between party members ? The idea could be good if it was xp, but pvppoints... Lol :). Except you got another idea, you haven't to use it. I let you time to upload a decent code ^^. And take care about { }, you miss some.
×
×
  • 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