Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » Jesus Christ

This thread is locked; no one can reply to it. rss feed Print
 1   2 
Jesus Christ
23yrold3yrold
Member #1,134
March 2001
avatar

I graduated to Freecell after I got bored of Solitaire and MineSweeper. Now there are no (non-Allegro) games on here; too much of a distraction. I was still living with a roommate when I deleted that stuff; boy was he pissed (like I cared, it's my box :P)

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Rash
Member #2,374
May 2002
avatar

Sanity check: "Roger" doesn't happen to be Dan, now does he?
Sorry, couldn't resist. ::)

Derezo
Member #1,666
April 2001
avatar

:P

I rather like the games that come with WinXp :)
Playing against other people for a change.. instead of the blasted computer.... now, I don't lose every time! ;)

As mentioned a thousand times in that thread in game development.... I really hate how you gotta wait for them to make their move sometimes.. heh.. I wish I could just go 4 times in a row if they took too long ;) (Refering to checkers...) Whenever I'm bored I jump into checkers now..

"He who controls the stuffing controls the Universe"

Bruce Perry
Member #270
April 2000

Quote:

Subject: what compier are you useing
what compler did you download???

C
C++
Objective C
Assembler
Bison (yacc clone)
Flex (lex clone)

plz replay with the 1 you chose ok

roger

These are the languages offered by DJGPP's ZIP Picker. Clearly Roger doesn't know the difference between checkboxes and radio buttons. Anyway I thought he'd already downloaded that stuff. I didn't reply.

Roger also contacted my brother on Yahoo Messenger. He "might be comeing up november". He "dono yet". Thank God I'll be in Cambridge then.

Quote:

I have done it woooooooohooooooooooo
thanks for helping me out i would not have been able
to do it with out you its was all becuese i did not
but alleg in the lib I'm dumb! well thanks dude see ya :>

Roger

Butting Alleg in the lib has gotta hurt... (He means add 'alleg' to the list of libraries.) There we go, a little bit of research and everything's working! Geez, I directed him to the FAQ earlier - how long did it take him to find the answer in there? ::)

That guy should NOT be a coder.

And for your entertainment, regarding the abomination that is ":>" -

1/*
2<entheh> everyone who says :> gets kicked
3--- snip ---
4--- You have been kicked from #allegro by X-G (YOU SAID :> !!!!)
5--> You are now talking on #allegro
6<eim> :>
7<entheh> have you seen what it does on yahoo?
8--- SheBot sets modes [#allegro +o entheh]
9<eim> :P
10--- snip ---
11<entheh> lemme explain why I hate that smiley
12<entheh> because
13<entheh> this guy had just installed yahoo on my computer
14<entheh> which I didn't really want him to
15<eim> it looks too happy ?
16<entheh> I should've just said NO
17<entheh> but I didn't, so...
18<X-G> :&lt; is an evil smiley indeed
19<entheh> he went into some programming chatroom for me
20<eim> wtf were u thinking letting someone install yahoo on yer puter
21<entheh> &gt; :o
22<entheh> and
23<X-G> uh, right
24<entheh> he said "look, if you type this"
25<X-G> &lt; prolly sucks too.
26<entheh> then typed ":>"
27<entheh> this big goofy yellow monster came up and my speakers jumped a few feet in the air
28<X-G> /kick fingers ... twitching ...
29<entheh> and then he burst into goofy laughter
30<X-G> yikes
31<eim> heh
32<entheh> and expected me to laugh
33<entheh> NOW do you see why I hate it? >_<
34<X-G> totally.
35*/

>_<

I hope I never see him again. Ever. :P

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

kdevil
Member #1,075
March 2001
avatar

:> :> :> :> :> :> :> :> :> :> :> :> :> :> :> :> :>
:> :> :> :> :> :> :> :> :> :> :> :> :> :> :> :> :>
:> :> :> :> :> :> :> :> :> :> :> :> :> :> :> :> :>
:> :> :> :> :> :> :> :> :> :> :> :> :> :> :> :> :>

:P

-----
"I am the Black Mage! I casts the spells that makes the peoples fall down!"

Dark
Member #749
November 2000
avatar

Argh, I feel your pain.

I once taught someone to map.. :O

basically all the same emails, but about moving brushes, sectors, and lights. I'm dumb!

__________________________________
Posting from outside Spellcaster's window...

Bruce Perry
Member #270
April 2000

Silly me, I left out one thing I meant to say from the last post >_<

Quote:

Subject: what compier are you useing
what compler did you download???

He can't even pronounce 'compile'. No matter how many times I tell him. He always says 'comply'. IDIOT :P

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

kdevil
Member #1,075
March 2001
avatar

Are you sure that this person should even be near a computer?

-----
"I am the Black Mage! I casts the spells that makes the peoples fall down!"

Bruce Perry
Member #270
April 2000

<...> is someone talking in the channel.
>...< is me using /notice to send a private notice - it tends to stay in the same window.
-...- is me receiving a notice from someone else.

In #allegro:

