Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
Acmlm's Board - I2 Archive - - Posts by beneficii
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
User Post
beneficii

Lakitu
Level: 36

Posts: 181/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-23-05 05:02 PM, in Pharmacists refuse to fill birth control, etc. Link
Originally posted by Slay
The beneficii says...
Slay,

Thank you for clarifying. One question that may be asked is, If a pharmacy stocks birth control pills, then why is it not selling them? I hope you're making the distinction between an individual pharmacist and the pharmacy itself.


Yes, I thought that distinction was implied. Obviously, an entire pharmacy wouldn't stock a medication (i.e. spend money) and then not sell them (i.e. make no profit). Pharmacies which stock contraceptives have pharmacists that refuse to sell them to certain patients, and refuse to refer the patient to another pharmacist. In some cases, when the pharmacy is part of a larger business, there is only one active pharmacist who is refusing to sell birth control medication and "Plan B," and I believe that it is illegal for the owner of the pharmacy to fire the individual pharmacist for those reasons, which is why there is controversy and debate. I've edited the topic post with some new information, so be sure to check that.


In that case, for me the answer is pretty simple. Legalize pharmacies firing recalcitrant pharmacists. Don't make new laws when you don't have to.
beneficii

Lakitu
Level: 36

Posts: 182/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-23-05 07:20 PM, in Invalidating Link
...And if you're totally desperate on getting the window redrawn, like me in my editor, send a WM_SETREDRAW message to the window, and then have the drawing code under the WM_SETREDRAW case in the WndProc. Works for me. Oh, and remember to use GetDC/ReleaseDC for WM_SETREDRAW.
beneficii

Lakitu
Level: 36

Posts: 183/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-23-05 07:43 PM, in What Is Your Favorite Final Fantasy Game? Link
Originally posted by Grey Jedi Cheveyo
Alright, one of these has to be closed. The other one sucks, so leave this one open.

Final Fantasy Tactics, dammit!

Alright, alright, I guess I can't pick that one. I should give you a warning for that... *grumble*

Fine, then. FFVI.


It's just that I don't think Tactics is really Final Fantasy. I could edit the poll of course, but everyone would have to vote it again. Oh well, you're a moderator.

EDIT: No they don't. But I know you didn't vote for 6, so vote for Tactics to your heart's content!


(edited by beneficii on 06-23-05 10:44 AM)
beneficii

Lakitu
Level: 36

Posts: 184/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-23-05 07:48 PM, in Final Fantasy 12! Link
Hmmm, if the old pattern's being followed, this should be the last game for the PS-2:

NES
1-3
SNES
4-6
PSX
7-9
PS2
10-12?

I wonder what system Final Fantasy would be on next?
beneficii

Lakitu
Level: 36

Posts: 185/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-23-05 07:59 PM, in Strange number facts Link
RYJet11,

A silly trick: take any number from 1 to 9, times it by 3 then 37. what do you get?

pick any number btween 3 and 27. multiply it by 37 and you get a 3 digit answer. this number will obviously divide by 37 but the funny thing is that if you move the first digit of the asnwer to the end, or the end digit to the front the answer ALSO divides by 37

Don't the two above sorta go together? You could have omitted the first one.

Still, neat tricks!


(edited by beneficii on 06-23-05 11:00 AM)
beneficii

Lakitu
Level: 36

Posts: 186/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-23-05 08:15 PM, in The Graduates Link
Originally posted by Priere
I was out in '02. It was weird. My parents were just going through divorce and so watching the whole thing play out was just plain odd. I didn't really lose much leaving my high school either, but I was at a friend's house directly afterwards so I wasn't really thinking about it.

Same friend is now 70 miles downstate. Which kinda sucks. Regardless, I was glad to get out of there.


Yeah, I graduated in '02 as well. I remember my last day. I was exempt from the exams of all but my first two classes because of attendance and good grades, but I missed mornings a lot so I had to take the exam for those two. When I finished my last exam, I had to wait in the classroom until the time was up--I wonder what would have happened had I gone up and left after I finished? Also, I had to still give a note to the attendance office signed by my parents saying that I was exempt and could leave for the day. I was good as gone after that!
beneficii

Lakitu
Level: 36

Posts: 187/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-23-05 08:31 PM, in Two Earthquakes in the Past 12 Hours in Western KY Link
UnsurpassedDarkness,

We do have earthquake insurance though. I think the NMSZ presents a serious threat not only for the local, but also the national economy, because such an earthquake would take place bam in the middle of the country.
beneficii

Lakitu
Level: 36

Posts: 188/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-23-05 09:44 PM, in Issue With CB_GETCURSEL Link



