mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 03:06:38 +00:00
Config File Update Initial Update
This commit is contained in:
@@ -67,7 +67,8 @@ namespace RoF
|
||||
//create our opcode manager if we havent already
|
||||
if (opcodes == nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
//load up the opcode manager.
|
||||
@@ -111,7 +112,8 @@ namespace RoF
|
||||
|
||||
if (opcodes != nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#define COMMON_ROF_H
|
||||
|
||||
#include "../struct_strategy.h"
|
||||
#include "../eqemu_config_extern.h"
|
||||
|
||||
|
||||
class EQStreamIdentifier;
|
||||
|
||||
@@ -67,7 +67,8 @@ namespace RoF2
|
||||
//create our opcode manager if we havent already
|
||||
if (opcodes == nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
//load up the opcode manager.
|
||||
@@ -111,7 +112,8 @@ namespace RoF2
|
||||
|
||||
if (opcodes != nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#define COMMON_ROF2_H
|
||||
|
||||
#include "../struct_strategy.h"
|
||||
#include "../eqemu_config_extern.h"
|
||||
|
||||
|
||||
class EQStreamIdentifier;
|
||||
|
||||
@@ -63,7 +63,8 @@ namespace SoD
|
||||
//create our opcode manager if we havent already
|
||||
if (opcodes == nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
//load up the opcode manager.
|
||||
@@ -107,7 +108,8 @@ namespace SoD
|
||||
|
||||
if (opcodes != nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#define COMMON_SOD_H
|
||||
|
||||
#include "../struct_strategy.h"
|
||||
#include "../eqemu_config_extern.h"
|
||||
|
||||
|
||||
class EQStreamIdentifier;
|
||||
|
||||
@@ -63,7 +63,8 @@ namespace SoF
|
||||
//create our opcode manager if we havent already
|
||||
if (opcodes == nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
//load up the opcode manager.
|
||||
@@ -107,7 +108,8 @@ namespace SoF
|
||||
|
||||
if (opcodes != nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#define COMMON_SOF_H
|
||||
|
||||
#include "../struct_strategy.h"
|
||||
#include "../eqemu_config_extern.h"
|
||||
|
||||
|
||||
class EQStreamIdentifier;
|
||||
|
||||
@@ -16,7 +16,8 @@ static Strategy struct_strategy;
|
||||
void Register(EQStreamIdentifier &into) {
|
||||
//create our opcode manager if we havent already
|
||||
if(opcodes == NULL) {
|
||||
string opfile = "patch_";
|
||||
string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
//load up the opcode manager.
|
||||
@@ -51,7 +52,8 @@ void Reload() {
|
||||
|
||||
if(opcodes != NULL) {
|
||||
//TODO: get this file name from the config file
|
||||
string opfile = "patch_";
|
||||
string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
if(!opcodes->ReloadOpcodes(opfile.c_str())) {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define TEMPLATE_H_
|
||||
|
||||
#include "../struct_strategy.h"
|
||||
#include "../eqemu_config_extern.h"
|
||||
|
||||
class EQStreamIdentifier;
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "../string_util.h"
|
||||
#include "../item.h"
|
||||
#include "titanium_structs.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
|
||||
@@ -61,7 +62,8 @@ namespace Titanium
|
||||
//create our opcode manager if we havent already
|
||||
if (opcodes == nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
//load up the opcode manager.
|
||||
@@ -105,7 +107,8 @@ namespace Titanium
|
||||
|
||||
if (opcodes != nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#define COMMON_TITANIUM_H
|
||||
|
||||
#include "../struct_strategy.h"
|
||||
#include "../eqemu_config_extern.h"
|
||||
|
||||
|
||||
class EQStreamIdentifier;
|
||||
|
||||
@@ -63,7 +63,8 @@ namespace UF
|
||||
//create our opcode manager if we havent already
|
||||
if (opcodes == nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
//load up the opcode manager.
|
||||
@@ -107,7 +108,8 @@ namespace UF
|
||||
|
||||
if (opcodes != nullptr) {
|
||||
//TODO: get this file name from the config file
|
||||
std::string opfile = "patch_";
|
||||
std::string opfile = Config->PatchDir;
|
||||
opfile += "patch_";
|
||||
opfile += name;
|
||||
opfile += ".conf";
|
||||
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#define COMMON_UF_H
|
||||
|
||||
#include "../struct_strategy.h"
|
||||
#include "../eqemu_config_extern.h"
|
||||
|
||||
|
||||
class EQStreamIdentifier;
|
||||
|
||||
Reference in New Issue
Block a user