Search found 20 matches

by demario
October 31st, 2020, 8:40 am
Forum: WML Workshop
Topic: Questions about [event] name=time over
Replies: 8
Views: 407

How to value a wounded unit?

[unit] Next factor is the all-or-nothing choice between XP and HP. Maybe something like type.cost * (%hp + %xp) or type.cost * (type.max_hp * %hp + best_adv.max_hp * %xp)/type.max_hp would be better. Another problem with the formula is that a very low XP, from 1 HP to less than type.max_hp/type.cos...
by demario
October 27th, 2020, 6:09 am
Forum: WML Workshop
Topic: Questions about [event] name=time over
Replies: 8
Views: 407

What gold difference leads to sure defeat?

Seems the code is running now with the modified am_i_victorious from Creep wars (from Vasya N, well done!). I also want to improve the tie criteria so as to make a draw more an usual result when game stops at fixed number of turns. The current code is checking equality of score, which make it unlike...
by demario
October 24th, 2020, 7:18 am
Forum: WML Workshop
Topic: Questions about [event] name=time over
Replies: 8
Views: 407

How to use [endlevel] in PvP multiplayer?

Awarding victory to one side can probably be done with an [endlevel]result=victory inside the time over event. Man, I am completely confused here. It is not working. The victory (or defeat) result is passed to both sides equally. If I try to write both turn_limit_victory and turn_limit_defeat and c...
by demario
October 23rd, 2020, 8:47 am
Forum: WML Workshop
Topic: Questions about [event] name=time over
Replies: 8
Views: 407

Re: Questions about [event] name=time over

it's all in data/multiplayer/eras.lua , and it's triggered by an [event]name="time over" in data/multiplayer/eras.cfg. Kudos octalot, things are very clear now: final score = income score + unit score + gold score gold score = team's gold income score = income * 5 unit score = math.max(ty...
by demario
October 19th, 2020, 9:44 am
Forum: Release Announcements, Compiling & Installation
Topic: Compiling ancient wesnoth versions on debian (lenny)
Replies: 0
Views: 137

Compiling ancient wesnoth versions on debian (lenny)

I had some weird kind of fun :geek: compiling old versions of wesnoth on debian. Since I am not the first to consider such a plan, I am sharing my progress on this. The whole thread is worth checking for those interested. It gives basically the full range of possibilities: run old win binaries on wi...
by demario
October 13th, 2020, 12:53 am
Forum: WML Workshop
Topic: WML for tournament settings
Replies: 4
Views: 744

Re: WML for tournament settings

I made an update of the first post to suggest the v0.4 of the WML schema. Biggest change is that brackets are now defined at the round level. Later rounds can also reference to a previously defined bracket name to keep the bracket for the round. This change is to support a UEFA champions league-like...
by demario
October 11th, 2020, 6:36 am
Forum: Coder’s Corner
Topic: A bot assistant for tournament organization
Replies: 0
Views: 205

A bot assistant for tournament organization

I am ripping off from ReNoM 's wonderful work on fastbot for the wesnoth life Russian sister community for map picking and I am targeting a bot that can assist in organization of wesnoth tournament (1v1 only at this time). I am looking for tournament players or organizers to provide some feedback on...
by demario
October 2nd, 2020, 6:28 am
Forum: WML Workshop
Topic: WML for tournament settings
Replies: 4
Views: 744

Re: WML for tournament settings

Thanks Soliton, a fair system that allows a tournament to use less balanced map would be great indeed. I know nothing about Uniwar and it is quite useful to hear from a different background. They seems do have a stronger tournament history than wesnoth (with ladder :mrgreen: ). This is how they desc...
by demario
September 30th, 2020, 11:25 pm
Forum: WML Workshop
Topic: WML for tournament settings
Replies: 4
Views: 744

WML for tournament settings

HI, I am defining some WML for tournament setting. I am wondering if the structure or the keywords could be improved. Maybe some past tournament organizers for wesnoth or elsewhere have some ideas to share. Here is an example: [tournament] version="v0.4" id=16p_dembot_qualification name=_&...
by demario
September 24th, 2020, 9:49 am
Forum: WML Workshop
Topic: Questions about [event] name=time over
Replies: 8
Views: 407

Questions about [event] name=time over

I am playing around with turn limits in players vs player games (PvP). It appears that when the turn limit is reached or that time over event is fired, a nice dialog is showing giving a computer generated estimation on the status of the game. Like in the attached picture. I have several questions on...
by demario
September 23rd, 2020, 5:19 am
Forum: Release Announcements, Compiling & Installation
Topic: Problem to compile wesnothd server in 1.14.14
Replies: 6
Views: 406

Re: Problem to compile wesnothd server in 1.14.14

So 1.14.12 compiled without errors? I can't say that. I made a leap step from 1.14.5 to 1.14.13. I could compile it in 1.14.5 indeed. [edit] Otherwise changing the line to <<< auto g_ptr = record.get_game(); >>> should work as well. That works for me indeed. Much thanks! [/edit]
by demario
September 23rd, 2020, 1:15 am
Forum: Release Announcements, Compiling & Installation
Topic: Problem to compile wesnothd server in 1.14.14
Replies: 6
Views: 406

Problem to compile wesnothd server in 1.14.14

I have a trouble compiling the MP server wesnothd in the 1.14.14 version. The error is: [ 50%] Building CXX object src/CMakeFiles/wesnothd.dir/server/server.cpp.o [ 50%] Building CXX object src/CMakeFiles/wesnothd.dir/server/server_base.cpp.o [ 50%] Building CXX object src/CMakeFiles/wesnothd.dir/se...
by demario
July 20th, 2020, 9:41 am
Forum: Multiplayer Development
Topic: Den of Thieves 1.0 (new major update)
Replies: 51
Views: 7709

Fun with bombs before it disappears

A short replay with fun with bombs before they get changed (into a joke :P ).
by demario
July 20th, 2020, 9:33 am
Forum: Multiplayer Development
Topic: Den of Thieves 1.0 (new major update)
Replies: 51
Views: 7709

Re: Den of Thieves 0.2 (multiplayer stealth campaign)

Both those problems will be fixed in the next version. Cool! Another little issue about prisoner: Eronix the Dune Herbalist keeps charmed loyalists in recall list for future maps. First save, including the recall list, the second one the save of the scenario the unit was charmed from. You might hav...
by demario
July 10th, 2020, 11:44 am
Forum: Multiplayer Development
Topic: Den of Thieves 1.0 (new major update)
Replies: 51
Views: 7709

Re: Den of Thieves (new MP stealth campaign system)

Den of Thieves 0.2 brings [...] countless bug fixes. Hopefully we've addressed everything players have reported on this thread so far. Hi Bob, thanks for the new version. I can confirm that most of the issues we met in version 0.1.0 are fixed now. It seems the bombs are erasing the book image (whic...