Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] (PR#12706) Events framework
Home

[Freeciv-Dev] (PR#12706) Events framework

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12706) Events framework
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Thu, 7 Apr 2005 08:05:18 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12706 >

This is a new version of the events patch which uses per's work, the
next should be good for inclusion.

To try it out:

1) Get Lua from:
http://rt.freeciv.org/Ticket/Attachment/93982/60099/lualite.tar.gz

2) cd freeciv

3) tar zxvf lualite.tar.gz

5) gzip -dc lua2.diff.gz | patch -p0

6) ./autogen.sh

7) make

A small demo:
Run civclient; Start New Game; Start; choose the Romans; press Ok;
Open the Science report by pressing F6.

Then type these lines in the client chatline:

1) /run foundNewTech("Roman", "Gunpowder")
2) /run changeGold("Roman", 100)
3) /run notify("Roman", "*** Hello World! ***")

For more info see my first post.

Attachment: lua2.diff.gz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]