Search found 31 matches

by fendrin
March 22nd, 2016, 12:04 am
Forum: Game Development
Topic: Irdya - Wesmere Reference Implementation
Replies: 41
Views: 18635

Re: Irdya - Wesmere Reference Implementation

A big part of that work is done using the ActionWSL api, which is very similar to Wesnoth's ActionWML one. So I hope some WML developers want to join the project. If it's WSL, why would WML coders in particular be needed? I meant that WSL and WML or better ActionWSL and ActionWML are so similar to ...
by fendrin
February 18th, 2016, 11:11 am
Forum: Game Development
Topic: Irdya - Wesmere Reference Implementation
Replies: 41
Views: 18635

Re: Irdya - Wesmere Reference Implementation

Are there any plans by you or someone else to make a Wesmere Display Client? Not to put too fine a point on it, but if there isn't anything being displayed then I doubt the server will be used a whole lot. I don't plan to implement a full featured Wesmere Display Client myself. However, the simple ...
by fendrin
December 18th, 2015, 12:31 pm
Forum: Game Development
Topic: Irdya - Wesmere Reference Implementation
Replies: 41
Views: 18635

Re: Irdya - Wesmere Reference Implementation

During the last 2 weeks a lot of grunt work has been done. After discovering that iceiceice already ported a good part of the actionWML into Lua space it makes a lot more sense to support Wesnoth's Lua api. So I ported nearly almost everything of Wesnoth that is already written in Lua into MoonScrip...
by fendrin
December 4th, 2015, 2:19 am
Forum: Coder’s Corner
Topic: Working on Wesnoth in the browser (via Emscripten)
Replies: 10
Views: 10931

Re: Working on Wesnoth in the browser (via Emscripten)

Emscripten and exceptions? Especially those going through some lua execution. I have heard people speaking about c++ code written completely exception free to run properly via emscripten. So yes, porting Wesnoth to run in emscripten is probably ambitious. Still emscripten is a fascinating piece of t...
by fendrin
December 3rd, 2015, 11:52 pm
Forum: Game Development
Topic: Irdya - Wesmere Reference Implementation
Replies: 41
Views: 18635

Re: Irdya - Wesmere Reference Implementation

Also, while the project seems interesting, ... :D ... I sincerely hope that players won't end up playing Wesnoth in a Terminal screen and text-only mode! Or at least, that's what the repository seems to imply. Will this reimplementation get, sooner or later, a proper GUI? The Wesmere protocols spec...
by fendrin
December 1st, 2015, 5:20 pm
Forum: Users’ Forum
Topic: Multiplayer: force users to only purchase level 0 units
Replies: 10
Views: 3892

Re: Multiplayer: force users to only purchase level 0 units

Iirc there is indeed a downloadable era introducing lvl0 units for all factions.
But I can't remember the name and don't know if it made it to the 1.12 add-on server.
by fendrin
November 30th, 2015, 4:02 pm
Forum: Users’ Forum
Topic: FOSDEM 2016
Replies: 0
Views: 1432

FOSDEM 2016

Hello fellow Wesnoth community members. At the last weekend of January the FOSDEM takes place in Brussels. Please feel free to join us there no matter if you are a developer, a player or some kind of alien. (Well, don't join us if you are H.R. Giger's Alien, I thought more about E.T.) I am going to ...
by fendrin
November 29th, 2015, 9:20 pm
Forum: Game Development
Topic: Irdya - Wesmere Reference Implementation
Replies: 41
Views: 18635

Re: Irdya - Wesmere Reference Implementation

... Also, I don't know if there's any way to batch download from the add-on server, but if there is it wouldn't be overly difficult to write a shell script to decompress/untar/grep them all looking for the [lua] tag. Good idea. I guess one could write a small script around the python add-on client ...
by fendrin
November 29th, 2015, 12:06 am
Forum: Game Development
Topic: Irdya - Wesmere Reference Implementation
Replies: 41
Views: 18635

Re: Irdya - Wesmere Reference Implementation

Given how limited WML is in some aspects, such as string manipulation, using lua is all but required. Yeah, I can't agree more. I don't know how many embed it directly, but lua is used widely even in mainline to define WML action/conditional tags. Indeed, that is the question. How many people embed...
by fendrin
November 28th, 2015, 4:36 pm
Forum: Game Development
Topic: Irdya - Wesmere Reference Implementation
Replies: 41
Views: 18635

Re: Irdya - Wesmere Reference Implementation

I am busy with implementing everything that comes with WSL. There are a lot of actionWSL functions to implement for example. One bizarre thing I stumbled upon is the [lua] tag. It allows to execute lua code as actionWML. Although Irdya is implemented in Lua (or MoonScript) itself and only deals with...
by fendrin
November 27th, 2015, 8:48 am
Forum: Game Development
Topic: Irdya - Wesmere Reference Implementation
Replies: 41
Views: 18635

Re: Irdya - Wesmere Reference Implementation

So Irdya is the Wesnoth clone, and Wesmere is... another name for WSL? Or it's a particular implementation of WSL? Wesmere is more like a framework. Every Wesmere Game Client is supposed to work with every other Wesmere Game Server. Wesmere Modules (or short WesMods) are supposed to work with every...
by fendrin
November 27th, 2015, 8:36 am
Forum: Coder’s Corner
Topic: WesScriptLayer
Replies: 14
Views: 5998

Re: WesScriptLayer

I mean more generally though, if there isn't any preprocessing then they'd all basically have to be replaced with if statements as far as I can tell. #ifver's replacement in particular would need a global constant variable to be set and updated per release. Indeed. Global variables or constants pro...
by fendrin
November 26th, 2015, 7:28 pm
Forum: Coder’s Corner
Topic: WesScriptLayer
Replies: 14
Views: 5998

Re: WesScriptLayer

Maybe I'm mis-remembering, but I thought lua variables weren't stored in savefiles currently. Yes, I think that is right. Also, since there isn't going to be any preprocessing, is there a replacement planned for things like #ifdef, #ifhave, #ifver, etc? Most of their use cases can be solved by usin...
by fendrin
November 26th, 2015, 6:03 pm
Forum: Coder’s Corner
Topic: WesScriptLayer
Replies: 14
Views: 5998

Re: WesScriptLayer

fendrin wrote:I have promised some examples earlier...
While translating some of the macros from data/core/macros I found a nice example:

https://gist.github.com/fendrin/5e74b3b17c62ea133faf

the WML counterpart:

https://github.com/wesnoth/wesnoth/blob ... s.cfg#L434
by fendrin
November 26th, 2015, 1:30 pm
Forum: Game Development
Topic: Irdya - Wesmere Reference Implementation
Replies: 41
Views: 18635

Irdya - Wesmere Reference Implementation

I want to use this thread similar to a weblog covering the development of a Wesnoth clone. Comments and suggestions are of course very much welcomed. So Wesmere is a bunch of protocols, apis and conventions. Irdya is a first attempt to establish those by implementing a game that is very similar to W...