mirror of
https://github.com/UOX3DevTeam/UOX3
synced 2026-08-13 12:27:04 -04:00
Added support (UOPInterface.cpp/hpp) for loading map files in UOP format, allowing UOX3 to use map files from clients up to at least v7.0.86.2 without requiring files to be converted to mul format first. Loading of UOP files is slower than for equivalent mul files, but after startup, the performance of lookups remains the same for both (punt) Updated TWEAK, INFO in code and ISTATS, CSTATS in gumps.js to display 4-digit hex-ids for IDs consistently in the format of 0x#### Fixed issue that would disconnect ClassicUO users if they used WorldMap feature in the client, via CPIKrriosClientSpecial() handler in CPacketReceive.cpp/h, which will handle all things packet 0xF0. As of yet it doesn't respond correctly to the WorldMap-related version of the packet, but at least it no longer disconnects this client from the server.
91 lines
2.1 KiB
C++
91 lines
2.1 KiB
C++
//o-----------------------------------------------------------------------------------------------o
|
|
//| File - cVersionClass.cpp
|
|
//| Date - 10/17/2002
|
|
//| Programmer - EviLDeD
|
|
//| Org/Team - UOX3 DevTeam
|
|
//o-----------------------------------------------------------------------------------------------o
|
|
//| Purpose - Handles version info for builds
|
|
//o-----------------------------------------------------------------------------------------------o
|
|
#include <string>
|
|
#include "cVersionClass.h"
|
|
|
|
namespace UOX
|
|
{
|
|
|
|
//o-----------------------------------------------------------------------------------------------o
|
|
// product info
|
|
//o-----------------------------------------------------------------------------------------------o
|
|
const std::string VER = "0.99";
|
|
const std::string BUILD = "2o";
|
|
const std::string REALBUILD = "0";
|
|
const std::string SVER = "2.0";
|
|
const std::string CVER = "2.0";
|
|
const std::string IVER = "2.0";
|
|
const std::string PRODUCT = "Ultima Offline eXperiment 3";
|
|
const std::string NAME = "The UOX3 DevTeam";
|
|
const std::string EMAIL = "https://www.uox3.org/";
|
|
const std::string PROGRAMMERS = "UOX3 DevTeam";
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// Construction/Destruction
|
|
//////////////////////////////////////////////////////////////////////
|
|
CVersionClass::CVersionClass()
|
|
{
|
|
}
|
|
//o-----------------------------------------------------------------------------------------------o
|
|
CVersionClass::~CVersionClass()
|
|
{
|
|
|
|
}
|
|
|
|
std::string CVersionClass::GetVersion( void )
|
|
{
|
|
return VER;
|
|
}
|
|
|
|
std::string CVersionClass::GetBuild( void )
|
|
{
|
|
return BUILD;
|
|
}
|
|
|
|
std::string CVersionClass::GetRealBuild( void )
|
|
{
|
|
return REALBUILD;
|
|
}
|
|
|
|
std::string CVersionClass::GetScriptVersion( void )
|
|
{
|
|
return SVER;
|
|
}
|
|
|
|
std::string CVersionClass::GetCharacterVersion( void )
|
|
{
|
|
return CVER;
|
|
}
|
|
|
|
std::string CVersionClass::GetItemVersion( void )
|
|
{
|
|
return IVER;
|
|
}
|
|
|
|
std::string CVersionClass::GetProductName( void )
|
|
{
|
|
return PRODUCT;
|
|
}
|
|
|
|
std::string CVersionClass::GetName( void )
|
|
{
|
|
return NAME;
|
|
}
|
|
|
|
std::string CVersionClass::GetEmail( void )
|
|
{
|
|
return EMAIL;
|
|
}
|
|
|
|
std::string CVersionClass::GetProgrammers( void )
|
|
{
|
|
return PROGRAMMERS;
|
|
}
|
|
|
|
}
|