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 HyperLamer
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
User Post
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3139/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-07-05 04:23 PM, in New SMW Game coming soon- testers wanted! Link
Luigi-san has the right idea. Take out the '3'.
Originally posted by Juggling Joker
How about "Super Mario World 47 - The Curse of the Generice Name"?

Nice. I should make one like that.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3140/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-07-05 04:28 PM, in Changing the castle entrance level and question about Map16 Pages Link
Yeah, that sounds right.

To simplify: Make your level, go to Save, get the pointer from the dialog box and save it. Get the pointer to the intro level from the help file, find it in the ROM, replace with the pointer from the Save box.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3141/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-07-05 04:36 PM, in Pipes? I'm confused Link
Just wanted to point out that your English is actually pretty good.

Anyway, go to Level -> Modify Secondary Entrances. Find one with no destination or that you don't plan to use, and set the options. (Tip: Next time you do that it'll stay at whatever entrance you edited last, very useful. Of course it's only until you close LM.) Then go to Level -> Add/Modify/Delete Screen Exits, set the screen number, put in the seconary entrance number and check the Secondary Exit box.
(restricted)
(restricted)
(restricted)
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3145/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-09-05 06:46 AM, in Blocking layouts. Link
Originally posted by Vystrix Nexoth
Version numbers are not directly comparable. Opera is at version 7, therefore it is more advanced than MSIE version 6? After all, 7>6. By that logic, Firefox- which is at version 1.0- shouldn't even be a blip on the radar, yet it stands strong as one of the best browsers. So does Opera, and a few other browsers you've probably not even heard of...

Hell, by that logic, IE at V6.0 is more advanced than Windows itself at V5.1.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3146/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-09-05 06:50 AM, in Edit other programs' RAM? Link
It's doable, but somewhat complicated, and of course makes your program completely version-dependant. If you just need to read variables, a better method might be to use FindWindowEx() to find the control that displays them and read it from there.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3147/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-09-05 06:53 AM, in My Computer Programming 11 Class.... Link
Ugh, this same thing happened to me. They mentioned C but we ended up with Java and Turing instead. But the next year, we did VB6. I don't think my mark ever dropped below 90 that year. The teacher would look at my code and just walk off confused, it rocked.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3148/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-09-05 07:06 AM, in Poor HTML programming Link
I did see a Firefox ad in the newspaper once. Big full-page one. That was nice.

The problem here is your friend seems to think that because IE is the most popular, its behaviour is the standard. In fact, IE tends to stray far from supporting the standards. The result is usually obscure security holes (it was actually built to allow web pages to launch programs - logging into Hotmail would launch MSN Messenger ) and bugs ('<object type>' would crash many older versions), and worse, web pages designed to meet these arbitrary standards instead of the real ones.

Generally I design my pages in Mozilla, then once it's finished I look at it in IE. If it doesn't look good, I'll try to fix it, but not if it means going out of my way to support some arbitrary 'feature'. If looks are that important to you, there's a link to the Mozilla home page.

I'd also just like to say that the implimentation of IE itself is just a horrible idea. The browser and the OS are far too integrated with eachother. This not only means you end up with an OS that's dependant on an HTML parser (some programs, such as XP's activation system, are actually written in Javascript ), but with a browser able to do things only the OS is supposed to be able to do. Something that deeply embedded in the OS should most certainly not be used to download and view remote files, especially with scripting support.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3149/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-09-05 07:12 AM, in 64-bit integers in C? Link
Seem to have come across a bit of a problem here... I need a 64-bit integer, but I can't find any! Using MinGW, Long, Int and Double all only seem to be able to hold values up to ~4 billion, where I need them to be as much as 10 or even 20 billion. (They're total file sizes for really big groups of files. ) Is there some way to force it to use 64-bit, or some other type of variable?
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3150/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-09-05 08:05 AM, in 64-bit integers in C? Link
Hmm... I tried "__int64 x = 5000000000;" and it seemed to recognize __int64 but still only made it 32 bits. Same thing with "long long int". It's like it doesn't realize that just because it's a 32-bit CPU doesn't mean it can't do 64-bit math (or else how could I even have files >4GB? ).

Also is there something similar to the VB 'With' statement? For example if I want to print several members of the structure "foo[i]", it's rather annoying having to type "foo[i]." before them all, and can make for rather messy code.

[edit] Bleh. Forgot [i] acts as an italics tag here.


(edited by HyperHacker on 02-09-05 04:06 AM)
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3151/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-09-05 03:45 PM, in 64-bit integers in C? Link
Yay, it worked using Para's and Neo's ideas. Though there is still the problem that printf(), sprintf() etc still think it's 32 bits, even using %ld instead of %d.. Kinda hard to display it properly that way. (With file sizes at least, it's not entirely necessary because I don't intend to display them in bytes, but there could be times I do need to.)

