Search found 241 matches

by Kossatx
Sun Jan 24, 2021 1:10 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Austria dead event crash
Replies: 8
Views: 1456

Austria dead event crash

Hi people, any idea about why the game crashes? The crash: [02:05:40][10472]game/game_events.lua:16782(global AustriaDead) game/game_events.lua:16782: attempt to perform arithmetic on field 'artillery' (a nil value) The function: function AustriaDead() local austria = game:GetFactionById(3) local it...
by Kossatx
Sun Sep 27, 2020 9:32 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: AI incapacity to conquer fortresses
Replies: 2
Views: 1264

Re: AI incapacity to conquer fortresses

Well, this option in function "ResolveCombat(attacker, defender)" works a better way: -- Damage unit hp if defender.hex.construction ~= nil then attacker:Damage(attackerLosses * 2) defender:Damage(defenderLosses * 2) else attacker:Damage(attackerLosses) defender:Damage(defenderLosses) end ...
by Kossatx
Sat Sep 26, 2020 2:51 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: AI incapacity to conquer fortresses
Replies: 2
Views: 1264

AI incapacity to conquer fortresses

I've finnished a complete 63 tuns game of my variation of POTZBLITZ MOD. The experience has been very good :D The only problem I will have to solve is the AI incapacity to conquer fortifications and key cities, with the exception of overwhelming superiority as Belgium invasion or other bonused situa...
by Kossatx
Fri Sep 25, 2020 7:41 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Tech crash
Replies: 6
Views: 1461

Re: Tech crash

It works! :D How have you learned to mod lua files so fine? In my variant of Potzblitz MOD Italy neither begins with Cavalry Corps, but IA build them sometimes. I think IA takes in account many variables of units.lua file to decide which units to build.
by Kossatx
Thu Sep 24, 2020 7:53 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Tech crash
Replies: 6
Views: 1461

Re: Tech crash

EDITED:

All the answers are YES, the crash happened in turn 42, while IA (Entente) attacking near Udine. An Italian Cavalry Corps attacking an Austrian Army Corps at hex 100, 34. I have tried to fix the crash, but I have no idea :idea:
by Kossatx
Thu Sep 24, 2020 4:49 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Tech crash
Replies: 6
Views: 1461

Tech crash

Hi pals, any idea about this crash? [18:38:57][8472]game/game_research.lua:861(global HasUnitTech) game/game_research.lua:861: attempt to index field 'luaData' (a nil value) [18:38:57][8472]Resume: false, std::exception: 'Lua Error:game/game_research.lua:861(global HasUnitTech) game/game_research.lu...
by Kossatx
Wed Sep 23, 2020 1:53 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Repairing units
Replies: 2
Views: 1211

Re: Repairing units

The repair penalty is not for simply being on enemy hexes, but for being on enemy hexes in difficult terrain , namely dunes, deserts, swamps, mountains, rough. function GetRepairCost(unit) in game_repair.lua Ok, I thought it was a general penalty for being in enemy territory :mrgreen: Thanks Robotr...
by Kossatx
Wed Sep 23, 2020 9:01 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Repairing units
Replies: 2
Views: 1211

Repairing units

Hi again, ¿any idea about where is the function which penalizes repairing units in enermy original hexes? :?:
by Kossatx
Wed Sep 16, 2020 4:36 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Where the hell this unit gets out?
Replies: 12
Views: 2166

Re: Where the hell this unit gets out?

Ok, undestood Robotron, thanks a lot :D
by Kossatx
Wed Sep 16, 2020 10:42 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Where the hell this unit gets out?
Replies: 12
Views: 2166

Re: Where the hell this unit gets out?

And a third chapter for the thread... I'm looking for the script where "GallipoliStraits" event is triggered. I can't find it neither events, diplomacy or popups files. Any idea about it?
by Kossatx
Sun Sep 06, 2020 12:12 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Potzblitz V24.2b JAN 1st 2024
Replies: 3239
Views: 384932

Re: NEW UPDATE 11.1! AUG1st 2020

