Jump to content
  • 0

What do i need for a new grf.


laklaker

Question


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   0
  • Joined:  12/27/11
  • Last Seen:  

I wanted to create a new grf for my custom headgear. What does it need?

only there following?

db\item_db2

data\lua files\datainfo\accessoryid.lua

data\lua files\datainfo\accname.lua

idnum2itemdesctable

idnum2itemdisplaynametable

idnum2itemresnametable

num2itemdisplaynametable

num2itemresnametable

Any other? I have lua. It's not a x-ray client.

Link to comment
Share on other sites

14 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

You should post this on the client section

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   0
  • Joined:  12/27/11
  • Last Seen:  

You should post this on the client section

Sorry. Help me please!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

Your list seems correct, it depends of what you put into those files. But what's your question exactly ? How repack files into grf format ? You can use some utilitaries like : grfbuilder-0.1.30.zip

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   0
  • Joined:  12/27/11
  • Last Seen:  

Your list seems correct, it depends of what you put into those files. But what's your question exactly ? How repack files into grf format ? You can use some utilitaries like : grfbuilder-0.1.30.zip

My question is how to create a new grf just for custom items. Like Custom Headgears, etc. etc. Because the time i create a new one and get it the item is "Unknown Item" the apple thingy. Can't equip, Can't use, but droppable.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

You can add an item (without sprite) only in your data folder. But becareful with the data.ini and the grf priority reading.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   0
  • Joined:  12/27/11
  • Last Seen:  

You can add an item (without sprite) only in your data folder. But becareful with the data.ini and the grf priority reading.

I want to try it a custom at my RO please help :D. Any other idea? To add a custom items using grf? :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

Ad I said repack them into a grf but becareful with the data.ini and the priority of reading grf. If your custom grf isn't read first, it will be other versions of files who will be read. (So without your modifications for add the custom item).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  12/09/11
  • Last Seen:  

Edit your DATA.ini to read your custom grf first.

[DATA]
0=<Your custom grf>
1=rdata.grf
2=data.grf

Then you would have to add the sprites into the right places. You need a drop sprite, a sprite for both male and females. A collection and item picture that would go into the texture folder. When you add the item to your server, your idnum2itemresnametable will have to match the file name of the sprite you are using.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   0
  • Joined:  12/27/11
  • Last Seen:  

Edit your DATA.ini to read your custom grf first.

[DATA]
0=<Your custom grf>
1=rdata.grf
2=data.grf

Then you would have to add the sprites into the right places. You need a drop sprite, a sprite for both male and females. A collection and item picture that would go into the texture folder. When you add the item to your server, your idnum2itemresnametable will have to match the file name of the sprite you are using.

I already do this. But same unknown tem :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

As I said on Fil Section

your problem might be a Client Problem

~____~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   0
  • Joined:  12/27/11
  • Last Seen:  

As I said on Fil Section

your problem might be a Client Problem

~____~

It works on the other one grf but in the new. Ugh.. :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

well if i have time

i can help you

give me info and the files

i will add it for you and test it too

EDIT:

since im not that busy too~

Edited by KeiKun
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  222
  • Reputation:   35
  • Joined:  12/13/11
  • Last Seen:  

I wanted to create a new grf for my custom headgear. What does it need?

only there following?

dbitem_db2

datalua filesdatainfoaccessoryid.lua

datalua filesdatainfoaccname.lua

idnum2itemdesctable

idnum2itemdisplaynametable

idnum2itemresnametable

num2itemdisplaynametable

num2itemresnametable

Any other? I have lua. It's not a x-ray client.

btw u dont need db/item_db2.txt in the files >_>, thats actual server files lol. those stay out of ur grf...

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...