This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Error again...(Attempt to index local 'coords')  (Read 2102 times)

nicepants

  • Registred Member
  • Race Changer
  • *****
  • Posts: 31
    • View Profile
Error again...(Attempt to index local 'coords')
« 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...



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
CharacterCreate.xml: http://pastebin.com/rHExmKcB

Patch-enUS-3.MPQ

GlueParent.lua: http://pastebin.com/bKDBex6u
GlueStrings.lua: http://pastebin.com/j3zny7Dq
« Last Edit: February 26, 2011, 01:23:39 am by Admin »

Buddiman

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 13
    • View Profile
Re: Error again...(Attempt to index local 'coords')
« Reply #1 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!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Greetings
Buddiman


nicepants

  • Registred Member
  • Race Changer
  • *****
  • Posts: 31
    • View Profile
Re: Error again...(Attempt to index local 'coords')
« Reply #2 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Error again...(Attempt to index local 'coords')
« Reply #3 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

nicepants

  • Registred Member
  • Race Changer
  • *****
  • Posts: 31
    • View Profile
Re: Error again...(Attempt to index local 'coords')
« Reply #4 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)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

nicepants

  • Registred Member
  • Race Changer
  • *****
  • Posts: 31
    • View Profile
Re: Error again...(Attempt to index local 'coords')
« Reply #5 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



it only lets me select the first row and whenever i change genders it shows that error
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Error again...(Attempt to index local 'coords')
« Reply #6 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

nicepants

  • Registred Member
  • Race Changer
  • *****
  • Posts: 31
    • View Profile
Re: Error again...(Attempt to index local 'coords')
« Reply #7 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »