Matrix Games Forums

Buzz Aldrins Space Program Manager is now available!Space Program Manager gets mini-site and Twitch SessionBuzz Aldrin: Ask Me Anything (AMA) on redditDeal of the week Fantasy Kommander: Eukarion WarsSpace Program Manager Launch Contest Announced!Battle Academy 2 is out now on iPad!A closer look at rockets in Space Program ManagerDeal of the Week - Pride of NationsA new update for Piercing Fortress EuropaNew screenshots for War in the West!
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: Random Battle and Campaign Generator Mod

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> Panzer Command: Ostfront >> Maps, Models and Mods >> RE: Random Battle and Campaign Generator Mod Page: <<   < prev  1 [2]
Login
Message << Older Topic   Newer Topic >>
RE: Random Battle and Campaign Generator Mod - 7/5/2011 12:25:49 PM   
dazoline II


Posts: 376
Joined: 11/5/2007
Status: offline
As the game stands now no, unless I misunderstand how units are treated when not appearing in a battle I.E. they lose any campaign information when apearing after a pause of one or more battles. I base my understanding from a thread between Mad Russian and ComradeP where ComradeP asked a very similar question, course now I can't find the thread.






_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to 76mm)
Post #: 31
RE: Random Battle and Campaign Generator Mod - 7/6/2011 5:33:16 AM   
76mm


Posts: 2141
Joined: 5/2/2004
From: Moscow
Status: offline
But it seems like by modifying the xml files, you could fool the computer so that it didn't know that a unit hadn't participated in a battle?

In other words, units A, B, and C participate in a battle; Units A and B participate in a second battle. Then units A, B, and C participate in a third battle. Wouldn't it be possible to paste the unit C data from Battle 1 into the file with the Unit A and B data from Battle 2, and continue with Battle 3? Or would this be harder than it sounds (or even impossible)?


(in reply to dazoline II)
Post #: 32
RE: Random Battle and Campaign Generator Mod - 7/6/2011 5:41:43 AM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
Not possible. The data is encrypted.

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to 76mm)
Post #: 33
RE: Random Battle and Campaign Generator Mod - 7/24/2011 9:30:29 PM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
Bumping this over the old version thread.

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to junk2drive)
Post #: 34
RE: Random Battle and Campaign Generator Mod - 7/27/2011 3:36:57 AM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
dazoline can you check your version after installing the beta patch? I am getting script errors with the campaign generator. This is on the new computer so it could be something else. I don't remember if I have done a campaign with your mod on this computer.

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to junk2drive)
Post #: 35
RE: Random Battle and Campaign Generator Mod - 7/27/2011 6:16:07 AM   
dazoline II


Posts: 376
Joined: 11/5/2007
Status: offline
Works for me.
If you keep getting it post a SS of the error.

_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to junk2drive)
Post #: 36
RE: Random Battle and Campaign Generator Mod - 7/31/2011 4:15:04 AM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
Today I uninstalled the game, installed and updated with the beta. I just ran your RCG for Soviet 7th. I click yes to continue running scripts
First error





Attachment (1)

< Message edited by junk2drive -- 7/31/2011 4:19:54 AM >


_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to dazoline II)
Post #: 37
RE: Random Battle and Campaign Generator Mod - 7/31/2011 4:16:35 AM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
When it starts to create the files I get this one for every step. I also get the Windows security popup asking me if I want to run this software





Attachment (1)

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to junk2drive)
Post #: 38
RE: Random Battle and Campaign Generator Mod - 7/31/2011 4:17:05 AM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
When it finishes I get this one





Attachment (1)

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to junk2drive)
Post #: 39
RE: Random Battle and Campaign Generator Mod - 7/31/2011 4:18:53 AM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
I click yes to the one above and the window just sits there. If I click anywhere on the window I get this. I then use the upper right x to close.





Attachment (1)

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to junk2drive)
Post #: 40
RE: Random Battle and Campaign Generator Mod - 8/8/2011 7:01:36 PM   
dazoline II


Posts: 376
Joined: 11/5/2007
Status: offline
Hi Junk,

My apologies for not seeing this earlier, I claim all the usual excuses such as my browser didn't register the change in the thread, too many things to do besides Ostfront and too many senior's moments.

Did you happen to get this fixed?

