Jump to content

Horse

Members
  • Posts

    144
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Horse

  1. Use clean L2J only if you have some experience with l2j/java and if you have enough time to test/fix shitloads of stuff. Compared to other packs I've tried and seen, the recent l2j server has a more transparent file structure in my opinion which is a good thing. On the other hand, it has quite a few broken or unfinished core mechanics. So if you don't have a lot of time and/or aren't very experienced with java I'd suggest to choose one of the projects mentioned in this topic.
  2. Yes, I do understand that it doesn't have a "specific" moment when it runs. What I was curious about was if there is a optimal running period. Like every hour or so, or every 30 minutes, and so on. As for the huge ram usage of my stats window, it was due the tons of replacements in the html window. It generated way too many html objects I assume. So I moved the html code to the handler and it seems to be fine now, no more crazy ram spikes. Thanks a lot for the quick explanation. Too many objects generated was the problem indeed. Thank you both, topic can be locked.
  3. You're welcome:)
  4. Hi. I 'd like to know if there's an optimal garbage collection frequency for l2 servers? What I mean is the following: While there are only 2-3 players on the server (being in testing phase ofc) it takes about 1,5-2 hours for the used memory to increase by 500mb. Once GC cleans up, it seems to reclaim all previously used memory, which I assume it means there's little to no memory leak. (Correct me if im wrong, ty). Testing many aspects of the game, instances, events, or other custom features I've added/created, I found no serious spikes in memory usage. Except for one thing: I made a custom stats command which pops-up a html window with various stats including str,dex, etc, p.atk, cast, and other stats that are not displayed on the character tab, such as pvp defense, etc. Technically it calls a lot of the character information at once. When I keep spamming this command the memory usage rises very fast, since it refreshes these infos again and again. Naturally GC triggers and reclaims the memory all the same. So my question is: Does it actually matters how often GC runs, or it doesn't really matter as long as it reclaims all the used memory?
  5. Most likely you have the amount of item/item id at a wrong place. What you mention as x: defines the number of items. And the following numbers or empty spaces where you should put the item ids. Example: if you had two quest items or quest items required for that part of the quest it should look like this: "...fisherman with a skill level of 23 - 25.\\n\0 2 7080 6482 where 2 is the number of Q items, 7080 6482 are the item IDs. after that you have to define the number of items again which is followed by the amount of those items: fisherman with a skill level of 23 - 25.\\n\0 2 7080 6482 2 1 1 At least thats how it works in kamael+ questname-e.dat, but i doubt there's a big difference in earlier chronicles. Also, I'd suggest to use excel or at the very least notepad++ so you are less likely to make mistakes.
  6. Well, I assumed that you had a clue or two about java, sorry for that.
  7. 1.: I don't know much about IL L2JServer but most likely you will have to create a new handler for that. Check out how other voiced commands are handled on your servers. Like the wedding stuff, .engage, .divorce, etc, if there are any of these, ofc. 2. If you want an npc to have different type of animation for different skils, then you'll have to edit the mobskillanimgrp.dat. But most npc have 1-2or no animations at all.
  8. All right then. Thank yo guys for the answers and support. Topic can be locked.
  9. Wow, Even the dedicateds are quite optimal. Thanks a lot, Yea, I have the initial heap size set to 2gb on my own PC. and 4 for max. But Im uncertain if it would be enough with 300-400 players, for instance. With a 16GB RAM, 2GB inital and 8 GB max should suffice, right? Or should it be less so garbage collection would happen more often? I complile and work on the files on my own pc anyway, and I assume i can use navicat on my pc to remotely connect to the database on on the VPS or dedi. Or is it a bad idea for any reason? And one last question: I have some experience with ubuntu, used it for a few weeks, but thats all. So personally I would prefer to have win server, since I'm more comfortable with it. Are there any actual risks or major differences regarding the server's performance or stability? I have experienced one or two random crashes on my own pc (Win 7) since I started to work on my project (in 6 six month or so). One of them was a DB connection loss other i don't remeber, but that was all.
  10. Thank you all for your answers. It was very helpful. I would have a few more questions though. 1: How much the location of the dedicated server matters, For instance, most of the community would be from europe (most likely). Would a dedicated server located in the US a bad choice then, or doesn't really matter? 2: I also have some concerns regarding the VPS for the above mentioned reasons, however I hardly found any host so far where I could rent a 12 -16GB dedi machine with included DDOS protection. Do any of you know any hosting companies where such configuration is available? 3: Sinister Smile mentioned 500mbps network which i find quite a lot. I mean, back in the day servers with 1-3k players had 100mbps and there were no laggs. Or did you say 500 Mbps so it can handle minor DDOS attacks without any actual DDOS protection, I'm a bit confused here.
  11. If I remeber correctly, this can be done in the RequestExenchantItemAttribute.java. There's a part which checks if the player is trying to add the opposite element to the armor. Like dark to a holy attributed armor. Something like: if (item.isArmor() && item.getElement() != null).... Simply remove the opposite element check inside the statement, so it will yeild return instantly if the armor already has one attribute.
  12. Hello guys. I've been browsing through the possibilites and offers of some hosting companies, especially OVH. And my question would be the following: Let's say I have a High Five server with 400 - God forbid 800 players. (for exemple). Would be a VPS cloud with 12 or 24 GB Ram enough and stable? Or should I invest in a 32- 64 GB dedicated machine, if so why? I mean, L2 servers have been around for more than 10 years, long before these 32 gb+ dedicated servers. Yet, I can see quite a few servers with 500 or less online playesr that use such dedicated machines. Thanks in advance.
  13. Just find the script of that quest, then find the quest item variable and change the required amount to finish the quest to whatever number you want to.
  14. Do you become flagged in this zone? If you not, then enable the pvp flag feature. As i read this zone has one. Or you can simple add this zone as an exception at the "onkillupdate" in the L2PcInstance, so even if you are not flagged but in this zone you receive pvp .
  15. Do you use clean client? I mean if it only happens in giran and it does not occour with the same npc in other town zones or zones it seems to me some kind of client glitch. Unless you have some custom zone or something like that applied around giran. You can also try simply spawning the npc near one of giran's gates and then just outside of giran to see if it happens there as well.
  16. Thank you for the answers guys. I'll try both solutions then. Topic can be locked.
  17. Hi guys. I've adapted the Individual Vote Reward system (made by Elfo) to my hi5 server, but I've been told that these API codes are only given once you register your server at the topsites. My question would be the following: is there any way to test this kind of vote system without adding your own server? Or it can be tested only when my server is live and registered by topzone? I'm only asking this becuase i rather fix and test things before opening a server to avoid being burdened by things that can be fixed during development phase.
  18. As I mentioned before even without any anti-virus I get this error.
  19. Hi there. Recently, I've been trying to connect to some of the smart guard protected servers but everytime i did so I got this error(event code 61). Some say it's an anti-virus releated thingy, that something blocks smartguard from installling/updating correctly. However, I tried to Reinstall the client, disable anti-virus (even disable windows firewall). Also, I tried this with 3 different computers and the result was always the same. The only thing all three Pcs have in common is the internet connection. Could this be a modem releated issue? Or is there any fix solution to this problem? P.S: The reason why I posted this here is becuase I was also thinking about buying this protection in the future, but having this problem on multiple PCs is a bit disheartening.
  20. I figured it out. Although, I ve still encountered a problem. Let's say I want to make a voice command which pops up a html window with X amount of voice command buttons(like gotolove, divorce and so on). this is my bypass for go to love: action="bypass -h voice .gotolove" and it works like a charm when i use this with an actual npc's html or community board. However, when I try to use this with a custom html window which is located in htmls/mods/voicecommands/ --- nothing happens. Any idea why is that?
  21. Hello guys. This maybe be a noobish question, but I'd like to know how can I sort out the correct "path/code" for bypasses. For exemple: <td align=left valign=bottom><button action="bypass _bbshome" "bypass -h npc_%objectId%_multisell 2" I'd like a button to bypass a voiced command. How should exactly my bypass code look like to be able to bypass a voiced command or something else for that matter. It maybe too muhc to ask but best would be if someone could write it down in a few sentences how this bypass exactly works or just point me to a guide if there is one. I would really appreciate it.
  22. Check the community board's handlers for the html pages. data/scripts/handlers/communityboard. Maybe some of them are missing or don't work properly.
  23. If you change the anim type of a skill in skillgrp or create a new one with with a fitting animation type then it works perfectly on mobs. At least I made quite a few custom skills with working animations like that for some of my Raid Bosses. Basicly you can create universial skills that can be used on almost any monster without the need to add every id to mobskillanimgrp. Of course I won't deny that adding the npcs to mobskillanimgrp is cleaner since you can decide the animation type freely for each monster. To the author: in any case if you just want a specific monster to have a cast anim for a certain skill then just add a new line in mobskillgrp.dat with the id and chosen anim type of you mob. If you don't know how to edit .dat files then search for a guide or simply search for FileEdit on this forum and download it and u ll be able to open the dat file in the system folder. Then you can start tinkering and understanding how they work.
  24. There are many kinds of cast animations and most of the mosters are only able to use skills with some specific animation style. Maybe you have already noticed that most skills used by players have a casting animation on monsters as well. If you want a monster to have its skill cast displayed properly then you have to edit the skills animation type in skillgrp.dat or create a new line in skillgrp/skillsndgrp with a working animation style for the specific monster. (editing skillname-e is not important in this case since this skill will be used by your monster only.)
×
×
  • 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