Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Credits

  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. Compile both packs using java 11 and enjoy. There is no reason to use java 8 while you can 11 easily.
  2. @StinkyMadness Then, I got another idea. Make a thread pool for each 1min, even 1min and add a new variable flag. Like boolean updateRequested. As long as it's false, there is no update. Once player visit community board set flag to true and on next loop, update the link. So, you got control for "unnecessary connections" and "update on demand". You eat cookie and still got cookie.
  3. @StinkyMadnessofc 1h delay is NOT a shit, you could even make it update once a day. Its like saying olympiad ranking is shit bcs it updates only once, at the end. Plus, there is shit load of connections happening here and there and you care for one more, mhm, okay
  4. Umm, I didn't look into the code, just read some posts and it seems like the PLAYER, actually, is "triggering" the update? If so, that's plain stupid, lol. I would simply put the update under the thread pool and update list each X time. I see no reason for any timestamps and so on.. Thread pool updating itself. It could not be simpler.
  5. Exactly. You can't have high quality with sponge (Bob) inside. @melronrofl.
  6. That guy is funny.. He needs more attention than Kara his time..
  7. Are you retarded or what? It's NOT about "does it work or there are bugs", "how good the features are". It's all about the code aspect. So.. crawl back to your hole and don't talk as you are not a developer, just an admin. Admins and players pov in this subject... doesn't matter. Read the topic once again. ---- Yoo fellas. @Kara,╭∩╮(︶︿︶)╭∩╮
  8. More like, if you want a ready to go server, take Lucera. Otherwise, aCis, yet you will have to implement all what you need and fix potential issues. People are using Lucera since ages and say it's good enough, no major bugs and have shitload of customs. Everything depends what you really want. A project to worn on or you want to open a ready to use server. -------- Btw, hello fellas. Long time no see*. * - not coming back, no time for mxc bullshits, just saying hello
  9. Simplest solution. Before you do revive, make a zone check.. Sounds obvious, right. Whatever you like. Could be assigned to some method, variable as suggested. But it's not like it's a must, nor the whole code is super duper. Keep it simple stupid.
  10. I already told you what to do. Not my fault you don't listen.
  11. Most likely bcs you remove player from party and then loop party, which doesn't exists anymore for that player. Move it above, first do check for members count and teleport them ALL and then remove player from party. Also, this is funny public boolean isInsidePartyZone() { return isInsidePartyZone(); }
  12. As from time to time I see people searching for time limited items and/or questions about how to modify the shadow items system, I decided to code one. There is nothing modified from vanilla code, everything is custom. Q: So, how does it work? A: All you have to do is to add a new XML line to your item. The time value is in minutes. <set name="time" val="1" /> Q: When the time-task is triggered? A: The task is triggered on item acquisition. Q: Is it limited to weapon/armor type items? A: No. You can add it to ANY item, whether if it's a weapon, armor or etc item. Q: Is it possible to display remaining time on client as it's done with Shadow Items? A: Yes, of course. The only requirement, as in Shadow Items case, is to modify the client armorgrp/weapongrp/etcitemgrp file, durability row. Q: Can I put some restriction on the item? A: Yes, you can. You can use restrictions as on any item via XML. Q: But is it safe to allow trading or dropping the item? A: Yes, it is. If you drop the item and someone pick it up, it's gonna be removed as well (once picked up, item is not removed from the ground). Q: Are there any hard-coded restrictions? A: Yes, the only restriction that is hard-coded is, you can not drop the item on death nor refine it. Q: What about items in warehouse? A: Items in warehouse are also checked, so if the time is over, they will be removed as well.
  13. Make proper check based on both ids / create some new skill handler to code your logic. But ye, basically you make a check on skill use, like (pseudo-code), if (skill_id = 2 && skill_id_1 = reuse) return.
  14. Get a clean pack and create "balance" on your own. https://acis.i-live.eu/index.php
  15. https://acis.i-live.eu/index.php
  16. Datetime precision is set to 0, drop it.
  17. You are calling a file which does not exists.
  18. Let's ne honest, Oracle do not really care about you and your L2 server. But if you care, use OpenJDK. https://adoptopenjdk.net/
  19. How about posting in proper godamn section? Does it look like client section? Its not your first time.
×
×
  • Create New...