Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: Wishlist (PR#663)
Home

[Freeciv-Dev] Re: Wishlist (PR#663)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: czapkiew@xxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Wishlist (PR#663)
From: Thue <thue@xxxxxxx>
Date: Sat, 20 Jan 2001 18:30:52 +0100

On Saturday 20 January 2001 19:09, Maciej Czapkiewicz wrote:
> > Oh yes; server messages.
>
> Can anybody help me with this?
> I want to patch notify_player,notify_embassies etc
> function and dump those mesg to the file 'player_name.mesg'
> How to handle this?
> May I use ordinary fprintf function or rather those predefined freelog
> or smth?
> I need to append file, write to it and close (file should be opened
> and closed inside notify* function, not at the begining of the game -
> I want to use crontab to send those files by e-mail and delete them).
> Please, help me, I'm not familiar with C.
>
> Regards,
> MC

Some people are redesigning the server messages right now, so you probably 
want to wait a bit before you try to make a patch.
Besides, wouldn't it be nicer if the messages of the current turn were saved 
in the savegame? It is also usefull to be reminded of them when you load a 
game.
Besides, you need a way to conduct diplomacy. How to do that isn't obvious. 
In generel don't mind me, I haven't thought it through properly :).

-Thue



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