[Issue]Mob skill

Results 1 to 3 of 3
  1. #1
    Account Upgraded | Title Enabled! jeff972 is offline
    MemberRank
    Oct 2012 Join Date
    235Posts

    Support [Issue]Mob skill

    Hi Ragezoners,

    i did not use to ask for help because most of time, i just have to search around in the help section to find what i need.
    But this time i don't find it, nowhere. I can't understand what's wrong, Am I too retarded ? (rethorical question.... XD)



    issue : create new buff/debuff for mob's skills


    Alright then ! here what i did to test and understand how it works:
    I created a new mob (Maddom). I Gave it Karen's skills proprieties . .... the game launches correctly . all buff/debuff works

    Then i wanted to customize Maddom''s buffs/debuffs...
    with the current configuration, i can't edit Maddom's skill without affect Karen's skills(buff/Debuff 's proprieties). they are linked together.

    So i created the needed rows in AbStateView.shn, AbState.shn, AbState.shn
    (respectively : StaMaddom### , StaMaddom### , SubStaMaddom###) and did changes in some columns when it was needed .. like loopEffect, StaName a/b/c/d..... etc.
    The game launches correctly . all buff/debuff works but they're still linked together ( Maddox and karen still got the same debuff proprieties)

    So i checked carefully the .Shn files and i noticed that in AbState.Shn, the column #2 AbStataIndex defines the buffs/debuffs
    1. When i type a non-used number, the zones don't run.
    2. when I type and already used number: same as StaKarenCaptivate (335) the skill will use its buff/debuff's props , or same as StaCrackerCurse(387) it uses its debuff/buff 's props etc...

    My assert when i type a non used number

    16:16:50 : AssertClass::ac_AssertFail : SkillDataBox::SkillDataIndex::sdi_SetAbstate : StateName wrong[StaMaddomDot]
    16:16:50 : AssertClass::ac_AssertFail : SkillDataBox::SkillDataIndex::sdi_SetAbstate : StateName wrong[7362]
    my questions are:

    1.what does the row #2 AbstataIndex (in AbStat.Shn) refer to ?
    2.what is it associated to ?
    3.How to create new one ?
    4.What is it exactly ?
    5.Is it really needed for what i'm trying to do?


    Sorry for my "epic fail" English. I hope it won't affect your altruism

    Thx in advance ^^
    Last edited by jeff972; 16-03-13 at 11:33 PM.


  2. #2
    -.- NextIdea is offline
    MemberRank
    Nov 2012 Join Date
    343Posts

    Re: [Issue]Mob skill

    Abstates are things that can't be added that easily like you can add Items.

    These are hard coded to Zone which means that Zone reads specific amount of them and if you add more it throws error.

    1: I would say that you mean 3# Column, not 2# Row. This is like Handle (Like in some other files) and it can't go higher than 411.
    2 & 4: We have to go to a bit lower level for explaining. Basically whenever a entity (Player, Mob, NPC, ...) spawns then buff data is sent also with it. ( 8 bits = 1 byte ). It is basically bit array, and each bit tells does it have a specific buff or not. First bit would mean does it have a buff which has AbstataIndex 1, and Second AbstataIndex 2, .... .
    3: I can't say that it isn't possible.
    5: Yes and No.

  3. #3
    Account Upgraded | Title Enabled! jeff972 is offline
    MemberRank
    Oct 2012 Join Date
    235Posts

    Re: [Issue]Mob skill

    Hi NextIdea,

    What a sad story you're telling me there :/

    I guess i should try to learn something else. Something a bit more accessible/reachable for the Noob i am :P
    And let the You all : Pro, care about that issue xD.. Obviously, it surpass my poor knowledge.
    i'm still persuaded and Hope that one of you will find it out. assuming current OS got AbstataIndex up to 500+ ( don't remember exactly)

    Anyway ! Thx for your quick reply. ^^
    Fortunately Ragezone's community (even if they won't admit it).... is unselfish/generous etc etc..

    Ps :My bad, i was thinking we would count : (#0,#1#2#3...). But since it's actually (#1#2#3) so, in this case, yes it's the #3 column^^



Advertisement