Page 6 of 7

Re: ATCP demo scripts

Posted: Tue Mar 23, 2010 6:04 pm
by Alexander Divine
As a side note, the ATCP handling turned out to be excellent as soon as I figured out that Lusternia doesn't really send you relevant stuff until you encounter it (i.e. not getting room info until you move). XD

Re: ATCP demo scripts

Posted: Tue Mar 23, 2010 6:55 pm
by Ilithyia
I guess I'm not completely understanding the difference between a function and an event handler function. Anyhow, here's my screenshot:
Image

Re: ATCP demo scripts

Posted: Tue Mar 23, 2010 8:00 pm
by Rakon
Change the name of the script 'ATCP Sipper' to 'CharVitals'.

Re: ATCP demo scripts

Posted: Wed Mar 24, 2010 12:58 pm
by Ilithyia
Wow ..... um, I feel silly now. :oops:

Re: ATCP demo scripts

Posted: Wed Mar 24, 2010 9:02 pm
by Rakon
No worries! I ran into the same issue and so I knew what the problem was for you.

I have an external script file, and was just calling that in the 'Scripts' dialog. It took me forever to actually understand why my 'CharVitals' function wasn't being called. (The error messages in console don't help for tiguring that out).

According to the ATCP section of the manual, the event being matched has to be it's own script, not just it's own function.

Re: ATCP demo scripts

Posted: Wed Mar 24, 2010 11:14 pm
by Ilithyia
Thank you so much!

In case anyone was hanging in suspense, everything works perfectly now that Rakon pointed out that error. Chalk it up to a learning experience, I guess!

Re: ATCP demo scripts

Posted: Thu Mar 25, 2010 2:58 am
by Alexander Divine
Yaaaaay!

Re: ATCP demo scripts

Posted: Wed Mar 31, 2010 6:04 pm
by Knute
Thank you so much for this thread!

It helped me get my gauges, AND my compass working.

I was using the Lusternia Fancy Gui, but that one doesn't use atcp. I got both my gauges and my compass working with ONLY atcp. No additional triggers required! It's sweet!

Re: ATCP demo scripts

Posted: Tue Jan 11, 2011 10:25 am
by prahaai
I don't know how ATCP works, i understand it is a special/invisible channel in IRE games, containing HP/MANA/Experience and other stuff.
So i have 2 questions:
1 : The data is JSON?
2 : When does the game send this information? After each command, or after moving to a new room? Or the MUD client can request it anytime?
Thank you.

Re: ATCP demo scripts

Posted: Tue Jan 11, 2011 6:02 pm
by Rakon
ATCP works differently than GMCP, the newer iteration of IRE's attempt to standardize a Mud protocol.

http://www.ironrealms.com/gmcp-doc
http://www.mudstandards.org/forum/viewt ... ?f=7&t=107

Those two links should help you to better understand GMCP workings.