(edited by beneficii on 06-23-05 12:45 PM)
(edited by beneficii on 06-23-05 05:58 PM)
beneficii

Lakitu
Level: 36

Posts: 189/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-23-05 10:35 PM, in BKG Graphics Test Link
This is a little maze game I made a couple years ago for the Old Nintendo. This homebrew of mine demonstrates drawing tiles onto a map, putting a sprite on the map, animating the sprite, and doing collision checking. I wrote it from scratch. The version here includes the source code:

http://nesdev.parodius.com/bkg.zip


(edited by beneficii on 06-23-05 01:36 PM)
beneficii

Lakitu
Level: 36

Posts: 191/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-24-05 12:13 AM, in Two Earthquakes in the Past 12 Hours in Western KY Link
Originally posted by MarioMaster
If there was an earthquke in KY, how come I didn't feel it?
edit: what was it on the rictor scale?


(BTW, that 3.9 was downgraded to a 3.6.)

MarioMaster,

I checked where Monroe County, KY, is, and the earthquake was way too far west for you to have felt it there. It's about the same distance from the epicenter as I am, and I didn't feel it.
beneficii

Lakitu
Level: 36

Posts: 192/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-24-05 01:22 AM, in Two Earthquakes in the Past 12 Hours in Western KY Link
Originally posted by Darkflight
Lotsa earthquakes recently. I had a look at a map that had all of the recnt earthquakes in the pacific, and the coincided with the "ring of fire", a ring of volcanoes. I wouldn't be surprised if the volcanoes were involved or were affecteed by the earthquakes. Lotsa small earthquakes up here in Vancouver island too, if only small shocks from the others.


Yeah, I noticed that too. Is it simply that the earth is happening to move through a slightly more chaotic time?
beneficii

Lakitu
Level: 36

Posts: 192/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-24-05 04:02 AM, in Issue With CB_GETCURSEL Link
(My posts got deleted. Let me rewrite this one.)

Well, here's the code:

combohwnd is valid, it is the HWND of the combobox in question.

When I send CB_GETCURSEL to it via SendMessage, it always returns zero, zilch, nada, the number 0, regardless of the item currently selected in the combobox. I'm under the impression that it is supposed to return the zero-based index of the currently selected item, but have yet to see any evidence that that is what it does.

The combobox has the styles CB_DROPDOWNLIST | CB_HASSTRINGS | WS_CHILD | WS_VISIBLE.

Also, here is how I write SendMessage:

int index = (int) SendMessage(combohwnd, CB_GETCURSEL, 0, 0);

Is there like a specific place I should put this in the code to make it work? For example, does it only work in certain notifications? Or what is that little detail I'm missing?

EDIT: Well, I figured it out. No declarations should go into the main area of the WndProc! It keeps redeclaring them every time it goes through, deleting all the old values!


(edited by beneficii on 06-23-05 07:04 PM)
(edited by beneficii on 06-23-05 07:34 PM)
beneficii

Lakitu
Level: 36

Posts: 193/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-24-05 06:23 PM, in Issue With CB_GETCURSEL Link
Originally posted by HyperHacker
Yeah, I think you'd have to declare them as static (if you can even do that in C?) or just globally. Local variables don't retain their values.


Yeah, but I can't really declare an HWND static when I need to get its value from under the WM_CREATE notification returned from a CreateWindowEx function. I just hope to be able to remember not to declare my dynamic variables at the beginning of the WndProc, because Windows keeps calling that function.

You can declare variables static in C, but in C it's called declaring them const. To declare, say, a const char array (i.e. string static), you do:

const char mystring[] = "watashino sutoriinguwa kawaii da!";

Because it's const, you don't have to specify the number of characters in the array (plus the null character), as the compiler does that for you. In C, strings are always char arrays.


(edited by beneficii on 06-24-05 09:29 AM)
(edited by beneficii on 06-24-05 09:29 AM)
beneficii

Lakitu
Level: 36

Posts: 194/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-24-05 07:40 PM, in What Is Your Favorite Final Fantasy Game? Link
Originally posted by Grey Jedi Cheveyo
I can understand leaving FFAdventure out - as far as I know, that was actually in the Mana series, but renamed to sell better.

TO be entirely honest, someone's gonna ask for the FFL games and Mystic Quest to be included...

Xeo: FFIV was simply too damn linear. That's the main problem with it that I can see. FFVIII was, once you understood the Junctioning, far too easy. 126 Vit, 50-70 Str, almost 4k HP... yeah, Squall was almost stronger than Edea, alone.


