actions.lua Trouble

actions.lua Trouble

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
Voidranaut
Posts: 47
Joined: 20 Dec 2009, 21:16

actions.lua Trouble

Post by Voidranaut »

Hi :) I am currently haveing an odd probleam whos fix is aludeing me

the probleam: I have two gadgets that both create buttons in unit menus ... they both work fine if only one is in the luarules folder BUT when BOTH are in luarules they dont work (no runtime error but there buttons dont show up in the units menue)...the gadgets are very simular because I made one from the other (I copy pasted one of them and then modded it) because of this approach I am sure they have some variable in common that needs to be diffrent

in addition to not working I get this lovely little error on my info log

error = 2, LuaRules/draw.lua, error = 2, LuaGadgets/gadgets.lua, [string "LuaGadgets/actions.lua"]:54: attempt to index local 'g' (a function value)

so I tracked down actions.lua and looked at what it was doing around line 54 and of course right around there is when actions.lua is doing the job of exicuting local function InsertAction(map, gadget, cmd, func, help)....wich looks like this

local function InsertAction(map, gadget, cmd, func, help)
local callInfoList = map[cmd]
if (callInfoList == nil) then
callInfoList = {}
map[cmd] = callInfoList //this is line 54 were the error is flaged
end
return InsertCallInfo(callInfoList, gadget, func, help)
end


now the function InsertCallInfo() is right above it and deals with 'g' wich is refrenced as haveing the indexing probleam in the error

local function InsertCallInfo(callInfoList, gadget, func, help)
local layer = gadget.ghInfo.layer
local index = 1
for i,ci in ipairs(callInfoList) do
local g = ci[1]
if (g == gadget) then
return false -- already in the table
end
if (layer >= g.ghInfo.layer) then
index = i + 1
end
end
table.insert(callInfoList, index, { func, gadget, help = help })
return true
end




...the error says its trying to index 'g' (wich is a variable in the function InsertCallInfo()) ... in the function g = ci[1] and I think this is the core of my probleam (or at least a place of confusion with me)


now this from the gathered info I get stumped and so have my questions


Question 1): Is it possible that there is indeed a variable in these two gadgets that is the same and as a result causing actions.lua to have a hard time? or am I barking up the wrong tree??

Question 2): how does the called variable callInfoList play into all this? it appears to be pulled from the gadgets but I am not very good with return commands and am likely confused... so ANY info on what this for loop

for i,ci in ipairs(callInfoList) do

would be VERY nice

Question 3): what would be a good next place to look? as close as I feel I cant connect the dots so any info would be greatly appriciated.

thanks for listening and for any info :)
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: actions.lua Trouble

Post by Argh »

It'd be helpful to see the source; if you copy-pasted the Gadgets, you may have made an elementary error such as assigning two of the same command IDs to the same command, i.e.:

Code: Select all

local CMD_DO_THIS = 32768 
and

Code: Select all

local CMD_DO_THAT = 32768
...will create problems at runtime, because both commands are linked to the same command number, and so both will try to execute at the same time.

The 'g' error may indicate several problems, and it's hard to say without seeing the sourcecode.
User avatar
SpliFF
Posts: 1224
Joined: 28 Jul 2008, 06:51

Re: actions.lua Trouble

Post by SpliFF »

Voidranaut wrote:error = 2, LuaRules/draw.lua, error = 2, LuaGadgets/gadgets.lua, [string "LuaGadgets/actions.lua"]:54: attempt to index local 'g' (a function value)

Code: Select all

  for i,ci in ipairs(callInfoList) do
    local g = ci[1]
    if (g == gadget) then
      return false  --  already in the table
    end
    if (layer >= g.ghInfo.layer) then
      index = i + 1
    end
  end
Start by really understanding what the error is telling you. You are trying to index (get a value from a table) something that isn't a table (it's a function).

Then, think about WHY you are doing that.

So if g is really supposed to be a function then:

Code: Select all

if (layer >= g.ghInfo.layer) then
won't work. On the other hand if g is supposed to be a table then you need to figure out how it got assigned a function instead.
Voidranaut wrote:map[cmd] = callInfoList //this is line 54 were the error is flaged
No it isn't. It's talking about 'g', do you see a g in that line?

