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.


Messages - Crivens

Pages: 1 2 [3] 4 5 ... 60
31
GLBasic - de / UO DiNGSFont v5 (14. Juli 2011)
« on: 2012-Aug-11 »
That's spooky. I asked the exact same thing pretty much a year ago tomorrow. Look back in this thread for 12Aug11

Cheers

32
GLBasic - en / Re: Quick request
« on: 2012-Jul-25 »
German in Cyprus.

Cheers

33
GLBasic - en / Re: Detecting CAPS LOCK
« on: 2012-Jul-20 »
Yeah I used a load of AutoIT scripts years ago to automate logging into our Unix systems (I normally have at least 12 terminal sessions open at one time for my job). Pretty sure I used a lot of SendKey stuff. AutoIT turned out to be a bit friendlier for doing exactly what I wanted(and getting a simple program out to a lot of sites). I think I grabbed the Terminal window handler IDs, switched to them when I wanted to send some key data, and then did SendKey (or whatever it was I used as I'm sure I used SendKey and something else - would check but I can't be bothered getting my Cryptokey from upstairs...).

Works fine apart from you do anything else at the same time as the script and it can be just the right moment between selecting the window with the handler ID and sending the keys. For the life of me couldn't get it to correctly send to a given Terminal's text section, or even read from it. Then again we do use our own in-house written telnet terminal software, and also an SSH program (SNetterm) that seems good at also hiding things from external programs.

Cheers

34
GLBasic - en / Re: Detecting CAPS LOCK
« on: 2012-Jul-19 »
Yeah probably would be best. I used it in VB6 and AutoIT years ago so should be easy enough to convert. And stuff Macs/Linux :) To be honest though there is little to no chance this app will be available on PCs so it's only a nicety for me testing the thing.

Cheers

35
GLBasic - en / Re: Detecting CAPS LOCK
« on: 2012-Jul-19 »
Ah, it's not the end of the world as it doesn't matter for my mobile devices, and the PC works anyway. I just wanted an onscreen marker to show the caps lock status. I suppose I could look into Windows API calls or somesuch but it's not that big a deal. I just thought there might be a GLB command I missed.

Cheers

36
Off Topic / Re: Grimrock
« on: 2012-Jul-19 »
In the entire third year I didn't go to any morning lectures. None. I think I went to a total of about 15 lectures all year long. We had a get together group now and again (once a week I think) that was mandatory of about 5 students and a lecturer to see how things were going, and I got a note after a while (about 4 months) to say basically unless I was dead then I had better turn up otherwise I was getting kicked out of Uni. Extra sleep could be got from the few lectures I did attend. For third year final exams I think the most I revised (in total for the whole year) was about 2 hours the night before (after a few pints at the local bar) for one exam I was worried about (Robotics I believe). I would be at a bar, nightclub, or some party pretty much every night of the year. Basically I seriously thought I was in a movie or something. Honestly I was surprised when we had to actually start going to lectures, and really was a bit gutted (in my alcohol soaked mind) that there was no locker lined corridors like out of Fame or somesuch American college movie :) And I'm totally not making that up.

So yeah, by avoiding any sort of work at all I managed to fit in a healthy party lifestyle and lots of hobbyist coding. :) Of course I have always *loved* programming, so it wasn't exactly I was bored, I just love doing it. Always have. That's why I still love my job (after 17 years).

Actually I wish I had been a bit more into low level code at the time. Main stuff I did was STOS as it was the quickest way to get the best results IMHO. But a mate of mine (Mathematics and Comp Sci) was always dipping into Assembly and the like. A few times when we were all getting drunk and messing about with our STOS and AMOS creations he would be in the background knocking out some  cool Assembler raster routines (think of the demos you used to get) and the like. They were cool, but it was like totally over our heads and getting plastered and birds was the name of the game (and the odd DM clone). Didn't do anything to understand what he was doing. He's now a director at EA in San Fransisco and has worked on a load of top games. Nice!

