ATCP demo scripts

Share your scripts and packages with other Mudlet users.
User avatar
Alexander Divine
Posts: 65
Joined: Mon Dec 21, 2009 7:01 pm

Re: ATCP demo scripts

Post 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

Ilithyia
Posts: 43
Joined: Wed Mar 10, 2010 11:04 pm

Re: ATCP demo scripts

Post 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

User avatar
Rakon
Posts: 350
Joined: Tue Feb 16, 2010 7:41 pm
Contact:

Re: ATCP demo scripts

Post by Rakon »

Change the name of the script 'ATCP Sipper' to 'CharVitals'.

Ilithyia
Posts: 43
Joined: Wed Mar 10, 2010 11:04 pm

Re: ATCP demo scripts

Post by Ilithyia »

Wow ..... um, I feel silly now. :oops:

User avatar
Rakon
Posts: 350
Joined: Tue Feb 16, 2010 7:41 pm
Contact:

Re: ATCP demo scripts

Post 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.

Ilithyia
Posts: 43
Joined: Wed Mar 10, 2010 11:04 pm

Re: ATCP demo scripts

Post 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!

User avatar
Alexander Divine
Posts: 65
Joined: Mon Dec 21, 2009 7:01 pm

Re: ATCP demo scripts

Post by Alexander Divine »

Yaaaaay!

Knute
Posts: 87
Joined: Fri Mar 05, 2010 12:08 am

Re: ATCP demo scripts

Post 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!

prahaai
Posts: 10
Joined: Tue Jan 11, 2011 7:16 am

Re: ATCP demo scripts

Post 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.

User avatar
Rakon
Posts: 350
Joined: Tue Feb 16, 2010 7:41 pm
Contact:

Re: ATCP demo scripts

Post 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.

Post Reply