Newbie Spellweaver
- Joined
- Oct 22, 2021
- Messages
- 29
- Reaction score
- 0
Hello guys.
I created this thread because I've been researching for days, and trying a lot of stuff.
I wanna create a new item in game. A shield, which I'm going to use as example throughout this post.
More than just following a tutorial, I wanna understand the mechanics of item creation in server files.
I'm going to use a tutorial that was posted on tutorials section to demonstrate what I mean.
Also, I think that this thread is going to be helpful to a lot of people.
With that said, let's go to the chase.
I am trying to create a Shield, called Skelly Shield (I highlited it's lines on Notepad++ for easy view purposes).
Reference tutorial:
https://forum.ragezone.com/f651/adding-items-server-spoon-fed-696320/
Files I'm using:
Ketchup VS19
Following the steps:
1) Editing mdlDyna.inc
2) Editing defineItem.h
3) Editing propItem.txt.txt
4) Editing propItem.txt
However, when I go to the last and finish part - "Now go to open again, this time opening dataSub2.res. Remove propItem.txt and propItem.txt.txt. Press "Add a File" again, and add in those 2 files from your Resource folder" - I have a problem. When I open dataSub2.res, there are only the following files by default:
So, there is no propItem.txt, only propItem.txt.txt, which I replaced with the new file containing the shield in the code.
Then, as I usually do when I work with the resource, I use the Merge program, then copy the 4 files from ResClient folder (data.res, dataSub1.res, dataSub2.res and Flyff.a) to the Client folder, then hit overwrite.
When I run the client, it's like I've done nothing. The shield does'nt display ingame, I can't create with /ci, it does not show in the /ci window for item creation.
With all that said i wanna know:
A) Is the coding right? The adding/editing, everything on the right place it should be?
B) Why isn't there a propItem.txt file inside dataSub2.res?
C) What should I do to solve this problem, and be tottally able to create the weapons to my server?
This specific part of coding means a lot to me personally, so your help will be highly appreciated. <3
Thanks in advance,
RodZ.
I created this thread because I've been researching for days, and trying a lot of stuff.
I wanna create a new item in game. A shield, which I'm going to use as example throughout this post.
More than just following a tutorial, I wanna understand the mechanics of item creation in server files.
I'm going to use a tutorial that was posted on tutorials section to demonstrate what I mean.
Also, I think that this thread is going to be helpful to a lot of people.
With that said, let's go to the chase.
I am trying to create a Shield, called Skelly Shield (I highlited it's lines on Notepad++ for easy view purposes).
Reference tutorial:
https://forum.ragezone.com/f651/adding-items-server-spoon-fed-696320/
Files I'm using:
Ketchup VS19
Following the steps:
1) Editing mdlDyna.inc
2) Editing defineItem.h
3) Editing propItem.txt.txt
4) Editing propItem.txt
The Final Step: Client Resource Files
Ok, here's a thing. As written in the tutorial, I open ResEditor, and do the following:
"Open up Flyff ResEditor and open up the data.res file in the Flyff client's folder (not the server files). Find defineItem.h and mdlDyna.inc and remove both of them. The click "Add a File" and browse to your ServerFiles/Resource folder. Add defineItem.h and mdlDyna.inc to the list of files in ResEditor. Don't forget to press the Save button, or no changes will be made." - done successfully.Ok, here's a thing. As written in the tutorial, I open ResEditor, and do the following:
However, when I go to the last and finish part - "Now go to open again, this time opening dataSub2.res. Remove propItem.txt and propItem.txt.txt. Press "Add a File" again, and add in those 2 files from your Resource folder" - I have a problem. When I open dataSub2.res, there are only the following files by default:
So, there is no propItem.txt, only propItem.txt.txt, which I replaced with the new file containing the shield in the code.
Then, as I usually do when I work with the resource, I use the Merge program, then copy the 4 files from ResClient folder (data.res, dataSub1.res, dataSub2.res and Flyff.a) to the Client folder, then hit overwrite.
When I run the client, it's like I've done nothing. The shield does'nt display ingame, I can't create with /ci, it does not show in the /ci window for item creation.
With all that said i wanna know:
A) Is the coding right? The adding/editing, everything on the right place it should be?
B) Why isn't there a propItem.txt file inside dataSub2.res?
C) What should I do to solve this problem, and be tottally able to create the weapons to my server?
This specific part of coding means a lot to me personally, so your help will be highly appreciated. <3
Thanks in advance,
RodZ.
Attachments
You must be registered for see attachments list