--


  << Previous Topic | Next Topic >>Return to Index  

Attac/Rexx

November 10 2001 at 8:16 AM
Dr. Bad 

-
Any chance you'd implement the Rexx functions Lower & Upper in Attac?

Particularly with the way Attac automatically capitalises stuff it sees from telnet (well, either that or what it displays in msgboxes) this would be handy.

I know their easy to write myself- just cuts out another step in converting Zoc scripts.

Cheers,

Dr. Bad

 
 Respond to this message   
AuthorReply

RE: Upper/Lower

November 13 2001, 10:12 PM 

Will do. I didn't realize Regina didn't include these.

As for converting Zoc scripts, they _shouldn't_ need to be converted. What are you converting?

-Peanut

 
 Respond to this message   
Dr. Bad

Attac/Rexx

November 15 2001, 6:47 AM 

>Will do. I didn't realize Regina didn't include these.
>
>As for converting Zoc scripts, they _shouldn't_ need >to be converted. What are you converting?
>

At this instant - The Reverend's Colo script; a bunch of things need changing in that script: (I am still using the last 3.x version of Attac- don't know if that makes any difference)

-lower/upper as we already discussed

- ZocGetInfo calls to get cursor location/file directories don't work
e.g.

zocgetscreen(0, zocgetinfo("CURSOR-Y"), zocgetinfo("CURSOR-X"))

- ZocSyncTime gives an error

Mostly they are easy to fix, but it does require a large amount of time runnign the script to find the next problem & correcting it (still haven't got it working, so there's at least one more problem I don't have listed)

Cheers,

Dr. Bad

 
 Respond to this message   
Dr. Bad

Attac/Rexx

November 15 2001, 7:05 AM 

heh... damn my memory is bad... I completely forgot installing Attac 4 last weekend... (you think I'd notice the completely different GUIs...) forget what I said about using 3.x- it was indeed 4B2 I was using. Also whilst my brain is working, I looked at a couple of scripts I previously tried to convert-

ZocGetGlobalOption is not implemented (as in zocgetglobaloption("ScriptPath"))

ZocWriteln with no arguments issues a CR/LF in Zoc, but an error in Attac.

Dr. Bad

 
 Respond to this message   

attac/rexx

November 15 2001, 11:40 AM 

why is he using zocgetinfo/zocgetscreen/zocgetinfo?
what purpose do they serve. if you can rewrite those scripts without it, submit the changed scripts to him.

zocsynctime is a relic of bad thread communication within zoc. the rexx thread gets out of sync with zoc so they needed that. ATTAC is better and never loses sync so that call is useless. maybe for compatability, it is a good idea to just allow people to call it but it wont do anything in attac.
earth.

 
 Respond to this message   
Dr. Bad

Attac/Rex

November 16 2001, 7:44 AM 

>why is he using zocgetinfo/zocgetscreen/zocgetinfo?

To check information that is alreayd on the screen- e.g. determine whether you are at the correct (Command/Planet/Citadel/Computer) prompt when u start a script.

>what purpose do they serve. if you can rewrite those >scripts without it, submit the changed scripts to him.

I can work around these, but its not as neat- I have to send a character like # or @ to the server to force the prompt to be redisplayed. I will certainly be sending him some updated scripts when (/if) I get them to work.

>zocsynctime is a relic of bad thread communication
>within zoc. the rexx thread gets out of sync with zoc
>so they needed that.
>ATTAC is better and never loses
>sync so that call is useless.

Yup, that's the main reason I'm persisting trying to get a few of my favourite scripts running.

> maybe for
>compatability, it is a good idea to just allow people
>to call it but it wont do anything in attac.

Yeh, that's what I'm suggesting. Right now its just yet another thing I have to change to get a script to work.

Cheers,

Dr. Bad

 
 Respond to this message   
Current Topic - Attac/Rexx
  << Previous Topic | Next Topic >>Return to Index  
Find more forums on Tradewars 2002Create your own forum at Network54
 Copyright © 1999-2008 Network54. All rights reserved.   Terms of Use   Privacy Statement