.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old April 23rd, 2009, 02:37 PM

MrGraves MrGraves is offline
Private
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
MrGraves is on a distinguished road
Exclamation Heeeeelp! Getmany Failed? Multi-server fatal crashing!

Hello everyone, I hope you can help me. Please forgive me if I make any taboo errors or mistakes in this post.

This is my first post to the forums, although I have lurked awhile and been playing the game for a few years now. I am a member of another website that has a good collection of over 100 players at any given time taking part in various games.

I host multiple 24 hour perpetual games on my server (Vista) and we have recently begun planning and preparing a double bracket, elmination 1V1 tournament as a practice run for larger tournaments we may play in the future.

I am hosting 4 1v1 matches on my server, each with this command line sequence (but a variant in server name):

D:\dominions3\dom3.exe -S Tourney!A --noclientstart --nocredits --scoredump --port 1616 --hours 24 --uploadmaxp 2 --masterpass XXXXXX --era 1 --mapfile silentseas.map -T

There are 4 servers as such set up for this. I am also hosting 2 long term games that have been running for several weeks without any problems, each with multiple players:

1-D:\dominions3\dom3.exe -S DSNewbies --noclientstart --masterpass XXXX --port 1414 --era 2 --hours 24 -q --mapfile "Dom3_Faerun_466_NoSpecials.map" -T

2-D:\dominions3\dom3.exe -S Madness --noclientstart --port 1515 --era 2 --hours 25 -q --mapfile "Dom3_Faerun_466_NoSpecials.map" -T

Now here's the problem: This morning when I woke up, my D drive was full to capacity, with 199 Gigs of 200 Gigs being the Dominions 3 folder. The 1414 and 1515 games crashed and will not start up again- when I double click them to run the server, I get a Nagot message and the error 'Getmany Failed'.

The Bulk of the memory used in the dominions folder was in a file named something like 'sdtout' or 'stdout' or similiar; after rebooting my computer, the file was gone, the folder back to normal size, but I cannot startup the 1414 and 1515 servers without them crashing.

I tried manually C+P (and removing) the contents of the savedgame folders for the respective games, clearing out those saved games, but it allows only a brand new server to be created, right back at the initial nation claiming stage. When I return the contents to the saved games folder, I get the Gentmany error again, and an instant crash.

We have several people who have been playing for sometimes up to 60-70 turns on each server, so we have a bit invested in getting it to run smoothly; our games are 24 qhost if it makes any difference.

At any rate, I really appreciate you taking the time to read this and hope you can help me out? We were intending on running a trial tournament first and then I was hoping to involve or invite the players from this forum to take part in the future, but I don't think that will be possible if I cannot host a game without it constantly crashing.

Any suggestions? Once again, thank you.
Mr.Graves
sleepingtao @ gmail dot com
Yahoo: sleepingtao @ yahoo dot com
MSN: graves_keith @ hotmail dot com

Thanks!
Reply With Quote
  #2  
Old April 23rd, 2009, 03:44 PM

TheDemon TheDemon is offline
Sergeant
 
Join Date: Jan 2009
Posts: 223
Thanks: 7
Thanked 19 Times in 12 Posts
TheDemon is on a distinguished road
Default Re: Heeeeelp! Getmany Failed? Multi-server fatal crashing!

hey friend! check the SA thread
I've asked around and your error seems pretty unique, but hopefully can be fixed with a reinstall. From what I can tell, it's a turn generation crash. If it's on multiple servers, it's caused by either compatibility or a corrupt install, not by the game's files.

If you can't restart the servers and it defaults to a new game, that means either you didn't put the ftherlnd file back into the game directory (ftherlnd files contain the game state) or the ftherlnd files are corrupt. You'll also want the .trn files, but I'm not sure if they're necessary or not.

I would back up your games, maps and mods, and uninstall, delete, and reinstall the game. If it were just one game that crashed I would say it would be a problem with that game, but more than one means it's a problem with your install.
Reply With Quote
  #3  
Old April 23rd, 2009, 04:45 PM

Ornedan Ornedan is offline
Private
 
Join Date: May 2008
Posts: 29
Thanks: 3
Thanked 4 Times in 4 Posts
Ornedan is on a distinguished road
Default Re: Heeeeelp! Getmany Failed? Multi-server fatal crashing!

stdout stands for STanDard OUTput. Programs have 3 standard IO streams: stdin (input), stdout (output), stderr (error messages & informational output when you don't want to mix it with whatever's going to stdout).

