Jump to content
  • 0

Help can't add new type Towninfo.lub


Question

Posted

i need to add new type in Towninfo.lub   help  me please.

 

-- type 0 = Tool Dealer
-- type 1 = Weapon Dealer
-- type 2 = Armor Dealer
-- type 3 = Smith
-- type 4 = Guide
-- type 5 = Inn
-- type 6 = Kafra Employee
-- type 7 = Styling Shop
-- type 8 = Devil Square  <==== add New type is not show in minimap.

 

mapNPCInfoTable = {
    prontera = {
        { name = [=[Kafra Employee]=], X = 146, Y = 89, TYPE = 6, },
        { name = [=[Kafra Employee]=], X = 150, Y = 35, TYPE = 6, },
        { name = [=[Kafra Employee]=], X = 275, Y = 197, TYPE = 6, },
        { name = [=[Kafra Employee]=], X = 37, Y = 210, TYPE = 6, },
        { name = [=[Kafra Employee]=], X = 152, Y = 326, TYPE = 6, },
        { name = [=[Guide]=], X = 154, Y = 187, TYPE = 4, },
        { name = [=[Guide]=], X = 276, Y = 211, TYPE = 4, },
        { name = [=[Guide]=], X = 37, Y = 198, TYPE = 4, },
        { name = [=[Guide]=], X = 162, Y = 35, TYPE = 4, },
        { name = [=[Guide]=], X = 150, Y = 326, TYPE = 4, },
        { name = [=[Tool Dealer]=], X = 134, Y = 221, TYPE = 0, },
        { name = [=[Weapon Dealer]=], X = 175, Y = 220, TYPE = 1, },
        { name = [=[Smith]=], X = 178, Y = 186, TYPE = 3, },
        { name = [=[Inn]=], X = 207, Y = 192, TYPE = 5, },
        { name = [=[Inn]=], X = 107, Y = 218, TYPE = 5, },
        { name = [=[Styling Shop]=], X = 76, Y = 93, TYPE = 7, },
        { name = [=[Devil Square]=], X = 118, Y = 152, TYPE = 8, },

 

 

4 answers to this question

Recommended Posts

  • 0
Posted
1 hour ago, Akkarin said:

It's possible that the different types are hardcoded into the exe, as i can't find anywhere in the lua files to define a new one.

thank.  Is it possible to do it without a new hardcode ?

 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...