I installed the v0.2 on my system and ran it just now. It works for me with no errors on the 7th Russian RCG.
The first 2 errors mention comms.vbs which is still an OOTB file. I imagine the follow on errors in the PzCRCg.hta are results of the first two errors. Take a look at comms file as I include mine (2nd beta applied) here.

At this point I'm not sure what it could be.

Attachment (1)

_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to junk2drive)
Post #: 41
RE: Random Battle and Campaign Generator Mod - 8/9/2011 3:15:53 AM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
I haven't tried it since I posted these shots. I'll try again and see what happens. I did have a different version of the beta update than the public so maybe that is it.

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to dazoline II)
Post #: 42
RE: Random Battle and Campaign Generator Mod - 8/9/2011 3:59:12 AM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
I first made IE8 my default browser in case that was it. Still have the same errors.

quote:

The first 2 errors mention comms.vbs which is still an OOTB file. I imagine the follow on errors in the PzCRCg.hta are results of the first two errors. Take a look at comms file as I include mine (2nd beta applied) here.


I'm not a programmer and don't know where to look for this to compare. As long as the program still works and no one else is complaining we should let it go and wait for you to finish the next version.


_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to junk2drive)
Post #: 43
RE: Random Battle and Campaign Generator Mod - 8/9/2011 1:13:33 PM   
dazoline II


Posts: 376
Joined: 11/5/2007
Status: offline
The file is in Panzer Command Ostfront/Editor/comms.vbs.

Take a look at the modified date on your original file and see if its been altered. Mine has a date of 03/01/2009.
If it has a more recent date its been touched possibly corrupted. If that's true rename your file to something like comms.vbs.orig and put the file I included in my last post in the same directory and rename it comms.vbs.

Test by running the same RCG and then post results.

_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to junk2drive)
Post #: 44
RE: Random Battle and Campaign Generator Mod - 8/9/2011 1:37:54 PM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
Same date and same text.

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to dazoline II)
Post #: 45
RE: Random Battle and Campaign Generator Mod - 8/9/2011 2:15:10 PM   
dazoline II


Posts: 376
Joined: 11/5/2007
Status: offline
Did you ever run the OOTB generators from this install?

After reading a bit about vbs files seems they have to be saved as ANSI. Can you reopen your comms.vbs.orig file in notepad and ensure its saved as ANSI.
If its not save it as ANSI and re test.




_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to junk2drive)
Post #: 46
RE: Random Battle and Campaign Generator Mod - 8/9/2011 2:29:59 PM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
That seems to have fixed it. I think unicode is default but I don't remember where I saw that. Maybe a browser setting?

Also I turned off security checking on this program. Not sure if that did it instead of saving as ANSI.


_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to dazoline II)
Post #: 47
RE: Random Battle and Campaign Generator Mod - 8/9/2011 2:33:38 PM   
dazoline II


Posts: 376
Joined: 11/5/2007
Status: offline
Its a strange issue for sure.
Funny, XML files can have the same issue appear in them when saved as different text types from their declaration.

Good to see its fixed.

_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to junk2drive)
Post #: 48
RE: Random Battle and Campaign Generator Mod - 8/9/2011 2:50:42 PM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
What is OOTB?

Looking forward to testing your other projects.


_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to dazoline II)
Post #: 49
RE: Random Battle and Campaign Generator Mod - 8/9/2011 3:31:08 PM   
dazoline II


Posts: 376
Joined: 11/5/2007
Status: offline
Out of the box. Refers to default installed files.

_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to junk2drive)
Post #: 50
RE: Random Battle and Campaign Generator Mod - 8/9/2011 8:49:38 PM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
Thanks

Yes I did run the stock RCG without errors. Good to know for the future what this was.


_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to dazoline II)
Post #: 51
RE: Random Battle and Campaign Generator Mod - 12/6/2011 2:51:36 PM   
ComradeP

 

Posts: 7181
Joined: 9/17/2009
Status: offline
Seems the error is also there in the latest patch. I tried opening the comms.vbs file with notepad, saving it as ANSI, but the error persists.

Edit: using Dazoline's file fixed the comms.vbs issue.

< Message edited by ComradeP -- 12/6/2011 3:07:49 PM >


_____________________________

