Problem by adding new weapons

Results 1 to 12 of 12
  1. #1
    Account Upgraded | Title Enabled! Spitfire76 is offline
    MemberRank
    Jun 2009 Join Date
    FranceLocation
    223Posts

    Problem by adding new weapons

    Hello ragezone !

    Today, I wanted to add new weapons which look like Mastercraft items.
    To do, I defined them in defineItem.h

    Spoiler:

    #define II_WEA_ADAM_EPEE 40085
    #define II_WEA_ADAM_EPEE_CHEVA 40086
    #define II_WEA_ADAM_GEPEE 40087
    #define II_WEA_ADAM_HACHE 40088
    #define II_WEA_ADAM_GHACHE 40089
    #define II_WEA_ADAM_POING 40090
    #define II_WEA_ADAM_STICK 40091
    #define II_WEA_ADAM_BAG 40092
    #define II_WEA_ADAM_BATON 40093
    #define II_WEA_ADAM_ARC 40094
    #define II_WEA_ADAM_YOYO 40095
    #define II_ARM_ADAM_PARVOIS 40096
    #define II_ARM_ADAM_TARGE 40097
    #define II_ARM_ADAM_GRIM 40098


    Then, I added them in propitem.txt :
    (Better version to read it : http://spitfire76380.free.fr/adamant.txt )

    Spoiler:

    12 II_WEA_ADAM_EPEE "Epée en Adamantium" 1 1 IK1_WEAPON IK2_WEAPON_DIRECT IK3_SWD JOB_STORMBLADE_HERO TRUE = = 10000 7200000 100 180 HD_ONE = PARTS_RWEAPON = 0 = = 200 200 = 1 = = = 1105 1109 _NONE 0 0 0 0 0 = WT_MELEE_SWD AS_HORIZONTAL AS_DIAGONAL AS_VERTICAL AS_THRUST = = = = = 0.085 = AR_SHORT = DST_STR DST_CHR_CHANCECRITICAL DST_CRITICAL_BONUS 90 40 85 = = = = = = = = = = = = = = = = = = = = = = XI_HIT_SWORD01 = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = SND_PC_DMGSWDM SND_PC_DMGSWDC """Itm_WeaSwdRoyal.dds""" 0 """""" "Mystérieuse Epée renforcée à l'aide d'un nouveau matériaux"
    12 II_WEA_ADAM_EPEE_CHEVA "Latte en Adamantium" 1 1 IK1_WEAPON IK2_WEAPON_DIRECT IK3_SWD JOB_LORDTEMPLER_HERO TRUE = = 10000 7200000 100 180 HD_TWO = PARTS_RWEAPON = 0 = = 200 200 = 1 = = = 1210 1214 _NONE 0 0 0 0 0 = WT_MELEE_SWD AS_HORIZONTAL AS_DIAGONAL AS_VERTICAL AS_THRUST = = = = = 0.075 = AR_SHORT = DST_CHR_CHANCECRITICAL DST_BLOCK_MELEE DST_CRITICAL_BONUS 35 60 60 = = = = = = = = = = = = = = = = = = = = = = XI_HIT_SWORD01 = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = SND_PC_DMGSWDM SND_PC_DMGSWDC """Itm_WeaSwdRoyal.dds""" 0 """""" "Mystérieuse Latte renforcée à l'aide d'un nouveau matériaux"
    12 II_WEA_ADAM_GEPEE "Glaive en Adamantium" 1 1 IK1_WEAPON IK2_WEAPON_DIRECT IK3_SWD JOB_LORDTEMPLER_HERO TRUE = = 10000 7200000 100 180 HD_ONE = PARTS_RWEAPON = 0 = = 200 200 = 1 = = = 1260 1264 _NONE 0 0 0 0 0 = WT_MELEE_SWD AS_HORIZONTAL AS_DIAGONAL AS_VERTICAL AS_THRUST = = = = = 0.035 = AR_SHORT = DST_HP_MAX_RATE DST_CHR_CHANCECRITICAL DST_STA 45 60 65 = = = = = = = = = = = = = = = = = = = = = = XI_HIT_SWORD01 = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = SND_PC_DMGSWDH SND_PC_DMGSWDC """Itm_WeaSwtRoyal.dds""" 0 """""" "Mystérieux Glaive renforcé à l'aide d'un nouveau matériaux"
    12 II_WEA_ADAM_HACHE "Hache en Adamantium" 1 1 IK1_WEAPON IK2_WEAPON_DIRECT IK3_AXE JOB_STORMBLADE_HERO TRUE = = 10000 8000000 100 180 HD_ONE = PARTS_RWEAPON = 0 = = 200 200 = 1 = = = 1210 1214 _NONE 0 0 0 0 0 = WT_MELEE_AXE AS_DIAGONAL AS_VERTICAL AS_HORIZONTAL AS_THRUST = = = = = 0.06 = AR_SHORT = DST_ATKPOWER_RATE DST_CHR_CHANCECRITICAL DST_CRITICAL_BONUS 45 40 70 = = = = = = = = = = = = = = = = = = = = = = XI_HIT_SWORD01 = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = SND_PC_DMGSWDM SND_PC_DMGSWDC """Itm_WeaAxeRoya.dds""" 0 """""" "Mystérieuse Hache renforcée à l'aide d'un nouveau matériaux"
    12 II_WEA_ADAM_GHACHE "Doloire en Adamantium" 1 1 IK1_WEAPON IK2_WEAPON_DIRECT IK3_AXE JOB_LORDTEMPLER_HERO TRUE = = 10000 8000000 100 180 HD_TWO = PARTS_RWEAPON = 0 = = 200 200 = 1 = = = 1260 1264 _NONE 0 0 0 0 0 = WT_MELEE_AXE AS_DIAGONAL AS_VERTICAL AS_HORIZONTAL AS_THRUST = = = = = 0.03 = AR_SHORT = DST_HP_MAX_RATE DST_CHR_CHANCECRITICAL DST_STA 45 60 65 = = = = = = = = = = = = = = = = = = = = = = XI_HIT_SWORD01 = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = SND_PC_DMGSWDM SND_PC_DMGSWDC """Itm_WeaAxtRoyal.dds""" 0 """""" "Mystérieux Doloire renforcé à l'aide d'un nouveau matériaux"
    12 II_WEA_ADAM_POING "Poing en Adamantium" 1 1 IK1_WEAPON IK2_WEAPON_DIRECT IK3_KNUCKLEHAMMER JOB_FORCEMASTER_HERO TRUE = = 10000 8800000 100 180 HD_ONE = PARTS_RWEAPON = 0 = = 200 200 = 1 = = = 832 836 _NONE 0 0 0 0 0 = WT_MELEE_KNUCKLE AS_DIAGONAL AS_VERTICAL AS_HORIZONTAL AS_THRUST = = = = = 0.07 = AR_SHORT = DST_STR DST_CHR_CHANCECRITICAL DST_CRITICAL_BONUS 75 40 80 = = = = = = = = = = = = = = = = = = = = = = XI_HIT_KNUCKLE01 = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = SND_PC_DMGCHEM SND_PC_DMGCHEC """Itm_WeaKnuRoyal.dds""" 0 """""" "Mystérieux Poing renforcé à l'aide d'un nouveau matériaux"
    12 II_WEA_ADAM_STICK "Scèptre en Adamantium" 1 1 IK1_WEAPON IK2_WEAPON_DIRECT IK3_CHEERSTICK JOB_FLORIST_HERO TRUE = = 10000 7200000 100 180 HD_TWO = PARTS_RWEAPON = 0 PARTS_LWEAPON = 200 200 = 1 = = = 911 915 _NONE 0 0 0 0 0 = WT_MELEE_STICK AS_DIAGONAL AS_VERTICAL AS_HORIZONTAL AS_THRUST = = = = = 0.05 = AR_SHORT = DST_INT DST_SPELL_RATE DST_MP_MAX_RATE 95 60 55 = = = = = = = = = = = = = = = = = = = = = = XI_HIT_STICK01 = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = SND_PC_DMGCHEB SND_PC_DMGCHEC """Itm_WeaCheRoyal.dds""" 0 """""" "Mystérieux Scèptre renforcé à l'aide d'un nouveau matériaux"
    12 II_WEA_ADAM_BAG "Baguette en Adamantium" 1 1 IK1_WEAPON IK2_WEAPON_MAGIC IK3_WAND JOB_MENTALIST_HERO TRUE = = 10000 2400000 100 180 HD_ONE = PARTS_RWEAPON = 0 = = 200 200 = 1 = = = 1198 1202 _NONE 0 0 0 0 0 = WT_MAGIC_WAND = = = = = = = = = 0.025 = AR_RANGE = DST_INT DST_MP_MAX_RATE DST_ATKPOWER_RATE 75 50 55 = = = = = = = = = = = = = = = = = = = = = XI_FIR_WAND01 XI_FIR_WAND01 = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = SND_PC_DMGWANB SND_PC_DMGWANC """Itm_WeaWanRoyal.dds""" 0 """""" "Mystérieuse Baguette renforcée à l'aide d'un nouveau matériaux"
    12 II_WEA_ADAM_BATON "Bâton en Adamantium" 1 1 IK1_WEAPON IK2_WEAPON_MAGIC IK3_STAFF JOB_ELEMENTORLORD_HERO TRUE = = 10000 2800000 100 180 HD_TWO = PARTS_RWEAPON = 0 PARTS_LWEAPON = 200 200 = 1 = = = 1132 1136 _NONE 0 0 0 6 6 = WT_MELEE_STAFF = = = = = = = = = 0.045 = AR_SHORT = DST_INT DST_SPELL_RATE DST_ATKPOWER_RATE 90 65 55 = = = = = = = = = = = = = = = = = = = = = = XI_HIT_STICK01 = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = SND_PC_DMGSWD SND_PC_DMGSWDC """Itm_WeaStaRoyal.dds""" 0 """""" "Mystérieux Bâton renforcé à l'aide d'un nouveau matériaux"
    12 II_WEA_ADAM_ARC "Arc en Adamantium" 1 1 IK1_WEAPON IK2_WEAPON_DIRECT IK3_BOW JOB_CRACKSHOOTER_HERO TRUE = = 10000 7200000 100 180 HD_TWO = PARTS_RWEAPON = 0 PARTS_LWEAPON = 200 200 = 1 = IK2_BULLET = 1136 1140 _NONE 0 0 0 0 0 = WT_RANGE_BOW = = = = = = = = = 0.07 = AR_WAND = DST_CHR_CHANCECRITICAL DST_ATKPOWER_RATE DST_CRITICAL_BONUS 70 55 75 = = = = = = = = = = = = = = = = = = = = = = XI_HIT_BOW01 = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = SND_PC_DMGBOWB SND_PC_DMGBOWC """Itm_WeaBowRoyal.dds""" 0 """""" "Mystérieux Arc renforcée à l'aide d'un nouveau matériaux"
    12 II_WEA_ADAM_YOYO "Yoyo en Adamantium" 1 1 IK1_WEAPON IK2_WEAPON_DIRECT IK3_YOYO JOB_WINDLURKER_HERO TRUE = = 10000 7200000 100 180 HD_TWO = PARTS_RWEAPON = 0 PARTS_LWEAPON = 200 200 = 1 = = = 1053 1057 _NONE 0 0 0 0 0 = WT_MELEE_YOYO = = = = = = = = = 0.075 = AR_HRANGE = DST_HP_MAX_RATE DST_ATKPOWER_RATE DST_CRITICAL_BONUS 30 40 70 = = = = = = = = = = = = = = = = = = = = = XI_ITEM_YOYO_ATK6 XI_HIT_YOY01 = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = SND_PC_DMGYOYB SND_PC_DMGYOYC """Itm_WeaYoyRoyal.dds""" 0 """""" "Mystérieux Yoyos renforcés à l'aide d'un nouveau matériaux"
    12 II_ARM_ADAM_PARVOIS "Parvois Bahamuth renforcé" 1 1 IK1_ARMOR IK2_ARMOR IK3_SHILDBARUNA JOB_LORDTEMPLER_HERO TRUE = = 10000 6570000 100 180 HD_ONE = PARTS_SHIELD = 0 = 200 200 = 1 = = = 750 754 _NONE 0 0 0 0 0 = = = = = = = = = = = = = = = DST_CHR_CHANCECRITICAL DST_CRITICAL_BONUS DST_ATKPOWER_RATE 40 30 50 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = = = """Itm_WeaShiBehemoth.dds""" 0 """""" "Ce Parvois Bahamuth a été renforcé à l'aide d'Adamantium"
    12 II_ARM_ADAM_TARGE "Targe Bahamuth renforcée" 1 1 IK1_ARMOR IK2_ARMOR IK3_ZEMBARUNA JOB_FORCEMASTER_HERO TRUE = = 10000 6570000 100 180 HD_ONE = PARTS_SHIELD = 0 = 200 200 = 1 = = = 600 604 _NONE 0 0 0 0 0 = = = = = = = = = = = = = = = DST_STR DST_INT DST_SPEED 50 20 20 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = = = """Itm_WeaZemBehemoth.dds""" 0 """""" "Cette Targe Bahamuth a été renforcée à l'aide d'Adamantium"
    12 II_ARM_ADAM_GRIM "Grimoire Bahamuth renforcé" 1 1 IK1_ARMOR IK2_ARMOR IK3_MAGICBARUNA JOB_MENTALIST_HERO TRUE = = 10000 6570000 100 180 HD_ONE = PARTS_SHIELD = 0 = 200 200 = 1 = = = 570 574 _NONE 0 0 0 0 0 = = = = = = = = = = = = = = = DST_HP_MAX_RATE DST_BLOCK_MELEE DST_ATKPOWER_RATE 40 25 35 = = = = = = SI_GEN_KNOCK_BACK = 20 = = = = = = = = = = = = = = = = = = = = = = = WEAPON_ULTIMATE = = = = = = 0 0 0 0 0 0 = = SND_ITEM_DROPDING1 = = = = = = = = = 150 = = = """Itm_WeaBokBehemoth.dds""" 0 """""" "Ce Grimoire Bahamuth a été renforcé l'aide d'Adamantium"


    Then I added them in mdlDyna.inc

    Spoiler:

    "WeaSwdRoyal" II_WEA_ADAM_EPEE MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaSwdRoyal" II_WEA_ADAM_EPEE_CHEVA MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaSwtRoyal" II_WEA_ADAM_GEPEE MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaAxeRoyal" II_WEA_ADAM_HACHE MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaAxtRoyal" II_WEA_ADAM_GHACHE MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaKnuRoyal" II_WEA_ADAM_POING MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaCheRoyal" II_WEA_ADAM_STICK MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaWanRoyal" II_WEA_ADAM_BAG MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaStaRoyal" II_WEA_ADAM_BATON MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaBowRoyal" II_WEA_ADAM_ARC MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaYoyRoyal" II_WEA_ADAM_YOYO MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaShiBehemoth" II_ARM_ADAM_PARVOIS MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaZemBehemoth" II_ARM_ADAM_TARGE MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    "WeaBokBehemoth" II_ARM_ADAM_GRIM MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1


    My problem is that they do not appear correctly in game.
    Screen :

    Spoiler:




    Mastercraft weapons work correctly, so the problem isn't that I need to add models (I think ...).

    I think that the problem is from mdlDyna.inc but I don't find where exactly.

    Thanks for help !


  2. #2
    Valued Member RynoKabbage is offline
    MemberRank
    Apr 2012 Join Date
    Lakeland, FloriLocation
    140Posts

    Re: Problem by adding new weapons

    i had ran into this problem as well. and what i found out was that the items were defines out of range. try redefining the weapons
    before this line:
    Code:
    /////////////////////////////////////////////////////////////////////////
    //OVERSEAS ITEMs( over 30000 ) + exception( 20001, 20002, 20011, 20012 )
    using number that come after the last line before the line i wrote above.

    my last number was this 30355 so if i was to define them i would use 30356 and so on

  3. #3
    Account Upgraded | Title Enabled! Spitfire76 is offline
    MemberRank
    Jun 2009 Join Date
    FranceLocation
    223Posts

    Re: Problem by adding new weapons

    If I understood, you said me to put the lines like this ? :

    #define II_SYS_SYS_EVE_BEHEMOTHLGIFTBOX01 30344
    #define II_SYS_SYS_EVE_BEHEMOTHLGIFTBOX02 30345
    #define II_SYS_SYS_EVE_BEHEMOTHLGIFTBOX03 30346

    // Armes Adamantium
    // My items begin here
    #define II_WEA_ADAM_EPEE 40085
    #define II_WEA_ADAM_EPEE_CHEVA 40086
    #define II_WEA_ADAM_GEPEE 40087
    #define II_WEA_ADAM_HACHE 40088
    #define II_WEA_ADAM_GHACHE 40089
    #define II_WEA_ADAM_POING 40090
    #define II_WEA_ADAM_STICK 40091
    #define II_WEA_ADAM_BAG 40092
    #define II_WEA_ADAM_BATON 40093
    #define II_WEA_ADAM_ARC 40094
    #define II_WEA_ADAM_YOYO 40095
    #define II_ARM_ADAM_PARVOIS 40096
    #define II_ARM_ADAM_TARGE 40097
    #define II_ARM_ADAM_GRIM 40098
    // My items ends here

    /////////////////////////////////////////////////////////////////////////
    //OVERSEAS ITEMs( over 30000 ) + exception( 20001, 20002, 20011, 20012 )
    #define II_SYS_SYS_EVE_SERVERGIFTBOX1 20001
    #define II_SYS_SYS_EVE_SERVERGIFTBOX2 20002
    I tried and it doesn't change any thing. :(

  4. #4
    Valued Member RynoKabbage is offline
    MemberRank
    Apr 2012 Join Date
    Lakeland, FloriLocation
    140Posts

    Re: Problem by adding new weapons

    try using the next numbers after 30346. so like 30347 and so on

  5. #5
    Account Upgraded | Title Enabled! Spitfire76 is offline
    MemberRank
    Jun 2009 Join Date
    FranceLocation
    223Posts

    Re: Problem by adding new weapons

    I changed by this, as you said :


    #define II_SYS_SYS_EVE_BEHEMOTHLGIFTBOX01 30344
    #define II_SYS_SYS_EVE_BEHEMOTHLGIFTBOX02 30345
    #define II_SYS_SYS_EVE_BEHEMOTHLGIFTBOX03 30346

    // Armes Adamantium

    #define II_WEA_ADAM_EPEE 30347
    #define II_WEA_ADAM_EPEE_CHEVA 30348
    #define II_WEA_ADAM_GEPEE 30349
    #define II_WEA_ADAM_HACHE 30350
    #define II_WEA_ADAM_GHACHE 30351
    #define II_WEA_ADAM_POING 30352
    #define II_WEA_ADAM_STICK 30353
    #define II_WEA_ADAM_BAG 30354
    #define II_WEA_ADAM_BATON 30355
    #define II_WEA_ADAM_ARC 30356
    #define II_WEA_ADAM_YOYO 30357
    #define II_ARM_ADAM_PARVOIS 30358
    #define II_ARM_ADAM_TARGE 30359
    #define II_ARM_ADAM_GRIM 30360

    /////////////////////////////////////////////////////////////////////////
    //OVERSEAS ITEMs( over 30000 ) + exception( 20001, 20002, 20011, 20012 )
    #define II_SYS_SYS_EVE_SERVERGIFTBOX1 20001
    #define II_SYS_SYS_EVE_SERVERGIFTBOX2 20002
    It doesn't fix the bug, weapons appears like an Egg or a part of a green set when it's dropped. :(

  6. #6
    Valued Member RynoKabbage is offline
    MemberRank
    Apr 2012 Join Date
    Lakeland, FloriLocation
    140Posts

    Re: Problem by adding new weapons

    are you sure the mesh code is in the right place?

  7. #7
    Account Upgraded | Title Enabled! Spitfire76 is offline
    MemberRank
    Jun 2009 Join Date
    FranceLocation
    223Posts

    Re: Problem by adding new weapons

    Yes, I recently added other items and they works. I added the mesh code in mdlDyna.inc near them.

  8. #8
    Flyff Developer ShadowDragon is offline
    MemberRank
    Apr 2009 Join Date
    1,915Posts

    Re: Problem by adding new weapons

    Um, did you put the mdlDyna content in the right section of the file? If not, that could be the problem but I'm not sure. (For example, weapons should be inside the bracketed area that has '"item" 4' at the top)

  9. #9
    Scientia sit potentia Worf is offline
    MemberRank
    Mar 2009 Join Date
    Near the starsLocation
    492Posts

    Re: Problem by adding new weapons

    make absolutetly sure that you put your new weaps under the weapons you want to recreate.
    Otherwise you get things like this. Point being:
    if you put it in another section of mdlyrna it reads the weaps different like mvr_, part_ and so on.

    @Ryno, the place in defineitem.h has nothing to do with it, absolutely. The more since everything after // is denied by default (C++)

    EDIT: i'm actually pretty interested what the error.txt tells you (client-sided)

  10. #10
    Valued Member RynoKabbage is offline
    MemberRank
    Apr 2012 Join Date
    Lakeland, FloriLocation
    140Posts

    Re: Problem by adding new weapons

    Quote Originally Posted by SilentNL View Post

    @Ryno, the place in defineitem.h has nothing to do with it, absolutely. The more since everything after // is denied by default (C++)
    )
    ok well i had read that this problem was caused by defining items out of range so i redefined them where i thought they should go and it fixed my problem. so i think it has something to do with it. maybe not be what his problem was. but it sure fixed mine.

  11. #11
    Flyff Developer ShadowDragon is offline
    MemberRank
    Apr 2009 Join Date
    1,915Posts

    Re: Problem by adding new weapons

    Quote Originally Posted by RynoKabbage View Post
    ok well i had read that this problem was caused by defining items out of range so i redefined them where i thought they should go and it fixed my problem. so i think it has something to do with it. maybe not be what his problem was. but it sure fixed mine.
    This has already been discussed. You only get that problem if the numbers are above 65535.

  12. #12
    Account Upgraded | Title Enabled! Spitfire76 is offline
    MemberRank
    Jun 2009 Join Date
    FranceLocation
    223Posts

    Re: Problem by adding new weapons

    Quote Originally Posted by ShadowDragon42 View Post
    Um, did you put the mdlDyna content in the right section of the file? If not, that could be the problem but I'm not sure. (For example, weapons should be inside the bracketed area that has '"item" 4' at the top)
    One more time, thanks a lot ShadowDragon42 ! That was the problem and it's fixed now.
    Thanks to RynoKabbage and SilentNL for your help too !



Advertisement