dom3 prints log to stdout, so the stdout file you had was probably a log full of it whining about something going wrong.


If you aren't doing backups yet, you really should start doing so. I've posted a relatively sane backup script in the Linux Admining thread. You should be able to adapt it to DOS syntax relatively easily. Or just use it directly with Cygwin. You'll just need to set the dominions3 directory in the latter case.
Or roll your own. But backup
Reply With Quote
  #4  
Old April 23rd, 2009, 04:55 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Heeeeelp! Getmany Failed? Multi-server fatal crashing!

"getmany" is the function used to read data in bulk, for the data structures in the game files. It sounds like the game overwrote your fatherlnd turn files, but couldn't complete the write process because they grew too big, so now they're incomplete and useless. I hope you have backups. If not, you always should make backups.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #5  
Old April 23rd, 2009, 07:54 PM

TheDemon TheDemon is offline
Sergeant
 
Join Date: Jan 2009
Posts: 223
Thanks: 7
Thanked 19 Times in 12 Posts
TheDemon is on a distinguished road
Default Re: Heeeeelp! Getmany Failed? Multi-server fatal crashing!

Here's a backup script I use for network servers I run under Vista. Save this as backup.bat and put it in your dominions install directory, in the same folder as dom3.exe. If your games save in a different directory than default in Vista, you'll have to change the path in the script.

Code:
set game=%1
set gamebackup=%game%Backup

xcopy /c /y /i "%USERPROFILE%\AppData\Local\VirtualStore\Program Files (x86)\dominions3\savedgames\%game%" "%USERPROFILE%\AppData\Local\VirtualStore\Program Files (x86)\dominions3\savedgames\%game%\%gamebackup%"
Add this to your hosting shortcut:
--preexec "backup.bat GAMENAME"
Reply With Quote
The Following 2 Users Say Thank You to TheDemon For This Useful Post:
  #6  
Old April 30th, 2009, 11:54 PM

HappyUser HappyUser is offline
Private
 
Join Date: Nov 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
HappyUser is on a distinguished road
Default Re: Heeeeelp! Getmany Failed? Multi-server fatal crashing!

*BUMP*

Dom3 v3.23b

Getting the same "Getmany Failed" error after applying upgrade patch from v3.21.

Previous 3.21 executable still works fine with 3.23b modified files.

I may be wrong, but I believe the problem occurs during loading of the main menu graphics.. between expl_white.tga and horror_32x32.bmp, or immediately after horror_32x32.bmp.

With 220+ views on this thread allready, you'd think more people would have posted receiving the same error message.
Reply With Quote
  #7  
Old May 1st, 2009, 03:35 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Heeeeelp! Getmany Failed? Multi-server fatal crashing!

You should offer the game files to Illwinter for introspection, then.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #8  
Old May 2nd, 2009, 03:00 AM

HappyUser HappyUser is offline
Private
 
Join Date: Nov 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
HappyUser is on a distinguished road
Default Re: Heeeeelp! Getmany Failed? Multi-server fatal crashing!

There are no game files to offer. I have systematically renamed each and every directory, and file in the installed root directory, and inspected the log file, to see where the error is occuring. ie: I am not loading any saved game, and the error is thrown before the main menu is even fully loaded.

I passed the dom3 process through PE Editor, and it seems to be throwing a malloc error at exactley 20,000kb each and every time.

This occurs on two seperate machines running vista32 and xp32.
Reply With Quote
  #9  
Old April 28th, 2010, 11:13 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Heeeeelp! Getmany Failed? Multi-server fatal crashing!

Recording here for posterity:

Problem:
runaway process, logs full, hard drive full
some dominions games will not restart
Något gick fel!
getmany failed

Answer:
Move last 2h file from game directory and try again.

LongerAnswer:
It turns out that during the problem someone did a turn. The last 2h received was a zero byte file. Removing it fixed the problem. It might also be worth trying anytime the game wont restart. Move the last 2h you received and try it then.

Tip:
Its also always a good idea to use the wonderful --preexec switch to run some routine (script or bat file) for zippng the files just before each hosting to provide backups you can restore from. Using the --postexec to do another save immediately after each hosting might not be a bad idea either.

yes I know that this seems head-slappingly obvious NOW but it caused me a sleepless night until I figured it out so I dont care if it makes me look bad to post this. It might help someone else later
Reply With Quote
The Following User Says Thank You to Gandalf Parker For This Useful Post:
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.