User avatar
MikeV
Sergeant
Posts: 83
Joined: Tue Jul 14, 2009 11:13 pm
Location: Sunny Melbourne FL USA

Deployment Widget Defect

Tue Nov 19, 2013 10:23 pm

There's definitely a recurring bug in the deployment action:
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

deploy-bug.jpg

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Fri Nov 22, 2013 11:06 am

When this error happened, when you opened the stack of wagons or before? It seems there was a problem before, perhaps in hosting.

What is the O/S you are using, seems to be an old one.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
MikeV
Sergeant
Posts: 83
Joined: Tue Jul 14, 2009 11:13 pm
Location: Sunny Melbourne FL USA

Read The Friendly Message

Sat Nov 23, 2013 4:20 pm

Happens when attempting the drag from the lower unit panel widget.
Critical section of log file is the end:

Code: Select all

4:11:06 PM  [Warning  ]  Supply                                42 4 0
4:11:06 PM  [Warning  ]  Supply                                42 4 0
4:11:06 PM  [Critical ]  TListUnitDefs.Get                     ListUnitDefs Index out of range (Index/MaxIndex): -1 1137
4:19:50 PM  [Warning  ]  TGUIRecruitPanel.OnEnterUnitDef       Unable to fetch unit definition

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Mon Nov 25, 2013 11:15 am

can you send me the current game, so I can see if this is reproducible?
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
MikeV
Sergeant
Posts: 83
Joined: Tue Jul 14, 2009 11:13 pm
Location: Sunny Melbourne FL USA

Attached Save Files Archive

Mon Nov 25, 2013 4:21 pm

PM doesn't allow me to send attachments, so I've included one below.
Attachments
1861 Campaign 1863.zip
(3.98 MiB) Downloaded 291 times

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Mon Nov 25, 2013 4:31 pm

I don't have the same units available as you. I have a timberclad and a flatboat, you get two wagons. I can build both units also. It seems that's either a modded game or the database has some errors from unknown reason. Sadly I don't see how I can reproduce your bugs, if we don't have the same units both. If someone want to tell us if they see wagons or boats, this might help though.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
MikeV
Sergeant
Posts: 83
Joined: Tue Jul 14, 2009 11:13 pm
Location: Sunny Melbourne FL USA

Modded files

Mon Nov 25, 2013 4:33 pm

Sorry for any confusion.
Here are the files I modded (diff vs. the nppBackup sub-directories for the exact changes).
I cut out as much as I could, to get it under the upload file size limit.
Attachments
CW2-MikeV.zip
(4.03 MiB) Downloaded 396 times

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Tue Nov 26, 2013 10:06 am

I'm probably one of the few developers on earth willing to debug a modded game ;)

I replaced the vanilla units and models with yours and got an error when trying to load a brand new game (meaning your database is not vanilla compatible)... For me that the line I have to trace in the sand, the error is probably coming from your mod. If you get again this interface bug with an un-modded game, I can check it though.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
Ol' Choctaw
Posts: 1642
Joined: Sat Feb 19, 2011 7:13 pm

Tue Nov 26, 2013 11:14 am

Huge Respect! :thumbsup:

Above and beyond the call of duty.

Someone owes you a medal.

User avatar
MikeV
Sergeant
Posts: 83
Joined: Tue Jul 14, 2009 11:13 pm
Location: Sunny Melbourne FL USA

Tue Nov 26, 2013 2:29 pm

OK, thanks for the effort. Looks like modding without tools that check for erroneous data is hazardous.
Might want to change the code to guard against a -1 invalid index, anyway.
--
Mike
deus ex machina

User avatar
MikeV
Sergeant
Posts: 83
Joined: Tue Jul 14, 2009 11:13 pm
Location: Sunny Melbourne FL USA

Pushing the envelope

Tue Nov 26, 2013 5:27 pm

Pocus wrote:I'm probably one of the few developers on earth willing to debug a modded game ;)

And I must be one of the few users on earth willing to mod a game without any modding tools. :laugh:

(Although you've made it easy enough, with most everything in text files.)
It's a bit like testing airplanes: push the envelope and see what breaks first. :niark:

Seriously, though: I do appreciate your efforts. (Now, if we could only collaborate via GitHub, or even a plain old svn server ...)

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Wed Nov 27, 2013 11:33 am

On the contrary, I believe that most games out don't provide much tools... I'm speaking of deep strategy games, like what Paradox does for example, or the vast majority of Slitherine/Matrix offering. But yeah, that's not optimal for everybody, us included, problem is always lack of human resources.

Are you proposing to do a managed-data utility software? :)
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
MikeV
Sergeant
Posts: 83
Joined: Tue Jul 14, 2009 11:13 pm
Location: Sunny Melbourne FL USA

Wed Nov 27, 2013 5:00 pm

I'd be happy to, if I understood what constraints to enforce.
--
Mike
deus ex machina

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Mon Dec 02, 2013 4:11 pm

I don't think this is realistically feasible to build an application proof enough that high level inconsistency can be detected. I was thinking that (say, for example) if an utility would allow to add or edit regional decisions through a set of drop-down menus or radio-buttons, that would still be a very good first step toward a more user friendly modding. Decisions is not an example I take randomly... With 150-200 possible data fields per decision, they can be very daunting and people at first will want to fill too many values or just get lost, whereas a good RGD can be very simply defined with an handful of parameters. What is hard is to identify which ones :)
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

Return to “Help improve CW2”

Who is online

Users browsing this forum: No registered users and 2 guests