Code: Select all

return InsertCallInfo(callInfoList, gadget, func, help)
Are you sure these variables are in the correct order and the correct type?
Voidranaut
Posts: 47
Joined: 20 Dec 2009, 21:16

Re: actions.lua Trouble

Post by Voidranaut »

hmmmm... you guys bring up good points all around

Argh you bring up a VERY good point about the command numbers... I looked into it and purposely made them the same and then diffrent to see if info log would record diffrent errors .. in the end its concluded that the command dont step on one another

Question0) also ... I am not sure about the source incution idea... they are really long and I would have to post teach sepretly on this forum page... would it really help? I dont want to fill this page with stuff no one will read anyway ... just want to keep this orderly and not burden any of you guys to much... is there anything more specific in the source I should post? or is it just sillyness at this point?

Probleam:

while I was running spring with only one of the gadgets installed I saw that the info log error propigated as it was possibly attempting to start yet a THIRD!! gadget of wich has no relation to either of these two... here look at this

Code: Select all

 
Loaded gadget:  Plasma              <antiplasma_morph.lua>
[      0] Loaded gadget:  UnitEStallDisable   <unit_estall_disable.lua>
[      0] Loaded gadget:  UnitStealth         <unit_stealth.lua>
[      0] Loaded gadget:  Area Attack         <areaattack.lua>
[look!!] error = 2, LuaRules/draw.lua, error = 2, LuaGadgets/gadgets.lua, [string "LuaGadgets/actions.lua"]:54: attempt to index local 'g' (a function value)
[      0] Loading LuaGaia

Code: Select all

Loaded gadget:  Plasma              <antiplasma_morph.lua>
[      0] Loaded gadget:  UnitEStallDisable   <unit_estall_disable.lua>
[      0] Loaded gadget:  UnitStealth         <unit_stealth.lua>
[      0] Loaded gadget:  Area Attack         <areaattack.lua>
[look!!] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
[      0] Loading LuaGaia
[      0] Loading LuaUI 
if you compare the two lines right were Mex Upgrader Gadget would have been loaded I get the error that I thought was my salvation... I checked and it has no commands number incommon with my other two gadgets but now I am confused as to what exactly the scale of this probleam is...

Question1): is it possible that this error is actaully much larger then I had thought!? or am I connecting things that are unconnectable?

Question2): the 'g' error seems to deal a bit with the layers descirbed in the gadget:GetInfo() section of the gadgets... I dont know what the layers actaully represent and I dont know what there significance is... any info on the layers and if they could play into this issue would be greattly appriciated



spliff you bring up good points and I thank you for your segestions but they lead me to a few quesions

when I read the error

Code: Select all

error = 2, LuaRules/draw.lua, error = 2, LuaGadgets/gadgets.lua, [string "LuaGadgets/actions.lua"]:54: attempt to index local 'g' (a function value)
I interprited it as saying 'g' was a variable who was = to the second entry in the array ci... ci[1] (assuming arrays start at 0 like java)

Question3): was I completely mistaken? and g is actualy a table?
g={}? I am still learning .lua language so sorry if this is a stupid quesion on my part


also
Are you sure these variables are in the correct order and the correct type?
that code was from actions.lua wich came from xta and it has always worked (save for the times that I have these two gadgets in at the same time) BUT you lead me to a very important quesion

Question4): should I focus on modding acitons.lua to accomidate? or should I take my gadgets and contort them to meet actions.lua's needs? I am unsure of the next right direction to move in

thanks for all the time and energy :) hopefully when I get better with .lua I can repay the favor
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: actions.lua Trouble

Post by jK »

rule #1 in dev'ing:
When stuff doesn't work, it's with 99.99% your fault and only with 0.001% a bug.
-> start searching the bug in YOUR code and DON'T start assuming something is buggy!
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: actions.lua Trouble

Post by FLOZi »

As others pointed out, actions.lua is fine. Spliff's post is misleading as he didn't realise you were quoting code from actions.lua and not your own code. Don't worry about 'g'.

