Newbie Spellweaver
- Joined
- Dec 4, 2019
- Messages
- 60
- Reaction score
- 16
Does anyone know where the limit for codes beginning with II_SYS_SYS in defineitem.h can be increased? I'm having a problem because I seem to have exceeded the limit for new codes.
All the codes are being used from 21 to 66279, that's why I can't use lower codes since they are being taken by other items. My flyff has been online for almost 8 years xD, that's why I urgently need to increase the limit of defineitem.h codes.Yes, you just have to check if the ID you chose is already used by searching for it in your file only. CTRL + F —> it literally takes less than 10 seconds
I'm saying this because I've been adding new codes for fashion, and I'm having an issue in the game where I have to take off and put on the fashion so someone else can see it, and in the error logs, I get this:What makes you say that? I don’t recall there being any limit in defineobj. In propmover, yes I did notice a limit when we upgraded from v15 to v16 for monsters, defineworld etc . Do you have any more detailed info on that?
I'm working on my own font, which was updated a long time ago from v15 to v19.When you look at the function, it shows that
pItemElem-&GetProp() returns NULL, which means the object is instantiated but doesn't point to any "ItemProp" defined in PropItem.txt or an equivalent.
Try modifying the function with:
if( pItemProp == NULL )
{
Error( "Parts Not Property = %d, ItemId = %d", i, pItemElem->m_dwItemId );
}
m_dwItemId
information than that — which source are you working on?
I think you made a mistake somewhere
Yes, that's the only way for it to work, but now I can't set low codes because it would interfere with the other codes. That's why I want to know where the limit for those codes can be increased.66225 ?
Did you try lowering the ID? 66225 seems a bit high to me
I mean, I'm talking about not having space to use low codes since they're all being used by other items.Nothing will interfere with your code unless you use the same ID twice. Try using a much lower ID.
As a random example, search for '25555' in Visual Studio or Notepad++. If that ID doesn't exist, modify it. Why would it interfere with other systems? It's just equipment, lol
All the codes are being used from 21 to 66279, that's why I can't use lower codes since they are being taken by other items. My flyff has been online for almost 8 years xD, that's why I urgently need to increase the limit of defineitem.h codes.Yes, you just have to check if the ID you chose is already used by searching for it in your file only. CTRL + F —> it literally takes less than 10 seconds