Jump to content

^Wyatt

Members
  • Posts

    1,418
  • Credits

  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by ^Wyatt

  1. http://www.maxcheaters.com/forum/index.php?/topic/169472-private-pvp-server/
  2. You should be smart enough to start with what you can afford, and not try to jump steps, since, as you said, "java is completely strange unknown language for me". So don't try to make a ranking for each event if u don't even know how to do it for all together.
  3. As soon as server is On/Beta they can know where did u host it, with the IP, so... why not? :troll: Btw, gl with your server :)
  4. Not rly because it only would show it till packet is sent again, I guess. It's the fastest and easiest way I found and I don't think that is too hardcoded. And as I always say, please... I don't need to know the "perfect coding way" in the shares I do, I'm just sharing what I did please, avoid doing it, nothing personal but it's kinda boring.
  5. Ty :) Updated the pastebin, with the first code you could only see your dressed pet but not others, now yes :)
  6. L2Character contains L2PcInstance m8... just work with L2PcInstance that's player values
  7. Or read previous replies :lol: xd
  8. you just need this method @Override public void onKill(EventPlayer victim, EventPlayer killer) { super.onKill(victim, killer); killer.increaseScore(); } to create what u want
  9. Well you already asked this on dev help but... The time is just up to you and your qualities. If you find it easy you'll need less time, if you find it hard you'll need more time... simple as fuck We can't say to you how much time should you spend with it, it's totally up to you. My advice to you is start learning about aplying patches manually and trying to understand what the patch does and compare the result with the code, if you're good enough in English, java is not that hard. I'll link you a video that I made some days ago about applying patches, if it's not usefull for you, just try to find some other guides. Link here
  10. U can store it in DB as xdem said and then when server starts you get all player values and you store it in a map. Then, every time a player checks the rank you just need to check the map, instead of sql injection as Tryskell says. You can also make an update-task to update the map every 30 minutes or 1 hour plus the startup load.
  11. If your server is PvP or it isn't but you're not planning to use Four Sepulchers u could just go to com.l2jserver.gameserver, find this line FourSepulchersManager.getInstance().init();and delete it or add // in front. But that's just in case you won't use it. If you wanna use it you should take a look from where the problem comes, as I've read in your screen, seems that the NullPointer is coming from com/l2jserver/gameserver/instancemanager/FourSepulchersManager.java public void clean() { for (int i = 31921; i < 31925; i++) { int[] Location = _startHallSpawns.get(i); GrandBossManager.getInstance().getZone(Location[0], Location[1], Location[2]).oustAllPlayers(); } That's why I asked you about grandbosses, seems that a grandboss is missing and can't load the zone, or a zone is missing. Is that the only error that you get when starting the GameServer?
  12. Didn't you edit anything? Didn't you touch something related with grandbosses or grandbosses areas?
  13. @Tryskell I guess that my answer is not even interesting. Because I never had any java class/lesson/teacher or whatever... I never read a book of java... I just started as all wannabes... trying to add patches... then sometimes getting errors... trying to know why those errors were happening, c/p some methods from l2jserver source and debugging to see what was going on there... I was improving a little bit each time... and so. Well, I had an assignature of my career that was about creating a videogame with Flash that helped me to understand some basic structures of java, but not more.
  14. Who knows which crappy custom things or bugs are inside your friend source man. Just use another pack and if the bug doesn't appear we can know that is because of the pack and we can exclude machine. Why u talk about ipconfig if he is saying that after some minutes, players get stuck? The players can login without problem so ipconfig has nothing to do with it.
  15. OP Frozen... that shouldn't even be possible... add this line above the checkIfPvP() thing System.out.println("This:"+isInsideZone(L2Character.ZONE_MULTIFUNCTION)+", Target:"+targetPlayer.isInsideZone(L2Character.ZONE_MULTIFUNCTION));
  16. If you don't provide more info is really hard to find out what's going on. But, the only 2 options: 1-Is your crappy frozen pack 2-Is your machine
  17. Ofc players stuck. And yes, more than probably is because u use this L2jFrozen pack, try another IL provider and you'll see that your weird bugs, more than probably, disappear.
  18. U could do this: find if(checkIfPvP(target) && targetPlayer.getPvpFlag() != 0 || isInsideZone(ZONE_PVP) && targetPlayer.isInsideZone(ZONE_PVP)) and replace with if((checkIfPvP(target) && targetPlayer.getPvpFlag() != 0) || (isInsideZone(ZONE_PVP) && targetPlayer.isInsideZone(ZONE_PVP)) || (isInsideZone(L2Character.ZONE_MULTIFUNCTION) && targetPlayer.isInsideZone(L2Character.ZONE_MULTIFUNCTION))) but probably your problem comes from checkIfPvP()
  19. Probably l2frozen has a check about PvPFlag or something. Are your players being flagged inside the zone?
  20. You're welcome :)
  21. No that would be weird coz probably u would get +2 pvp points some times. It's about your Antifeed more than probably bro, how are you testing it? And are u getting the messages when entering to L2Multifunction zone?
  22. Well this code is simple, and here what it does: With a custom item that you can change (I used Tutorial Guide) you can summon a custom pet The custom pet by default is Dragon Bomber With the command ".copypet" and with a Monster, NPC... as your Target, you can change the visual style ~aka dressme, of your custom pet I find it funny and it's fast to code/add to your server, you can also edit the custom pet stats in the .xml file.For those people that don't like to have common pets, here you have the option to make any NPC or mob your own custom pet, hope you enjoy :) Credits: Wyatt Prieview Coded for L2jServer H5 Stable - Tested and working - by Wyatt http://pastebin.com/5MN1RvUk SQL here INSERT INTO `custom_npc` VALUES ('9005', '13085', 'Dragon Boomber', '0', '', '0', 'LineageMonster4.foxian_wizard_pet', '16', '24', '55', 'male', 'L2Pet', '40', '1673.054730000000000', '889.800000000000000', '6.500000000000000', '2.400000000000000', '35', '37', '30', '32', '20', '25', '0', '0', '388.11142', '223.63620', '265.02979', '163.64727', '253', '4', '333', '0', '0', '0', '35.00000', '170.00000', '0', '1'); INSERT INTO `npcaidata` VALUES ('9005', '7', '15', '0', '0', '1', '1', '1', '0', '0', '0', '0', '2', '2', '0', '0', '0', '0', 'null', '0', 'null', '0', '0', 'fighter'); ALTER TABLE characters ADD customPet INT(10) NOT NULL DEFAULT 0;
  23. Which zone are you using? As I said above, the zone doesn't give PvP points, the zone what does is : if you get a PvP point and you are inside L2MultifunctionZone then the zone rewards you. So, if you are not getting PvP's has nothing to do with my zone, it's about your antifeed protection or about which coords are you using to locate the zone.
  24. Google -> "FileEdit" Then open that program, search inside your system the file "itemname-e.dat", open and decrypt it -> "CTRL + F" and search your item ID (if you don't know the item ID, search it here http://l2jdb.l2jdp.com/), then you'll see the name there, change it, and Save and Encrypt. Open your L2 Client and that's it.
×
×
  • 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