Ah, with the amount of hobby coding I can get done these days I totally miss college days. Don't get me wrong I wouldn't swap my life now for anything, but just in terms of game programming those days were golden. The amount I could get done now (esp considering I don't drink much anymore) is just unbelievable with that amount of time! Seriously missed the boat with bedroom coding in the 80s and early 90s!

Cheers

37
Off Topic / Grimrock
« on: 2012-Jul-19 »
Wow that's coincidental! When I was in Uni instead of doing much studying and inbetween drinking I wrote a DM game in STOS.

If I remember rightly I gave up in the third year after gearing up on my final year project. I got it to the stage of walking around the maze and getting objects and the like with a maze editor. Next step was monsters.

My parents gave all my old computers to a charity shop years ago without telling me. I went through all the disks specifically to find my DM code (and some LOM code) but the ones I could read (lot of corruptions) didn't have it :( Well gutted!

Cheers

38
GLBasic - en / Detecting CAPS LOCK
« on: 2012-Jul-18 »
Ok so KEY(58) can detect when CAPS LOCK is pressed, but is there a command for detecting what the current status of CAPS LOCK is?

Cheers

39
Off Topic / Just to let you know!
« on: 2012-Jul-09 »
Universal Norris binary has no zeros.

1111111111111111 means roundhouse kick to the brain. Twice. Not to be confused with 111111111111 (church converted to a bar. By roundhouse kick)

Cheers

40
Off Topic / Just to let you know!
« on: 2012-Jul-09 »
Scared or scarred?

Also Chucks COBOL compiler apologised to him 2500 for every compile. Which is once as it never had a problem again.

Cheers

41
Off Topic / Re: Just to let you know!
« on: 2012-Jul-08 »
How childish. It's obvious to anyone that Chuck Norris has no need to compile anything. He just stares at an empty IDE and the computer panics producing the desired result on screen. Although desire is probably the wrong word. Willed is a bit better.

Cheers

42
Off Topic / Re: what's the flash game?
« on: 2012-Jul-05 »
Ah cmon now you know you want to move up to a colourful game with elastic bands around your balls!...  :whip:

Cheers

43
Off Topic / Re: what's the flash game?
« on: 2012-Jul-05 »
Ah mine was E-Motion. Top game (Atari ST I think mine was). Top game for the time. Easily playable these days... Hmmmm...

Cheers

44
Off Topic / Re: what's the flash game?
« on: 2012-Jul-05 »
Ah balls (literally). Dunno about Flash but I remember a game years ago just like it. I thought it was E=MC2 but can't find it for love nor money... Damn it... Thought it was something to do with Einstein and had cool balls that were supposed to be molecules or whatever I think and they looked really good like modern shaded spheres (but like late 80s or early 90s).

Hate it when can't remember. Oh and it played a bit like Thrust...

Cheers

45
True but then I haven't had a reason to use a DIMDEL on an array I need to keep the ID on to be honest. The DIMDEL project I did really didn't need the ID. Normally it's just a nicety when you can process with FOREACH.

Possibly would be good to be able to have a proper ID. Like you can with VB6 collections. It's basically a key. So we could have the idea where you could assign all your items to an array, then if the array is configured for a key (obviously don't need the memory and CPU overhead for every array) you could assign a key of anything you like (no duplicates), and then access that item in the array at anytime by referencing that key.

So, for example, you could use DRAWSPRITE xsprite["hero"].spriteid,xsprite["hero"].x,sprite["hero"].y rather than DRAWSPRITE xsprite[hero].spriteid,xsprite[hero].x,sprite[hero].y, which as you said could lose the correct hero pointer with a DIMDEL. Obviously the example could be replicated using FOREACH, but lets say you want to only show certain sprites in your array. Sure you could have a .visible tag, but you still process each item. Another array only full of keys for visible objects in your array would mean running through that array (and referencing your object array) would be a lot quicker. Obviously "a lot quicker" depends on what sort of algorithm is used to dig out an array element from a given key. Would be good though.

Cheers

Pages: 1 2 [3] 4 5 ... 60