Im Szenario PAE_PeloponnesianWar ist PROMOTION_GUERILLA_DOUBLEMOVE bei 5 Einheiten vermerkt. Die Beförderung gibt es nicht mehr. Das dürfte auch den von mir geposteten Python-Fehler bei den Szenario auslösen.
Zu diesem Zweck liegt unter PrivateMaps das SearchMissing.sh-Skript. Auch wenn ich grad zu blöd bin, das auszuführen
Wie komm ich eigentlich an das RandLog?
€: gefunden, MPLog ist der Name.; Enable the logging system
LoggingEnabled = 1
; Enable synchronization logging
SynchLog = 1
; Overwrite old network and message logs
OverwriteLogs = 0
; Enable rand event logging
RandLog = 1
; Enable message logging
MessageLog = 1
So, die Ausschnitte aus dem MPLog, als der OOS auftrat. dummy ist irgendein Aufruf von uns, dem ich noch keinen Namen gegeben hab. Auffällig ist aber, dass das erste "NICHT SYNCHRON" noch den gleichen Seed nennt. Daraus würd ich schließen, dass irgendwas auseinanderläuft, was garnichts mit Zufallsereignissen zu tun hat
Rand = 1461834210 on 1608 (Combat)
Rand = 505768307 on 1608 (Combat)
Rand = -33480656 on 1608 (dummy)
Rand = -1534062756 on 1608 (dummy)
Rand = 858571365 on 1608 (dummy)
Rand = 1276285931 on 1608 (AI Worker build Fort with Priority)
Rand = 532464968 on 1608 (AI Worker build Fort with Priority)
Rand = -450093087 on 1608 (AI Worker build Fort with Priority)
***** NICHT SYNCHRON! MEIN RANDOM SEED = 909560832: MY OPTIONS SEED = 36909633 *****
Rand = 26152871 on 1612 (OOS Log)
Rand = 2017377679 on 1612 (OOS Log)
***** NICHT SYNCHRON! MEIN RANDOM SEED = 1575105536: MY OPTIONS SEED = 36909633 *****Rand = 1461834210 on 1608 (Combat)
Rand = 505768307 on 1608 (Combat)
Rand = -33480656 on 1608 (dummy)
Rand = -1534062756 on 1608 (dummy)
Rand = 858571365 on 1608 (dummy)
Rand = 1276285931 on 1608 (AI Worker build Fort with Priority)
Rand = 532464968 on 1608 (AI Worker build Fort with Priority)
Rand = -450093087 on 1608 (AI Worker build Fort with Priority)
***** NICHT SYNCHRON! MEIN RANDOM SEED = 909560832: MY OPTIONS SEED = 36909633 *****
Rand = 26152871 on 1612 (OOS Log)
Rand = 2017377679 on 1612 (OOS Log)
***** NICHT SYNCHRON! MEIN RANDOM SEED = 1575105536: MY OPTIONS SEED = 36909633 *****
Entweder es wurde eine von „Pie's Zufallszahlen“ verbraucht, die (falls du sie nicht zu 100% ersetzt hast) im MPLog-Keinen Eintrag produzieren,
oder es wird eine Modifikation des Spielzustandes vorgenommen, die gar nicht von den Zufallszahlen abhängt.
Die SEEDs sind ja auf beiden Seiten weiterhin gleich. Nur der Spielzustand passt nicht mehr.
Die random.randint hab ich zu 100% rausgenommen aktuell.
456 Vorkommnisse von myRandom, davon 455 CvUtil.myRandom und 1 def myRandomPHP-Code:
def myRandom (num, txt="dummy"):
return gc.getGame().getSorenRandNum(num, txt)
# if num <= 1: return 0
# else: return random.randint(0, num-1)
Dann ist das was, was nicht von den Zufallszahlen abhängt. Geworfene Ausnahmen kommen da noch als Ursache in Frage. In Base gab es mal ein paar OOSs durch Ausnahmen.
Macht die Sache nicht leichter, wenn es alles außer den Zufallszahlen sein kann. :hm:
Es können doch noch Zufallszahlen sein Manche Aufrufe haben noch das None drin, und werden deshalb nicht gelogged.
So sollte das umgangen werden:
PHP-Code:
def myRandom (num, txt="dummy"):
if txt is None:
txt = "dummyNone"
return gc.getGame().getSorenRandNum(num, txt)
- Number of cultivable resources per city. If a resource is in the middle of several cities, all have that resource as theirs.
For example:
The pigs.
Ravena has the pigs (it is working the pigs), and it has a 2/1 (pigs and sheeps), but
Tarentum has pigs, so 2/1 (pigs and wheat)
Cuma has pigs too, 1/1.
What would be the solution? I have thought of moving the pigs, 1S of tarentum. Here it works but with other resources will be a problem
That's intentional. We discussed whether mutual ressources should count against the limits of all cities with access to them or not and came to this conclusion, because otherwise many more ressources could be cultivated.
E.g.:
you could assign sheep and pigs to Ravenna,
cultivate Pigs on Cuma-22,
assign them to Ravenna,
cultivate Pigs on Cuma-3,
assign them to Tarentum,
cultivate Pigs on Cuma-2 and so on
If you don't count actual assignment but potential assignment, it's not as bad, but still. We also discussed that variant: if any one city in range of the plot has less ressources in it's influence zone than its limit, we can cultivate. Not actually sure, why the other variant is in use know. I think that were still to many ressources in some tightly settled regions.
Yes. You can pick it up and cultivate on another plot.
and yes,.. 9 resources in middle of 3 cities! => would be crazy!
and.... it's the own decision to put 3 cities so close together... disadvantage/advantage
Pie's Ancient Europe (PAE)
Erlebe mit dieser CIV IV Mod(ifikation) hautnah das Zeitalter der Antike bis ins letzte Detail!
Mit bahnbrechenden Erweiterungen und vielen ein- und erstmaligen Features.
- Pie's Ancient Europe (letztes Update: 22.12.2022)
... im Übrigen bin ich der Meinung, dass Karthago wieder aufgebaut werden muss!
Pie's Ancient Europe (PAE)
Erlebe mit dieser CIV IV Mod(ifikation) hautnah das Zeitalter der Antike bis ins letzte Detail!
Mit bahnbrechenden Erweiterungen und vielen ein- und erstmaligen Features.
- Pie's Ancient Europe (letztes Update: 22.12.2022)
... im Übrigen bin ich der Meinung, dass Karthago wieder aufgebaut werden muss!
Ok, bleibt dabei:
Da hatte sich kein ungeloggter Rand-Aufruf mehr versteckt.Rand = 623516529 on 774 (dummy)
Rand = -1850716842 on 774 (dummyNone)
Rand = 1713721815 on 774 (AI Worker build Fort with Priority)
Rand = -1071805756 on 774 (AI Worker build Fort with Priority)
***** NICHT SYNCHRON! MEIN RANDOM SEED = -702414848: MY OPTIONS SEED = 43202009 *****