#SelectExpand
1//Aug 09 23:02:23 --> x_darkdud (~x_darkdud@pc2-stap1-4-cust187.not.cable.ntl.com) has joined #allegro 2//Aug 09 23:02:30 <x_darkdud> yo 3//Aug 09 23:02:39 <Thrion> hõu 4//Aug 09 23:03:32 <x_darkdud> amyone know where entheh is? 5//Aug 09 23:03:41 <X-G> x_darkdud: right there 6//Aug 09 23:03:43 <x_darkdud> i have just got on this chat line 7# Aug 09 23:03:44 >X-G< it's Roger 8//Aug 09 23:03:46 <x_darkdud> how do you pm 9# Aug 09 23:03:48 >X-G< >______________________________< 10//Aug 09 23:03:53 <X-G> don't know :| 11//Aug 09 23:03:55 <Katheh> ... 12# Aug 09 23:03:56 -X-G- argh! 13# Aug 09 23:03:58 >X-G< tx :) 14//Aug 09 23:04:01 <X-G> he's probably away. 15# Aug 09 23:04:09 >X-G< he'll work out how, won't he :x 16//Aug 09 23:04:15 <x_darkdud> yo 17# Aug 09 23:04:18 -X-G- we'll keep pretending you're not here. 18# Aug 09 23:04:18 >X-G< ctcp version him for me 19//Aug 09 23:04:18 <x_darkdud> lol 20# Aug 09 23:04:22 >X-G< tx 21# Aug 09 23:04:34 -X-G- x-chat 22# Aug 09 23:04:38 >X-G< :o 23# Aug 09 23:04:52 >X-G< his full nick is x_darkdude_x 24# Aug 09 23:04:57 -X-G- better tell Katheh and Thrion, too. 25# Aug 09 23:05:02 >X-G< that's what he is on yahoo 26//Aug 09 23:05:05 <Katheh> Right click entheh, go to DCC, then click chat, I think. 27# Aug 09 23:05:11 >Katheh< it's Roger 28# Aug 09 23:05:14 -X-G- nngh! 29# Aug 09 23:05:16 >Thrion< it's Roger 30# Aug 09 23:05:40 >X-G< oh well, I don't have to accept a dcc chat :) 31# Aug 09 23:05:47 >X-G< he dcc chatted me 32# Aug 09 23:05:53 -Thrion- Jesus Christ! 33# Aug 09 23:05:55 -X-G- figures. now tell Katheh :P 34# Aug 09 23:06:01 >X-G< I did 35# Aug 09 23:06:05 >X-G< I told Thrion too 36//Aug 09 23:06:25 <x_darkdud> ok 37# Aug 09 23:06:28 >X-G< oh well, I may as well accept and see what he wants 38# Aug 09 23:06:29 -X-G- Good... any plans? 39//Aug 09 23:06:30 <x_darkdud> i try that 40# Aug 09 23:06:41 -X-G- another thread addition, eh? 41# Aug 09 23:06:46 >X-G< being X-Chat, there won't be a window yet - he won't know how to talk to me :P 42# Aug 09 23:06:48 -X-G- make sure to forward anything. 43//Aug 09 23:07:05 <entheh> x_darkdud: now you have to type: /query entheh 44//Aug 09 23:07:16 <x_darkdud> ok 45# Aug 09 23:07:43 >Katheh< X-Chat doesn't open a window when you do dcc chat - if there's a query window open, that becomes a dcc chat window 46# Aug 09 23:07:55 >X-G< will do

In a private message window:

