View Single Post
  #6  
Old 04-05-2007, 03:06 PM
Kayot
Discordant
 
Join Date: Sep 2006
Location: Subsection 185.D354 C.12
Posts: 346
Default

I get it, so to find item with class warrior bit set; since warrior is 1 I set it up like so:

Code:
Select classes From items where classes & 1;
And of course if I only want Warrior I just make it generic like so:

Code:
Select classes From items where classes = 1;
^-^ This makes things a hell of a lot easier. I was having it post process all the entry's which required a ton of leg work on the program. Now I can ease the processing that was needed. Goodbye 800ish lines, hello simple string insert.

Now to save this page onto my laptop so I can redesign that part of the program (No net access)

P.S. What do the other operators do? I'll probably find out, but short-cutting knowledge is always fun.
__________________
If at first you don't succeed destroy all evidence that you ever tried.

God doesn't give second chances... Hell, he sets you up the first time.
Reply With Quote