added some functionality with master
This commit is contained in:
parent
2510a89c54
commit
62a9bc94b6
@ -15,7 +15,9 @@ QString get_hdid()
|
|||||||
if (bIsRetrieved)
|
if (bIsRetrieved)
|
||||||
return QString::number(dwVolSerial, 16);
|
return QString::number(dwVolSerial, 16);
|
||||||
else
|
else
|
||||||
return "gxsps32sa9fnwic92mfbs0"; //what could possibly go wrong
|
//literally a random string
|
||||||
|
//what could possibly go wrong
|
||||||
|
return "gxsps32sa9fnwic92mfbs0";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,6 +76,7 @@ void AOApplication::ms_packet_received(AOPacket *p_packet)
|
|||||||
else if (header == "AO2CHECK")
|
else if (header == "AO2CHECK")
|
||||||
{
|
{
|
||||||
send_ms_packet(new AOPacket("ID#AO2#" + get_version_string() + "#%"));
|
send_ms_packet(new AOPacket("ID#AO2#" + get_version_string() + "#%"));
|
||||||
|
send_ms_packet(new AOPacket("HI#" + get_hdid() + "#%"));
|
||||||
|
|
||||||
if (f_contents.size() < 1)
|
if (f_contents.size() < 1)
|
||||||
goto end;
|
goto end;
|
||||||
@ -107,6 +108,13 @@ void AOApplication::ms_packet_received(AOPacket *p_packet)
|
|||||||
destruct_courtroom();
|
destruct_courtroom();
|
||||||
destruct_lobby();
|
destruct_lobby();
|
||||||
}
|
}
|
||||||
|
else if (header == "DOOM")
|
||||||
|
{
|
||||||
|
call_notice("You have been exiled from AO."
|
||||||
|
"Have a nice day.");
|
||||||
|
destruct_courtroom();
|
||||||
|
destruct_lobby();
|
||||||
|
}
|
||||||
|
|
||||||
end:
|
end:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user