Game programmers and ....

Anything and Everything about Uplink

Moderators: bert_the_turtle, jelco, Chris, Icepick, Rkiver

Testicle
level1
level1
Posts: 41
Joined: Sun Jun 16, 2002 9:16 pm

Postby Testicle » Thu Aug 01, 2002 9:06 am

ok ill start working on it now, but im not sure its compatible with delphi, coz im doing it in turbo pascal for dos.
Check your email soon :)

btw is there a delay procedure in delphi or do i need to do one? i can do a delay procedure but it will delay the whole computer.
Testicle
level1
level1
Posts: 41
Joined: Sun Jun 16, 2002 9:16 pm

Postby Testicle » Thu Aug 01, 2002 9:20 am

landrocker you got mail

Im not sure though if it can be implemented with Delphi

I guess its up to you to figure how to implement it hehe



btw Im now on irc waiting for a conversation

(Edited by Testicle at 9:24 am on Aug. 1, 2002)
landrocker
level1
level1
Posts: 23
Joined: Sun Jul 28, 2002 3:46 am
Location: Queenstown, NZ

Postby landrocker » Thu Aug 01, 2002 9:24 am

Thanx Testicle,
Umm, I'm not sure about the delay procedure, but i'll search delphi help and the borland developer network for one that don't delay the whole machine then i'll edit ur code or post the change to u.

L8r,
~landrocker~

EDIT: Testicle go back on IRC :( lol


(Edited by landrocker at 9:28 pm on Aug. 1, 2002)
ImageThe truth is out there...
All you need is the passwords~landrocker~
Testicle
level1
level1
Posts: 41
Joined: Sun Jun 16, 2002 9:16 pm

Postby Testicle » Thu Aug 01, 2002 9:29 am

Actually you should look for any delay procedure :) I went through the delphi tutorial and realised it can do things in i think it was called "threads" where things can be done simultaneously, without interfering one another if they are on different threads, so all we have to do is put the letter-by-letter procedure on a thread of its own with any delay procedure, and it will not delay the whole computer. You see, pascal for dos doesnt have that.
landrocker
level1
level1
Posts: 23
Joined: Sun Jul 28, 2002 3:46 am
Location: Queenstown, NZ

Postby landrocker » Thu Aug 01, 2002 9:39 am

umm,
My copy of Delphi doesn't have crt for u to use (whatever that is ;) ).  Um, if u know, or could find out, how to access a certain character in a string (like character 5 for example) i could rite the loop to output to memo box or sumthing using a timer - not a completly seperate thread. Also, from the delphi help files, i don't think it has a delay function anyway.

If u know how to access a certain char just post it here or go onto IRC and tell me.

L8r,
~landrocker~
ImageThe truth is out there...
All you need is the passwords~landrocker~
Testicle
level1
level1
Posts: 41
Joined: Sun Jun 16, 2002 9:16 pm

Postby Testicle » Thu Aug 01, 2002 9:41 am

well its very easy in pascal - for example, i have a variable called "string" and its value is "Hello";
so, string[2] = 'e';

as for crt its a unit, i can send it to you


And you are not on irc :) why dont you go there we can discuss things more efficiently

(Edited by Testicle at 9:42 am on Aug. 1, 2002)
landrocker
level1
level1
Posts: 23
Joined: Sun Jul 28, 2002 3:46 am
Location: Queenstown, NZ

Postby landrocker » Thu Aug 01, 2002 9:44 am

Cool thanx testicle,
i think i've found the delphi proc to do that now so hopefully it'll work and i'll be postin v0.0.1 2morrow
ImageThe truth is out there...
All you need is the passwords~landrocker~
Testicle
level1
level1
Posts: 41
Joined: Sun Jun 16, 2002 9:16 pm

Postby Testicle » Thu Aug 01, 2002 9:44 am

k cool come to irc!!!
:)
Biblin
level2
level2
Posts: 132
Joined: Thu Jul 25, 2002 7:50 pm
Location: Devon, UK
Contact:

Postby Biblin » Thu Aug 01, 2002 9:48 am

If your looking for a character at a specific index then do uses <string_var_name>[index].

If you're looking for the first occurance of a particular character or string then use
 Index:=Pos(substring, string)
Signatures are for idiots.
Biblin
level2
level2
Posts: 132
Joined: Thu Jul 25, 2002 7:50 pm
Location: Devon, UK
Contact:

Postby Biblin » Thu Aug 01, 2002 9:50 am

To use a crt you use to include wincrt in the uses clause for tp.  in delphi you use the {$APPTYPE CONSOLE} compiler directive in the main program unit.
Signatures are for idiots.
Testicle
level1
level1
Posts: 41
Joined: Sun Jun 16, 2002 9:16 pm

Postby Testicle » Thu Aug 01, 2002 9:51 am

biblin and landrocker do you have icq?
Testicle
level1
level1
Posts: 41
Joined: Sun Jun 16, 2002 9:16 pm

Postby Testicle » Thu Aug 01, 2002 10:10 am

hehe the above was the 100th reply of this thread :)
Biblin
level2
level2
Posts: 132
Joined: Thu Jul 25, 2002 7:50 pm
Location: Devon, UK
Contact:

Postby Biblin » Thu Aug 01, 2002 10:12 am

Yup - click on the icq link above this post.
Signatures are for idiots.
Testicle
level1
level1
Posts: 41
Joined: Sun Jun 16, 2002 9:16 pm

Postby Testicle » Thu Aug 01, 2002 11:25 am

hey ak47 so am i in or not?
Adriac
level5
level5
Posts: 3504
Joined: Wed Jan 23, 2002 7:20 am

Postby Adriac » Thu Aug 01, 2002 2:56 pm

For those of you who missed it...

          
irc.openprojects.net:6667
#theproject

the dalnet channel seemed kinda dead to me...
00010001000100000000101100010111000 10110000100010001100001011111000101 10000100100000111100010000000011010 0001011000111100001000100001011

Return to “General”

Who is online

Users browsing this forum: No registered users and 12 guests