Abandoned Item addition failed

Status
Not open for further replies.

liliwang

Member
Registered
Joined
Sep 11, 2024
Messages
37
Reaction score
3
Points
8
L18.2
I failed to add VIP scroll usage
Unable to swipe the scroll using/ci 8888

This can be brushed out normally

Hey There!
Please login and(or) register to see this awesome content today.

This is something I added, it's useless. I don't know where I went wrong. Please help me take a look. Thank you

Hey There!
Please login and(or) register to see this awesome content today.
 
I didn't quite understand your issue. Are you unable to spawn (make appear) the item in the inventory? Or are you unable to activate it? Do you have any errors (logs)?

If it's a spawning issue and you don't have any log errors, I recommend checking if your item identifier (defineitem) is unique and not duplicated.

If it's an activation issue, maybe there's something that needs to be added on the source side? (If I remember correctly, some systems required this, but I don't have the L18 on my PC).
 
Please clarify your inquiry,

Do you need help with:

1. when you /ci 8888 = no item appears in your inventory?

2. the VIP scroll itself is not working


Please provide more information,

Does your L.18.2 have VIP system? if no, you need the VIP system for it to work, simply copying specitem of it won't make it work
IF your L.18.2 have a VIP system, and your query is just for the /ci, double check defineitem.h also, there should be an error log produced. please do provide it here so we can help you
 
Please clarify your inquiry,

Do you need help with:

1. when you /ci 8888 = no item appears in your inventory?

2. the VIP scroll itself is not working


Please provide more information,

Does your L.18.2 have VIP system? if no, you need the VIP system for it to work, simply copying specitem of it won't make it work
IF your L.18.2 have a VIP system, and your query is just for the /ci, double check defineitem.h also, there should be an error log produced. please do provide it here so we can help you
Yes, I don't have a VIP system myself. Later, I added Guru Files with normal item definitions/ci 8888, which also flashed items to my backpack normally
Now it is replaced with Pang White Files (Full Files) VIP system/ci 88881 no item appearances in your inventory
I don't know where the problem is

defineItem. h Definition
Hey There!
Please login and(or) register to see this awesome content today.

Guru Files The VIP system item Spec_Stem.txt in the system has been successfully flashed to my backpack
Hey There!
Please login and(or) register to see this awesome content today.


Pang White Files (Full Files) VIP system Spec_Item.txt
Hey There!
Please login and(or) register to see this awesome content today.
 
your define is high. change it to:

Hey There!
Please login and(or) register to see this awesome content today.

make sure that the numbers are unique
if you properly added the codes in each file then you will have no problem spawning these items even without the system, however, bear in mind that without the system, these items are useless, even if you double click these it won't work.
 
Last edited:
Without wanting to be annoying, the issue is precisely that you keep swapping files without actually attempting to implement a complete system, which could be done with the help of WinMerge or, as I do, using another instance of Visual Studio and manually copying all the implementations from the system's define blocks.
At first glance, swapping the defineitem.h and spec_item files may seem to work, but that's not quite the case...
Other files in your source may be trying to use non-existent defines in the new define_item, which could cause problems.
The same goes for spec_item.txt , which uses text defines, and also textures that may not exist in the source you're using.
Also avoid using hardcoded strings inside your spec_item, for quick tests, I recommend using an existing string/definition, and if this part works, then you can edit the spect_item file more calmly, adding these strings correctly in the txt.txt file.


As previously mentioned by @Wei Long , making the item appear using /ci XXXX is relatively simple, but the item will be useless without a system to use it ...
If your intention is just to make the item appear for now...I suggest you use the files that 'already work' as a base.
For example...
The Guru files that you mentioned.
If it 'works', just edit it, basically duplicating the last vip item:
Hey There!
Please login and(or) register to see this awesome content today.

tho something like this:
17 II_SYS_SCR_VIP30 IDS_PROPITEM_TXT_014984 1 999 IK1_CHARGED IK2_SYSTEM IK3_VIP = = 1 = 4 = = = = = = = 0 = = 1 = = 1 = = = = = _NONE 0 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 2592000 = = WUI_NOW = = = = = = 6000 = = 0 0 0 0 0 = = = = = = = = = = = = = = = SND_ITEM_GNEATFOOD = """Item_sys_scr_VIP.dds""" 0 """""" IDS_PROPITEM_TXT_014985 1 140 0 0 1 0 0 0 0 0 2 = = = = = = = = = = 1 1 1 1 1 0

Modifying the parts I left in red to whatever you think is best.
And also add your new item to your defineitem.h
Hey There!
Please login and(or) register to see this awesome content today.

Make sure that this nem define value is a unique value!!!
To make sure that the value is not in use by another define, the lazy way I use is:
1-Choose the value that you think is free, and put it in the file.
2-Use ctrl+f in Visual Studio, search for the value that you are using, only in this file, if more than one occurrence appears, you will have to use another number.
3-If this number does not appear, convert the value to hexadecimal (you can use the Windows calculator for this), and repeat the procedure of searching for the value, now in hexa, because some systems may choose to use values in hexa....

And also check your log files, both Server and Client, as usually the error that is preventing this item from appearing will mention something about the item not being created.
 
The fact people still continue to copy/paste broken shit from guru and titanium baffles me honestly.

No matter how many times nor the countless amount of people who say to stay away from such projects people just don't get it.

👌
 
Thank you for your response
@Azora @Wei Long @Fliperworld @zOmbie

I don't know what I did
1. No matter what items I add, they are all in use and there is nothing in my backpack when using/ci
2. I directly copied the item code and added it to my Database Server. exe in Spec_item.exe, which started without any response or error
3. On the contrary, I only need to delete 5 item codes added in Spec_item.exe to start it normally. In this way, I am back to the problem of the first step
 
Without wanting to be annoying, the issue is precisely that you keep swapping files without actually attempting to implement a complete system, which could be done with the help of WinMerge or, as I do, using another instance of Visual Studio and manually copying all the implementations from the system's define blocks.
At first glance, swapping the defineitem.h and spec_item files may seem to work, but that's not quite the case...
Other files in your source may be trying to use non-existent defines in the new define_item, which could cause problems.
The same goes for spec_item.txt , which uses text defines, and also textures that may not exist in the source you're using.
Also avoid using hardcoded strings inside your spec_item, for quick tests, I recommend using an existing string/definition, and if this part works, then you can edit the spect_item file more calmly, adding these strings correctly in the txt.txt file.


As previously mentioned by @Wei Long , making the item appear using /ci XXXX is relatively simple, but the item will be useless without a system to use it ...
If your intention is just to make the item appear for now...I suggest you use the files that 'already work' as a base.
For example...
The Guru files that you mentioned.
If it 'works', just edit it, basically duplicating the last vip item:
Hey There!
Please login and(or) register to see this awesome content today.

tho something like this:
17 II_SYS_SCR_VIP30 IDS_PROPITEM_TXT_014984 1 999 IK1_CHARGED IK2_SYSTEM IK3_VIP = = 1 = 4 = = = = = = = 0 = = 1 = = 1 = = = = = _NONE 0 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 2592000 = = WUI_NOW = = = = = = 6000 = = 0 0 0 0 0 = = = = = = = = = = = = = = = SND_ITEM_GNEATFOOD = """Item_sys_scr_VIP.dds""" 0 """""" IDS_PROPITEM_TXT_014985 1 140 0 0 1 0 0 0 0 0 2 = = = = = = = = = = 1 1 1 1 1 0

Modifying the parts I left in red to whatever you think is best.
And also add your new item to your defineitem.h
Hey There!
Please login and(or) register to see this awesome content today.

Make sure that this nem define value is a unique value!!!
To make sure that the value is not in use by another define, the lazy way I use is:
1-Choose the value that you think is free, and put it in the file.
2-Use ctrl+f in Visual Studio, search for the value that you are using, only in this file, if more than one occurrence appears, you will have to use another number.
3-If this number does not appear, convert the value to hexadecimal (you can use the Windows calculator for this), and repeat the procedure of searching for the value, now in hexa, because some systems may choose to use values in hexa....

And also check your log files, both Server and Client, as usually the error that is preventing this item from appearing will mention something about the item not being created.
I tried it according to your plan, but I couldn't find anything in my backpack. I don't know where the problem is, there's no mistake
 
Thank you for your response
@Azora @Wei Long @Fliperworld @zOmbie

I don't know what I did
1. No matter what items I add, they are all in use and there is nothing in my backpack when using/ci
2. I directly copied the item code and added it to my Database Server. exe in Spec_item.exe, which started without any response or error
3. On the contrary, I only need to delete 5 item codes added in Spec_item.exe to start it normally. In this way, I am back to the problem of the first step

If you think you added all the codes in the right files and you felt you did it all correctly, my next question would be:

did you .merge? :D
 
If you think you added all the codes in the right files and you felt you did it all correctly, my next question would be:

did you .merge? :D
Synchronized
Now that the item Spec_Stem.exe has been added, it doesn't work
I don't know where it went wrong
 
for us to further help you, please upload your Spec_item and Defineitem files here
 
If u compiled before you changed your defines you will need to compile again.

^ Might be the issue.
 
If u compiled before you changed your defines you will need to compile again.

^ Might be the issue.
There are no issues with the source code
The problem is probably due to a parameter mismatch in the Spec_Stem.txt file. I tried adding other things but they worked fine./ci flashed them to my backpack
 
I don't know what code I added or where I went wrong. I added all the items but couldn't use/ci to swipe anything into my backpack.
Then I tried to recover the Spec_Stem.txt text file of L18.2, re added the items I needed, and then used/ci again in the game to flash the items into my backpack. I think this is my best solution
 
I don't know what code I added or where I went wrong. I added all the items but couldn't use/ci to swipe anything into my backpack.
Then I tried to recover the Spec_Stem.txt text file of L18.2, re added the items I needed, and then used/ci again in the game to flash the items into my backpack. I think this is my best solution

I did something with my source once, and it was item related. I tried restoring my db and somehow it solved it. maybe you can try that.
But it could be a whole other matter too. :D
 
I did something with my source once, and it was item related. I tried restoring my db and somehow it solved it. maybe you can try that.
But it could be a whole other matter too. :D
My one works normally using the original file
 
Status
Not open for further replies.