MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000714VCMIGUI - PreGamepublic2011-03-07 20:262014-05-30 17:40
ReporterZamolxis 
Assigned ToTow 
PriorityhighSeverityfeatureReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version0.84 
Target VersionFixed in Version0.89 
Summary0000714: Restart Scenario functionality (+ request for Quick Restart functionality)
DescriptionFrom System Options window > the button, or hotkeys R, Shift+R or Ctrl+R.

It is becoming more and more tedious for me as tester to investigate a bug properly, in order to produce the best report, if I need so many mouse clicks only to restart a scenario. So it would be very much appreciated if this can be implemented soon.
Additional InformationSUGGESTION: A Quick Restart function would also be welcomed, as in directly from Adventure Map (now we need to be in the System Options for the above hotkeys to work). It could either be associated with Shift+R or Ctrl+R (H3 hotkeys not mentioned in the official manual), or otherwise with Alt+R (not allocated in H3).
TagsNo-harm enhancement
Attached Files

- Relationships
related to 0000181closedubuntux Ability to restart / reload games 
related to 0000715closedTow Load Game functionality (+ request for Quick Load functionality) 
related to 0000716assignedDydzio Last started/saved game not remembered (+ enhancement suggestions) 

-  Notes
(0002297)
Zamolxis (viewer)
2012-03-11 07:52

Raised priority as I bump into the need for this functionality almost every time I test for VCMI. Same goes for the other two feature requests related to this one: 0000715 & 0000716. If you could implement one of these three (at least), with each of the next releases, it would make my testing efforts notably easier (as they involve a lot of restarting/reloading in order to narrow down causes, find patterns and check reproducibility). Thanks.
(0002299)
Warmonger (administrator)
2012-03-11 08:08

I believe this may be at least partially helpful, from Tow:

 I’ve created a few new command-line options for my convenience but I guess they can be useful for other developers. It’s possible to save a starting configuration (map, options) in pregame by typing „sinfo fname”. Then VCMI can be started with option „-i --start=fname” and it’ll automatically start the game.
(0002300)
Zamolxis (viewer)
2012-03-11 08:21
edited on: 2012-03-11 08:23

Didn't work for me. Maybe I'm doing something wrong. I tried typing it in the console both in PreGame or after game started. Is it supposed to work for a tester using the main release? Or is it perhaps a very recent change (after 0.88)?

But if a functionality is there, maybe it can be bound to the Menu buttons. I moved the assignment to Tow as I should have created this as "GUI - PreGame" item from the beginning anyway. (of course, if anyone can handle it, they're more than welcome:)

(0002301)
Warmonger (administrator)
2012-03-11 08:26

Nono, it's a command line option for operating system console (cmd on Windows).
(0002302)
Zamolxis (viewer)
2012-03-11 10:00

Sorry for my n00bness, but can you please confirm the following before I mess something up:
1) In cmd.exe I should change dir to the game folder?
2) sinfo fname is to be typed in cmd after making my selections in PreGame, or after I click Begin (i.e.: after the game opens in Adv.Map)?
3) -i --start=fname is to be typed in cmd before I re-start the application, while I'm in PreGame, or even when I'm in the game? If in PreGame, does it matter if I restarted the client, or does it only work if I go back to Main Menu?
(0002303)
Warmonger (administrator)
2012-03-11 10:19

No, you need to type:

VCMI_client.exe -i --start=filename

In order to launch new VCMI program with these settings.

Well, I just tried to use it for the first time and it has frozen. Maybe works better in release version ;P
(0002305)
Tow (developer)
2012-03-11 14:43

> Well, I just tried to use it for the first time and it has frozen.
> Maybe works better in release version ;P

It works for me now. Please give me steps to reproduce freeze, it may be a bug.


@Zamolxis
"sinfo filename" should be typed in the moment that clicking "Begin" in pregame is possible (that is after selecting map and before starting the actual game). That should create file named "filename" that contains that starting configuration.

To have VCMI automatically start that config, you should run it with "-i --start=filename" parameters.

You can enter command prompt (ie cmd.exe), and type:
cd C:\VCMI
VCMI_client.exe -i --start=filename

It may be more convenient to create a shortcut running VCMI with that parameters ( http://vgstrategies.about.com/od/faq/a/CommandLineP.htm [^] ).
(0002341)
Tow (developer)
2012-04-08 03:08

Implemented in r2618, including Quick Restart functionality bound to Ctrl+R.

- Issue History
Date Modified Username Field Change
2011-03-07 20:26 Zamolxis New Issue
2011-03-07 20:26 Zamolxis Issue generated from: 0000181
2011-03-07 20:26 Zamolxis Relationship added related to 0000181
2011-03-07 20:26 Zamolxis Tag Attached: No-harm enhancement
2011-03-07 20:35 Zamolxis Issue cloned: 0000715
2011-03-07 20:35 Zamolxis Relationship added related to 0000715
2011-03-07 20:36 Zamolxis Summary Restart Scenario functionality => Restart Scenario functionality (+ request for Quick Restart functionality)
2011-03-07 23:51 Zamolxis Relationship added related to 0000716
2012-03-11 07:52 Zamolxis Note Added: 0002297
2012-03-11 07:52 Zamolxis Priority normal => high
2012-03-11 07:57 Zamolxis Category Other => GUI - PreGame
2012-03-11 08:08 Warmonger Note Added: 0002299
2012-03-11 08:17 Zamolxis Status new => assigned
2012-03-11 08:17 Zamolxis Assigned To => Tow
2012-03-11 08:21 Zamolxis Note Added: 0002300
2012-03-11 08:23 Zamolxis Note Edited: 0002300 View Revisions
2012-03-11 08:26 Warmonger Note Added: 0002301
2012-03-11 10:00 Zamolxis Note Added: 0002302
2012-03-11 10:19 Warmonger Note Added: 0002303
2012-03-11 14:43 Tow Note Added: 0002305
2012-04-08 03:08 Tow Note Added: 0002341
2012-04-08 03:08 Tow Status assigned => resolved
2012-04-08 03:08 Tow Fixed in Version => 0.89
2012-04-08 03:08 Tow Resolution open => fixed
2014-05-30 17:40 beegee Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean