Ninth game on the multiplayer slow game server

For topics that do not fit in another sub-forum.

Moderator: Oberlus

Message
Author
Magnate
Space Dragon
Posts: 425
Joined: Sat Nov 08, 2014 3:44 pm

Re: Ninth game on the multiplayer slow game server

#181 Post by Magnate »

Oh I see, by 1 turn! Thx

Magnate
Space Dragon
Posts: 425
Joined: Sat Nov 08, 2014 3:44 pm

Re: Ninth game on the multiplayer slow game server

#182 Post by Magnate »

Do we need any client changes?

User avatar
Oberlus
Cosmic Dragon
Posts: 5715
Joined: Mon Apr 10, 2017 4:25 pm

Re: Ninth game on the multiplayer slow game server

#183 Post by Oberlus »

Magnate wrote: Fri Apr 17, 2020 10:08 am ?? Does that mean we replay 30 turns??
Just the last turn. Not all 30 turns from first turn.

You might like this Spanish symbol I am so fond of: "¿" 8)

User avatar
Oberlus
Cosmic Dragon
Posts: 5715
Joined: Mon Apr 10, 2017 4:25 pm

Re: Ninth game on the multiplayer slow game server

#184 Post by Oberlus »


User avatar
Oberlus
Cosmic Dragon
Posts: 5715
Joined: Mon Apr 10, 2017 4:25 pm

Re: Ninth game on the multiplayer slow game server

#185 Post by Oberlus »

Also, FYI, happiness fix is not expected to work on Exobots, so they will have that 5 turns delay before growing PP/RP meters.

ThinkSome
Psionic Snowflake
Posts: 460
Joined: Sun Mar 29, 2020 11:13 pm

Re: Ninth game on the multiplayer slow game server

#186 Post by ThinkSome »

Code: Select all

wget https://patch-diff.githubusercontent.com/raw/freeorion/freeorion/pull/2863.patch
wget https://patch-diff.githubusercontent.com/raw/freeorion/freeorion/pull/2859.patch
patch -p1 < 2863.patch
patch -p1 < 2859.patch

Magnate
Space Dragon
Posts: 425
Joined: Sat Nov 08, 2014 3:44 pm

Re: Ninth game on the multiplayer slow game server

#187 Post by Magnate »

Oberlus wrote: Fri Apr 17, 2020 10:27 am
Magnate wrote: Fri Apr 17, 2020 10:26 am Do we need any client changes?
Yes:
https://patch-diff.githubusercontent.co ... 2863.patch and https://patch-diff.githubusercontent.co ... 2859.patch
Hmmkay, anyone know an idiot's guide to applying a patch in Windows? I can do it on Linux but am (shamefully) still in Windows at the moment...

User avatar
Oberlus
Cosmic Dragon
Posts: 5715
Joined: Mon Apr 10, 2017 4:25 pm

Re: Ninth game on the multiplayer slow game server

#188 Post by Oberlus »

Magnate wrote: Fri Apr 17, 2020 11:10 am
Oberlus wrote: Fri Apr 17, 2020 10:27 am
Magnate wrote: Fri Apr 17, 2020 10:26 am Do we need any client changes?
Yes:
https://patch-diff.githubusercontent.co ... 2863.patch and https://patch-diff.githubusercontent.co ... 2859.patch
Hmmkay, anyone know an idiot's guide to applying a patch in Windows? I can do it on Linux but am (shamefully) still in Windows at the moment...
I had to look for my own idiot's guide to apply patches in git (linux in my case).

But you can just focus on this:

Edit default/scripting/ship_parts/targetting.macros and change this

Code: Select all

COMBAT_TARGETS_PLANET_WITH_DEFENSE
'''         And [
             Planet
             Or [
               Not Shield high = 0
               Not Defense high = 0
               Not Construction high = 0  // ADD THIS LINE
             ]
         ]
'''
Edit default/scripting/species/common/happiness.macros and add this piece of code in the file (it's a new EffectsGroup):

Code: Select all

        EffectsGroup
            scope = Source
            activation = And [
                Planet
                (Source.LastTurnConquered < CurrentTurn - 5)
                Stockpile high = 0
            ]
            effects = SetHappiness value = max(Value,
                1*(Statistic If Condition = And [Target Planet environment = Poor]) +
                2*(Statistic If Condition = And [Target Planet environment = Adequate]) +
                4*(Statistic If Condition = And [Target Planet environment = Good]))

ThinkSome
Psionic Snowflake
Posts: 460
Joined: Sun Mar 29, 2020 11:13 pm

Re: Ninth game on the multiplayer slow game server

#189 Post by ThinkSome »

hand-editing is a failed approach as the content checksums must match exactly.

User avatar
Oberlus
Cosmic Dragon
Posts: 5715
Joined: Mon Apr 10, 2017 4:25 pm

Re: Ninth game on the multiplayer slow game server

#190 Post by Oberlus »

ThinkSome wrote: Fri Apr 17, 2020 11:39 am hand-editing is a failed approach as the content checksums must match exactly.
No. It's perfectly fine.

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Ninth game on the multiplayer slow game server

#191 Post by o01eg »

ThinkSome wrote: Fri Apr 17, 2020 11:39 am hand-editing is a failed approach as the content checksums must match exactly.
No, checksum is calculated on parsed structures.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

ThinkSome
Psionic Snowflake
Posts: 460
Joined: Sun Mar 29, 2020 11:13 pm

Re: Ninth game on the multiplayer slow game server

#192 Post by ThinkSome »

Oh, ok. ... strange approach.

User avatar
Oberlus
Cosmic Dragon
Posts: 5715
Joined: Mon Apr 10, 2017 4:25 pm

Re: Ninth game on the multiplayer slow game server

#193 Post by Oberlus »

ThinkSome wrote: Fri Apr 17, 2020 12:24 pm Oh, ok. ... strange approach.
Quite the opposite.

User avatar
swaq
Space Dragon
Posts: 384
Joined: Tue Aug 20, 2019 1:56 pm

Re: Ninth game on the multiplayer slow game server

#194 Post by swaq »

Oberlus wrote: Fri Apr 17, 2020 10:29 am Also, FYI, happiness fix is not expected to work on Exobots, so they will have that 5 turns delay before growing PP/RP meters.
This is incorrect, it should work for Exobots. It's just the xenophobic malus which can't apply to NO_STOCKPILE species which I believe doesn't apply to Exobots anyway.

User avatar
Oberlus
Cosmic Dragon
Posts: 5715
Joined: Mon Apr 10, 2017 4:25 pm

Re: Ninth game on the multiplayer slow game server

#195 Post by Oberlus »

swaq wrote: Fri Apr 17, 2020 1:46 pm
Oberlus wrote: Fri Apr 17, 2020 10:29 am Also, FYI, happiness fix is not expected to work on Exobots, so they will have that 5 turns delay before growing PP/RP meters.
This is incorrect, it should work for Exobots. It's just the xenophobic malus which can't apply to NO_STOCKPILE species which I believe doesn't apply to Exobots anyway.
Ah, OK. I was understanding the effect the other way round. So the problem is that for Exobots it will be applying nonstop. Quite more bearable for me in my current doomed situation :D

Post Reply