The Dink Network

Sparrowhawk's Profile

A profile... why not.

Some things I enjoy doing: reading, mountain biking, hiking in the mountains, anything with computers, er, most things really. I love to ski, and just wish I could go on a slope longer than 180 metres.
Partly inspired by enjoying DinkC coding, I went to college to learn a bit of Software Development and am now working with a local developer, using VB.NET.

I have many things I should be doing so writing a profile seemed a good way of putting them off.

I live in northwest England (south originally) and, um, that's about it.

I'm making a D-Mod and have some ambitious ideas for future ones but don't expect anything soon!

E-Mail SparrowhawkDN@gmail.com
Private Message

2009-07-27 07:31:10
dinkdead.gif
Not much time recently... Ok I'll just copy those scripts exactly and put in comments about changes, not saying it'll work afterwards but at least (hopefully) you'll know the problems! Call it constructive criticism

//blah blah blah

&update_status = 1;
draw_status();

kill_this_task();
//You've just killed the script!  Nothing after this line will run.
//Get rid of kill_this_task()
//In fact, spawning a new script may be better than running the next bit in start.c

//Need semi-colon: script_attach(1000);
script_attach(1000)

//Why did you change my example loop so much?
//If there's a reason, I need to know it in order to know what to suggest here   
loop:
wait(10000);
&time = get_time_real();
//need == not just = in an 'if'.  And see above comment!
if (&time = 480)
{
&don = 2;
}
if (&time = 1200)
{
&don = 1;
}
//This skip: isn't being used, harmless but pointless to leave it here.
skip:
goto loop;
}

void main(void)
{
if (&don == 1)
{
//Must have a script_attach(1000); before the load_screen() somewhere,
//otherwise the script will die when the screen changes!
&don = 2;
fade_down();

//This won't work AFAIK. Better and simpler to do it this way:
//&player_map += 9;
&player_map = &player_map + 9;

load_screen();
draw_screen();
//draw_status not needed unless they are actually changing.
draw_status();
fade_up();
kill_this_task();
}
}

Doing it this way, 2 things will happen that might not be what you wanted. This is because you changed my loop thingy, so maybe you did want this? Not sure...
1, it will only change from day to night (or other way) at exactly 8 o'clock. So if you start playing the game at 9pm it could look like day for example.
2, it will also only change day/night when you move to a different screen.

And my mistake, wait(10000) is actually 10 seconds Use wait(60000).

Sparrowhawk has released 9 files

TitleCategoryAvgUpdated
DinkC Syntax Highlighting for Notepad++Development, MiscellaneousExceptional 9.7March 30th, 2012
Developer KeysDevelopmentGood 8.9January 30th, 2011
Broken WindowsD-Mod, RompExceptional 9.0January 12th, 2011
Savebot Massacre (The)D-Mod, MiscellaneousGood 7.7September 6th, 2009
Chickens!Development, GraphicsExceptional 9.4July 16th, 2009
Countdown TimerDevelopment, SourceGood 8.3May 8th, 2009
Bug ManiaD-Mod, Miscellaneous, RompGood 7.5May 2nd, 2009
Dink Sound ReferenceDevelopmentGood 8.4September 11th, 2008
One Screen D-Mod CompilationD-Mod, MiscellaneousExceptional 9.5October 18th, 2007

Sparrowhawk has written 5 reviews

TitleFileTypeScoreDate
Amusing Happy Sunshine LandNormalTolerable 4.5October 22nd, 2009
Short and (almost) sweet. TrappedFeaturedFair 5.9November 23rd, 2008
Buggy but worth it Rise of the Goblins (The)FeaturedGood 7.5November 23rd, 2008
Maybe I just have a strange sense of humour... DryNormalExceptional 9.0June 3rd, 2007
The Legend of Smallwood… Friends Beyond 3: Legend of TenjinFeaturedExceptional 9.6June 3rd, 2007

Sparrowhawk has taken 8 screenshots

ScreenshotFileDate
Preview Christmas 2011 (Wallpaper)December 12th, 2011
Preview Chickens!January 16th, 2011
Preview Chickens!January 16th, 2011
Preview Friends Beyond 3: Legend of TenjinSeptember 20th, 2010
Preview 10 Sword IconsJanuary 3rd, 2010
Preview Bug ManiaOctober 19th, 2009
Preview Bug ManiaOctober 19th, 2009
Preview Bug ManiaOctober 19th, 2009