II_SYS_SYS code limit

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.
 
Solution
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
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.
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?
 
Upvote 0
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 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:


2025/ 7/16 11:29:08 Parts Not Property = 26

2025/ 7/16 11:29:08 Parts Not Property = 27

2025/ 7/16 11:29:08 Parts Not Property = 28

2025/ 7/16 11:29:08 Parts Not Property = 29

Now I tried changing those codes for old codes that already exist, and the problem with the fashion doesn't happen.
 
Upvote 0
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
 
Upvote 0
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
I'm working on my own font, which was updated a long time ago from v15 to v19.

I did what you told me, but I didn't get any error logs. Here's a screenshot.

These are the real codes of the fashion. When I change them for other old ones that already exist, I don't get this problem.

#define II_ARM_M_CHR_SHADEHAT 66225
#define II_ARM_M_CHR_SHADESUIT 66226
#define II_ARM_M_CHR_SHADEGLOVES 66227
#define II_ARM_M_CHR_SHADESHOES 66228
 

Attachments

  • Screenshot_1381 - II_SYS_SYS code limit - RaGEZONE Forums
    Screenshot_1381.webp
    51.4 KB · Views: 36
Upvote 0
66225 ?
Did you try lowering the ID? 66225 seems a bit high to me
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.
 
Upvote 0
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
 
Upvote 0
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
I mean, I'm talking about not having space to use low codes since they're all being used by other items.
 
Upvote 0
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
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.
 
Upvote 0
Solution
Back