Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - pcj

#281
I don't think you reviewed all the games.
#282
Yes, otherwise he wouldn't be asking about it.
#283
Yes, and the "June 2...First Update" is a little pale and hard to read.
#284
Competitions & Activities / Re: May MAGS
Thu 05/05/2005 12:22:12
Hey! Awesome idea!Ã,  I just wish we could get Vohaul Strikes Back out in time to compete.

Oh, and a tricorder is a three-function device: combination sensor, recorder, and computer, all handheld and packaged into one really cool little instrument.
#286
Competitions & Activities / Re: December MAGS
Sun 12/12/2004 04:22:43
Uh, yes there are.  Tengwar Gandalf works quite well, but I can't remember where I found it.
#287
Competitions & Activities / Re: December MAGS
Fri 10/12/2004 00:08:49
Quote from: Sinitrena on Thu 09/12/2004 10:14:53
BTW, I would really like to see a game in elven tongue :D

That would require another font and probably wouldn't be too feasible.
#288
Great to see the forums back online.

Hope you get your problems sorted out.
#289
Like I said, the screenshots are mainly a reference for style rather than an exercise in detail.

And be sure to subscribe to our mailing list over at our website so we can inform you of updates.

http://www.vohaulstrikesback.com

Thanks!
#290
Those sprites are now outdated.

We don't want to give too much away by providing too much detail; this is just to give a sample of the game's style.
#291
Thanks, Darth, for unlocking it.

Amazed they saw this.

Yes, we're still out here; we're just so busy working on the actual game that we've really no time to come here to update you on what's going on.

Quote from: Yo Mama on Mon 11/10/2004 18:07:08
Any chance on getting some more eye candy?Ã,  ??? :-\

Keep checking our site, particularly the Media page.

Quote from: lelev on Mon 11/10/2004 18:25:47
Oh mama! That was really something! Only thing i Fear is the download's size when the game's done. Keep up the good work!

We'll have a dial-up friendly setup downloader.Ã,  The setup will only download and install the components required plus the components you choose.  You can then download the optional components later if you choose.  Otherwise, text boxes will stand in for the cutscenes and voice-overs.
#292
Mmm...

Forgot to set the labels when I copied over the global script to a "blank" game - SetLabelText's not really my problem...

Thanks for looking into that recursive thing.  I'll change it like you suggested.
#293
OK, OK.

Let's try this...

http://vsb.bpcent.com/ac2game.ags

Thanks for all your help.
#294
Thanks, guys.

Gilbot:
Interesting fixes.  Yes, that leap year thing doesn't apply to years divisible by 100, so 2100 won't be a leap year (not that I should have to worry about someone playing it THAT far into the future :o ), but years divisible by 400 will be leap years (e.g., 2000, 2400).  This should work for my purposes.  I'll try it and see if it gets rid of the problem.

CJ:
Nothing in particular causes it.  It shows up when the game is loaded.
#295
Well, it happens even on a blank room (when the game starts), so I'll just post the global script here:

http://vsb.bpcent.com/vsbglobal.txt

Hope that works for you.  Thanks again for your help.
#296
Nope, not yet.

Thanks for your help.
#297
Quote from: Gilbot V7000a on Thu 26/08/2004 04:36:19
One problem I see was that you used recursive calls (eg. you used Now(1) within it to find the year), I think that's not supported, you need to fix the codes.

Weird, ok.

QuoteMoreover quick checking your codes proved it won't work as expected, as AGS supports only integer arithmetic, so that (365+(1/4)) calculation in Raw_Year will not work as expected (1/4=0, so that expression is just 365), I'm too lazy to muck up some fix for it :P

Dang, I had asked a while back about the double type, that's what they said to do.  Weird.
#298
Well, it used to work, and unless bracket placement has been changed (or I copied and pasted incorrectly), it should be fine.
#299
I received the following exception:

Quote---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x0044D1FE ; program pointer is -42, ACI version 2.61.747, gtags (2039,36)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and notify CJ on the Tech forum.

(Global script line 108)

Line 108 is the last line of this function:

