Jump to content

Question

Posted

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

11 answers to this question

Recommended Posts

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

Posted (edited)
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
Posted

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

Posted

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.

Posted

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.

Posted (edited)

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

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