You can put your suspect gadgets up at pastebin.com for us to look at. May also be worth putting the full infolog.txt there too.

Alternatively, upload your mod somewhere. If you want to keep it private, my MSN is in my profile if you use it, I'll help as best as I can. Also you can try asking questions in real-time on #lua in the lobby.
Voidranaut
Posts: 47
Joined: 20 Dec 2009, 21:16

Re: actions.lua Trouble

Post by Voidranaut »

jk you have a very good point and I see were your comming from.
The truth is I miss represented myself, I did not mean to sound like I was not to blame for the errors. I tend to make silly gramatic mistakes when I type in english sorry for that... hopefully this practice will help.

FLOZi thank you for the support I greatly appriciate the offer thank you

now as always I was tinkering with the code to try and reaveal more of the relationships between my gadgets and actions.lua and managed to make the error log possibly more revealing (I am still new though and have not run into this before and so I am not sure if it is indeed related to my actions.lua probleam but its dystinct so I figure it would be easy for someone to identify what is wrong)

here is the info log... look how the gadgets get loaded first as gf1 then gf2 then gf1 again and on gf2 it has its issue


Code: Select all

LogOutput initialized.
Spring 0.80.5.2 (0.80.5.2-0-g67e2f5b{@}-cmake-mingw32)
Available log subsystems: mapinfo, CollisionVolume, unit, VFS-detail, VFS, ArchiveScanner, Sound
Enabled log subsystems: Sound
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
using configuration source "C:\Documents and Settings\ASH\Local Settings\Application Data\springsettings.cfg"
[CMyMath::Init] CPU SSE mask: 112, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  0, SSSE 3.0:  0
	SSE 4.1:  0,  SSE 4.2:  0
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Microsoft Windows
Microsoft Windows XP Home Edition Service Pack 3 (build 2600)
        Intel(R) Pentium(R) M processor 1.70GHz; 1015MB RAM, 2442MB pagefile
