Jump to content
  • 0

Custom Weapons always aspd 0 when equip


trenzerai

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  12/27/15
  • Last Seen:  

After i updated my Server to latest rev this is what happened when i'm wearing my custom weapons (apsd 0).

even if i put max count of agi and de on my character it doesnt add up its aspd.

 

I dont know if i miss something in my db but i havent change anything before I update my svn

 

 

Item db:

18141,Soaring_Bird,Soaring Bird,5,0,,100,450,,11,2,0x000A0800,63,2,34,4,50,1,103,{ callfunc "S_Bonus"; },{},{}

Myfunction.txt

function	script	S_Bonus	{
bonus bLongAtkRate,15;
bonus bMaxHPrate,20;
bonus bDex,15;
bonus bAgi,15;
if(BaseClass==Job_Hunter) { 
	bonus2 bSkillAtk,46,5;
	bonus2 bSkillAtk,47,5;
	bonus2 bSkillAtk,382,5;
	bonus2 bSkillAtk,2233,5;
end;
}
else if(BaseClass==Job_Rogue) {
bonus bLongAtkRate,15;
bonus bMaxHPrate,20;
}
else if(BaseJob==Job_Bard||BaseJob==Job_Dancer) {
bonus bLongAtkRate,15;
bonus bMaxHPrate,20;
end;
}
}

Renewal changes (renewal.h):

// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef _CONFIG_RENEWAL_H_
#define _CONFIG_RENEWAL_H_

//quick option to disable all renewal option, used by ./configure
//#define PRERE
#ifndef PRERE
/**
 * rAthena configuration file (http://rathena.org)
 * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
 **/


/**
 * @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder
 **/

/// Game renewal server mode
/// (disable by commenting the line)
///
/// Leave this line to enable renewal specific support such as renewal formulas
#define RENEWAL

/// Renewal cast time
/// (disable by commenting the line)
///
/// Leave this line to enable renewal casting time algorithms and enable fixed cast bonuses.
/// See also default_fixed_castrate in conf/battle/skill.conf for default fixed cast time (default is 20%).
/// Cast time is altered be 2 portion, Variable Cast Time (VCT) and Fixed Cast Time (FCT).
/// By default FCT is 20% of VCT (some skills aren't)
/// - VCT is decreased by DEX * 2 + INT.
/// - FCT is NOT reduced by stats, reduced by equips or buffs.
/// Example:
///  On a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a FCT
/// #define RENEWAL_CAST

/// Renewal drop rate algorithms
/// (disable by commenting the line)
///
/// Leave this line to enable renewal item drop rate algorithms
/// While enabled a special modified based on the difference between the player and monster level is applied
/// Based on the http://irowiki.org/wiki/Drop_System#Level_Factor table
/// #define RENEWAL_DROP

/// Renewal exp rate algorithms
/// (disable by commenting the line)
///
/// Leave this line to enable renewal item exp rate algorithms
/// While enabled a special modified based on the difference between the player and monster level is applied
/// #define RENEWAL_EXP

/// Renewal level modifier on damage
/// (disable by commenting the line)
///
/// Leave this line to enable renewal base level modifier on skill damage (selected skills only)
/// #define RENEWAL_LVDMG

/// Renewal ASPD [malufett]
/// (disable by commenting the line)
///
/// Leave this line to enable renewal ASPD
/// - shield penalty is applied
/// - AGI has a greater factor in ASPD increase
/// - there is a change in how skills/items give ASPD
/// - some skill/item ASPD bonuses won't stack
/// #define RENEWAL_ASPD

/// Renewal stat calculations
/// (disable by commenting the line)
///
/// Leave this line to enable renewal calculation for increasing status/parameter points
/// #define RENEWAL_STAT

#endif

#endif // _CONFIG_RENEWAL_H_

Player.conf

// Maximum atk speed. (Default 190, Highest allowed 199)
max_aspd: 190

// Same as max_aspd, but for 3rd classes. (Default 193, Highest allowed 199)
max_third_aspd: 193

// Max ASPD for extended class (Kagerou/Oboro and Rebellion). (Default 193, Highest allowed 199)
max_extended_aspd: 193

I already provided what's possible to be aspd changes. And i just really dont know what happened.

 

Note: Not just the soaring bow custom weapon, i mean Every custom Weapon that i created in the server results to the same problem

Edited by trenzerai
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   10
  • Joined:  01/13/12
  • Last Seen:  

After i updated my Server to latest rev this is what happened when i'm wearing my custom weapons (apsd 0).

even if i put max count of agi and de on my character it doesnt add up its aspd.

 

I dont know if i miss something in my db but i havent change anything before I update my svn

 

 

Item db:

18141,Soaring_Bird,Soaring Bird,5,0,,100,450,,11,2,0x000A0800,63,2,34,4,50,1,103,{ callfunc "S_Bonus"; },{},{}

Myfunction.txt

function	script	S_Bonus	{
bonus bLongAtkRate,15;
bonus bMaxHPrate,20;
bonus bDex,15;
bonus bAgi,15;
if(BaseClass==Job_Hunter) { 
	bonus2 bSkillAtk,46,5;
	bonus2 bSkillAtk,47,5;
	bonus2 bSkillAtk,382,5;
	bonus2 bSkillAtk,2233,5;
end;
}
else if(BaseClass==Job_Rogue) {
bonus bLongAtkRate,15;
bonus bMaxHPrate,20;
}
else if(BaseJob==Job_Bard||BaseJob==Job_Dancer) {
bonus bLongAtkRate,15;
bonus bMaxHPrate,20;
end;
}
}

