Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > The real world > Idle chatter

Reply
 
Thread Tools Display Modes
Old February 26, 2008, 20:14   #11
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 927
Donated: $10
will_asher is on a distinguished road
Yes, I started a new character. I thought the change would probably break savefiles.
__________________
Will_Asher

Play DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home
will_asher is offline   Reply With Quote
Old February 26, 2008, 21:56   #12
zaimoni
Knight
 
zaimoni's Avatar
 
Join Date: Apr 2007
Posts: 590
zaimoni is on a distinguished road
Quote:
Originally Posted by will_asher View Post
I just tried to add a player state that would be caused by a monster or potion and have certain effects.
Other player states are in struct player_type in types.h, so I added them there,
as "s16b slime; /* DAJ: slimed state */" just like the other player states are.
And I made the nessesary additions in save.c and load.c, and thats all I changed before I compiled just to see if it would run right with that changed. When I ran the game, the display was completely messed up. How in the world would that change mess up the display? The thing I changed had nothing to do with the display.
Did you do a *clean* build (no object files)? I've had to do that once or twice to get rid of side effects like that. If that doesn't work, you've got something writing to an array out-of-bounds; the code change moved where the bad writes were happening to where they trashed the display.

Also: if you forked from after V3.0.6, or imported the new event-code from V3.0.8+, it might be worth proofreading game_events.c against V SVN (there was a hairy size error to malloc that took down Zaiband on Vista/MingW32 with full Data Execution Prevention but was no-effect on W2K/MingW32 build; Zaiband 3.0.8 alpha will have this fixed.)
zaimoni is offline   Reply With Quote
Old February 27, 2008, 04:19   #13
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 927
Donated: $10
will_asher is on a distinguished road
wow. thanks for reminding me to try this. it seems to run fine now with those same changes. wow. how stupid of me. thanks.

it'd be nice if the compiler automatically created new .o files each time.
__________________
Will_Asher

Play DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home
will_asher is offline   Reply With Quote
Old February 27, 2008, 04:26   #14
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,930
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by will_asher View Post
wow. thanks for reminding me to try this. it seems to run fine now with those same changes. wow. how stupid of me. thanks.

it'd be nice if the compiler automatically created new .o files each time.
Which compiler are you using?
takkaria is offline   Reply With Quote
Old February 27, 2008, 04:31   #15
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 927
Donated: $10
will_asher is on a distinguished road
Dev C++
It works just fine for everything else.
__________________
Will_Asher

Play DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home
will_asher is offline   Reply With Quote
Old February 27, 2008, 09:04   #16
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,930
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by will_asher View Post
Dev C++
It works just fine for everything else.
Yeah, but it doesn't naturally realise what needs rebuilding and when. I'll fire up my Windows 2000 virtual machine sometime today and figure out if there's a way to make it work.
takkaria is offline   Reply With Quote
Reply


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
Semi-Variant DaJAngband Announcement will_asher Variants 8 December 13, 2007 08:51
DaJAngband: new object question will_asher Variants 4 December 13, 2007 03:18


All times are GMT +1. The time now is 21:08.


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