Jump to content
  • 0

Buffs removed when changing character


Question

Posted (edited)

I made an extreme buffer NPC (with 50M zeny cost per buff) but whenever I change character, all buffs are gone. Same issue with using battle manual, gone automatically -- not happening when using an admin account.

 

I wonder if it has something to do with the duration of the buffs and battle manual as I set them to 24 hours.screenAeternaRO001.thumb.jpg.10007bbfa386c64913f8170f118f86d7.jpg

 

Edit: I already tried editing status.conf but same issue.

//--------------------------------------------------------------
// rAthena Battle Configuration File
// Originally Translated by Peter Kieser <[email protected]>
// Made in to plainer English by Ancyker
//--------------------------------------------------------------
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
//         assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------

// Should skill casting be cancelled when inflicted by curse/stun/sleep/etc (includes silence) (Note 3)?
status_cast_cancel: 0

// Will certain skill status-changes be removed on logout?
// This mimics official servers, where Extremity Fist's no SP regen,
// Strip Equipment, and some other buffs are removed when you logout. Setting is:
// 0 = remove nothing.
// 1 = remove negative buffs (stripping, EF)
// 2 = remove positive buffs (maximize power, steel body...)
// 3 = remove both negative and positive buffs.
debuff_on_logout: 0

// Adjustment for the natural rate of resistance from status changes.
// If 50, status defense is halved, and you need twice as much stats to block
// them (eg: 200 vit to completely block stun)
pc_status_def_rate: 100
mob_status_def_rate: 100

// Maximum resistance to status changes. (100 = 100%)
// NOTE: Cards and equipment can go over this limit, so it only applies to natural resist.
pc_max_status_def: 100
mob_max_status_def: 100

 

Edited by Aeterna08
added info

4 answers to this question

Recommended Posts

  • 1
Posted (edited)

you probably have this setting configured?

conf/battle/status.conf#L15-L20

// Will certain skill status-changes be removed on logout?
// 0 = (Default) Only remove status that has the SCF_NO_SAVE flag.
// 1 = Remove negative buffs (status that are flagged as debuff)
// 2 = Remove positive buffs.
// 3 = Remove all.
debuff_on_logout: 0

or remove the SCF_NO_SAVE  flag from all buff statuses

Edited by Emistry
  • 0
Posted
1 hour ago, Aeterna08 said:

I made an extreme buffer NPC (with 50M zeny cost per buff) but whenever I change character, all buffs are gone. Same issue with using battle manual, gone automatically -- not happening when using an admin account.

 

I wonder if it has something to do with the duration of the buffs and battle manual as I set them to 24 hours.screenAeternaRO001.thumb.jpg.10007bbfa386c64913f8170f118f86d7.jpg

 

Edit: I already tried editing status.conf but same issue.

//--------------------------------------------------------------
// rAthena Battle Configuration File
// Originally Translated by Peter Kieser <[email protected]>
// Made in to plainer English by Ancyker
//--------------------------------------------------------------
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
//         assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------

// Should skill casting be cancelled when inflicted by curse/stun/sleep/etc (includes silence) (Note 3)?
status_cast_cancel: 0

// Will certain skill status-changes be removed on logout?
// This mimics official servers, where Extremity Fist's no SP regen,
// Strip Equipment, and some other buffs are removed when you logout. Setting is:
// 0 = remove nothing.
// 1 = remove negative buffs (stripping, EF)
// 2 = remove positive buffs (maximize power, steel body...)
// 3 = remove both negative and positive buffs.
debuff_on_logout: 0

// Adjustment for the natural rate of resistance from status changes.
// If 50, status defense is halved, and you need twice as much stats to block
// them (eg: 200 vit to completely block stun)
pc_status_def_rate: 100
mob_status_def_rate: 100

// Maximum resistance to status changes. (100 = 100%)
// NOTE: Cards and equipment can go over this limit, so it only applies to natural resist.
pc_max_status_def: 100
mob_max_status_def: 100

 

maybe you have scripts that clear buff during logout ? 

  • 0
Posted
On 1/12/2023 at 2:20 AM, Chaos92 said:

maybe you have scripts that clear buff during logout ? 

i dont think so. but if ever that is true, isnt that supposed to affect the admin account? the admin account keeps it buffs after logout

 

So i tried to disable all custom scripts, npcs, etc. Turns out when I use awakening potions, battle manuals, etc., I can retain all the buffs/status even after relog. But when i get a buff like bless/agi (even from normal players), I lose all buffs after relog.

 

please help me ?

  • 0
Posted
On 1/13/2023 at 10:52 PM, Emistry said:

you probably have this setting configured?

conf/battle/status.conf#L15-L20

// Will certain skill status-changes be removed on logout?
// 0 = (Default) Only remove status that has the SCF_NO_SAVE flag.
// 1 = Remove negative buffs (status that are flagged as debuff)
// 2 = Remove positive buffs.
// 3 = Remove all.
debuff_on_logout: 0

or remove the SCF_NO_SAVE  flag from all buff statuses

thank you. this worked!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...