Jump to content
  • 0

Font and Inventory


Ace

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  05/06/12
  • Last Seen:  

I have these problems:

1. Fonts are too big, how can I change them back to normal?

2. The inventory box is way too expanded, I would like to use the old one/normal.

Here's a screen-shot:

33nzt40.jpg

Client Diffed: 2011-11-22

Link to comment
Share on other sites

16 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   13
  • Joined:  02/15/12
  • Last Seen:  

1. /showname

2. Get the newest mstringtable.txt and and look for those text inside, resize the textlength and it automatically resizes the inventory.

http://svn6.assembla.com/svn/ClientSide/Translation_Project/data/msgstringtable.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  05/06/12
  • Last Seen:  

I don't see how /showname is relevant to my problem. I've tried using the data folder, lua and lub files from svn6 but still, nothing has changed.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

You can't use the old Inventory because with the new clients, you have the personal tab. You either get the new Luas/Lubs for your CLIENT DATE and get an updated msgstringtable.txt OR if you don't, you can stick with that massive inventory.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   13
  • Joined:  02/15/12
  • Last Seen:  

I don't see how /showname is relevant to my problem. I've tried using the data folder, lua and lub files from svn6 but still, nothing has changed.

To 1.

I thought you meant the bold font under your char (which is fixed with / showname)

About read data folder:

The new clients don't support this properly (that's what i found out, if someone has a working diff for that please share). The inventory and the quest window for example are using those tabs which names are specified in the mstringtable.txt.

The size of each tab is defined by the LONGEST string of all those four tabs, which means if you type consumeable for the useable items, every tab extents to 11 characters, resulting in a huge inventory.

Same goes for the quest window.

Edited by shadowseph
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  05/06/12
  • Last Seen:  

So the new Luas/Lubs are the ones that has the small inventory appearance? And how about the font?

I don't see how /showname is relevant to my problem. I've tried using the data folder, lua and lub files from svn6 but still, nothing has changed.

To 1.

I thought you meant the bold font under your char (which is fixed with / showname)

About read data folder:

The new clients don't support this properly (that's what i found out, if someone has a working diff for that please share). The inventory and the quest window for example are using those tabs which names are specified in the mstringtable.txt.

The size of each tab is defined by the LONGEST string of all those for tabs, which means if you type consumeable for the useable items, every tab extents to 11 characters, resulting in a huge inventory.

Same goes for the quest window.

I see, is there any way to revert it to the old one(small inventory)? And about the font, that's the normal one, it became bigger, how can I revert it back to the original one too?

Edited by skribblez
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   13
  • Joined:  02/15/12
  • Last Seen:  

No no, how can i explain...The big font how you are calling (the inventory tabs font i suppose), are hardcoded in the client. Maybe changing the langtype in your clientinfo.xml MIGHT change the apperance.

The SIZE of the inventory window is automatically defined by the length of the largest tab (which makes all other tabs be same size thus extending the window size in a whole). You can find those texts inside the mstringtable.txt, which isn't a lua file^^

I just gave you the link to the newest mstringtable.txt.

1. Download the mstringtable.txt

2. Search for Consume

3. Change all the tabs to 1 or 2 letters.

4. Make a patch file and patch it into the grf.

5. See if it changed something for you.

*EDIT*

About reverting the inventory, the only way i'm aware of is to get an older client. Which i don't suggest ~ just follow above instructions.

Edited by shadowseph
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  05/06/12
  • Last Seen:  

Let me clear it out, I think you misunderstood me about the font size that I was saying.

The original or old font size for everything is a bit smaller than what I have, check this screen-shot:

2l8u2pk.jpg

Look at my stats, the font is too big to fit into the stat box which I'm pretty sure isn't the old font size.

And for the inventory size, I'll try what you've posted, but is there any way to align the text vertically?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   13
  • Joined:  02/15/12
  • Last Seen:  

About the font, it's small for me ~ guess i have langtype 0 or 1 in the clientinfo.xml. Try that out.

Ah yeah, make sure you don't have "USE ARIAL ON ALL LANGTYPE" diff selected when you diff your client.

Edited by shadowseph
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  05/06/12
  • Last Seen:  

