Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old September 24, 2015, 23:43   #11
MattB
Veteran
 
Join Date: Mar 2013
Location: Berkshire, UK
Posts: 1,095
MattB is on a distinguished road
Quote:
Originally Posted by APWhite View Post
Can you tell me where in the Angband loading process it crashed? What game info was on the screen? Did the scr get to the splash screen? did it load or create the character? The the borg take a few steps? Any information would be helpful.
Nothing happens really - the screen goes black, and then the error message comes up.

Quote:
Additionally, did you make the necessary changes to your angband.ini file? You will need to point to your savefile name. It might look something like this:
Code:
[Angband]
AngbandPath="c:\games\angband-3.0.9\"
SaverFile="Saver"
Here's my INI file:

Code:
[Angband]
AngbandPath="C:\Games\borg\"
SaverFile="Borgmatic"
Graphics=0
Graphics_Nice=1
TileWidth=1
TileHeight=1
[Term-0]
Visible=1
Font=8X12X.FON
Bizarre=1
TileWid=8
TileHgt=12
NumCols=80
NumRows=24
PositionX=0
PositionY=0
Maximized=0
[Term-1]
Visible=1
Font=8X12X.FON
Bizarre=1
TileWid=8
TileHgt=13
NumCols=80
NumRows=26
PositionX=-2
PositionY=350
Maximized=0
[Term-2]
Visible=1
Font=8X12X.FON
Bizarre=1
TileWid=8
TileHgt=13
NumCols=64
NumRows=25
PositionX=681
PositionY=456
Maximized=0
[Term-3]
Visible=1
Font=8X12X.FON
Bizarre=1
TileWid=8
TileHgt=13
NumCols=86
NumRows=25
PositionX=659
PositionY=2
Maximized=0
[Term-4]
Visible=1
Font=8X12X.FON
Bizarre=1
TileWid=8
TileHgt=13
NumCols=86
NumRows=15
PositionX=655
PositionY=349
Maximized=0
[Term-5]
Visible=1
Font=8X12X.FON
Bizarre=1
TileWid=8
TileHgt=13
NumCols=86
NumRows=13
PositionX=646
PositionY=554
Maximized=0
[Term-6]
Visible=0
Font=8X12X.FON
Bizarre=1
TileWid=8
TileHgt=13
NumCols=44
NumRows=12
PositionX=48
PositionY=96
Maximized=0
[Term-7]
Visible=0
Font=8X12X.FON
Bizarre=1
TileWid=8
TileHgt=13
NumCols=44
NumRows=12
PositionX=56
PositionY=112
Maximized=0
Quote:
Check your save subdirectory and see if a savefile was created.
Nope, nothing there.

Quote:
You can email me for a faster response as well.
I'm not in a hurry and this way anyone else having the same problem (if there's anyone else as useless as me) will be able to see this. And thanks for such speedy responses anyway!
MattB is offline   Reply With Quote
Old September 30, 2015, 01:23   #12
APWhite
Adept
 
APWhite's Avatar
 
Join Date: Jul 2007
Location: St George Utah, USA
Posts: 244
APWhite is on a distinguished road
I was able to reproduce the error today on a windows 7 machine. I will work on a solution and post a fix and update the borg webpage.

Andrew
APWhite is offline   Reply With Quote
Old September 30, 2015, 15:13   #13
MattB
Veteran
 
Join Date: Mar 2013
Location: Berkshire, UK
Posts: 1,095
MattB is on a distinguished road
Quote:
Originally Posted by APWhite View Post
I was able to reproduce the error today on a windows 7 machine. I will work on a solution and post a fix and update the borg webpage.

Andrew
Thanks Andrew!

Work is backing up a bit at the moment so I was thinking I needed to get someone to do my various tax returns so that I can get some more banding in.
Then I had a brainwave - why not get someone to play my Angband for me so I can get the VAT returns in!
MattB is offline   Reply With Quote
Old October 2, 2015, 18:55   #14
APWhite
Adept
 
APWhite's Avatar
 
Join Date: Jul 2007
Location: St George Utah, USA
Posts: 244
APWhite is on a distinguished road
I finished working on the screen saver update. I had to make some changes to the game code.
1. Main-win.c in WinMain() about line 5449:
Code:
	
/* Prepare the windows */
	init_windows();

	/* Activate hooks */
	plog_aux = hook_plog;
	quit_aux = hook_quit;

	/* Set the system suffix */
	ANGBAND_SYS = "win";

#ifdef USE_SAVER
/* APW */
	if (screensaver)
	{
		/* Set command hook */
		cmd_get_hook = win_get_cmd;

		/* Set up the display handlers and things. */
		init_display();

		initialized = TRUE;

		/* Start the screensaver */
		start_screensaver();

		/* Paranoia */
		quit(NULL);
	}
#endif /* USE_SAVER */

#ifdef USE_SOUND

	/* Set the sound hook */
	sound_hook = Term_xtra_win_sound;

#endif /* USE_SOUND */
And the prompts have a flush after them so skip the prompts.

2. cmd-misc.c in do_cmd_try_borg() about line 109:
Code:
void do_cmd_try_borg(void)
{
	/* Ask first time (APW) */
	if (!(p_ptr->noscore & NOSCORE_BORG) && !screensaver)
	{
		/* Mention effects */
		msg("You are about to use the dangerous, unsupported, borg commands!");
		msg("Your machine may crash, and your savefile may become corrupted!");
		message_flush();
Again, this is for Vanilla 341 screensaver. I haven't messed with the new game versions so someone should implement/test these in the new game versions.

Borg webpage updated.

Andrew.
APWhite is offline   Reply With Quote
Old April 6, 2018, 18:18   #15
konijn_
Hellband maintainer
 
konijn_'s Avatar
 
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 41
Posts: 367
Donated: $120
konijn_ is on a distinguished road
I know, replying to a 2 year old thread

I am working on making the borg work with Hellband, working off the Zangband 240 borg.

I think the semi colon after the if statement completely breaks the unencumbered check:

Code:
		/* Unencumbered Monks become faster every 10 levels */
		if (monk_arm_wgt < (100 + (borg_skill[BI_CLEVEL] * 4)));
		{
			borg_skill[BI_SPEED] += (borg_skill[BI_CLEVEL]) / 10;

			/* Free action if unencumbered at level 25 */
			if  (borg_skill[BI_CLEVEL] > 24) borg_skill[BI_FRACT] = TRUE;

			if (!(borg_items[INVEN_BODY].iqty))
			{
				borg_skill[BI_ARMOR] += (borg_skill[BI_CLEVEL] * 3) / 2;
			}
			if (!(borg_items[INVEN_OUTER].iqty) && (borg_skill[BI_CLEVEL] > 15))
			{
				borg_skill[BI_ARMOR] += ((borg_skill[BI_CLEVEL] - 13) / 3);
			}
If you were to host the Zangband Borg on say Github, then I could create a pull request for you.
__________________
* Are you ready for something else ? Hellband 0.8.8 is out! *
konijn_ is offline   Reply With Quote
Reply

Tags
341, borg, borg apwhite


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Variants updated with vanilla 3.5 changes jasric Variants 2 November 17, 2015 10:21
Angband tileset - updated version Shockbolt Development 7 April 20, 2014 15:21
Recently Updated Roguelikes (Roguebasin) PaulBlay Idle chatter 12 April 5, 2009 15:44
Spoilers updated for Vanilla 3.0.8! Hugo Vanilla 23 July 21, 2007 08:12
The Download page needs to be updated CJNyfalt Oook! 3 May 15, 2007 09:21


All times are GMT +1. The time now is 07:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.