Can anyone confirm that IRE.Rift.Request on Achaea is not getting a response from the server, or am I just not doing it right?
http://nexus.ironrealms.com/GMCP under IRE.Rift
I'm using the following:
I also tried this with the same alias:
I also tried putting a space after IRE.Rift.Request, but that made no difference.
http://nexus.ironrealms.com/GMCP under IRE.Rift
I'm using the following:
<alias
match="^rift$"
enabled="y"
regexp="y"
ignore_case="y"
send_to="12"
script="IRERiftRequest"
/>
local SB_GMCP = "\255\250\201" .. "%s" .. "\255\240"
function IRERiftRequest ()
SendPkt(SB_GMCP:format("IRE.Rift.Request"))
end
I also tried this with the same alias:
function SendGMCP(message, content)
if type(message) ~= "string" then
return nil, "Message name must be a string."
end
if content ~= nil then
content = json.encode({content})
if content == nil then
return nil, "Invalid input."
end
message = ("%s %s"):format(message, content:sub(2, #content-1))
end
SendPkt(SB_GMCP:format(message))
return true
end
function IRERiftRequest ()
SendGMCP("IRE.Rift.Request", "")
end
I also tried putting a space after IRE.Rift.Request, but that made no difference.