SSG tester
WitE Alpha tester
Panzer Corps Beta tester
Unity of Command scenario designer

(in reply to junk2drive)
Post #: 52
RE: Random Battle and Campaign Generator Mod - 12/6/2011 6:14:55 PM   
ComradeP

 

Posts: 7181
Joined: 9/17/2009
Status: offline
I did run into another problem, though. I wanted to play with Stugs in my starting core, but the battle file couldn't process the request for some reason. I used Stug IIIC as the unit ID, the way it's noted in the armoured units folder. After removing the Stugs, the random campaign with a different core was generated normally.

_____________________________

SSG tester
WitE Alpha tester
Panzer Corps Beta tester
Unity of Command scenario designer

(in reply to ComradeP)
Post #: 53
RE: Random Battle and Campaign Generator Mod - 12/6/2011 8:02:52 PM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
This is what is in the xml

<armouredunit type="StuG IIIC" side="German" mass="22000" size="-1"
stun="0" speed="120/240" turretrotation="" month="7" year="41"
points="32" movetype="4" horsepower="300" endservice="9/43" medservice="10/41"
medprev="5"

Did you use upper case G in the name?
Start date 7/41 end date 9/43 Did your campaign fall before or after these dates?


< Message edited by junk2drive -- 12/7/2011 1:34:52 AM >


_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to ComradeP)
Post #: 54
RE: Random Battle and Campaign Generator Mod - 12/6/2011 10:11:04 PM   
ComradeP

 

Posts: 7181
Joined: 9/17/2009
Status: offline
Hmm, maybe it was the availability date. I thought the availability date would be roughly the same date as the start of production.

I don't think the upper case matters, as many units are upper case in the armoured units folder but not in the core units .xml.

< Message edited by ComradeP -- 12/6/2011 10:14:24 PM >


_____________________________

SSG tester
WitE Alpha tester
Panzer Corps Beta tester
Unity of Command scenario designer

(in reply to junk2drive)
Post #: 55
RE: Random Battle and Campaign Generator Mod - 12/7/2011 1:25:38 AM   
dazoline II


Posts: 376
Joined: 11/5/2007
Status: offline
Upper case matters especially with unit type as its an identifier between XML files and the name of the file itself.

And looking in the ArmouredUnits/StuG IIIC.xml file its "StuG IIIC", at least mine is.

_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to ComradeP)
Post #: 56
RE: Random Battle and Campaign Generator Mod - 12/7/2011 1:34:37 AM   
junk2drive


Posts: 12905
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
I made a mistake in my post with the end date, it should say 9/43, sorry

I posted the contents of the xml for a reason. The xml name may not be the name of the unit. We call these outer names and inner names. I get bit by this all the time.

For example, the outer name of the xml is Pz Kpfw VI Tiger I Late but the inner name is Pz Kpfw VI Tiger IE. If you use the outer name it will crash.


_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to dazoline II)
Post #: 57
RE: Random Battle and Campaign Generator Mod - 12/7/2011 10:38:31 AM   
ComradeP

 

Posts: 7181
Joined: 9/17/2009
Status: offline
And where do I find those correct names?

Can't say I like the fact that some of the names in the armoured units folder are wrong in that case.

Why is, for example, the Panzer IIIH called PZ KPWFW IIIH on the folder, Pz KpfW IIIH in the compendium.png in that folder, but PZ_IIIH on the models? Why not use a single standardized name so everything would be clear instead of confusing?

< Message edited by ComradeP -- 12/7/2011 10:41:20 AM >


_____________________________

SSG tester
WitE Alpha tester
Panzer Corps Beta tester
Unity of Command scenario designer

(in reply to junk2drive)
Post #: 58
RE: Random Battle and Campaign Generator Mod - 12/7/2011 12:52:25 PM   
dazoline II


Posts: 376
Joined: 11/5/2007
Status: offline
I doubt the original producers of the game had that as a requirement and getting the XML up to spec as in simplifing it would be a major effort for no gain in playability.


_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to ComradeP)
Post #: 59
Page:   <<   < prev  1 [2]
All Forums >> [Current Games From Matrix.] >> [World War II] >> Panzer Command: Ostfront >> Maps, Models and Mods >> RE: Random Battle and Campaign Generator Mod Page: <<   < prev  1 [2]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.103