-
Posts
8,941 -
Credits
0 -
Joined
-
Last visited
-
Days Won
25 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by SweeTs
-
-
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.
-
@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
-
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.
- 1
-
4 minutes ago, L2RAPTOR said:
Final product needs to be with the highest quality
Exactly. You can't have high quality with sponge (Bob) inside.
@melronrofl.
-
1 minute ago, Kara said:
Can we flush() him?
Fatal error. Access denied.
-
2 minutes ago, Kara said:
This topic changed into Players vs. Developers. Let's open a topic and team up all Developers and all Players and fight!
Pointless. Raptor wins.
-
That guy is funny.. He needs more attention than Kara his time..
-
-
1 hour ago, L2RAPTOR said:
I hear opinions..I want facts to support them.. I guess go check L2jorion.com and see if these files are as good as any other...and if not, tell me why not..
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.
On 3/13/2021 at 10:56 AM, TehBot12 said:Java side primely.
----
Yoo fellas. @Kara,╭∩╮(︶︿︶)╭∩╮
-
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
-
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.
-
On 10/18/2020 at 11:49 AM, MoNsT3ReN4RgY said:
i manage to do it work for the player whos leaving the Party Inside party zone. but the rest party stays inside even if they are <5
I already told you what to do. Not my fault you don't listen.
-
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();
-
}
-
-
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.
- 5
- 2
-
2 hours ago, `Sanctus said:
Moved to proper section. Also changed your prefix.
Nop, still wrong section and prefix.
-
First section, public sources.
-
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.
-
- 1
-
-
Datetime precision is set to 0, drop it.
13 hours ago, Bigman said:`votedate` datetime NOT NULL
-
On 4/26/2020 at 5:06 PM, 0flee said:
java.lang.NoClassDefFoundError
You are calling a file which does not exists.
-
Let's ne honest, Oracle do not really care about you and your L2 server. But if you care, use OpenJDK.
-
Try player instanceof FakePlayer
-
How about posting in proper godamn section? Does it look like client section? Its not your first time.
Error with java L2j Acis
in Request Server Development Help [L2J]
Posted
Compile both packs using java 11 and enjoy. There is no reason to use java 8 while you can 11 easily.