SummerOfCodeProposal 2011 LuaAI champ: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
=Description= | =Description= | ||
====champ - Implement Multi-player Lua AI scripting security==== | ====champ - Implement Multi-player Lua AI scripting security==== | ||
I plan to implement a secure mechanism on Lua AI scripting system. | I plan to implement a secure mechanism on Lua AI scripting system.<br/> | ||
The mechanism will be implement on C++ level and transparent to Lua AI scripts. | The mechanism will be implement on C++ level and transparent to Lua AI scripts.<br/> | ||
Make player-unaccessible resource also unaccessible for Lua AI scripts. (For example: If fog is on, units covered by fog for current player should not accessible to Lua scripts initiated by current player.) | Make player-unaccessible resource also unaccessible for Lua AI scripts. (For example: If fog is on, units covered by fog for current player should not accessible to Lua scripts initiated by current player.)<br/> | ||
Make player-read-only resource also read-only for Lua AI scripts. (For example: Lua scripts should be able to access the coordinate for a player-owned unit, but should not be able to modify it directly.) | Make player-read-only resource also read-only for Lua AI scripts. (For example: Lua scripts should be able to access the coordinate for a player-owned unit, but should not be able to modify it directly.)<br/> | ||
====champ - Additional Task - Make a virtual battlefield==== | ====champ - Additional Task - Make a virtual battlefield==== | ||
As the units status and position can not be changed by Lua scripts due to Multi-player Lua AI scripting security, some advanced Lua AI which need 'Table-top exercises' requires a virtual battlefield to perform trial actions and to evaluate certain status on battlefield. | As the units status and position can not be changed by Lua scripts due to Multi-player Lua AI scripting security, some advanced Lua AI which need 'Table-top exercises' requires a virtual battlefield to perform trial actions and to evaluate certain status on battlefield.<br/> | ||
//Undone: Add more first-level sections to detail your proposal | |||
=Contact= | =Contact= | ||
==IRC== | ==IRC== | ||
champ<br/> | |||
MinXiang (alternative) | MinXiang (alternative)<br/> | ||
==Wesnoth forum== | ==Wesnoth forum== | ||
Revision as of 13:10, 4 April 2011
| This page is related to Summer of Code 2011 |
| See the list of Summer of Code 2011 Ideas |
| This is a Summer of Code 2011 student page |
Description
champ - Implement Multi-player Lua AI scripting security
I plan to implement a secure mechanism on Lua AI scripting system.
The mechanism will be implement on C++ level and transparent to Lua AI scripts.
Make player-unaccessible resource also unaccessible for Lua AI scripts. (For example: If fog is on, units covered by fog for current player should not accessible to Lua scripts initiated by current player.)
Make player-read-only resource also read-only for Lua AI scripts. (For example: Lua scripts should be able to access the coordinate for a player-owned unit, but should not be able to modify it directly.)
champ - Additional Task - Make a virtual battlefield
As the units status and position can not be changed by Lua scripts due to Multi-player Lua AI scripting security, some advanced Lua AI which need 'Table-top exercises' requires a virtual battlefield to perform trial actions and to evaluate certain status on battlefield.
//Undone: Add more first-level sections to detail your proposal
Contact
IRC
champ
MinXiang (alternative)
Wesnoth forum
champ
Gna id
champ
cff29546 (at) gmail.com