Jump to content
  • 0

2013 Client Custom Headgear Issue


martooth

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   2
  • Joined:  04/30/13
  • Last Seen:  

Hi there everybody, I am in the process of upgrading my client for my server from 2012-04-20 to 2013-3-20, i have a few custom items and they are working correctly, ive updated the descriptions etc in the /system/iteminfo.lua. And they using the correct in inventory sprites. The problem is with my custom headgear, i can't seem to find where you tell the client what sprite to use when the item is worn. As i understand these newer clients do not use the "idnum2itemresnametable.txt" anymore, so if somebody could point me in the right direction, i see nowhere in the iteminfo.lua where to tell it which sprite to use when worn. Thank you in advance for your help.

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   2
  • Joined:  04/30/13
  • Last Seen:  

I sure have. Its so wierd tho, i don't understand where or why its looking for that sprite file. I'd type it out but if you look at the screenshot you understand why thats difficult lol.



Ok i have some more information on this, I had the view id in the database wrong. I;ve now matched it up correctly with what it says in my accessoryid.lua, and the error has gone away. However the headgear is still not visible. I've confirmed the sprite files are in the correct location, the headgear is added to the accname.lua and accname_eng.lua but im still getting nothing.



Ok and got it all figured out, it does and will not read .lua files for accessoryid, accname and accname_eng, only the .lub files. Thank you to everyone who tried to help :) and pointing me in the right direction.

Edited by martooth
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   2
  • Joined:  04/30/13
  • Last Seen:  

I find it a bit difficult to believe nobody here knows how to add custom headgear on a 2013 client. Some help please :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

no. its easy. you have to use iteminfo.lub :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   2
  • Joined:  04/30/13
  • Last Seen:  

I'm currently using the iteminfo.lua, and like i said everything is showing up fine until you try to equip it. The sprite error is looking for a sprite completely different to anything i've input into the lua file.

 

I can link the specific item in the lua file and the error message if that would be helpful? If you don't mind giving me more of a hand with this.

Edited by martooth
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  806
  • Reputation:   220
  • Joined:  03/13/12
  • Last Seen:  

post the error screenshot and what you have specified in your lua files.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

I'm currently using the iteminfo.lua, and like i said everything is showing up fine until you try to equip it. The sprite error is looking for a sprite completely different to anything i've input into the lua file.

 

I can link the specific item in the lua file and the error message if that would be helpful? If you don't mind giving me more of a hand with this.

 

iteminfo.lub. you need to compiled it. 

not iteminfo.lua

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   2
  • Joined:  04/30/13
  • Last Seen:  

 error.png

 

 

That is the error.

The code in my iteminfo.lua looks like this...

	[32712] = {
		unidentifiedDisplayName = "Custom Helm",
		unidentifiedResourceName = "30001",
		unidentifiedDescriptionName = {
		},
		identifiedDisplayName = "Custom Helm",
		identifiedResourceName = "30001",
		identifiedDescriptionName = {
			"Custom Helm Description",
			"Class :^777777 Headgear^000000",
			"Defense :^777777 3^000000",
			"Equipped on :^777777 Upper^000000",
			"Weight :^777777 90^000000",
			"Applicable Job :^777777 Every Job^000000"
		},
		slotCount = 1,
		ClassNum = 0
	},

As i said its pointed to the 30001.spr and .act files, which are there and work fine in inventory and when dropped, the problem is when its equipped, it seems to be looking for something completely different.

 

And to address needing an iteminfo.lub file recompiled, i have the client patched to read lua before lubs so as far as i know i do not need to recompile the lub file.

 

These sprites did work fine before i upgraded this client to 2013 using the accname.lua/lubs in the data folder. It just seems i haven't told it which sprite files to use when worn. Any more help would be great, thank you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

If it still goes as how I make custom items on 2011 clients, it has missing sprites, which can be set in idnum2resnametable or num2resnametable. also, in lua files/datainfo/accname.lua lub.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   2
  • Joined:  04/30/13
  • Last Seen:  

Yeah i've tried that, the 2013 clients don't appear to use idnum2resnametable or num2resnametable. or /datainfo/accname.lua lub. anymore, which is what the trouble is, i did have this headgear working correctly using those files with my 2012 client.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  72
  • Reputation:   11
  • Joined:  10/17/13
  • Last Seen:  

have u patched your 2013 client with 5000+ view ID?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...