Jump to content

Angelmelody

Members
  • Content Count

    772
  • Joined

  • Last visited

  • Days Won

    23

Posts posted by Angelmelody


  1. Heya, this .lub can be decompiled just fine. Are you sure you're using the latest version?

    Sorry, I didn't clearly elaborate it , Setting the encoding to 950 will get stuck, but works fine with encoding 1252.

    post-98-0-86297300-1469933016_thumb.png

    -- An unhandled exception has been caught : 長度不可以小於零。
    參數名稱: length
    

     

    I guess maybe the possible causes are here:

    post-98-0-47040800-1469933631_thumb.png

     

     

    Here is my grf editor version:

    post-98-0-71731500-1469932869_thumb.png


  2. you can try to install  OnPcStatCalcEvent

     

    then

    1. disable the item script of Lord of the death card in item_db.conf

     

    2.

    -    script    asdf1234    FAKE_NPC,{
    OnPCStatCalcEvent:
        if(isequippedcnt(4276)) {
            bonus3 bAddEff,Eff_Stun,500,ATF_SHORT;
            bonus3 bAddEff,Eff_Curse,500,ATF_SHORT;
            bonus3 bAddEff,Eff_Silence,500,ATF_SHORT;
            bonus3 bAddEff,Eff_Poison,500,ATF_SHORT;
            bonus3 bAddEff,Eff_Bleeding,500,ATF_SHORT;
            bonus2 bWeaponComaRace,RC_NonBoss,1;

        }
    end;
    }


  3. Garr, on 07 Feb 2016 - 21:45, said:

    Garr, on 07 Feb 2016 - 21:45, said:

    Iirc for instances you can't use such long map names, limit is like 6 or 7 characters, I don't quite remember.

     

    Client is crashing because your instance map name gets cut off, and is sent to client like "1@eleme" or something. Try to make map name shorter (4~5 characters after "@", 4 just to be sure) or use map name emulation (you'd still need to change map name client-side, but that'll be easy since you already set resnametable entries.)

    16-4(.gat) -3(0011@elemen) -1(\0) = 8

  4.  

    check Haru's post

    pc->setreg(sd, script->add_str("@expire_uniqueid_lo"), (int)(sd->status.inventory[i].unique_id&0xffffffff));pc->setreg(sd, script->add_str("@expire_uniqueid_hi"), (int)((sd->status.inventory[i].unique_id>>32)&0xffffffff));

    I prefer ra's method, convert the long long type var  into string var

    snprintf(buf, sizeof(buf)-1, "%llu", (unsigned long long)item->unique_id);
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.