Hmm, okay. I tried what you said about the inventory, here's what I did:

- changed "consume" to I

- changed "etc." to III

guess what, it still has the same size :(

This is what I really want:

4zsvhf.jpg

Edited by skribblez
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   13
  • Joined:  02/15/12
  • Last Seen:  

post-2369-0-28660700-1336610144_thumb.jpg

Strange works for me o_o

Are you using the newest mstringtable.txt?

Edited by shadowseph
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  05/06/12
  • Last Seen:  

That's the closest to what I want, compare your font-size to mine.

Can you post the client, lua and lub files, perhaps your clientinfo too that you're using?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   13
  • Joined:  02/15/12
  • Last Seen:  

I'm using the 2012-04-18 client, you would need to packets for that one. Try the 2012-04-10 or 2012-04-04 client.

http://supportmii.com/ro1/Clients/ <- clients

http://svn6.assembla.com/svn/ClientSide/Lua_Project/lubs/ <- lua / lub files.

<?xml version="1.0" encoding="euc-kr" ?> 
<clientinfo> 
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
 <connection>
    <display>Unchained-RO</display>
    <desc>?????</desc>
<address>***IP REMOVED***</address>
    <port>6900</port>
    <version>26</version>
    <langtype>1</langtype>
    <registrationweb>http://google.com</registrationweb> 
<loading>
</loading>
<aid>
<admin>2000000</admin>
<admin>2000001</admin>
<admin>2000002</admin>
<admin>2000003</admin>
<admin>2000004</admin>
<admin>2000005</admin>
<admin>2000006</admin>
<admin>2000007</admin>
<admin>2000008</admin>
<admin>2000009</admin>
<admin>2000010</admin>
<admin>2000011</admin>
<admin>2000012</admin>
<admin>2000013</admin>
<admin>2000014</admin>
<admin>2000015</admin>
<admin>2000016</admin>
<admin>2000017</admin>
<admin>2000018</admin>
<admin>2000019</admin>
<admin>2000020</admin>
<admin>2000021</admin>
<admin>2000022</admin>
<admin>2000023</admin>
<admin>2000024</admin>
<admin>2000025</admin>
<admin>2000026</admin>
<admin>2000027</admin>
<admin>2000028</admin>
<admin>2000029</admin>
<admin>2000030</admin>
</aid>
 </connection>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Your clientinfo version is a little outdated bud ;P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  05/06/12
  • Last Seen:  

Where can I get the data for the packet_db.txt?

Like this one:

//2011-11-22aRagexeRE
0x0835,19,wanttoconnection,2:6:10:14:18
0x0892,5,walktoxy,2
0x0899,6,ticksend,2
0x0896,5,changedir,2:4
0x0893,6,takeitem,2
0x0436,6,dropitem,2:4
0x08A4,8,movetokafra,2:4
0x0362,8,movefromkafra,2:4
0x08AD,10,useskilltopos,2:4:6:8
0x0363,90,useskilltoposinfo,2:4:6:8:10
0x0898,6,getcharnamerequest,2
0x035F,6,solvecharname,2
0x0891,26,friendslistadd,2
0x089E,5,hommenu,4
0x0364,36,storagepassword,0
0x0895,26,partyinvite2,2
0x022D,7,actionrequest,2:6
0x08A1,10,useskilltoid,2:4:6
0x0369,-1,itemlistwindowselected,2:4:8
0x0202,18,bookingregreq,2:4:6
0x0887,-1,reqopenbuyingstore,2:4:8:9:89
0x08A9,2,reqclosebuyingstore,0
0x088C,6,reqclickbuyingstore,2
0x089D,-1,reqtradebuyingstore,2:4:8:12
0x07EC,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0815,2,searchstoreinfonextpage,0
0x0366,12,searchstoreinfolistitemclick,2:6:10
0x0439,8,useitem,2:4

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   13
  • Joined:  02/15/12
  • Last Seen:  

There you go..

http://svn6.assembla.com/svn/ClientSide/Packets/Packet_db/

@Mysterious, we aren't going to use any clientinfo when we open the server, so thats just one old thingie that was laying around.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  05/06/12
  • Last Seen:  

Can I have your msn or any other messenger IDs?

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