return false;
}
//is server new enough for me?
- if(si.getServerVersion().value()<commVersion()){
+ if(si.getServerProtocolVersion().value()<commVersion()){
QMessageBox::warning(0,tr("Error"),tr("The server implementation is too old for this client."));
return false;
}
<Doc>These files describe the database schema and communication protocol of MagicSmoke.</Doc>
<Doc>(c) Konrad Rosenbaum, 2009-2010<br/>these files are protected under the GNU AGPLv3 or at your option any newer</Doc>
<!-- generic settings -->
- <Project baseDir=".." wobDir="wob" name="MagicSmoke"/>
+ <Project baseDir=".." wobDir="wob" name="MagicSmoke" xml-namespace="http://silmor.de/MagicSmoke"/>
<Version comm="0100" needcomm="0100" humanReadable="1.91 alpha" svnTarget="."/>
<Include file="db/db.wolf"/>
<Input/>
<Call lang="php" method="Version::serverInfoXml($this);"/>
<Output>
- <Var name="ServerVersion" type="string"/>
+ <Var name="ServerVersion" type="astring"/>
<Var name="MinimumProtocolVersion" type="astring"/>
<Var name="ServerProtocolVersion" type="astring"/>
</Output>
public static function serverInfoXml($trans)
{
global $MSVERSION;
- $trans->setServerVersion($trans->commVersion());
+ $trans->setServerVersion($trans->version());
$trans->setMinimumProtocolVersion($trans->needCommVersion());
- $trans->setServerProtocolVersion($trans->version());
+ $trans->setServerProtocolVersion($trans->commVersion());
}
};