-
Posts
1,418 -
Credits
0 -
Joined
-
Last visited
-
Days Won
2 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by ^Wyatt
-
http://www.maxcheaters.com/forum/index.php?/topic/169472-private-pvp-server/
-
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 :)
-
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.
-
+
-
Ty :) Updated the pastebin, with the first code you could only see your dressed pet but not others, now yes :)
-
Mostly To L2J Developers
^Wyatt replied to Aphelion's question in Request Server Development Help [L2J]
Or read previous replies :lol: xd -
Mostly To L2J Developers
^Wyatt replied to Aphelion's question in Request Server Development Help [L2J]
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 -
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.
-
[Help] Gameserver Problem
^Wyatt replied to Emkej's question in Request Server Development Help [L2J]
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? -
[Help] Gameserver Problem
^Wyatt replied to Emkej's question in Request Server Development Help [L2J]
Didn't you edit anything? Didn't you touch something related with grandbosses or grandbosses areas? -
@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.
-
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.
-
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));
-
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
-
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.
-
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()
-
Probably l2frozen has a check about PvPFlag or something. Are your players being flagged inside the zone?
-
You're welcome :)
-
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?
-
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;
-
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.
-
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.