Attached to this post is a script fix. It will deal with the crash which is caused by the AI having no friendly coast on which to land. Apply this just like a normal update: copy it over the DATA folder in the game's main folder. Hi Robotron, this file is an advanced update? We can apply it over ou...
by Kossatx
Sun Aug 30, 2020 5:34 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Potzblitz V24.2b JAN 1st 2024
Replies: 3239
Views: 384932

Re: NEW UPDATE 11.1! AUG1st 2020

Otherwise, I don't have any problem to send Goeben and Breslau to Turkey :) Tell me if you need more information or if I can help you ! At last I found my error. I thought it was possible to send Goeben to Turkey without using "Kaiser's gold" event, but I was wrong, you must use it before...
by Kossatx
Sun Aug 30, 2020 3:42 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Where the hell this unit gets out?
Replies: 12
Views: 2166

Re: Where the hell this unit gets out?

Robotron wrote: Sun Aug 30, 2020 2:56 pm You missed the Spawns in popups.lua
I haven't idea about this file, thanks Robotron!
by Kossatx
Sun Aug 30, 2020 2:00 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Where the hell this unit gets out?
Replies: 12
Views: 2166

Re: Where the hell this unit gets out?

Let me please a second chapter for "Where the hell this unit gets out?" thread. If I've changed all the "spawns" linked to battlecruiser Goeben from "26" to "6" as you can see below (in "game_events" and "game_diplomacy"), why the unit stil...
by Kossatx
Sat Aug 29, 2020 2:37 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Army upkeep in other theatres
Replies: 13
Views: 2219

Re: Army upkeep in other theatres

Yes, I know how "ConsumeProductionPoints" command works with the "-", no matter, the script probably seems a bit weird but it works the way I want :D ------ ChristmasTruce() Mud() OffMapUpkeep() ----<<<<------ this will trigger your function Storm() RussianPorts() ---- And this g...
by Kossatx
Sat Aug 29, 2020 12:41 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Army upkeep in other theatres
Replies: 13
Views: 2219

Re: Army upkeep in other theatres

I'm repeating myself: Do not use it. This is already included in the modified Getupkeep function. I'm not sure if I missunderstood you, I know both scripts you have done solve the Russian Far East issue, so I don't have to use both as you have written them. What I say is I will use bot but modifyin...
by Kossatx
Sat Aug 29, 2020 11:55 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Army upkeep in other theatres
Replies: 13
Views: 2219

Re: Army upkeep in other theatres

You are supposed to use either one or the other. Not both! :? If you use both, then PP for upkeep will be deducted twice! :roll: The first short function will just reduce PP but the higher upkeep will NOT show on the management screen. Do not use it. The second, modified version of function GetUpke...
by Kossatx
Sat Aug 29, 2020 9:19 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Potzblitz V24.2b JAN 1st 2024
Replies: 3239
Views: 384932

Re: NEW UPDATE 11.1! AUG1st 2020

I've been thinking about the lack of a video clip to play on the Campaign selection screen for PotzBlitz. You might like to know I did a YT clip 10 years ago for a visualization of a conceptual radio play called "Deutsche Krieger" ("German Warriors") by award-winning Austrian pr...
by Kossatx
Sat Aug 29, 2020 9:08 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Army upkeep in other theatres
Replies: 13
Views: 2219

Re: Army upkeep in other theatres

It's difficult to explain accuratelly, but finally I'll use both scripts, the "upkeep" script for nations wich all PP are represented in the map, and the "ConsumeProductionPoints" for the rest. The "upkeep" script works fine, but not the other. I'm not sure where in &qu...
by Kossatx
Fri Aug 28, 2020 9:49 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Army upkeep in other theatres
Replies: 13
Views: 2219

Re: Army upkeep in other theatres

Robotron wrote: Fri Aug 28, 2020 8:40 pm Hey, wait, I've also given you the solution for your problem in the modified GetUpkeep function in my last post, did you even give it a try? 8)

Nobody ever listens to me! :mrgreen:
Oh! Great! I'll give you feedbak tomorrow :D

Go to advanced search