WitpStaff questions and suggestions here please (read the first post!)

Post bug reports and ask for help with other issues here.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by n01487477 »

ORIGINAL: jamesm

ORIGINAL: n01487477

ORIGINAL: jamesm

I recently had to rebuild my system. After installing the latest version of Java, I try to initiate a new DB and get the following error message:

Image

Can anyone recommend a fix for this?
What version of staff and java are you using ? The latest iirc is 0.8 & it CAN'T use 6.18 java
0.8

Where can I get the older version of Java?
See these messages in this thread ...
fb.asp?m=2363701
fb.asp?m=2377518
User avatar
morleron1225
Posts: 118
Joined: Thu Dec 28, 2006 10:05 pm
Contact:

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by morleron1225 »

OK. So I re-installed the 6_17 version of Java on my PC: in a separate location from the standard version and WiTP Staff came up and initialized the db with no problem. I then initiated a batch load of the data and that went fine for a while. It then failed with the error message: "Couldn't write things to the DB due to:..." see attached screen shot. What is the cause of this and is there any work-around for it? I like WiTP Staff but am beginning to think that it's more trouble than it's worth because of all of the Java-related errors that keep cropping up with it. Is there any chance that WiTP Staff will be updated to reflect the latest changes to both the game and the Java language? If the original developers can no longer maintain the program is there any chance of releasing the code under the Open Source GPL so that the community can take over the task of keeping it updated?



Image
Attachments
WiTPStaffError.jpg
WiTPStaffError.jpg (196.4 KiB) Viewed 830 times
Free men do not ask permission to bear arms.
GnuPG public key available at: pgp.mit.edu
User avatar
pompack
Posts: 2585
Joined: Sun Feb 08, 2004 1:44 am
Location: University Park, Texas

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by pompack »

Check to insure that the game dates in the batch are successive with no duplicates.

OTOH, I have found it to be less trouble in the long run to do the updates one at a time instead of in batch. That way if something goes wrong you know which file did it
Rainer
Posts: 1210
Joined: Tue Nov 21, 2000 10:00 am
Location: Neuching, Bavaria, Germany

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by Rainer »

Same here.
Pompack's advice does not cure the problem.
I believe the program can't cope with the patched versions.
WitP/AE
1.7.11.26b
Data base changes by Andy Mac October 16, 2012
Scen #1 Allied vs AI Level Hard Daily Turns
Art Mods by TomLabel and Reg
Topo Map by chemkid

WitW / Torch
1.01.37 - 1.01.44 beta
User avatar
pompack
Posts: 2585
Joined: Sun Feb 08, 2004 1:44 am
Location: University Park, Texas

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by pompack »

Could be. I am patched to 1106c, the latest official patch; I have not installed the latest beta.

OTOH, I am usually working quite well with that patch level. I have found that about once a month, for reasons unknown, I get that error. When I do, I restart Staff and try to load the turn again and it has always worked.
User avatar
morleron1225
Posts: 118
Joined: Thu Dec 28, 2006 10:05 pm
Contact:

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by morleron1225 »

ORIGINAL: pompack

Check to insure that the game dates in the batch are successive with no duplicates.

OTOH, I have found it to be less trouble in the long run to do the updates one at a time instead of in batch. That way if something goes wrong you know which file did it

Thanks. I tried loading the files one at a time and it worked like a champ. While this is good I'm the type that isn't happy with what seems like "voodoo tech support" - such as the need to reboot Windows PCs to "fix" some problem. While things are working now I'd be a lot happier if someone could explain why loading the files one at a time works, but the batch load fails. I suppose that comes from having been a Unix sysadmin for a long time and knowing that OS pretty much inside-out. Anyway, it's working now so I won't look a gift horse in the mouth too hard. [;)]
Free men do not ask permission to bear arms.
GnuPG public key available at: pgp.mit.edu
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by n01487477 »

ORIGINAL: morleron1
... Is there any chance that WiTP Staff will be updated to reflect the latest changes to both the game and the Java language? If the original developers can no longer maintain the program is there any chance of releasing the code under the Open Source GPL so that the community can take over the task of keeping it updated?
Just like WitpTracker, WitpStaff is under a NDA so it will never be released as open source. I haven't seen Marcus online for quite a while ... I think the program works as is, but there will be little to no additional support except when he gets time. As for taking over the program PM him and then get a NDA signed if the Matrix/HF dev's allow.

Tracker has ongoing support, but I realise that some guys want a simple program to help them rather than the behemoth Floyd and I have programmed.

Good luck with it ...

PS. Tracker 1.6 is about to be released [;)]
Gormadoc
Posts: 31
Joined: Tue Mar 18, 2008 12:58 pm

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by Gormadoc »

EDIT: Nevermind
findmeifyoucan
Posts: 579
Joined: Wed Oct 14, 2009 3:11 pm

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by findmeifyoucan »

Is there any difference between the latest Beta patch 1.01.06g and the Official Public Update Patch 1.01.06g for WIPAE? In other words should I bother installing the Official Update since I have already installed the latest Beta Patch?
User avatar
perkinh
Posts: 181
Joined: Sun Feb 07, 2010 2:27 am
Location: Central, NC

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by perkinh »

I cant seem to start a game. I get to the scenario selection screen, but i get no option to start game. I get 3 buttons....

" Historical Briefing"

