Jump to content

Tryskell

Legendary Member
  • Posts

    5,365
  • Credits

  • Joined

  • Last visited

  • Days Won

    67
  • Feedback

    0%

Everything posted by Tryskell

  1. addItem() exists whatever chronicle is, the only difference is the number/type of parameters entered. So find occurences of addItem through the code, count the number/type of parameter inside, and verify if it matches. ------------------------------------------------------ Here are the 2 possibilities on Freya : public void addItem(String process, L2ItemInstance item, L2Object reference, boolean sendMessage) public L2ItemInstance addItem(String process, int itemId, long count, L2Object reference, boolean sendMessage) The itemCount is wrong then, as in your vote system it's an array which is given, and it's a simple number which is asked in Freya. Update your vote system, or edit/add a new method in L2PcInstance to match with an array.
  2. I don't think this is the best place to put such code... It should be placed at enterworld.java, imagine on a pvp server you die often and each time you die you have to enter a code :P. Anyway, just my 50 cents. ---- And even if you want your system, L2Attackable is still a bad place... L2PcInstance will fit better. Except if I missed a part, your system will work with any L2Attackable... In your log info, I think you killed a mob, so the code became crazy at each mob kill. Move your code in L2PcInstance then, that will avoid you many many checks. ---- For people who doesn't understand, it's a catpcha system... You think monsters, summons and such are enough clever to enter godamn codes ? :P. This is not Blade Runner, a robot is a robot, not a living form which got emotions.
  3. I don't think this is the best place to put such code... It should be placed at enterworld.java, imagine on a pvp server you die often and each time you die you have to enter a code :P. Anyway, just my 50 cents. ---- And even if you want your system, L2Attackable is still a bad place... L2PcInstance will fit better. Except if I missed a part, your system will work with any L2Attackable... In your log info, I think you killed a mob, so the code became crazy at each mob kill. Move your code in L2PcInstance then, that will avoid you many many checks. ---- For people who doesn't understand, it's a catpcha system... You think monsters, summons and such are enough clever to enter godamn codes ? :P. This is not Blade Runner, a robot is a robot, not a living form which got emotions.
  4. Assembla is used by over 300k people (well, it's what they say), and many projects are hosted on it, so turn off your antivirus and stop offtopic. If you don't know what is Assembla, just google it and see. It has nothing to be involved about aCis, Frozen and many other L2 projects use it. It's a 3rd software tool, developped by a company. ------ Rev 72 near to be up.
  5. Assembla is used by over 300k people (well, it's what they say), and many projects are hosted on it, so turn off your antivirus and stop offtopic. If you don't know what is Assembla, just google it and see. It has nothing to be involved about aCis, Frozen and many other L2 projects use it. It's a 3rd software tool, developped by a company. ------ Rev 72 near to be up.
  6. Rofl, that makes me smile at 7h00 of morning. The joy of customs... Search first in your config files if there isn't an option about it. ---- I invite you to check MapRegionTable (gameserver.datatables), and search through code for if (player.getKarma() > 0) to know where exactly the code sends you. For me it's //Karma player land out of city if (player.getKarma() > 0) return TownManager.getClosestTown(activeChar).getChaoticSpawnLoc(); But it's supposed to be clean code, and postIL version. ---- To understand the concept, basically : - you die - you send a RequestRestartPoint packet (clicking on "To Village" is the default option) - it sends you to MapRegionTable, which says "what do what where and when". - on "normal" packs, it sends you on the closest town, using preconfigured chaotic spawns entered in zones.xml (postIL)
  7. Hey, stop with that "aCis is unstable" thing :P. It's perfectly stable. It can't be currently be used as live, but it's stable. About Frozen, they made an experiment using boneCP instead the current C3P0 pooler than any project normally have. And for that, you can say it's experimental and non-live anymore, as aCis became non-live around rev 40 (but me I announced it wasn't non-live, when you, you think Frozen is still live-able). I won't say aCis is better than Frozen. Frozen uses Scoria as base, they got a lot of stuff already made but inherits Scoria problems (as any pack have their own problems), so they have to correct inherent L2J problems, Scoria ones and avoiding to add own problems. Both projects got a different public (light vs custom), goal (propose a clean base for any server type vs propose a end-based server) && conception ideals (refactor entirely parts of code will fix bugs vs fixing bugs without refactors). Both projects got PROS and CONS and different types of visitors. A discussion with Shyla (on my forum 2 months ago, when aCis just born) ended with the fact my and his project just couldn't merge, because my PoV of what a server must offer is different of its PoV. I stop with semi-offtopic, even if it's always interesting to know what happens in background :).
  8. Before it was a mix of SQLs and XMLs, now only XMLs :). With that added, you will perhaps notice some itemhandlers completely dissapear (potions, scrolls). Potions task have migrated to L2PcInstance, when SoE and SoR are handled on skillhandler/skill effects (from what I rem). And yeah, I will have soon to refactor all this crap... This is another big chapter to refactor on IL :D Sad story bro'.
  9. A simpliest way to do it without using zones is to use a radius formula, and for all players found on this radius, you do whatever you want. isInsideRadius() method, there are some applications of this. DoDie () method of the instance you want to add that. I invite you to do a new instance, else it will change behavior of existing instance, which isn't perhaps what you want to do. Well it depends exactly you want to do, if your goal was simply that, it's a far simpliest way.
  10. Common problem, people think private are better than free, and only because they can't see how bad it is, they must buy it in order to see all defaults. Snake eats his tail. Imagine I put aCis private, and I say all skills work 100% and such impossible things... Guess what, people will buy the pack in order to see if it's real or wrong haha. GG about paying fork and no support haha. ---- About main question, check L2VillageMasterInstance, and copy parts of Freya.
  11. Serious guy, so trusted seller :).
  12. Well I wanted to answer but Matim got 4 hands :P. You have to understand how works the Zone system. Basically you got 2 possibilities : - You can create TownZones and put respawn areas "not peace zone". It depends of chronicle, this feature isn't implemented on IL from what I rem. - You can create a whole new ZoneType, where each leveling zone got its own self number. Those special areas can be improved with time. Check L2TownZone. In both cases, you will have to create a zone in zone.xml, depending if it is already existing or not.
  13. When Sido said it to me, I was laughing... Ty to read in my mind, I had this idea some days ago, but was risky to put in place (forum wipe with backup and such) :). You made at least one victim haha.
  14. I must steal your brain, then build a machine to read memories in order to know them ?
  15. RequestRestartPoint clientpacket, located in gameserver / network / clientpackets for postIL or gameserver / serverpackets in IL and before.
  16. Right click on the dp_installer and edit mySQL path, password and login of your database, and database name if you don't use a normal one. The database have to be created first, use a tool such as navicat to create one first. I invite you to read tutorials, they're pretty explicit.
  17. I gave you the whole solution, the only thing I was talking about being lazy was the diff patch.As I like to say, giving you a fish won't help you, when a fishrod could stop your hungry :). All is supposed to work, just use CTRL+H (search function) in order to find good places. You know already 1 place, you have to search for the 2 last (must be siegemanager, siege and castle). You can c/p the code I make, it works whatever is your chronicle/pack normally. I removed sentence in last post which could make think it wasn't complete code. Regards, Tk.
  18. Ahah, ty for your comment :). I'm happy when people talked about timeline ^^. Rev 70 corrects some minor things (correction of 30 warnings, like cleaning variables, and such). It adds back the .jar deleted on rev 69 too :<
  19. When you did your tests there were 3 ppls online, then 2 in second test. Spoiler of this awesome logic : Why I can say that ? Basically, for each online player, it sends an announce. You know the next... ------- You didn't say you had error - well I didn't check well the image - but what I said was true :P. You have to make the player/clan variable "fly" from one method to another. public void midVictory(String clanName) { if (getIsInProgress()) // Siege still in progress { // Announce Announcements.getInstance().announceToAll(clanName+" has taken "+getCastle().getName()+" Castle."); if (getCastle().getOwnerId() > 0) _siegeGuardManager.removeMercs(); // Remove all merc entry from db // If defender doesn't exist (Pc vs Npc) and only 1 attacker And considering the use of this method (only 2) : getSiege().midVictory(clan.getName()); Dunno if it's the best solution, but it's the easiest for sure, considering what you want to do.
  20. Rev 69, ty Intrepid for the clean spring and DarthVader for 2 XMLS skills :).
  21. Only you, helped of Intrepid for the precious data could save (rape) us from innocence.
  22. Hey FB, I finally managed to understand your massive critical errors on teleport ^^. It wasn't teleports, nor core related :). But I couldn't figure it without a client error. Come back fast with your new computer :P.
  23. So you know the answer :P. AbstractNpcInfo > NpcInfo, all other is fine. In your diff patch, it misses the principal information in NpcInfo. Anyway on IL your patch can't work like that.
  24. I voted for Frozen, because I can't vote for myself and the 2 others projects are dead (no update since 2 months). And it's "aCis", not "L2JaCis" :).
  25. I think I prefer to stay in darkness concerning the "how" of the idea to make a PornoGenerator command. But that won't surprise me if you're the angular stone of this masterpiece, uhahaha. Pervert hungarians for sure :).
×
×
  • 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