And Neo, I don't recall any manner of 64-bit support in VB.

[edit] Bah, this is why I avoided C for so long. Just what the hell is wrong with assigning a constant string to a fixed-size char array? I should be able to create a constant array of strings and not have them come out as '(null)', but I must have tried every combination of brackets upon brackets, asterisks, ampersands, casts, you name it. God I hate strings.


(edited by HyperHacker on 02-09-05 12:11 PM)
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3152/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-10-05 12:16 AM, in 64-bit integers in C? Link
Originally posted by Disch

const char* stringarray[3] = {
"String 1",
"String 2",
"etc"
};


That's what I was looking for. I was doing it like this:
const char* stringarray[3];
stringarray[0] = "String 1";
stringarray[1] = "String 2";
[...]


I still don't see why that couldn't work, since they're constant strings; it should just be making stringarray[0] point to the first one and stringarray[1] point to the second?


...And *surprise!* it doesn't work. I really don't see why this has to be so complicated.

int unit = 0;
const char* Name[10] = {
"Bytes",
"Kilobytes",
"Megabytes",
"Gigabytes",
"Terabytes",
"B",
"KB",
"MB",
"GB",
"TB"
};
while((b >= 1024) && (unit <= 4))
{
b = b /1024;
unit++;
}
if(!FullNames) unit += 5;
sprintf(Buffer,"%d %d %s",b,unit,Name[unit]);


It still just prints null for the first one and crashes with any others. The %lld thing isn't working either:

long long x = 5000000000LL;
printf("%lld\n",x);

I still only get 705032704 (0x2A05F200) rather than 5000000000 (0x12A05F200) (whether x is signed or not).
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3153/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-10-05 06:11 AM, in 64-bit integers in C? Link
It could be useful if you needed to write to I/O addresses or something, though not really useful, since you could just use #define instead..
Originally posted by neotransotaku
That's because you declared the stringarray variable as const. If you didn't declare it const, then you can write to it. Think about it, if it is const, none of that memory should change but you are changing that part of memory.

Er, right... It wasn't const in that.


as for your other code, where's the declaration of "Buffer"?

It's a function, actually. void FormatBytes(char* Buffer, unsigned long long Bytes, BOOL FullNames). b is just another unsigned long long that Bytes is copied into (rather than end up changing the variables that are passed... come to think of it, that wouldn't be an issue here would it?) I called it with this:
FormatBytes(TempStr,1000,true);
printf("%s\n",TempStr);

Where TempStr is a 256-byte char array. I get '1000 0 (null)' as a result. If I pass a value >=1024 for Bytes so that it would print a different string, it just crashes.

Para, I'm not sure exactly what, if anything, that code does different than mine did (I went and deleted it already), but I would just get the same result as what I have now. And maybe I just suck at Google but I can't seem to find Newlib downloads anywhere.


(edited by HyperHacker on 02-10-05 02:16 AM)
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3154/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-10-05 07:01 PM, in Disable Swearing... Link
Wow, you guys have some really crappy schools.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3155/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-10-05 07:09 PM, in 64-bit integers in C? Link
What, are you a compiler? I've posted all but a few lines already.

char WindowName[1024], TempStr[256];

//in WinMain()
FormatBytes(TempStr,1000,true);
printf("%s\n",TempStr);

//declaration
void FormatBytes(char* Buffer, unsigned long long Bytes, BOOL FullNames)
{
unsigned long long b = Bytes;
int unit = 0;
const char* Name[10] = {
"Bytes",
"Kilobytes",
"Megabytes",
"Gigabytes",
"Terabytes",
"B",
"KB",
"MB",
"GB",
"TB"
};
while((b >= 1024) && (unit <= 4))
{
b = b / 1024;
unit++;
}
if(!FullNames) unit += 5;
sprintf(Buffer,"%d %d %s",b,unit,Name[unit]);
}
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3156/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-10-05 07:13 PM, in Your dream Hardware... Link
I just want something that doesn't suck. With lots of RAM and a really frickin good video card. And a TV tuner. And a DVD+/-/*/what the hell ever drive.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3157/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-10-05 07:30 PM, in Slight Problem, lol Link
The only one I see missing is in a staff forum, so a lot of people wouldn't get it.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3158/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-10-05 07:33 PM, in Rugby fan had balls Link
It might be, but I pray they don't.
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
Acmlm's Board - I2 Archive - - Posts by HyperLamer


ABII


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



Page rendered in 0.031 seconds.