Jump to content

Tryskell

Legendary Member
  • Posts

    5,360
  • Credits

  • Joined

  • Last visited

  • Days Won

    62
  • Feedback

    0%

Everything posted by Tryskell

  1. You have to adapt events to your chronicle, no other way. I would like an Interlude server with all third skills, geodata and balanced low rate faction server, but unfortunately, no one made the patch so I have to develop it since 5 months.
  2. If it's last L2J rev, just make a ticket on their website, it would be more helpful. And wait a fix, I don't think it's MxC to fix L2J errors :P. + It's normal to have those types of erros from a new chronicle...
  3. From what i tested from L2J Archid standard version it's a normal error, and from the moment Sethek doesn't continue Archid, you can give up this pack. Btw, this isn't the only bug. So just give up Archid standard, it's not finished (from Sethek words). I don't say that because I'm an evil hater, I myself made my own server on L2J Archid, simply it's the old project which is far more stable. Just go in Giran in Archid standard to see it's full of customs. It's supposed to be custom items from what I saw, which has been removed on the Premium -> Standard port. ---- As I'm not a bitch : Any newbie items are given through database, on the "char_templates" table, last rows are item1, item2, etc to 5. If not, Sethek coded it another way, and it's boring to search.
  4. Well, the way I said is far easier than trying to make weapons giving pvp... Just copy/paste L2MinionInstance, you rename it, you delete code inside (just keep the doDie override method) and put your custom code when a mob die. Once coded, the only thing you have to do is to create mobs in your database with your custom name instance (like L2Minion dpeends of L2MinionInstance, etc), and to //spawn ingame. I don't get how to code weapon could be easier neither, anyway, gl with it. If you don't like L2Minion, just pick up another. What's your errors and mainly, what are you trying to do ?
  5. L2SummonAI about summon behavior, else you can force the unsummon of the summon when the summoner die (in the doDie method, L2PcInstance). As cubics are unsummoned when you die, you can do the smae for summons.
  6. I don't get your problem, if you put EverybodyHasAdminRights = false, it gives rights only for >0 access (aka gm/admin). You don't need anything more. If you want absolutely your chars got access lvl 75 you have to edit java file around the part the character is created and stored in database. But it's totally useless, considering banned got negative number, players got 0, GMs got a number between 1 and 99 and admin got lvl 100. Why reinventing the system ?
  7. You can create a complete new mob type, like L2FarmZoneMobInstance, depending of the L2MobInstance. On your datapack, copy paste a mob and instead of L2Mob type it will be a L2FarmZoneMob. Well you got the idea. Check L2Minion for example, it's a class who inherits caracters from L2Monster, L2Monster inherit from others classes too etc etc. About the calcul to have pvppoints : take the result number of the difference between the mob level - 79, and multiply it by 2. (mobLevel - 79)*2 lvl 80 = 80-79 = 1*2 = 2 lvl 82 = 82 - 79 = 3*2 = 6 Well my exemple doesn't follow your logic suit, but else you have to do an exception for lvl 80, and others lvl can be calcultated automatically. If > 80 exception to the rule else normal calcul
  8. TheMental is right, you forget to put the NPCID of your NPC in the related file. For example you create a new Npc for clan.alliance stuff, which is supposed to be ID 49000, he is L2MasterVillage etc etc. But same problem than you, because he won't have his ID in the quest. So :
  9. if (!_started && !_joining) replyMSG.append("<center>Wait till the admin/gm start the participation.</center>"); It's not obvious for you to think you have to start manually the thing ? There are players level checks too (min and max). ---- Made me laugh (devs are bitches lol). Keep checking, someone may crit and you can steal their spot.
  10. Dunno if you take an existing example (the bypass you pickup from who ?) but it's totally possible, depending of your script (sometimes they add NPC IDs inside) or the type of NPC (L2ThirdClassNpc if you use a custom L2ThirdClassNpcInstance, L2FactionGatekeeper if you use a special gatekeeper coded in L2FactionGatekeeperInstance)... Well more infos needed.
  11. Your buffer focks up the launch of your server, in the loadData method line 56. It's surely how you open/use/close the connection. To solve, check any instancemanager, there is plenty of exemples on how to load things through datatables (ClanDataTable.java as example). It's nothing related to your ping, as the connection cannot be established, you just don't have connection, well something is semi-working and semi-broken. And from what I know there is no option for ping, and even there are, they're not for this problem. at com.l2dc.gameserver.model.actor.instance.L2SchemeBufferInstance.loadData<L2SchemeBufferInstance.java:56>
  12. Add/or delete (lol) column vip in your characters table. Check their datapack update. I must add you shouldn't post your problem here, as they got their own forum.
  13. First you should write code around this location : Because where you put you miss important checks (and you can have a NPE). Second you don't need to change killer for kill... pk is enough, it's used by others things too. Your code should look like : About L2PcInstance, I suppose you have understood it was the instance of the player. Checks on mobs must be done in another file, L2MonsterInstance. You have to add code in the doDie method. Monsters got their own instance, guards their, player their, artifact, etc etc. Some depends of others, so you have to choose wisely. For example if you modify the doDie of L2NpcInstance, you add pvpkills for monsters, but not only, for artifact, guards, etc. L2MonsterInstance is supposed to be (for INTERLUDE) for normal monsters, and it's the master class of minion and raidboss too. So basically, you use 1 stone to kill 3 birds. ---- I have to add summons which kill a player won't make earn pvpkills to their owners. Summoners will cry in your server lol :). Well you should test but that shouldn't work correctly. If a test with summoners is negative you have to use killer instead of pk (because killer is related to L2Character when pk is related to only L2PcInstance), and put your code after if (killer != null) { and add another check for summon specially (instead of my "if (getPvpFlag() != 0)", use :) if ((killer instanceof L2SummonInstance || killer instanceof L2PlayerInstance) && getPvpFlag() != 0) ----- From this point you have all cards in your hand. Sry for the edit if you were checking, I just pickuped a L2J post IL example.
  14. Notepad + cmd line for compile, or read Trance link. You got the choice.
  15. You check existing quests (around 200+) and you do your own with existing ones ? Come on, ask logic for Christmas. You don't have even a problem.
  16. Type jdk in google, first link (http://www.oracle.com/technetwork/java/javase/downloads/index.html) Press Download JDK. Install. People will answer if question isn't dumb... If you already need help to install jdk, what about server itself, his customization or if you get any type of error (and yeah my words are rude, but they worth it). If someone want to help installing your server for you, their problem, but don't dream too much. My last word on the topic, promises.
  17. I have no clue what do you ask, you know what to do and where to do it (the line in red) so what ? You want help to delete the line ? o_o ? On your keyboard there is a special button : It allows you to *ta-da* delete caracters, but only those before your cursor ! So take care.
  18. Inventory.java : if (it instanceof L2Weapon) { // Remove augmentation bonuses on unequip if (item.isAugmented()) item.getAugmentation().removeBonus(player); If you ask what to do with that, just forget to develop a server. And think more. -- Tk.
  19. Is in my posts I have use "pkkills" term once ? Consider I understood what you said then. I don't understand your problem, and if there was one, I answered in my first post. In both pvp kills and pk kills there are victim and murderer, a victim and a killer, so I don't get your last post. Even mob is a victim and you're the killer... It's how java see the thing. About fame it's exactly the same than pvpkills add. I don't see the problem, it's related only on the killer caracteristics. If you can pvpkills from the mob death method, you can reach fame. And dont change of idea like that, you ask for pvp or for fame, make a split, it's 2 differents codes, even if it's exactly the same solution. You expand too much, make the idea clear in your head. Which error ? Post it if you want help too, I'm not you, I can't see it... And post your question because there aren't questions, you just expose mod idea. It's "help" section, not "suggestion" section :P. I say that if you want help, I won't post anymore if you continue like that.
  20. Dude, re-read the whole topic, even my intervention details what to do (if you can read through sarcasms). Except a spanish translator, the only other thing you need is a brain. You got all explanations already written.
  21. If you read correctly your error you could find yourself : The method getStatsSet(int) is undefined for the type GrandBossSpawnManager You miss getStatsSet, surely setStatsSet and surely the initialization of the variable. BTW from what share you try to add this ? To what chronicle ? I suppose you try something which is bigger than you figured out in first time... And I have to add some things didn't exist if you use old chronicle like interlude. So add the whole system. Compare files too.
  22. You need a guide to copy/paste ? If you think you need this sort of guide, you will need : - the guide to change IDs in your xmls. - the guide to change IDs in your AIO buffer (python/java related). Take care it's 2 differents guides ! Except if someone really skilled is ready to post you those 3 guides, I think you're stucked. You already have the guide to turn on your computer, the one to launch internet browser and another to post to MxC, it's not so bad already... PS : I voted Buffs Skills in your usefull vote.
  23. Well from your second answer I have no clue if I have answered your question or not lol. And you can judge pvp kills are supposed to be *only* related to players, so you don't have to earn anything from mobs. And the problem is in fact the 10% of pvpkills. Your system don't work correctly if the killed have between 0 and 9 kills. But I agree it's a good system to balance big pvpers and low pvpers. If the killed have just 0 kills, you can say the killer won't earn anything (and code it that way, put just before the reward : if killed.pvpKills() == 0 return; Or you can do like CRPs, put a negative number. That means pvpkills can be negative. Anyway gl whatever you do.
  24. - Delete empty buylists on your data folder, it will be more clear for you, even if it's just warnings. - It's obvious than NPEs make your weapons load fail. You should check inside mis-loading files, and see how weapons are written. If some weapons are loading (I mean, if some of the files are laoding), there is surely a change of format in files which don't load. You can too search from the "-" symbol, but if some wepaons load and all your weapon XMLs names are written like that, it's not the good way. Is it a clean datapack or you modified weapon stuff...? All errors related to "reference price" are surely your own customization, so I suppose you began customization by your own. If you modded weapon xmls, pick fresh weapon xmls. ---- The funny thing is you got 2 different NPEs, so... This is massively weird. ---- I suppose Epic armors are Freya invention ? I stopped to Interlude :D. If you use L2J, check their bugs tickets. It's stupid to ask for errors you got when a dev team is working on it.
  25. subs switch are related to L2VillageMasterInstance normally (if I don't say bs). Compare your file with L2J one as exemple. In the case you use a custom command to give sub (voiced for exemple) you have to correct here too. And in future, make a more explicite title... This is the help section so all need "Help"...
×
×
  • Create New...