OS: 32bit native mode
Using read-write data directory: C:\Program Files\Spring\
Using read-only  data directory: C:\Documents and Settings\ASH\My Documents\My Games\Spring\
Using read-only  data directory: C:\Documents and Settings\All Users\Application Data\Spring\
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\maps
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\base
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\mods
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\packages
Scanning: C:\Documents and Settings\ASH\My Documents\My Games\Spring\maps
Scanning: C:\Documents and Settings\ASH\My Documents\My Games\Spring\base
Scanning: C:\Documents and Settings\ASH\My Documents\My Games\Spring\mods
Scanning: C:\Documents and Settings\ASH\My Documents\My Games\Spring\packages
Scanning: C:\Program Files\Spring\maps
Scanning: C:\Program Files\Spring\base
Scanning: C:\Program Files\Spring\mods
Scanning: C:\Program Files\Spring\packages
Video mode set to  1024 x 768 / 32 bit
[      0] SDL:  1.2.10
[      0] GL:   1.4.0 - Build 4.14.10.4410
[      0] GL:   Intel
[      0] GL:   Intel 915GM
[      0] GLEW: 1.4.0
[      0] Joysticks found: 1
[      0] Using joystick 0: PPJoy Virtual joystick 1
[      0] Connecting to local server
[      0] Sound: OpenAL info:
[      0] Sound:   Vendor:     Creative Labs Inc.
[      0] Sound:   Version:    1.1
[      0] Sound:   Renderer:   Software
[      0] Sound:   AL Extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE
[      0] Sound:   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_EFX
[      0] Sound:   Device:     Generic Software
[      0] Sound:   Available Devices:  
[      0] Sound:                       Generic Software
[      0] Starting GameServer: 5527 ms
[      0] Starting demo recording
[      0] Using map Tropical.smf
[      0] Recording demo demos/local_20100117_124821_Tropical_0.80.5.sdf
[      0] Using script Commanders
[      0] Using mod Endless Annihilation V1.0
[      0] Using mod archive EA.sdd
[      0] Loading client data: 10 ms
[      0] User number 0 (team 1, allyteam 0)
[      0] Loading console: 0 ms
[      0] Sound:  parsed 4 sounds from gamedata/sounds.lua
[      0] Loading sounds: 137 ms
[      0] Camera and mouse: 1345 ms
[      0] Parsing unit icons
[      0] Parsing definitions
[      0] WARNING: removed dark_swarm weaponDef, missing model
[      0] Loading all definitions:  12.415001
[      0] Loading defs: 12589 ms
[      0] You are missing the "ARB_shadow_ambient" extension (this will probably make shadows darker than they should be)
[      0] framebuffer not valid!
[      0] Loading map informations
[      0] Opening map file
[      0] Loading Map
[      0] Loading detail textures
[      0] Creating overhead texture
[      0] Creating ground shading
[      0] Loading .smt tile-file "maps/Tropical.smt"
[      0] Loading 51399 tiles from file 1/1
[      0] Reading tiles
[      0] Reading tile map
[      0] Creating projectile texture
[      0] Number of damage types: 40
[      0] Loading weapon definitions
[      0] Could not load sound from def: torpedo2
[      0] Could not load sound from def: xplodep3
[      0] Loading unit definitions
[      0] WARNING: Couldn't find a MoveClass named kbotds2 (used in UnitDef: arm_commander)
[      0] WARNING: Couldn't find a MoveClass named kbotds2 (used in UnitDef: arm_u2commander)
[      0] WARNING: too many unit categories 33 missed tport
[      0] WARNING: too many unit categories 34 missed commanders
[      0] WARNING: too many unit categories 35 missed core
[      0] WARNING: too many unit categories 36 missed rad
[      0] WARNING: too many unit categories 37 missed level5
[      0] WARNING: too many unit categories 38 missed ctrl_r
[      0] WARNING: Couldn't find a MoveClass named tankds2 (used in UnitDef: megalith)
[      0] WARNING: removed the "megalith" entry from the "corcom" build menu
[      0] Loading feature definitions
[      0] Creating unit textures
[      0] Initializing map features
[      0] Reading estimate path costs
[      0] Pathing data checksum: d3d6f37b
[      0] Creating sky
[      0] Loading Reflective Water failed
[      0] Error: Water Error: missing FBO support
[      0] Loading LuaRules
[      0] gf1 = LuaRules/Gadgets/antiplasma_morph.lua
[      0] gf1 = LuaRules/Gadgets/areaattack.lua
[      0] gf1 = LuaRules/Gadgets/teamcomends.lua
[      0] gf1 = LuaRules/Gadgets/unit_buildspeed.lua
[      0] gf1 = LuaRules/Gadgets/unit_cobbutton.lua
[      0] gf1 = LuaRules/Gadgets/unit_disable_buildoptions.lua
[      0] gf1 = LuaRules/Gadgets/unit_estall_disable.lua
[      0] gf1 = LuaRules/Gadgets/unit_health_upgrade.lua
[      0] gf1 = LuaRules/Gadgets/unit_jumpjets.lua
[      0] gf1 = LuaRules/Gadgets/unit_mex_upgrader.lua
[      0] gf1 = LuaRules/Gadgets/unit_morph.lua
[      0] gf1 = LuaRules/Gadgets/unit_noselfpwn.lua
[      0] gf1 = LuaRules/Gadgets/unit_refuel.lua
[      0] gf1 = LuaRules/Gadgets/unit_stealth.lua
[      0] gf2 = LuaRules/Gadgets/antiplasma_morph.lua
[      0] gf2 = LuaRules/Gadgets/areaattack.lua
[      0] gf2 = LuaRules/Gadgets/teamcomends.lua
[      0] gf2 = LuaRules/Gadgets/unit_buildspeed.lua
[      0] gf2 = LuaRules/Gadgets/unit_cobbutton.lua
[      0] gf2 = LuaRules/Gadgets/unit_disable_buildoptions.lua
[      0] gf2 = LuaRules/Gadgets/unit_estall_disable.lua
[      0] Failed to load: unit_estall_disable.lua  ([string "LuaRules/Gadgets/unit_estall_disable.lua"]:48: attempt to index field 'arm_advanced_radar_tower' (a nil value))
[      0] gf2 = LuaRules/Gadgets/unit_health_upgrade.lua
[      0] gf2 = LuaRules/Gadgets/unit_jumpjets.lua
[      0] Failed to load: unit_jumpjets.lua  ([string "LuaRules/Gadgets/unit_jumpjets.lua"]:98: attempt to index field '?' (a nil value))
[      0] gf2 = LuaRules/Gadgets/unit_mex_upgrader.lua
[      0] gf2 = LuaRules/Gadgets/unit_morph.lua
[      0] gf2 = LuaRules/Gadgets/unit_noselfpwn.lua
[      0] Failed to load: unit_noselfpwn.lua  ([string "LuaRules/Gadgets/unit_noselfpwn.lua"]:73: attempt to index field '?' (a nil value))
[      0] gf2 = LuaRules/Gadgets/unit_refuel.lua
[      0] gf2 = LuaRules/Gadgets/unit_stealth.lua
[      0] Loaded gadget:  CobButton           <unit_cobbutton.lua>
[      0] Loaded gadget:  Disable Buildoptions  <unit_disable_buildoptions.lua>
[      0] Loaded gadget:  Health Upgrade      <unit_health_upgrade.lua>
[      0] Morph gadget: Bad morph src type: arm_spidey
[      0] Morph gadget: Bad morph src type: core_u2commander
[      0] Morph gadget: Bad morph src type: corucom
[      0] Morph gadget: Bad morph src type: arm_u0commander
[      0] Morph gadget: Bad morph src type: core_ucommander
[      0] Morph gadget: Bad morph src type: arm_u2commander
[      0] Morph gadget: Bad morph src type: arm_ucommander
[      0] Morph gadget: Bad morph src type: arm_u3commander
[      0] Morph gadget: Bad morph src type: core_u0commander
[      0] Morph gadget: Bad morph src type: core_nugget_tic
[      0] Morph gadget: Bad morph src type: arm_fart_spidey
[      0] Morph gadget: Bad morph src type: core_tic
[      0] Morph gadget: Bad morph src type: core_u3commander
[      0] Loaded gadget:  Plasma              <antiplasma_morph.lua>
[      0] Loaded gadget:  Production Rate     <unit_buildspeed.lua>
[      0] Loaded gadget:  Repair Pad          <unit_refuel.lua>
[      0] Bad stealth unit type: core_cloakable_fusion_power_plant
[      0] Bad stealth unit type: arm_fibber
[      0] Bad stealth unit type: arm_cloakable_fusion_reactor
[      0] Bad stealth unit type: core_nincommander
[      0] Bad stealth unit type: arm_nincommander
[      0] Bad stealth unit type: arm_zipper
[      0] Bad stealth unit type: core_freaker
[      0] Bad stealth unit type: core_parasite
[      0] Bad stealth unit type: arm_infiltrator
[      0] Loaded gadget:  UnitStealth         <unit_stealth.lua>
[      0] Loaded gadget:  Area Attack         <areaattack.lua>
[      0] Loaded gadget:  Team Com Ends       <teamcomends.lua>
[      0] Morph gadget: Bad morph src type: arm_spidey
[      0] Morph gadget: Bad morph src type: core_u2commander
[      0] Morph gadget: Bad morph src type: corucom
[      0] Morph gadget: Bad morph src type: arm_u0commander
[      0] Morph gadget: Bad morph src type: core_ucommander
[      0] Morph gadget: Bad morph src type: arm_u2commander
[      0] Morph gadget: Bad morph src type: arm_ucommander
[      0] Morph gadget: Bad morph src type: arm_u3commander
[      0] Morph gadget: Bad morph src type: core_nugget_tic
[      0] Morph gadget: Bad morph src type: arm_fart_spidey
[      0] Morph gadget: Bad morph src type: core_tic
[      0] Morph gadget: Bad morph src type: core_u0commander
[      0] Morph gadget: Bad morph src type: core_u3commander
[      0] Loaded gadget:  UnitMorph           <unit_morph.lua>
[      0] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
[      0] gf1 = LuaRules/Gadgets/antiplasma_morph.lua
[      0] gf1 = LuaRules/Gadgets/areaattack.lua
[      0] gf1 = LuaRules/Gadgets/teamcomends.lua
[      0] gf1 = LuaRules/Gadgets/unit_buildspeed.lua
[      0] gf1 = LuaRules/Gadgets/unit_cobbutton.lua
[      0] gf1 = LuaRules/Gadgets/unit_disable_buildoptions.lua
[      0] gf1 = LuaRules/Gadgets/unit_estall_disable.lua
[      0] gf1 = LuaRules/Gadgets/unit_health_upgrade.lua
[      0] gf1 = LuaRules/Gadgets/unit_jumpjets.lua
[      0] gf1 = LuaRules/Gadgets/unit_mex_upgrader.lua
[      0] gf1 = LuaRules/Gadgets/unit_morph.lua
[      0] gf1 = LuaRules/Gadgets/unit_noselfpwn.lua
[      0] gf1 = LuaRules/Gadgets/unit_refuel.lua
[      0] gf1 = LuaRules/Gadgets/unit_stealth.lua
[      0] gf2 = LuaRules/Gadgets/antiplasma_morph.lua
[      0] gf2 = LuaRules/Gadgets/areaattack.lua
[      0] gf2 = LuaRules/Gadgets/teamcomends.lua
[      0] gf2 = LuaRules/Gadgets/unit_buildspeed.lua
[      0] gf2 = LuaRules/Gadgets/unit_cobbutton.lua
[      0] gf2 = LuaRules/Gadgets/unit_disable_buildoptions.lua
[      0] gf2 = LuaRules/Gadgets/unit_estall_disable.lua
[      0] gf2 = LuaRules/Gadgets/unit_health_upgrade.lua
[      0] gf2 = LuaRules/Gadgets/unit_jumpjets.lua
[      0] gf2 = LuaRules/Gadgets/unit_mex_upgrader.lua
[      0] gf2 = LuaRules/Gadgets/unit_morph.lua
[      0] gf2 = LuaRules/Gadgets/unit_noselfpwn.lua
[      0] gf2 = LuaRules/Gadgets/unit_refuel.lua
[      0] gf2 = LuaRules/Gadgets/unit_stealth.lua
[      0] Loaded gadget:  Plasma              <antiplasma_morph.lua>
[      0] Loaded gadget:  UnitEStallDisable   <unit_estall_disable.lua>
[      0] Loaded gadget:  UnitStealth         <unit_stealth.lua>
[      0] Loaded gadget:  Area Attack         <areaattack.lua>
[      0] error = 2, LuaRules/draw.lua, error = 2, LuaGadgets/gadgets.lua, [string "LuaGadgets/actions.lua"]:54: attempt to index local 'g' (a function value)
[      0] Loading LuaGaia
[      0] Loading LuaUI
[      0] Using LUAUI_DIRNAME = LuaUI/
[      0] Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
[      0] LuaUI: bound F11 to the widget selector
[      0] LuaUI: bound CTRL+F11 to tweak mode
[      0] Hardware is incompatible with Xray shader requirements
[      0] blur api: texture error
[      0] Hardware is incompatible with Xray shader requirements
[      0] blur api: your hardware is missing the necessary RenderToTexture feature
[      0] Loaded widget from mod:   BlurApi             <api_gfx_blur.lua>
[      0] Loaded widget from mod:   MexUpg Helper       <helper.lua>
[      0] Loaded widget from mod:   HealthBars          <unit_healthbars.lua>
[      0] Loaded widget from mod:   Commander Name Tags   <unit_comm_nametags.lua>
[      0] Loaded widget from mod:   BuildETA            <gui_build_eta.lua>
[      0] <DefenseRange> Unsupported Game, shutting down...
[      0] Loaded widget from mod:   Defense Range       <gui_defenserange.lua>
[      0] Loaded widget from user:  CameraShake         <camera_shake.lua>
[      0] Loaded widget from mod:   Auto First Build Facing  <autofirstbuildfacing.lua>
[      0] Loaded widget from mod:   Autoquit            <autoquit.lua>
[      0] Loaded widget from mod:   ComCounter          <unit_com_counter.lua>
[      0] Loaded widget from mod:   CustomIcons         <unit_customicons.lua>
[      0] Loaded widget from mod:   MohoExploiter       <unit_moho_exploiter.lua>
[      0] Loaded widget from mod:   MoreSounds          <unit_more_sounds.lua>
[      0] Loaded widget from mod:   NoDuplicateOrders   <cmd_no_duplicate_orders.lua>
[      0] Loaded widget from mod:   Pause Screen        <gui_pausescreen.lua>
[      0] Loaded widget from mod:   Point Tracker       <gui_point_tracker.lua>
[      0] Loaded widget from mod:   ReclaimInfo         <gui_reclaiminfo.lua>
[      0] Loaded widget from mod:   Ghost Site          <unit_ghostsite.lua>
[      0] Loaded widget from mod:   Share Tracker       <unit_share_tracker.lua>
[      0] Loaded widget from mod:   Transporting        <gui_transporting.lua>
[      0] Set water rendering mode to 3 (reflective&refractive)
[      0] Loading Reflective Water failed
[      0] Error: Water Error: missing FBO support
[      0] Your hardware/driver setup does not support shadows
[      0] Set maximum particles to: 10000
[      0] Loaded widget from mod:   FPSManager          <fpsmanager.lua>
[      0] Loaded widget from mod:   Display DPS         <gui_display_dps.lua>
[      0] Loaded widget from mod:   Take Reminder       <gui_take_remind.lua>
[      0] Loaded widget from mod:   GameTypeInfo        <gui_game_type_info.lua>
[      0] Loaded widget from mod:   Attack AoE          <gui_attack_aoe.lua>
[      0] false
[      0] Error in Initialize(): [string "LuaUI/Widgets/gui_prospector.lua"]:115: attempt to index local 'unitDef' (a nil value)
[      0] Removed widget: Prospector
[      0] Loaded widget from mod:   Prospector          <gui_prospector.lua>
[      0] Loaded widget from mod:   BA Waypoint Dragger  <unit_waypoint_dragger_2.lua>
[      0] Loaded widget from mod:   Select n Center!    <gui_center_n_select.lua>
[      0] Loaded widget from mod:   LupsManager         <gfx_lups_manager.lua>
[      0] Loaded widget from mod:   BA_AllyCursors      <gui_ba_ally_cursors.lua>
[      0] Loaded widget from mod:   Lups                <lups_wrapper.lua>
[      0] Loaded widget from mod:   LolUI               <lolui.lua>
[      0] Loaded widget from mod:   CustomFormations2   <unit_customformations2.lua>
[      0] LuaUI v0.3
[      0] Finalizing...
[      0] Spring 0.80.5.2 (0.80.5.2-0-g67e2f5b{@}-cmake-mingw32)
[      0] Build date/time: Nov 12 2009 23:04:44
[      0] UnnamedPlayer added point: Start 1
[      0] UnnamedPlayer added point: Start 0
[      0]  -> connection established (given id 0)
[      0] Player UnnamedPlayer finished loading and is now ingame
[      0] GameID: d077534be31a75647b63e6619f55bcfd
[      0] UnnamedPlayer added point: Start 1
[      0] <SkirmishAI: RAI 0.601 (team 0)>: WARNING: Mod Unit Definition Invalid.
[      0] <SkirmishAI: RAI 0.601 (team 0)>: WARNING: Mod Unit Definition Invalid.
[      0] <SkirmishAI: RAI 0.601 (team 0)>: WARNING: Mod Unit Definition Invalid.
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[      0] Unknown texture palette20300
[     44] Skirmish AI "Bot1" took over control of team 0
[    418] User exited
[    418] Path cache hits 0 0%
[    418] Path cache hits 0 0%
[    418] Statistics for local connection:
Received: 1627 bytes
Sent: 4230 bytes

Questions1) could this be revealing of something that I did wrong on the gadjets (possibly with the layers) that could have done this and given me the issue I brought up earlyer?
Post Reply

Return to “Game Development”