EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CachedObjectMgr.cpp File Reference
#include "eve-common.h"
#include "cache/CachedObjectMgr.h"
#include "marshal/EVEMarshal.h"
#include "marshal/EVEMarshalOpcodes.h"
#include "packets/ObjectCaching.h"
#include "python/PyVisitor.h"
#include "python/PyRep.h"
#include "python/PyDumpVisitor.h"
#include "utils/EVEUtils.h"
#include <Base64.h>
Include dependency graph for CachedObjectMgr.cpp:

Go to the source code of this file.

Variables

const uint32 CacheFileMagic = 0xFF886622
 
static const uint32 HackCacheNodeID = 333444
 

Variable Documentation

const uint32 CacheFileMagic = 0xFF886622
Todo:
this whole system needs updating....
[PyTuple 1 items]
  [PySubStream 134 bytes]
    [PyObjectData Name: objectCaching.CachedObject]
      [PyTuple 7 items]
        [PyTuple 2 items]
          [PyIntegerVar 129511422600825710]
          [PyInt 46587]
        [PyNone]
        [PyInt 704421]
        [PyInt 1]
        [PySubStream 34 bytes]
          [PyString "https://gate.eveonline.com/"]
        [PyInt 0]
        [PyTuple 3 items]
          [PyString "Method Call"]
          [PyString "server"]
          [PyTuple 2 items]
            [PyString "browserLockdownSvc"]
            [PyString "GetDefaultHomePage"]
[PyNone]

PyTuple* tuple = new PyTuple(7);
tuple->SetItem(0, itr_1);
tuple->SetItem(1, GenerateLockdownCachedObject());
tuple->SetItem(2, new PyNone());

build the tuple based on above packet...may not need, as that is cached packet.... PyTuple* first = new PyTuple(2); first->SetItem(0, new PyLong(Win32TimeNow())); first->SetItem(1, new PyInt(46587)); //unknown PyTuple* second = new PyTuple(3); second->SetItem(0, new PyString("Method Call")); second->SetItem(1, new PyString("server")); PyTuple* third = new PyTuple(2); third->SetItem(0, new PyString("browserLockdownSvc")); third->SetItem(1, new PyString("GetDefaultHomePage")); second->SetItem(2, third); PyTuple* data = new PyTuple(7); data->SetItem(0, first); data->SetItem(1, new PyNone()); //unknown data->SetItem(2, new PyInt(704421)); //unknown - nodeID? data->SetItem(3, PyStatic.NewOne()); //unknown data->SetItem(4, new PySubStream(new PyString("https://evemu.dev/"))); data->SetItem(5, new PyInt(0)); //unknown data->SetItem(6, second); return new PyObject( "objectCaching.CachedMethodCallResult", data );

Definition at line 88 of file CachedObjectMgr.cpp.

Referenced by CachedObjectMgr::LoadCachedFromFile(), and CachedObjectMgr::SaveCachedToFile().

const uint32 HackCacheNodeID = 333444
static