Jump to content
  • 0

[Q]Where is Buffs Stored?


Question

Posted

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?

11 answers to this question

Recommended Posts

  • 0
Posted

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.
  • 0
Posted

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).

  • 0
Guest Elfocrash
Posted

You're better at project leaking than at issue solving.

 

OH SNAP

  • 0
Posted

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?

  • 0
Posted

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.

  • 0
Posted

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.

  • 0
Posted

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.

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...