Code: ags
function Now(int type){ // Returns the current time/day/date/year by the computer clock.
if (type == 1) { // Current year
int Raw_Seconds = GetRawTime(); 
int Raw_Minutes = Raw_Seconds / 60;
int Raw_Hours = Raw_Minutes / 60;
int Raw_Days = Raw_Hours / 24;
int Raw_Years = Raw_Days / (365 + (1/4));
int Year = Raw_Years + 1970;
return Year;
}
else if (type == 2) { // Current time
string TimeNow;
string TimeNow2;
string TimeNow3;
int hour = GetTime(1);
int minute = GetTime(2);
string AMPM;
if (hour > 12) {
hour-=12;
StrCopy(AMPM, "pm");
}
else if (hour == 0) {
hour=12;
StrCopy(AMPM, "am");
}
else { StrCopy(AMPM, "pm"); }
if (minute < 10) StrFormat(TimeNow2, "0%d", minute);
else StrFormat(TimeNow2, "%d", minute);
StrFormat(TimeNow, "%d", hour);
StrCat(TimeNow, ":");
StrCat(TimeNow, TimeNow2);
StrFormat(TimeNow3, " %s", AMPM);
StrCat(TimeNow, TimeNow3);
SetGlobalString(49,TimeNow);
}
else if (type == 3) { // Current date
int month = GetTime(5);
int day = GetTime(4);
string date1;
string date2;
string date3;
StrFormat(date1, "%d-", month);
StrFormat(date2, "%d-", day);
StrFormat(date3, "%d", Now(1));
StrCat(date1, date2);
StrCat(date1, date3);
SetGlobalString(49,date1);
}
else if (type == 4) { // Current day (e.g., Monday, Tuesday)
int Year = Now(1) - 2000;
Year += (Year / 4);
int MonthNum;
if (GetTime(5) == 1) MonthNum = 6;
else if (GetTime(5) == 2) MonthNum = 2;
else if (GetTime(5) == 3) MonthNum = 2;
else if (GetTime(5) == 4) MonthNum = 5;
else if (GetTime(5) == 5) MonthNum = 0;
else if (GetTime(5) == 6) MonthNum = 3;
else if (GetTime(5) == 7) MonthNum = 5;
else if (GetTime(5) == 8) MonthNum = 1;
else if (GetTime(5) == 9) MonthNum = 4;
else if (GetTime(5) == 10) MonthNum = 6;
else if (GetTime(5) == 11) MonthNum = 2;
else if (GetTime(5) == 12) MonthNum = 4;
int DayCode = Year + MonthNum + GetTime(4);
if ((Now(1) == 2004 || Now(1) == 2008 || Now(1) == 2012 || Now(1) == 2016 || Now(1) == 2020 || Now(1) == 2024 || Now(1) == 2028 || Now(1) == 2032 || Now(1) == 2036 || Now(1) == 2040 || Now(1) == 2044 || Now(1) == 2048) && (GetTime(5) == 1 || GetTime(5) == 2)) DayCode--;
while (DayCode > 7) {
Ã,  DayCode -= 7;
}
while (DayCode < 1) {
Ã,  DayCode += 7;
Ã,  }
string Day;
if (DayCode == 1) StrCopy(Day, "Monday");
else if (DayCode == 2) StrCopy(Day, "Tuesday");
else if (DayCode == 3) StrCopy(Day, "Wednesday");
else if (DayCode == 4) StrCopy(Day, "Thursday");
else if (DayCode == 5) StrCopy(Day, "Friday");
else if (DayCode == 6) StrCopy(Day, "Saturday");
else if (DayCode == 7) StrCopy(Day, "Sunday");
else StrFormat(Day, "%d", DayCode);
SetGlobalString(49,Day);
}
}


It used to work, and I haven't changed it (besides having to change the return strings to global strings after upgrading to 2.61, which might be the cause).

How do I fix this?Ã,  Thanks in advance.
#300
Adventure Related Talk & Chat / delete
Fri 13/08/2004 16:56:13
delete: services no longer needed.
SMF spam blocked by CleanTalk