Jump to content
  • 0

accname problem


briane5500

Question


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

I cant launch the client because there is an error in line 768 in accname, but I can't see any problems...

here is the screenshot:

LcmRg.jpg

the last line with the name helm_of_doom is the line 768...

please help...

what could be the problem?

thnx in advance

Link to comment
Share on other sites

11 answers to this question

Recommended Posts


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

For the line "helm_of_doom" don't put , at the end because it's the last of the list. Same for the other file.

Link to comment
Share on other sites


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

Posted · Hidden by briane5500, April 20, 2012 - wrong message
Hidden by briane5500, April 20, 2012 - wrong message

oh... thank you so much... so that's what's wrong... I have been looking for it for more than a day now...

Thank you so much

Link to comment

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

For the line "helm_of_doom" don't put , at the end because it's the last of the list. Same for the other file.

I did what you did.... and nothing changed here it is:

8eG1u.jpg

Line 768 is helm_of_doom

Edited by briane5500
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   1
  • Joined:  01/20/12
  • Last Seen:  

If I'm not mistaken in accname.lub, you need to have a " _ " before the name itself.

For example,

[ACCESSORY_IDs.ACCESSORY_WING_OF_DOOM] = "_wing_of_doom"

Link to comment
Share on other sites


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

I think it's not the error... the other customs I used has no _ in the beginning of the name but they still work..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  187
  • Reputation:   35
  • Joined:  01/01/12
  • Last Seen:  

this is probably your accessoryid didnt update correctly the error means that it cannot find the value of the index from accessoryid.lua

Link to comment
Share on other sites


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

what do you mean update? helm of doom and wing of doom is also in the accessoryid.lua

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  187
  • Reputation:   35
  • Joined:  01/01/12
  • Last Seen:  

it might be reading a different accessoryid.lua/lub

try removing the other if it will go nil too.. if not then it is not reading the accessoryid.lua you are editing.

example remove the VALKYRIE_EYE = 1230 the error should appear is 767: table got nil

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  308
  • Reputation:   3
  • Joined:  12/18/11
  • Last Seen:  

this is the default format when adding a custom items in accname.lua

[ACCESSORY_IDs.ACCESSORY_WING_OF_DOOM] = "_wing_of_doom"

you need the _ thing to make it work even if the name of your item has no _ in the beginning.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   137
  • Joined:  02/26/14
  • Last Seen:  

No you dont simple; I add customs all the time without _ at the beginning and they work; The only time you need _ at the beginning is if the sprite name is like "32_Helm_Of_Doom" but if your sprite is like"32Helm_Of_Doom" you dont need it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  187
  • Reputation:   35
  • Joined:  01/01/12
  • Last Seen:  

he doesnt seem to know how lua works so don't mind him...

also the error would not be in lua if the string is wrong ... the client will tell you that there is a missing file like gender_filename.spr/act

so definitely his error is not the string but the table it wasnt able to find the ACCESSORY_HELM_OF_DOOM from accessoryid...

@briane5500

also another thing if you dont like doing trial and error you can just simply

[1235] = "helm_of_doom",

in your accname.lua

and you can remove those custom items in your accessoryid.lua

Edited by Earthlingz
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...