#SelectExpand
1/* 2Aug 09 23:07:31 <x_darkdud> o i see 3Aug 09 23:07:43 <x_darkdud> this is ben right? 4Aug 09 23:07:47 <entheh> yep 5Aug 09 23:08:02 <x_darkdud> i finley got djgpp sorted lol 6Aug 09 23:08:27 <x_darkdud> so how you doing then 7Aug 09 23:08:39 <entheh> fine, but busy 8Aug 09 23:08:43 <x_darkdud> o 9Aug 09 23:08:45 <x_darkdud> what ya up to? 10Aug 09 23:09:02 <entheh> programming 11Aug 09 23:09:37 <entheh> so I gather you gave Matt a link to a trojan site of some kind? 12Aug 09 23:09:49 <x_darkdud> no 13Aug 09 23:09:56 <x_darkdud> its a program my bro is selling 14Aug 09 23:10:02 <x_darkdud> its not a bad lonk 15Aug 09 23:10:08 <x_darkdud> #link* 16Aug 09 23:10:16 <x_darkdud> he is selling it for 9.99 17Aug 09 23:10:25 <entheh> what does it do? 18Aug 09 23:10:53 <x_darkdud> its scanns youe pc for trogens and protectes your win.ini file 19Aug 09 23:11:09 <x_darkdud> it just keeps you protected from trogens 20Aug 09 23:11:16 <entheh> what was the link again? 21Aug 09 23:11:40 <x_darkdud> he has got the site dowb for a little while 22Aug 09 23:11:51 <x_darkdud> cos he is makeing the site look por 23Aug 09 23:11:58 <x_darkdud> i can send you the tril tho 24Aug 09 23:12:05 <x_darkdud> trail* 25Aug 09 23:12:06 <entheh> no thanks 26Aug 09 23:12:08 <entheh> *trial 27Aug 09 23:12:14 <x_darkdud> lol 28Aug 09 23:12:15 <x_darkdud> ya 29Aug 09 23:12:16 <entheh> what did he use to write it? 30Aug 09 23:12:21 <x_darkdud> vb 31. o O ( *cough* ) 32Aug 09 23:12:35 <x_darkdud> i still on djgpp i like it 33Aug 09 23:12:43 <x_darkdud> and this chat is ok as well 34Aug 09 23:13:16 <entheh> what other stuff has your bro written? 35Aug 09 23:13:26 <x_darkdud> erm 36Aug 09 23:13:32 <x_darkdud> port scanners 37Aug 09 23:13:40 <x_darkdud> fire walls 38Aug 09 23:13:47 <x_darkdud> virus scanners 39Aug 09 23:14:05 <entheh> port scanners eh? 40Aug 09 23:14:08 <x_darkdud> Raw data tools 41Aug 09 23:14:11 <x_darkdud> yup 42Aug 09 23:14:27 <entheh> firewalls, virus scanners and the other thing sound as if they're for protection 43Aug 09 23:14:34 <entheh> port scanners are designed to help you hack into a system 44Aug 09 23:14:39 <entheh> how do you explain that? 45Aug 09 23:14:49 <x_darkdud> not allways 46Aug 09 23:15:03 <x_darkdud> you can scann your self to see what ports are open on your system 47Aug 09 23:15:20 <entheh> ok 48. o O ( *cough* right. ) 49Aug 09 23:16:34 <x_darkdud> ya now on djgpp 50Aug 09 23:16:46 <entheh> yeah, but I use MinGW too 51Aug 09 23:16:47 <x_darkdud> to run a midi file its like this right? 52Aug 09 23:16:51 <x_darkdud> install_sound(DIGI_AUTODETECT, MIDI_AUTODETECT, ); 53Aug 09 23:16:55 <x_darkdud> opps 54Aug 09 23:17:02 <entheh> you need to put a 0 or a NULL in for the last parameter 55Aug 09 23:17:03 <x_darkdud> install_sound(DIGI_AUTODETECT, MIDI_AUTODETECT, 0); 56Aug 09 23:17:05 <entheh> yeah 57Aug 09 23:17:13 <x_darkdud> would this work as well 58Aug 09 23:17:21 <x_darkdud> install_sound(DIGI_AUTODETECT, MIDI_AUTODETECT, NULL); 59Aug 09 23:17:29 <entheh> yep 60Aug 09 23:17:38 <x_darkdud> cos its not playing the midi file 61Aug 09 23:17:58 <entheh> what else did you add? 62Aug 09 23:18:04 <x_darkdud> nothing 63. o O ( gah! ) 64Aug 09 23:18:17 <entheh> no load_midi()? play_midi()/ 65Aug 09 23:18:20 <entheh> destroy_midi()? 66Aug 09 23:18:27 <entheh> and you expect it to play? 67Aug 09 23:18:27 <entheh> :P 68Aug 09 23:18:29 <x_darkdud> so its like 69Aug 09 23:19:17 <x_darkdud> mainsound = load_midi(d:/a.mid"); 70Aug 09 23:19:38 <entheh> no - put the midi file inside your firstgame folder 71Aug 09 23:19:47 <entheh> then just use "a.mid" 72Aug 09 23:19:54 <x_darkdud> i did 73Aug 09 23:20:06 <entheh> then why the d:/ in there? 74Aug 09 23:20:10 <x_darkdud> then i make a sound folder 75Aug 09 23:20:13 <x_darkdud> just ex 76Aug 09 23:20:17 <x_darkdud> ii put 77Aug 09 23:20:21 <x_darkdud> sound/a.mid 78Aug 09 23:20:24 <entheh> ok 79Aug 09 23:20:32 <x_darkdud> and it did not work 80Aug 09 23:20:45 <entheh> what didn't work? 81Aug 09 23:20:54 <x_darkdud> it did not play the midi file 82Aug 09 23:21:02 <entheh> ok, so it did compile and link? 83Aug 09 23:21:07 <x_darkdud> yup 84Aug 09 23:21:14 <entheh> you forgot something 85Aug 09 23:21:17 <x_darkdud> no erorrs or warnings 86Aug 09 23:21:17 <entheh> and it's in the docs 87Aug 09 23:21:22 <entheh> you've loaded the file 88Aug 09 23:21:25 <entheh> you haven't told it to play yet 89Aug 09 23:21:37 <x_darkdud> havent i 90Aug 09 23:21:38 <entheh> I'm not gonna give you the code - you need to look through the 91 docs and find out what to do 92Aug 09 23:21:44 <x_darkdud> lol 93Aug 09 23:21:52 <x_darkdud> ah 94Aug 09 23:21:55 <x_darkdud> would this work 95Aug 09 23:22:25 <x_darkdud> install_sound(DIGI_AUTODETECT, MIDI_AUTODETECT, NULL); 96Aug 09 23:22:29 <x_darkdud> opps 97Aug 09 23:22:35 <x_darkdud> wait 1 min 98Aug 09 23:23:15 <entheh> RHIDE has a 'copy to windows clipboard' option in the Edit menu 99Aug 09 23:24:01 <x_darkdud> if (mainsound) play_sample(mainsound, 255, 128, 1000, 1); 100. o O ( /me rolls eyes ) 101Aug 09 23:24:27 <entheh> try it 102Aug 09 23:24:27 <x_darkdud> would that play it 103Aug 09 23:24:29 <x_darkdud> ok 104Aug 09 23:24:33 <x_darkdud> 1min 105Aug 09 23:25:45 <x_darkdud> it dose not work 106Aug 09 23:25:57 <entheh> exactly as I expected 107Aug 09 23:26:00 <x_darkdud> o 108Aug 09 23:26:03 <entheh> MIDI and SAMPLE aren't the same thing 109Aug 09 23:26:09 <entheh> look through the docs for another function 110Aug 09 23:26:20 <x_darkdud> ok 111Aug 09 23:26:52 <x_darkdud> umm 112Aug 09 23:27:05 <x_darkdud> how about this 113Aug 09 23:29:10 <x_darkdud> mainsound = play_midi(mainsound, 255, 128 , 1000, 1); 114. o O ( nnngh!!! ) 115Aug 09 23:29:21 <entheh> try it 116Aug 09 23:29:26 <x_darkdud> lol 117Aug 09 23:29:27 <x_darkdud> ok 118Aug 09 23:30:22 <x_darkdud> nope i got load of erros 119Aug 09 23:30:27 <x_darkdud> it did not like it 120Aug 09 23:30:35 <entheh> thought so 121. o O ( ha! ) 122Aug 09 23:30:42 <entheh> now look up play_midi and find out what parameters it takes 123Aug 09 23:30:59 <x_darkdud> its weard tho 124Aug 09 23:31:02 <x_darkdud> i dont get it 125Aug 09 23:31:08 <entheh> makes perfect sense to me 126Aug 09 23:32:05 <x_darkdud> int play_midi(MIDI *midi, int loop); 127Aug 09 23:32:10 <x_darkdud> i do not get that 128Aug 09 23:32:12 <x_darkdud> lol 129Aug 09 23:32:17 <entheh> ok 130Aug 09 23:32:36 <entheh> you've got a variable that matches the first parameter 131Aug 09 23:32:39 <entheh> it's: MIDI *mainsound; 132Aug 09 23:32:44 <entheh> so you can pass 'mainsound' there 133Aug 09 23:32:56 <x_darkdud> ok 134Aug 09 23:32:57 <x_darkdud> like 135Aug 09 23:32:58 <entheh> if you read the docs, it'll tell you how 'loop' works 136Aug 09 23:33:09 <entheh> 'int loop' means it expects you to pass an int there 137Aug 09 23:33:15 <entheh> a number can be an int 138Aug 09 23:33:26 <x_darkdud> o 139Aug 09 23:33:42 <entheh> but you need to read the docs to find out what the number means 140Aug 09 23:33:50 <x_darkdud> plz dude 141Aug 09 23:34:08 <x_darkdud> i have not been doing it for long 142Aug 09 23:34:25 <x_darkdud> can you plz just give me the code plz :( 143Aug 09 23:34:27 <entheh> "If the loop flag is set" 144Aug 09 23:34:29 <entheh> from the docs 145Aug 09 23:34:31 <entheh> right 146Aug 09 23:34:38 <x_darkdud> flag? 147Aug 09 23:34:38 <entheh> a 'flag' is a true or false value 148Aug 09 23:34:42 <x_darkdud> ok 149Aug 09 23:34:43 <entheh> 0 means false 150Aug 09 23:34:49 <entheh> any other number (usually 1 though) means true 151Aug 09 23:35:02 <entheh> set = true 152Aug 09 23:35:06 <entheh> you should be able to do it now 153Aug 09 23:35:07 <x_darkdud> so its like 154Aug 09 23:35:27 <x_darkdud> play_midi(mainsound , 1); 155Aug 09 23:35:29 <x_darkdud> that is not it 156Aug 09 23:35:38 <x_darkdud> thats just stupid 157. o O ( ugh... ) 158Aug 09 23:35:45 <entheh> why is it stupid? 159Aug 09 23:35:48 <entheh> have you even tried it yet? 160Aug 09 23:35:59 <x_darkdud> not yet 161Aug 09 23:36:06 <entheh> tell me, why is it stupid? 162Aug 09 23:36:29 <x_darkdud> it just dont look right at all 163Aug 09 23:36:43 <entheh> how do you know? you haven't been doing it for long 164Aug 09 23:36:44 <entheh> :P 165Aug 09 23:36:52 <x_darkdud> lol 166. o O ( stop saying lol, it's not funny it's bloody annoying! ) 167Aug 09 23:36:58 <x_darkdud> can you plz just tell em the code 168Aug 09 23:37:01 <x_darkdud> plz 169Aug 09 23:37:04 <x_darkdud> :D 170Aug 09 23:37:06 <entheh> grrrrrr 171Aug 09 23:37:09 <entheh> just TRY IT 172Aug 09 23:37:09 <x_darkdud> lol 173. o O ( AAAARGH! ) 174Aug 09 23:37:14 <x_darkdud> i will try it 175Aug 09 23:39:12 <x_darkdud> it did not work 176Aug 09 23:39:18 <x_darkdud> i got a warning 177Aug 09 23:39:25 <entheh> what warning did you get? 178Aug 09 23:39:31 <entheh> quote it please 179Aug 09 23:39:37 <x_darkdud> ok 180Aug 09 23:40:22 <x_darkdud> passing arg 1 og 'play_midi' form incompleate pointer type 181. o O ( nice quote ) 182Aug 09 23:40:27 <x_darkdud> this is what i put 183Aug 09 23:40:28 <x_darkdud> if (mainsound) play_midi(mainsound , 1); 184Aug 09 23:40:46 <entheh> in that case you should have got a warning on the load_midi line too 185Aug 09 23:41:22 <entheh> let's see your load_midi line plz 186Aug 09 23:41:31 <x_darkdud> load 187Aug 09 23:41:32 <x_darkdud> i got 188Aug 09 23:41:49 <x_darkdud> this is what i got for main sound 189Aug 09 23:41:53 <x_darkdud> mainsound = load_sample("a.mid"); 190. o O ( not very thorough, are we ) 191Aug 09 23:42:04 <entheh> a.mid isn't a sample 192Aug 09 23:42:05 <x_darkdud> no load midi 193Aug 09 23:42:08 <entheh> you shouldn't be using load_sample on it 194Aug 09 23:42:10 <entheh> it'll fail 195Aug 09 23:42:18 <entheh> look for a function other than load_sample 196Aug 09 23:42:21 <entheh> you should be able to guess the name 197Aug 09 23:42:22 <x_darkdud> ok 198Aug 09 23:42:29 <x_darkdud> so its like 199Aug 09 23:42:35 <x_darkdud> mainsound = load_midi("a.mid"); 200Aug 09 23:42:40 <entheh> try it 201Aug 09 23:42:43 <x_darkdud> ok 202Aug 09 23:45:53 <x_darkdud> i got warning on] 203Aug 09 23:46:05 <x_darkdud> mainsound = load_sample("a.mid"); 204Aug 09 23:46:08 <x_darkdud> it says 205Aug 09 23:46:35 <x_darkdud> assignment incompatible pointer type 206. o O ( ah, he's learnt to spell 'incompatible'! ) 207Aug 09 23:46:45 <entheh> JUST as I expected :P 208. o O ( HA!! ) 209Aug 09 23:46:51 <x_darkdud> lol 210. o O ( grr... ) 211Aug 09 23:46:51 <entheh> now read the docs for load_midi 212Aug 09 23:47:01 <x_darkdud> ok 213Aug 09 23:47:02 <entheh> note that it says: 214Aug 09 23:47:14 <entheh> MIDI *load_midi(const char *filename); 215Aug 09 23:47:22 <entheh> the MIDI * is the important bit 216Aug 09 23:47:26 <entheh> your variable must much 217Aug 09 23:47:28 <entheh> uh 218Aug 09 23:47:30 <entheh> your variable must match 219Aug 09 23:47:33 <entheh> so change 220Aug 09 23:47:35 <x_darkdud> the MIDI is = to mainsound? 221. o O ( Please to beink askink questions coherently. ) 222Aug 09 23:47:38 <entheh> SAMPLE *mainsound; 223Aug 09 23:47:43 <entheh> to something else 224Aug 09 23:48:31 <x_darkdud> so like 225Aug 09 23:48:48 <entheh> and try it before asking me 226Aug 09 23:48:54 <x_darkdud> ok 227Aug 09 23:50:14 <x_darkdud> umm 228Aug 09 23:50:20 <x_darkdud> i can not think what to put 229Aug 09 23:50:48 <entheh> MIDI *load_midi(const char *filename); <-- this says that load_midi returns MIDI * 230Aug 09 23:50:56 <entheh> so your variable must be a MIDI * 231Aug 09 23:50:59 <entheh> now do you know what to put? 232Aug 09 23:51:31 <x_darkdud> my head dude i have only been doing C\C++ for about 2 week 233Aug 09 23:51:35 <x_darkdud> lol 234. o O ( wimp ) 235Aug 09 23:51:49 <entheh> MIDI *mainsound; 236Aug 09 23:51:55 <entheh> you should've been able to do that 237Aug 09 23:52:40 <x_darkdud> i forgot about the variables 238. o O ( uh, HELLO? what were we just talking about for the last few minutes? ) 239Aug 09 23:52:51 <x_darkdud> ok i have changed it to 240Aug 09 23:53:02 <x_darkdud> static MIDI *mainsound; 241. o O ( I told him to make all the variables static when I was writing the code for him. ) 242Aug 09 23:53:08 <entheh> ok 243Aug 09 23:53:09 <entheh> now try it 244Aug 09 23:54:18 <x_darkdud> i should change this shouldnt i 245Aug 09 23:54:21 <x_darkdud> if (mainsound) play_midi(mainsound, 255, 128, 1000, 0); 246Aug 09 23:54:37 <x_darkdud> too many arguments to function 247. o O ( trust your teacher you dimwit ) 248Aug 09 23:54:50 <entheh> I thought you'd already changed that... 249Aug 09 23:54:57 <x_darkdud> what to 250Aug 09 23:55:01 <entheh> you had it earlier 251Aug 09 23:55:03 <entheh> scroll up 252Aug 09 23:55:37 <x_darkdud> what this 253Aug 09 23:55:41 <x_darkdud> play_midi(mainsound , 1); 254Aug 09 23:55:43 <entheh> yep 255Aug 09 23:55:48 <x_darkdud> that wa sit 256Aug 09 23:55:52 <x_darkdud> it* 257Aug 09 23:56:01 <x_darkdud> i though that was worng when i thoght about it 258Aug 09 23:56:07 <x_darkdud> ok i will try that 259Aug 09 23:57:03 <x_darkdud> no errors 260Aug 09 23:57:08 <x_darkdud> but it still not work 261Aug 09 23:57:24 <entheh> in that case maybe you can't get MIDI on DOS 262Aug 09 23:57:35 <entheh> send me the .c file if you like - I'll test it for you 263Aug 09 23:57:41 <x_darkdud> ok 264Aug 09 23:57:52 <entheh> actually zip it all up for me 265Aug 09 23:57:59 <entheh> so I've got the datafiles 266Aug 09 23:58:47 <x_darkdud> ok 267Aug 09 23:58:55 <entheh> to send the file: 268Aug 09 23:58:58 <x_darkdud> 1min 269Aug 09 23:59:07 <entheh> /dcc send entheh c:\firstgame.zip 270Aug 09 23:59:14 <entheh> obviously specify the right path 271. o O ( "obviously"? ) 272Aug 10 00:07:27 <x_darkdud> ok 273Aug 10 00:08:08 <x_darkdud> was that right 274Aug 10 00:08:16 <entheh> no, because I didn't get anything 275Aug 10 00:08:25 <x_darkdud> its 276. o O ( MONTY PYTHON'S FLYING CIRCUS! ) 277Aug 10 00:08:28 <entheh> what did you type, and what did you see on the screen? 278Aug 10 00:08:37 <entheh> (type a space before the / in order to show me what it was) 279Aug 10 00:08:49 <x_darkdud> so iys 280Aug 10 00:09:20 <x_darkdud> so its dcc C:\game.zip 281. o O ( nnnnnngh! ) 282Aug 10 00:09:30 <entheh> you missed out 'send' 283Aug 10 00:09:33 <entheh> you also missed out 'entheh' 284Aug 10 00:09:36 <entheh> read what I wrote 285Aug 10 00:09:40 <entheh> <entheh> /dcc send entheh c:\firstgame.zip 286 287Then I actually received the file. 288 289Aug 10 00:10:28 <entheh> that worked, thanks 290Aug 10 00:10:34 <x_darkdud> ok 291Aug 10 00:10:39 <x_darkdud> it should just run 292Aug 10 00:10:44 <x_darkdud> strait from the folder 293Aug 10 00:11:19 <x_darkdud> i like midi files cos 294Aug 10 00:11:27 <x_darkdud> i have got 100s what would suit my game 295 296I looked through his code. Everything seemed to be in order. 297Then I ran the thing. The MIDI worked. Ripped from somewhere, of course (it's either 298in Secret of Mana or it's been used in Fenix Blade). 299 300There was a human reproductive organ protruding from one of the characters' foreheads. 301 302Aug 10 00:15:30 <entheh> it works 303Aug 10 00:15:32 <entheh> I get MIDI music 304Aug 10 00:15:41 <x_darkdud> you do 305Aug 10 00:15:42 <entheh> so there's nothing wrong with your code 306Aug 10 00:15:48 <x_darkdud> it plays on yours 307Aug 10 00:15:49 <entheh> yep 308Aug 10 00:15:54 <entheh> well done for putting destroy_midi() in 309Aug 10 00:16:01 <x_darkdud> what dos should i get 310. o O ( THAT belongs on www.rinkworks.com/stupid/ . ) 311Aug 10 00:16:17 <entheh> it's more a question of what sound card you should get 312Aug 10 00:16:23 <x_darkdud> was that well done sas in weldone or 313. o O ( hmm I didn't see the above line before... watch him remove it now :P ) 314Aug 10 00:16:27 <entheh> do you get sound at all by the way? 315Aug 10 00:16:36 <entheh> do the play_sample() calls generate any sound? 316Aug 10 00:16:41 <x_darkdud> nope 317Aug 10 00:16:53 <x_darkdud> what dos have you got 318Aug 10 00:17:00 <x_darkdud> ive got 319. o O ( ugh! LEARN TO READ ) 320Aug 10 00:17:15 <entheh> probably the same as you 321Aug 10 00:17:22 <entheh> <entheh> it's more a question of what sound card you should get 322Aug 10 00:17:25 <x_darkdud> so whats wrong? 323Aug 10 00:17:41 <x_darkdud> um 324Aug 10 00:17:44 <x_darkdud> its play em ok 325Aug 10 00:17:48 <x_darkdud> with vb games 326Aug 10 00:18:04 <entheh> VB creates Windows executables 327Aug 10 00:18:06 <entheh> DJGPP creates DOS ones 328Aug 10 00:18:09 <entheh> I thought you already knew that 329. o O ( I told him that, didn't I tell him that? ) 330Aug 10 00:18:10 <x_darkdud> o 331Aug 10 00:18:23 <x_darkdud> i thogh it wad the same 332Aug 10 00:18:35 <entheh> did you ever get Allegro working with Visual C++? 333Aug 10 00:18:37 <x_darkdud> how would i make mid files into wav 334Aug 10 00:18:40 <entheh> if you can do that, you'll probably get MIDI 335Aug 10 00:18:47 <entheh> you can't make midi files into wav files - sorry 336. o O ( slight fib, but I'm NOT going to download his 500 MB game... ) 337. o O ( anyway I thought he didn't get sound at all ) 338Aug 10 00:18:51 <x_darkdud> no 339Aug 10 00:18:55 <x_darkdud> it was to hard 340. o O ( I suppose subscribing to [AL] was too hard as well then eh? ) 341Aug 10 00:19:06 <entheh> I suggest you make do without MIDI for now 342Aug 10 00:19:13 <x_darkdud> darn 343Aug 10 00:19:19 <x_darkdud> i have like 120 of them 344Aug 10 00:19:24 <x_darkdud> what will suit my game 345. o O ( all of 'em ripped ) 346Aug 10 00:19:29 <entheh> try and get it working with Visual C++ 347Aug 10 00:19:33 <entheh> if you can't get it working now, try later 348Aug 10 00:19:37 <x_darkdud> it weard tho 349Aug 10 00:19:49 <entheh> I also directed you to the Allegro mailing list 350Aug 10 00:19:52 <x_darkdud> it tells you to put include in the dir 351Aug 10 00:19:52 <entheh> you should be able to ask them for help 352Aug 10 00:20:00 <x_darkdud> when there is allready 1 there 353Aug 10 00:20:08 <entheh> you probably didn't read it carefully enough 354Aug 10 00:20:15 <x_darkdud> i show you 355Aug 10 00:20:16 <x_darkdud> 1min 356Aug 10 00:20:19 <entheh> no point 357Aug 10 00:20:19 <x_darkdud> the text 358Aug 10 00:20:22 <entheh> oh ok 359Aug 10 00:20:28 <entheh> I don't have Visual C++ though 360Aug 10 00:20:31 <entheh> so there's only so much I can do 361Aug 10 00:20:37 <entheh> why didn't you ask on the Allegro mailing list? 362Aug 10 00:20:40 <entheh> that's what I told you to do 363Aug 10 00:20:55 <x_darkdud> um 364Aug 10 00:20:59 <x_darkdud> well this is what it said 365Aug 10 00:21:03 <x_darkdud> Allegro 4.0.2 - July 3rd, 2002 366Aug 10 00:21:03 <x_darkdud> MSVC Package, Distributed by Allegro.cc 367Aug 10 00:21:03 <x_darkdud> * SETUP * 368Aug 10 00:21:03 <x_darkdud> To install, just click on the install.bat file. 369Aug 10 00:21:03 <x_darkdud> If that does not work, then you will need to copy the 'include' and 'lib' 370Aug 10 00:21:03 <x_darkdud> folders to your 'VC98' folder. The three DLLs will need to be copied to 371Aug 10 00:21:03 <x_darkdud> your Windows system folder. 372Aug 10 00:21:03 <x_darkdud> * HOW TO USE * 373Aug 10 00:21:03 <x_darkdud> Read this document: 374Aug 10 00:21:03 <x_darkdud> http://www.allegro.cc/docs/windows-msvc-use.html 375Aug 10 00:21:03 <x_darkdud> It really does tell you how to use Allegro with MSVC. 376Aug 10 00:21:03 <x_darkdud> * OTHER THINGS TO GET * 377Aug 10 00:21:03 <x_darkdud> Make sure you download the manual from www.allegro.cc. The CHM version 378Aug 10 00:21:03 <x_darkdud> is the nicest. 379Aug 10 00:21:03 <x_darkdud> Download the example files from www.allegro.cc if you want to see how to 380Aug 10 00:21:03 <x_darkdud> do a lot of cool stuff with Allegro. 381Aug 10 00:21:18 <entheh> yes 382Aug 10 00:21:20 <entheh> just as I thought 383Aug 10 00:21:22 <x_darkdud> ok 384Aug 10 00:21:34 <entheh> "you will need to copy the 'include' and 'lib' folders to your 385 'VC98' folder" 386Aug 10 00:21:35 <x_darkdud> but i allready had a lib and include folder 387Aug 10 00:21:38 <entheh> of course it did 388Aug 10 00:21:40 <entheh> you need to copy them 389Aug 10 00:21:42 <entheh> read what it says 390Aug 10 00:21:43 <entheh> :P 391Aug 10 00:21:48 <x_darkdud> but 392Aug 10 00:21:52 <x_darkdud> i allready have 393Aug 10 00:22:09 <x_darkdud> a include folder in there nad a lib folder in there 394Aug 10 00:22:13 <entheh> in where? 395Aug 10 00:22:21 <x_darkdud> the VC98 folder 396Aug 10 00:22:28 <entheh> ok 397Aug 10 00:22:31 <entheh> that sounds right 398Aug 10 00:22:43 <x_darkdud> and it is asking me to [put an other 1 in ther it will not let me 399Aug 10 00:22:54 <entheh> when you copy folder A over folder B, the files in A will be _added_ 400 to the files in B 401Aug 10 00:22:56 <entheh> that's what it means 402Aug 10 00:23:01 <entheh> and that's what you need to do 403. o O ( ugh ) 404Aug 10 00:23:14 <x_darkdud> i will try it 405Aug 10 00:23:20 <entheh> ok 406Aug 10 00:23:22 <entheh> and if you have trouble 407Aug 10 00:23:35 <entheh> don't come to me, because I won't be able to solve many problems 408 with Visual C++ 409Aug 10 00:23:47 <x_darkdud> i know 410Aug 10 00:25:07 <x_darkdud> brb 411Aug 10 00:25:11 <x_darkdud> am gona try it 412Aug 10 00:36:51 <x_darkdud> yo 413Aug 10 00:36:56 <x_darkdud> i did what it said 414Aug 10 00:37:01 <x_darkdud> and it give me this error 415Aug 10 00:37:02 <x_darkdud> 416Aug 10 00:37:02 <x_darkdud> 417Aug 10 00:37:06 <x_darkdud> Bad command or file name 418Aug 10 00:37:06 <x_darkdud> The Environment variable MSVCDIR is not set, you will have to copy 419 the files by 420Aug 10 00:37:06 <x_darkdud> hand. See the README file for more details. 421Aug 10 00:37:06 <x_darkdud> Press any key to continue . . . 422. o O ( AGH! ) 423Aug 10 00:37:15 <entheh> well see the README file, duh 424Aug 10 00:37:21 <x_darkdud> lol 425Aug 10 00:37:23 <entheh> and I said don't ask me about problems with Visual C++ 426Aug 10 00:37:24 <x_darkdud> its sayd 427Aug 10 00:37:32 <x_darkdud> put the 3 dll in system 428Aug 10 00:37:34 <x_darkdud> and i did 429Aug 10 00:37:45 <x_darkdud> and put lib and include in the VC98 folder 430Aug 10 00:37:47 <x_darkdud> and i did 431Aug 10 00:37:54 <entheh> go to http://alleg.sf.net/maillist.htm and subscribe to [AL] 432Aug 10 00:37:56 <entheh> ask them 433Aug 10 00:38:00 <x_darkdud> ok 434Aug 10 00:38:03 <entheh> for the last time, I cannot help with Visual C++ 435Aug 10 00:38:43 <entheh> apologies, it's http://alleg.sf.net/maillist.html 436Aug 10 00:39:28 <x_darkdud> k 437Aug 10 00:54:36 <x_darkdud> i should not ask but you might just know what this means 438Aug 10 00:54:41 <x_darkdud> The Environment variable MSVCDIR is not set 439Aug 10 00:54:53 <entheh> I do know what it means, and the instructions in readme.txt 440 tell you the answer 441Aug 10 00:56:14 <entheh> which file did you download from www.allegro.cc/files by the way? 442Aug 10 00:56:17 <entheh> for MSVC 443Aug 10 01:31:14 <-- x_darkdud has quit (Read error: 54 (Connection reset by peer)) 444. o O ( aren't I nice, I was gonna check that the instructions were provided for him. Peh. ) 445*/

Oh, and #%£$ anonymity. His real name is Ben. How dare he be named the same as me. :-X

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

FrankyR
Member #243
April 2000
avatar

It was tough enough reading that, congrats on being able to continue the conversation.

I had a friend who sat next to me in programming class. He's a good friend who was in programming with me since grade 10, and he usually got it ok, but by grade 12, it all seemed to be over his head. So throughout almost the whole year I spent more time helping him with his projects than I spent on mine (it was ok because I usually got the projects done early, the class was REALLY easy). At first I wanted him to figure it out for himself, but by the end of the year I would just take the keyboard and do it for him. It saved me a lot of time :)

 1   2 


Go to: