• 0
displayjokes

open New Sashes Combine/Absorption

Question

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

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

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!
       

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.