EdenEternal Posted July 7, 2012 Share Posted July 7, 2012 Hello. as you know some packs have configs Restore Effects after sub-class change. and it restores the buffs of previous sub-class. So, i'm interesed where is this buffs stored? in sql? and one more question. can i use this method and store buffs in custom buffer? Link to comment Share on other sites More sharing options...
0 AbsolutePower Posted July 8, 2012 Share Posted July 8, 2012 Hello. as you know some packs have configs Restore Effects after sub-class change. and it restores the buffs of previous sub-class. So, i'm interesed where is this buffs stored? in sql? and one more question. can i use this method and store buffs in custom buffer? its easy... its not stored somewhere... it just got a config and if its RestoreBuffs = true then it won't remove the buffs and if its false it will just remove the buffs. Link to comment Share on other sites More sharing options...
0 EdenEternal Posted July 8, 2012 Author Share Posted July 8, 2012 i don't think so.... somewhere it is stored because it restores the buffs without matter when you changed it Link to comment Share on other sites More sharing options...
0 Tryskell Posted July 10, 2012 Share Posted July 10, 2012 its easy... its not stored somewhere... it just got a config and if its RestoreBuffs = true then it won't remove the buffs and if its false it will just remove the buffs. You're better at project leaking than at issue solving. @AnimatroniK, SQL for sure, and the custom buffer (scheme buffer) question is yes, but you will have to customize the table to make the difference (as it is probably stored by objectId and classId, you should, let's say, make a classId -1 possibility, if the table read -1 then it's buffer, otherwise it's regular buffs). Link to comment Share on other sites More sharing options...
0 Guest Elfocrash Posted July 10, 2012 Share Posted July 10, 2012 You're better at project leaking than at issue solving. OH SNAP Link to comment Share on other sites More sharing options...
0 EdenEternal Posted July 10, 2012 Author Share Posted July 10, 2012 i have a buffer which works as script from custom folder. and it works very good. but i want make something which will help players to store their buffs and then restore it(if the character died). any ideas? Link to comment Share on other sites More sharing options...
0 SweeTs Posted July 11, 2012 Share Posted July 11, 2012 i want make something which will help players to store their buffs and then restore it(if the character died). any ideas? If you just want to store their buffs, you can do it by core side. I mean, buffs won't disappear when you die. If you're interested, check L2Character.java, find stopAllEffectsExceptThoseThatLastThroughDeath(); and delete it. Link to comment Share on other sites More sharing options...
0 EdenEternal Posted July 11, 2012 Author Share Posted July 11, 2012 now i know how to do that..... i just what that players could save their chosen buffs somewhere....and than reload them Link to comment Share on other sites More sharing options...
0 ^Wyatt Posted July 11, 2012 Share Posted July 11, 2012 now i know how to do that..... i just what that players could save their chosen buffs somewhere....and than reload them That's the function of scheme-buffers... take someone. Link to comment Share on other sites More sharing options...
0 EdenEternal Posted July 11, 2012 Author Share Posted July 11, 2012 can you give me some scheme buffer/ Link to comment Share on other sites More sharing options...
0 ^Wyatt Posted July 11, 2012 Share Posted July 11, 2012 http://www.mediafire.com/?b1dmisgsy6d1u5x Link to comment Share on other sites More sharing options...
0 AbsolutePower Posted July 14, 2012 Share Posted July 14, 2012 You're better at project leaking than at issue solving. @AnimatroniK, SQL for sure, and the custom buffer (scheme buffer) question is yes, but you will have to customize the table to make the difference (as it is probably stored by objectId and classId, you should, let's say, make a classId -1 possibility, if the table read -1 then it's buffer, otherwise it's regular buffs). i didn't talk about the buffers or scheme buffers... i talk about the method stop all effects when change sub and remove the effects :P. probably i understand wrong. Link to comment Share on other sites More sharing options...
Question
EdenEternal
Hello. as you know some packs have configs
Restore Effects after sub-class change.
and it restores the buffs of previous sub-class.
So, i'm interesed where is this buffs stored? in sql?
and one more question. can i use this method and store buffs in custom buffer?
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now