LTXIII - T1

Turn advanced to T1. All idlers are replaced.

Happy fighting!.

(BTW: random timeout doesn't work. I'll try to find some solution, maybe Book's refill patch will be ok?)

Comments

maybe Book's refill patch

maybe Book's refill patch will be ok?
It has not been tested in a big game yet, but given that there will probably be other bugs found in 2.1, you can go ahead and try applying my 2.1 port of the moverefill patch and doing /set movere 36000 (i.e. 10 hours).

vonzgred's picture

Can you execute instant

Can you execute instant timeout from external script in other way than setting lower timeout than current turn length? If you just know how to do it, then edrim with my little contribution wrote working 23-25h random timeout script. He used lower timeout method to cut the turn, but the major part of this whole "randomizing" is done externally, and if there some other way of ending turn, it would work in these circumstances.

maho's picture

I don't know what are you

I don't know what are you talking about, but I'm curious of technical details.

vonzgred's picture

script scheme

I cannot find any parts of it in any IM archive, so I guess it suffered on some format. But the idea was as follows.
It was bash script that used tail same way your did ( I think ; edrim took that tail part from you ). I had numerous tries to write it here, but only "graphical" way is clear enough.

1- End of turn as result of previous iteration of the script
2- sleep for 82800
3- setting variable x as random number from 1 to 7200
4- sleep for x
5- passing "/set timeout 82800" with tail into console resulting in instant end of turn as it lasts 82800+x at the very moment
7- sleep for at least 15-20 sec - believe me, it is needed, as end of turn calculations take some time and we do not interfere with server working with next operation, we experienced messy results ourselves without it
8- "/set timeout 90000" into console
9- goto 2

the idea was modified later by dividing line 2 into multiple sleeps broken by sc, but I am sure you can work something out.
What I had in mind, is that if we are able to force the turn to end, we can just drop all timeouts and make it fixed with value 90000. Every turn happens somewhen after 23h and before 90000sec=25h, and noone knows the value ( long values of x tend to make players mroe frustrated... but hell, noone ever knew after 23rd hour passed, what to expect.
So, it might look like this

2 as before
3 -||-
4 -||-
5-forcing turn to end instantly
6-goto 2

maho's picture

problem is, that changing

problem is, that changing timeout in freeciv 2.1 brings effect in next turn. So it won't work as you expected.

I think we have 2 solutions:
- book's refill solution (if accepted by majority)
- random timeout from LTeX, ported to 2.1 ....

vonzgred's picture

That's why I ask, if there's

That's why I ask, if there's other way of making turn end instantly. Like /endturn from console :D

maho's picture

All the time I'm talking

All the time I'm talking about "/endturn from console".

Yes, there is such way - modify code.

I think we have 2

I think we have 2 solutions:

Is it possible/easy to have 22 hr or 26 hr timeout as discussed previously? I think might be fairer than a random time out...

I think book's refill algorithm should go into LTex2.1 first. Less people involved so any problems will be minimised.

22 hr or 26 hr timeout

I agree with this for now.

It leaves the problem of double moves intact but at least it rotates around time zones fairly fast.

Book's move/refill patch is set to be tested soon in Janq's/ KDE's summer game. If it works there I think we could use it in the next longturn.

vonzgred's picture

I agree for that temporary

I agree for that temporary solution with the preference for 22h ( more playing! more playing! :D). But we have to come up with something to address the doublemove issue. I know it will be cruel tool of war - ok for me, but some people may feel forced to do something in precise time they are not able to and is stops being game for fun when one feels he is forced to it :)

You will have to be careful

You will have to be careful you don't sleep through a turn :-)

vonzgred's picture

Alarm clock. A tool

Alarm clock. A tool addressing all problems. :D

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.