Flyff DefineItem/mdlDyna bug ?

04/22/2018 12:28 Minotaurr#1
Dear E-pvp'ers,

I've removed some fashion items in my resource, in DefineItem.h, mdlDynainc, propitem.txt & propitem.txt.txt

The items were defined in DefineItem.h, one of them with the number 224937.

After this I merged the resource files and the item were gone. No problem at all.

So, today I've added some new items, one with the same number "224937" all good, no errors at all. But when I try to /ci 224937 ingame. There isn't any item showing up.

Same goes for the /ci "Jackson Hat (M)", no item showing up.

Can anyone help me with this? im really stuck...
- Is my defineItem.h bugged? Can I debug it somewhere?
- Is this a problem in my database? defineItem = stored in db?
- Is this a problem in my res files? I've used merge.exe so Idk ?

[Only registered and activated users can see links. Click Here To Register...]

Oh and, I've tried to add other items instead of Jackson, but I think it has nothing to do with the model etc. I think some of the old fashion i've deleted is still stuck anywhere?

Thank you in advance!
Minotaurr
04/22/2018 14:20 pedala1#2
Log errors ?
04/22/2018 14:53 Minotaurr#3
Quote:
Originally Posted by pedala1 View Post
Log errors ?
I don't get any error logs mate. I think the item is added correctly but I can not create it with /ci, maybe there is any of the old items stuck inside the server files. But idk where?

---------------------------------------------

Edit - 1 hour of struggeling later:

I've rolled back the old PropItem / DefineItem and mdlDyna, but my server still thinks that those items (that i've deleted) exist. Is the server making any cache history? And where can I delete those...

Hmm
04/22/2018 18:41 xToffer#4
try to reduce the number of define? i guess? make it 20k?
04/22/2018 20:37 Minotaurr#5
[Only registered and activated users can see links. Click Here To Register...]

Also no items showing up when using /ci 20308

All items that were already in the files are working.
04/22/2018 22:10 xToffer#6
try /ci "Jackson Hat (M)"
04/22/2018 23:46 Minotaurr#7
Quote:
Originally Posted by xToffer View Post
try /ci "Jackson Hat (M)"


Also no result man [emoji20]

My defineItem.h might be bugged, because when I delete an itemnumer that i’ve defined before. It says 1x Mecha Demon Hat (F) deleted.

I already removed that from the defineItem.h...

How is this possible [emoji51]


-------------
Update 23-04:

I've deleted Mecha Demon in all item files, as I said in the first post.
When I delete this cloak (which is defined by the old define number from mecha) I get this text.

[Only registered and activated users can see links. Click Here To Register...]

Please help me :S
04/23/2018 08:52 Timelimits#8
Hmm, open the log folder inside the client, see if any error is being made also from the looks of the code you provided it's correct at least from a quick glance however could it perhaps possible you're using a source that handles Spec_items over propitems?
04/23/2018 09:11 Minotaurr#9
Quote:
Originally Posted by Timelimits View Post
Hmm, open the log folder inside the client, see if any error is being made also from the looks of the code you provided it's correct at least from a quick glance however could it perhaps possible you're using a source that handles Spec_items over propitems?
There were no log files given. Also I can not wear the Cloak from the image above. I think the defineItem.h still thinks the cloak = mecha demon gloves..?

Usually propItem.txt / propItem.txt.txt works, so idk? How can I see if I can use Spec_items?
04/23/2018 10:45 Timelimits#10
I've never seen the defineitem.h "bug" other then using the same number twice to
define an item or in the odd case your item is declared above a set amount (DWORD) and it conflicts with how a value is saved in the database when used for set items such as map tickets or sfx items.
I've never claimed to be a pro nore know what i'm talking about I can only go off of what I've done for myself, I'd personally just suggest taking it slow adding one item at a time being sure the resource folder definefiles are updates(if using cuvvvies v15 source)
and making sure the .res files inside the client are updated properly along with not declaring the IDS twice in the propitem.txt.txt or reusing one inside the propitem.txt

to see if you are using the spec_item.txt either check your resource to see if it's there or inside your source folder under the _Common folder you will find Project.cpp I believe you can search spec_item.txt if nothing is found you should be running propitem.
04/24/2018 07:53 Minotaurr#11
Quote:
Originally Posted by Timelimits View Post
I've never seen the defineitem.h "bug" other then using the same number twice to
define an item or in the odd case your item is declared above a set amount (DWORD) and it conflicts with how a value is saved in the database when used for set items such as map tickets or sfx items.
I've never claimed to be a pro nore know what i'm talking about I can only go off of what I've done for myself, I'd personally just suggest taking it slow adding one item at a time being sure the resource folder definefiles are updates(if using cuvvvies v15 source)
and making sure the .res files inside the client are updated properly along with not declaring the IDS twice in the propitem.txt.txt or reusing one inside the propitem.txt

to see if you are using the spec_item.txt either check your resource to see if it's there or inside your source folder under the _Common folder you will find Project.cpp I believe you can search spec_item.txt if nothing is found you should be running propitem.


Thanks mate, I will try what you say. I will let know if it works [emoji1305][emoji1305]
04/28/2018 20:00 Minotaurr#12
Quote:
Originally Posted by Timelimits View Post
I've never seen the defineitem.h "bug" other then using the same number twice to
define an item or in the odd case your item is declared above a set amount (DWORD) and it conflicts with how a value is saved in the database when used for set items such as map tickets or sfx items.
I've never claimed to be a pro nore know what i'm talking about I can only go off of what I've done for myself, I'd personally just suggest taking it slow adding one item at a time being sure the resource folder definefiles are updates(if using cuvvvies v15 source)
and making sure the .res files inside the client are updated properly along with not declaring the IDS twice in the propitem.txt.txt or reusing one inside the propitem.txt

to see if you are using the spec_item.txt either check your resource to see if it's there or inside your source folder under the _Common folder you will find Project.cpp I believe you can search spec_item.txt if nothing is found you should be running propitem.
I placed clean item files into my resource, after that, I've tried to add new items. When I added a new cloak with code 224889 it is working, because I defined that item on that number before.

But when I change that to number 224900. The item is able to spawn but I can not wear it because the server thinks that its another item.

When I change that item number to like 40000, the item is not able to spawn.

Its confusing.. :S
04/29/2018 04:41 Timelimits#13
I can only assume you're doing something wrong however it probably won't be possible to help without error logs or to see it for myself, if you want PM me and perhaps I can try to assist you via discord or something a little better.
04/30/2018 22:56 Minotaurr#14
The problem was WorldServer.ini - Used the wrong resource link [emoji25] Problem solved.