I have made a very cool system to hold condiitons(for item usage, skill usage and other things) that makes it very easy to add next condition with minimum amount of code required, but using reflection is required in order to make it work. I am wondering what would be a nice way to do it with lambda, which would increase performance speed drastically.
ConditionsHolder class is holding all methods, their parameters etc. The problem is that reflections are slow, so I am looking for the best way to make it with lambdas.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
Question
vampir
Hi
I have made a very cool system to hold condiitons(for item usage, skill usage and other things) that makes it very easy to add next condition with minimum amount of code required, but using reflection is required in order to make it work. I am wondering what would be a nice way to do it with lambda, which would increase performance speed drastically.
This is one of the classes holding condition. For example adding zone method is the only thing required to be done in source in order to have
<zone name="zone_name_here" type="peace_zone/>
condition be added to xmls
That's how I run the method:
ConditionsHolder class is holding all methods, their parameters etc. The problem is that reflections are slow, so I am looking for the best way to make it with lambdas.
Any ideas?
Edited by vampir11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.