Renewal changes (renewal.h):

// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef _CONFIG_RENEWAL_H_
#define _CONFIG_RENEWAL_H_

//quick option to disable all renewal option, used by ./configure
//#define PRERE
#ifndef PRERE
/**
 * rAthena configuration file (http://rathena.org)
 * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
 **/


/**
 * @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder
 **/

/// Game renewal server mode
/// (disable by commenting the line)
///
/// Leave this line to enable renewal specific support such as renewal formulas
#define RENEWAL

/// Renewal cast time
/// (disable by commenting the line)
///
/// Leave this line to enable renewal casting time algorithms and enable fixed cast bonuses.
/// See also default_fixed_castrate in conf/battle/skill.conf for default fixed cast time (default is 20%).
/// Cast time is altered be 2 portion, Variable Cast Time (VCT) and Fixed Cast Time (FCT).
/// By default FCT is 20% of VCT (some skills aren't)
/// - VCT is decreased by DEX * 2 + INT.
/// - FCT is NOT reduced by stats, reduced by equips or buffs.
/// Example:
///  On a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a FCT
/// #define RENEWAL_CAST

/// Renewal drop rate algorithms
/// (disable by commenting the line)
///
/// Leave this line to enable renewal item drop rate algorithms
/// While enabled a special modified based on the difference between the player and monster level is applied
/// Based on the http://irowiki.org/wiki/Drop_System#Level_Factor table
/// #define RENEWAL_DROP

/// Renewal exp rate algorithms
/// (disable by commenting the line)
///
/// Leave this line to enable renewal item exp rate algorithms
/// While enabled a special modified based on the difference between the player and monster level is applied
/// #define RENEWAL_EXP

/// Renewal level modifier on damage
/// (disable by commenting the line)
///
/// Leave this line to enable renewal base level modifier on skill damage (selected skills only)
/// #define RENEWAL_LVDMG

/// Renewal ASPD [malufett]
/// (disable by commenting the line)
///
/// Leave this line to enable renewal ASPD
/// - shield penalty is applied
/// - AGI has a greater factor in ASPD increase
/// - there is a change in how skills/items give ASPD
/// - some skill/item ASPD bonuses won't stack
/// #define RENEWAL_ASPD

/// Renewal stat calculations
/// (disable by commenting the line)
///
/// Leave this line to enable renewal calculation for increasing status/parameter points
/// #define RENEWAL_STAT

#endif

#endif // _CONFIG_RENEWAL_H_

Player.conf

// Maximum atk speed. (Default 190, Highest allowed 199)
max_aspd: 190

// Same as max_aspd, but for 3rd classes. (Default 193, Highest allowed 199)
max_third_aspd: 193

// Max ASPD for extended class (Kagerou/Oboro and Rebellion). (Default 193, Highest allowed 199)
max_extended_aspd: 193

I already provided what's possible to be aspd changes. And i just really dont know what happened.

 

Note: Not just the soaring bow custom weapon, i mean Every custom Weapon that i created in the server results to the same problem

 

view 103 in official sever set Bone_Helm (item id 5017)

 

the problem is item_db view

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  12/27/15
  • Last Seen:  

Okay ill try to change it, Because if i use viewid 11 (Bow) It doesnt show my custom bow bec. on my weapontable.lub the sprite of the custom bow is "103"

 

 

Weapontable.lub:

Weapon_IDs = {
  WEAPONTYPE_SBIRD = 103
}
WeaponNameTable = {
  [Weapon_IDs.WEAPONTYPE_SBIRD] = "_35060"
}
Expansion_Weapon_IDs = {
  [Weapon_IDs.WEAPONTYPE_SBIRD] = Weapon_IDs.WEAPONTYPE_BOW
}
WeaponHitWaveNameTable = {
  [Weapon_IDs.WEAPONTYPE_BOW] = "_hit_arrow.wav"
}

i even create a 35060 entry for the bow with viewid "11" (which is the bow sprite) and it doesnt show my custom item instead its using the default bow sprite

 

BTW: Im using 2015 client

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   8
  • Joined:  09/16/18
  • Last Seen:  

Any update on this? same problem. ? sometimes it was bugging my aspd with no stats turning to 196.. (Mas Aspd ) on my server.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   3
  • Joined:  12/18/18
  • Last Seen:  

in item_db.txt put 2 in view as for weapon and as for armor im not sure just look for some other armor view in ur item_db and aspd would be back.

Edited by thunginamue
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  228
  • Reputation:   19
  • Joined:  10/27/12
  • Last Seen:  

To answer this question:

have a look in rudra bow...since you are making rudra bow

and compare the view id in iteminfo.lua / iteminfo.lub

Spoiler

    [1720] = {
        unidentifiedDisplayName = "Rudra Bow",
        ClassNum = 77

Spoiler

    [1735] = {
        unidentifiedDisplayName = "Kkakkung",
        ClassNum = 11

the only different between bow is ClassNum which is the view id!

the item db is not in the business of view id ( which shows the weapon in game ) !!!

Link to comment
Share on other sites

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.

×
×
  • Create New...