Jump to content
  • 0

max item limit


Question

Posted

Today I tested the item_db limits, useable item ids are 1-32867. To my point I'm getting close to hitting this limit. How hard would it be to increase this if at all possible?

I assume the limit hard-coded in sorce somewhere but was unable to locate it.

8 answers to this question

Recommended Posts

Posted

Update: I've searched every instance of "#define" and instance of "item" in the my servers sorce, to no avail.

Also there is no debug info displayed in the server when an item with an Id greater then 32767 is listed, however said item is not generated through @item nor getitem.

I assume this is a sorce "bug" and not a client issue, I have a very extensive item_db and have not even started adding my collection of ~5k headgear (mostly recolors) I collected over the years, so I'd really like this "bug" fixed.

Posted (edited)
uint16 type of nameid in struct item_data should be redeclared a wide range of type

 

what that means?

 

    uint16 nameid; ->     uint32 nameid;

or

    uint16 nameid; -> int nameid;

 

 

i have tried both but if i try to use @item 40150 it give me there error "Cannot get this item" in game

I also changed #define MAX_ITEMDB 0x8000 to #define MAX_ITEMDB 0x10000

Edited by Filgaja

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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