Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: nicepants on February 25, 2011, 04:08:32 am

Title: Error again...(Attempt to index local 'coords')
Post by: nicepants on February 25, 2011, 04:08:32 am
i fixed the max_race problem now when i go to character creation screen i get this error...

(http://i407.photobucket.com/albums/pp156/cchheessee123/WoWScrnShot_022411_172214.jpg)

i tried to edit a new CharacterCreate.lua and that still didnt fix it

Edit: heres the files

Patch-enUS-2.MPQ

CharacterCreate.lua: http://pastebin.com/sc5fiQ3N (http://pastebin.com/sc5fiQ3N" onclick="window.open(this.href);return false;)
CharacterCreate.xml: http://pastebin.com/rHExmKcB (http://pastebin.com/rHExmKcB" onclick="window.open(this.href);return false;)

Patch-enUS-3.MPQ

GlueParent.lua: http://pastebin.com/bKDBex6u (http://pastebin.com/bKDBex6u" onclick="window.open(this.href);return false;)
GlueStrings.lua: http://pastebin.com/j3zny7Dq (http://pastebin.com/j3zny7Dq" onclick="window.open(this.href);return false;)
Title: Re: Error again...(Attempt to index local 'coords')
Post by: Buddiman on February 25, 2011, 09:13:19 am
You may post your Lua-File at http://pastebin.com/ and give us the link. It's much easier then for people to help you.

Have you set coordinates for every Race, the ones in the LUA-File are not for ingame, they describe the position of the RaceIcon in InterfaceGLUESCHARACTERCREATEUI-CharacterCreate-Races.blp. Check this first.

Additionally, have you insert new Icons? if not, just use the Coords of another race temporarily to test it!
Title: Re: Error again...(Attempt to index local 'coords')
Post by: nicepants on February 26, 2011, 01:33:54 am
Quote from: "Buddiman"
You may post your Lua-File at http://pastebin.com/ and give us the link. It's much easier then for people to help you.

Have you set coordinates for every Race, the ones in the LUA-File are not for ingame, they describe the position of the RaceIcon in InterfaceGLUESCHARACTERCREATEUI-CharacterCreate-Races.blp. Check this first.

Additionally, have you insert new Icons? if not, just use the Coords of another race temporarily to test it!

ive done that, still shows the same thing
Title: Re: Error again...(Attempt to index local 'coords')
Post by: Steff on February 27, 2011, 12:12:16 am
pachenUS2 ???

There are patch 2 and 3 original from blizzard.
Have you overwriten them?
It must be named patch-enUS-4.MPQ
Title: Re: Error again...(Attempt to index local 'coords')
Post by: nicepants on February 27, 2011, 12:24:32 am
Quote from: "Steff"
pachenUS2 ???

There are patch 2 and 3 original from blizzard.
Have you overwriten them?
It must be named patch-enUS-4.MPQ

i changed the CharacterCreate.lua and xml in patch-enUS-2 and in enUS-3 i changed gluestrings and glueparent

then  i tried to make them in a separate MPQ and it just does the same thing (patch-enUS-4)
Title: Re: Error again...(Attempt to index local 'coords')
Post by: nicepants on February 27, 2011, 12:31:01 am
ok i replaced local-enUS.MPQ with the regular 1 (i made a new raceicon for it before) and now it shows this

(http://i407.photobucket.com/albums/pp156/cchheessee123/Untitled-6.png)

it only lets me select the first row and whenever i change genders it shows that error
Title: Re: Error again...(Attempt to index local 'coords')
Post by: schlumpf on February 27, 2011, 01:33:32 am
We are not your personal coding-error finder, imho. Try finding things like nil-values etc yourself by improving your coding skills. Editing a line, getting a new error and asking here again won't help anyone.
Title: Re: Error again...(Attempt to index local 'coords')
Post by: nicepants on February 27, 2011, 02:05:53 am
Quote from: "schlumpf"
We are not your personal coding-error finder, imho. Try finding things like nil-values etc yourself by improving your coding skills. Editing a line, getting a new error and asking here again won't help anyone.

im not making u help me im just asking if u could, and i fixed the first error myslef, if you dont want to help then dont