[Freeciv-Dev] [patch #7500] Make client gui_type available to server Lua script (and hence tutorial)

2017-05-06 Thread Marko Lindqvist
Update of patch #7500 (project freeciv):

  Status:  Ready For Test => Done   
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #7500] Make client gui_type available to server Lua script (and hence tutorial)

2017-05-04 Thread Marko Lindqvist
Follow-up Comment #4, patch #7500 (project freeciv):

> Patch

Now for real

(file #29958)
___

Additional Item Attachment:

File name: LuaControllingGui.patchSize:2 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #7500] Make client gui_type available to server Lua script (and hence tutorial)

2017-05-02 Thread Marko Lindqvist
Update of patch #7500 (project freeciv):

Category:None => general
  Status:None => Ready For Test 
 Planned Release:   3.0.0 => 3.0.0, 3.1.0   

___

Follow-up Comment #3:

Patch

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #7500] Make client gui_type available to server Lua script (and hence tutorial)

2016-08-21 Thread Jacob Nevins
Follow-up Comment #2, patch #7500 (project freeciv):

> Or in other words, if a script needs to know the client it 
> should get that info locally from the client.
The tutorial script runs on the server.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #7500] Make client gui_type available to server Lua script (and hence tutorial)

2016-08-06 Thread Frank
Follow-up Comment #1, patch #7500 (project freeciv):

I think the server should not know the client, tileset, music, sounds, or
sound plugin of a player. And players including AIs should not know any server
details, as long as the versions are compatible, and excluding visible
settings plus ruleset.

Or in other words, if a script needs to know the client it should get that
info locally from the client. Likewise it could determine the tileset, music,
sounds, sound plugin, theme, language (etc.) locally, because that's no server
and no connection business.



___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #7500] Make client gui_type available to server Lua script (and hence tutorial)

2016-07-24 Thread Jacob Nevins
URL:
  

 Summary: Make client gui_type available to server Lua script
(and hence tutorial)
 Project: Freeciv
Submitted by: jtn
Submitted on: Sun 24 Jul 2016 12:11:20 PM BST
Category: None
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 3.0.0
 Contains string changes: None

___

Details:

Currently, the tutorial contains text about the UI that is not quite right for
all clients. It's generally right about Gtk and not about Qt (and probably
hopeless for SDL).

If the Lua script had access to the gui_type, it could adapt its text.

Clients already send their gui_type to the server in PACKET_CLIENT_INFO, but
the server doesn't store it.

Should presumably be made available through Lua Connection object.




___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev