Gadget error (Modified Chickens)

Gadget error (Modified Chickens)

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
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Gadget error (Modified Chickens)

Post by Forboding Angel »

This error occurs when the players successfully destroy the queen, but one of the original players has disconnected in the during the game:

Code: Select all

[f=0073616] -----------
[f=0073616] Error: LuaRules::RunCallIn: error = 2, TeamDied, [string "LuaRules/Gadgets/chickens_unit_spawner_defe..."]:455: Invalid message playerID: %i
stack traceback:
        [C]: in function 'SendMessage'
        [string "LuaRules/Gadgets/chickens_unit_spawner_defe..."]:455: in function 'DisplayScores'
        [string "LuaRules/Gadgets/chickens_unit_spawner_defe..."]:1190: in function 'TeamDied'
        [string "LuaRules/gadgets.lua"]:1078: in function <[string "LuaRules/gadgets.lua"]:1076>
        (tail call): ?
        [C]: in function 'spKillTeam'
        [string "LuaRules/Gadgets/game_end.lua"]:177: in function 'KillResignedTeams'
        [string "LuaRules/Gadgets/game_end.lua"]:192: in function 'GameFrame'
        [string "LuaRules/Gadgets/hotfixes.lua"]:32: in function <[string "LuaRules/Gadgets/hotfixes.lua"]:29>
        (tail call): ?
Relevant files:
https://code.google.com/p/evolutionrts/ ... tail?id=26
http://pastebin.com/XELHLJT6

https://code.google.com/p/evolutionrts/ ... se.lua#455

Halp! Is it getting the player list incorrectly or something?
Post Reply

Return to “Game Development”