The reason why I included Tactics in the end was because even in Japan, it still had the name Final Fantasy in front. Under pressure from you, I put it in. FFA is part of the Seiken Densetsu series, FFL SaGa, and FFMQ was simply Mystic Quest in Japan, and not at all an FF game originally.


(edited by beneficii on 06-24-05 10:41 AM)
beneficii

Lakitu
Level: 36

Posts: 195/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-24-05 11:38 PM, in Issue With CB_GETCURSEL Link
Originally posted by sloat
static and const aren't the same thing. static variables are essentially global variables with a local scope. and yes, C does support the static keyword.

You could keep the variable in WndProc if you create all of your child windows under the WM_CREATE message of the parent.

Another way you could keep track of the child windows would be to specify a control id. Pass a unique number in the hMenu param of CreateWindowEx, and then you can reference that control like a control on a Dialog -- via GetDlgItem, SendDlgItemMessage, etc.


Right, I know about that, but I prefer to do the HWND check (by comparing the HWND to the lParam), since the HWND is already there.

I never worked with static variables before. Thanks for the explanation!


(edited by beneficii on 06-24-05 02:39 PM)
beneficii

Lakitu
Level: 36

Posts: 196/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-25-05 03:38 AM, in Doing tables in 65816 Link
I don't have as much experience with 65816 as I do with 6502, but typically you'd use either y or x. This is assuming you're trying to read one byte at a time.

Something like:

ldy #$00
lookup:
lda startingaddress, y
(do your stuff with it here)
iny
tya
cmp #$04
bne lookup

I think there should be asm very similar to this in 65816.

Load 0 to y, then read the starting address + current value of y, then do your stuff with it, then increase y by one, transfer y to accumulator to check to see if y has reached 4 yet, and if not, then it should go back to lookup to do it again. Essentially, this is just like a for loop in C:

for(int y = 0; y < 4; y++)
{
accumulator = variable[startingaddress + y];
(do your stuff here)
}


(edited by beneficii on 06-24-05 06:41 PM)
(edited by beneficii on 06-24-05 06:42 PM)
(edited by beneficii on 06-24-05 06:43 PM)
beneficii

Lakitu
Level: 36

Posts: 197/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-25-05 04:46 PM, in To the idiots addressing the hacker Link
Acmlm appears to be retaking control of the board. Emuz has been unbanned and Acmlm is back to number 1.

Also, the DARTH NOOB OF PH34R LOLZ looks a bit suspicious. He remains logged in. He is user no. 2145.


(edited by beneficii on 06-25-05 07:48 AM)
beneficii

Lakitu
Level: 36

Posts: 198/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-25-05 08:13 PM, in How I used FCEUXD to find warp data for SMB2 (might help ppl learning ASM) Link
CP,

Actually, I was able to put FCEUXD to great use when I was searching for the lock, pipe, starting space, and airship fleeing spaces data for SMB3. I probably would have been unable to find them weren't it for FCEUXD.
beneficii

Lakitu
Level: 36

Posts: 199/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-25-05 08:22 PM, in Mario Party 6: Mini-game Skills Link
I was wondering, y'all, which mini-games in mp6 (or any other mp game if you want) do you think y'all are the best at? Also, which ones are you the worst at?

I think the ones I'm the best at (by wide margins compared to others I've played them with) are:

What Goes Up...--nighttime (falling) variant--No-one has been able to come close to beating me at this. When I go against hard comps, they are on average 50 yards behind me when I finish. I don't see why people have such a hard time with it; all it is is dodging stuff.

Tricky Tires--Another one that people seem to have difficulty with. If I play with a person or a hard comp, by the time I finish, the other person is only just getting past the thwomps. It seems that most people have difficulty controlling the vehicle. I never had difficulty

Sumo of Doom-O--This is one I tend to win, too. The hard comps usually present more of a challenge than other people. I just try to keep the center and my sides unexposed, while pushing my opponent toward the edge and trying to get him in the side.

There aren't any mini-games that I'm particularly horrid at. I'm probably the worst at snow brawl--either side--, because I can't quite figure out how to aim.

What about y'all?
beneficii

Lakitu
Level: 36

Posts: 200/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-25-05 09:04 PM, in Doing tables in 65816 Link
Originally posted by Euclid
Originally posted by beneficii

ldy #$00
lookup:
lda startingaddress, y
(do your stuff with it here)
iny
tya
cmp #$04
bne lookup


you can replace the tya and cmp with a single cpy instruction.

or if you're really tight on bytes, you can do it in reverse...
ldy #whatever maximum value
loop:
lda addr,y
(stuff)
dey
bne loop

Can't believe I missed that.



Duh...
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Acmlm's Board - I2 Archive - - Posts by beneficii


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.026 seconds.