ATCP demo scripts
- Alexander Divine
- Posts: 65
- Joined: Mon Dec 21, 2009 7:01 pm
Re: ATCP demo scripts
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
I guess I'm not completely understanding the difference between a function and an event handler function. Anyhow, here's my screenshot:
Re: ATCP demo scripts
Change the name of the script 'ATCP Sipper' to 'CharVitals'.
Re: ATCP demo scripts
Wow ..... um, I feel silly now.
Re: ATCP demo scripts
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.
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
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!
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
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!
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
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.
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
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.
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.