Using GMCP opening/ending tags to capture text

Post Reply
Michael
Posts: 9
Joined: Sun Jul 05, 2009 11:19 am

Using GMCP opening/ending tags to capture text

Post by Michael »

Hello,

In Achaea they send the wilderness map like this:

gmcp.IRE.Display.Ohmap "start"
............+............
............+............
............+............
...........+++...........
......+++++.+.+..........
....++....##+#.+.........
..++.....###+#..+++......
++.#...##########..+++++.
..##########@####.......+
..#################......
..####################...
..#####################..
..#######################
..#######################
..#######################
.########################
#########################
gmcp.IRE.Display.Ohmap "false"

I want to capture text while gmcp.IRE.Display.Ohmap is equal to "start", but cannot because both gmcp events are handled before the in-bounds text gets sent to the trigger engine. Is there any way around this?

Jor'Mox
Posts: 1146
Joined: Wed Apr 03, 2013 2:19 am

Re: Using GMCP opening/ending tags to capture text

Post by Jor'Mox »

I would grab the start bit as an indicator to start capturing, but since that changes back too quickly, I would just look for some other indicator that the wilderness map data has stopped, blank lines or invalid characters, for example.

Post Reply