" Scenario Selection"

" Main Menu"

They all take me back to thye scenario selection and preference screen.
One of the serious problems in planning the fight against American doctrine.... is that the Americans do not read their manuals, nor do they feel any obligation to follow their doctrine
findmeifyoucan
Posts: 579
Joined: Wed Oct 14, 2009 3:11 pm

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by findmeifyoucan »

That is because you need to actually select a scenerio before you can start a game in the "Scenerio Selection Area". lol :-)
User avatar
perkinh
Posts: 181
Joined: Sun Feb 07, 2010 2:27 am
Location: Central, NC

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by perkinh »

I thought of that...[:D]

But still nothing there, i got to get a screenie somehow.
One of the serious problems in planning the fight against American doctrine.... is that the Americans do not read their manuals, nor do they feel any obligation to follow their doctrine
findmeifyoucan
Posts: 579
Joined: Wed Oct 14, 2009 3:11 pm

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by findmeifyoucan »

Maybe you need to reinstall game then. It should be simple. You go to select scenerio, and left click on one of the scenerio's then select, "SELECT SCENERIO"on bottom left of screen and then on the right you should be able to select "START GAME" on the right hand side on a new screen.
User avatar
perkinh
Posts: 181
Joined: Sun Feb 07, 2010 2:27 am
Location: Central, NC

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by perkinh »

Thanks...i had to reload game, i could never get the " start game " button. Ok after reload.
One of the serious problems in planning the fight against American doctrine.... is that the Americans do not read their manuals, nor do they feel any obligation to follow their doctrine
johnjohn
Posts: 186
Joined: Sat Sep 18, 2010 12:48 am
Location: Arvada, CO

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by johnjohn »

I just purchased a new computer and installed from disk and then updated to newest version. I cannot get the interface with the map to work. Everything is jibberish with only parts of information showing. Did not have this problem on Vista laptop. The program also takes forever to load or to switch screens. Instead of being faster on a faster machine, IT IS EXTREMELY SLOW. I am disappointed at the performance of the game, which BTW, I cannot get to close--I have to use the task manager to shut it down. I know this is a good game, but this is essentially non functioning right now. What do I do next? And keep in mind I am not a code master. If I have to write code, we are done.
johnjohn
Posts: 186
Joined: Sat Sep 18, 2010 12:48 am
Location: Arvada, CO

RE: WitpStaff questions and suggestions here please (read the first post!)What is a "WitPStaff"?

Post by johnjohn »

Additionally, it is a gaming computer using Windows 7. I read about cpu switches for the faster computers, but that makes no sense to me.
pmattiasn
Posts: 86
Joined: Fri Dec 07, 2007 8:29 am
Location: Stockholm

RE: WitpStaff questions and suggestions here please

Post by pmattiasn »

ORIGINAL: michaelm

For those with a bit of PC savvy, you can download the JAVA JRE for u17 (jre-6u17-windows-i586.exe from SUN Java) and install it as a separate installation by selecting "Change Destination Folder" in the lower left of the Java install screen.
Click 'Install' and continue with the installation and it will install this version of JAVA in C:\Program Files\Java\jre1.6.0_17 on your PC.

Then go to the Witpstaff directory in AE and edit the file 'witpStaff.bat' and change the java line to:
C:\"Program Files"\Java\jre1.6.0_17\bin\java -Djava.library.path=. -jar witpdecoder2.jar
and save it. The ""s are needed because of the space between Program and Files.

Clicking on this will now run with java version 17 and you wont get the 'DATE' error.

Any programs that use JAVA will still work with the latest version (18).


Hi,

after having gone through this entire thread I found this which nicely solved the problem. Good one for us poor souls who, while having engineering degrees, do have it in fields other than computer science... It worked like charm when I tested it on a new scen 2 and one fresh savegame.

However - when I try to do what I actuall wanted to do, which is to use staff to finally get a grasp of my ongoing (allied vs AI) da babes campaign going into ´44 to keep track of the thousands of units now under my command I can't load a savegame. DB initialised ok but when I try to load a file I get an error. Is it compability error with the custom scen or is it my computer illiteracy that is the culprit?

/Mattias



Image
Attachments
Capture.gif
Capture.gif (24.18 KiB) Viewed 830 times
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: WitpStaff questions and suggestions here please

Post by michaelm75au »

I think it is a scenario issue - trying to access something out of scope of the array.
Michael
pmattiasn
Posts: 86
Joined: Fri Dec 07, 2007 8:29 am
Location: Stockholm

RE: WitpStaff questions and suggestions here please

Post by pmattiasn »

Hm. I see. Without actually knowing what the error message says it seems to have something to do with unit names, arrival dates etc.

Is there a list somewhere of which scen's do not work well with staff?

Thanks,
Mattias
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitpStaff questions and suggestions here please

Post by n01487477 »

ORIGINAL: PMN

Hm. I see. Without actually knowing what the error message says it seems to have something to do with unit names, arrival dates etc.

Is there a list somewhere of which scen's do not work well with staff?

Thanks,
Mattias
If you read the first page Marcus stated that witpStaff does not work with most(all) of the small scenario's - and I'd say that any mods which are out of left field may have trouble (as MichealM) stated. I do believe that all the official scenario's do work however. Why don't you test them and provide some support ? [;)]
Post Reply

Return to “Tech Support”