Jump to content

New Sashes Combine/Absorption


Go to solution Solved by displayjokes,

Recommended Posts

I've added a lot of new sashes to the server and during my tests, i could not combine nor absorve items.

I drag the sash into the square and nothing happens.

The system works like charm on "normal" sashes, from id 85001 to 85018. Not even one from those i've added work.

 

Any help is appreciated!

Thank you! :D

It's all lies

Link to comment
Share on other sites

  • Solution

Problem solved:

You need to add the vnums for the new sashes here:

Server source > common > vnumHelper: 

static    const bool    IsAcce_Grade1(DWORD vnum)        {return 85001 == vnum || 85005 == vnum || 85011 == vnum || 85015 == vnum || 85021 == vnum;}
static    const bool    IsAcce_Grade2(DWORD vnum)        {return 85002 == vnum || 85006 == vnum || 85012 == vnum || 85016 == vnum || 85022 == vnum;}
static    const bool    IsAcce_Grade3(DWORD vnum)        {return 85003 == vnum || 85007 == vnum || 85013 == vnum || 85017 == vnum || 85023 == vnum;}
static    const bool    IsAcce_Grade4(DWORD vnum)        {return 85004 == vnum || 85008 == vnum || 85014 == vnum || 85018 == vnum || 85024 == vnum;}

 

in my case i added the 85021, 85022, 85023, 85024.

 

And you will need to add here too:

client > root > constinfo.py : search this: def IS_ACCE_ITEM(itemVnum, abs):

add after:  

elif itemVnum >= 85021 and itemVnum <= 85024:
        return TRUE

 

 

And if you want to add more sashes, add the IDs you want!

 

Took long time to solve this, god..

Hope it helps someone!
       

  • Love 1

It's all lies

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 24

      Experimental Renderer

    2. 11

      Multi Language System

    3. 0

      [FREE DESIGN] Interface + Logo + Discord Banner and Avatar

    4. 4

      Feeding game source to LLM

    5. 0

      Quest 6/7 Problem

    6. 5

      Effect weapons

    7. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

    8. 3

      Crystal Metinstone

  • Recently Browsing

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

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.