briane5500 Posted April 20, 2012 Posted April 20, 2012 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: the last line with the name helm_of_doom is the line 768... please help... what could be the problem? thnx in advance Quote
Aerie Posted April 20, 2012 Posted April 20, 2012 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. Quote
briane5500 Posted April 20, 2012 Author Posted April 20, 2012 · 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
briane5500 Posted April 20, 2012 Author Posted April 20, 2012 (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: Line 768 is helm_of_doom Edited April 20, 2012 by briane5500 Quote
nelsontyh Posted April 20, 2012 Posted April 20, 2012 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" Quote
briane5500 Posted April 21, 2012 Author Posted April 21, 2012 I think it's not the error... the other customs I used has no _ in the beginning of the name but they still work.. Quote
Earthlingz Posted April 21, 2012 Posted April 21, 2012 this is probably your accessoryid didnt update correctly the error means that it cannot find the value of the index from accessoryid.lua Quote
briane5500 Posted April 21, 2012 Author Posted April 21, 2012 what do you mean update? helm of doom and wing of doom is also in the accessoryid.lua Quote
Earthlingz Posted April 21, 2012 Posted April 21, 2012 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 Quote
simplemhan Posted April 21, 2012 Posted April 21, 2012 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. Quote
Pneuma Posted April 21, 2012 Posted April 21, 2012 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. Quote
Earthlingz Posted April 21, 2012 Posted April 21, 2012 (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 April 21, 2012 by Earthlingz Quote
Question
briane5500
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:
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.