Jump to content
  • 0

Help can't add new type Towninfo.lub


al2izona

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  12/16/12
  • Last Seen:  

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, },

 

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  12/16/12
  • Last Seen:  

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 ?

 
Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

No, that's what hardcoded means.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  12/16/12
  • Last Seen:  

6 minutes ago, Akkarin said:

No, that's what hardcoded means.

OK thank sir.

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