From 652a599ce4e462043245644d258e3b4fda394a2c Mon Sep 17 00:00:00 2001 From: "False.Genesis" Date: Fri, 22 Jun 2007 11:33:40 +0000 Subject: [PATCH] * scriptnames must be lowercased * finished alpha 13.2 release version. --- src/Client/DefScript/DefScript.cpp | 4 ++-- src/Client/PseuWoW.cpp | 4 ++-- src/tools/stuffextract/StuffExtract.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Client/DefScript/DefScript.cpp b/src/Client/DefScript/DefScript.cpp index cd7bf4f..2d8b691 100644 --- a/src/Client/DefScript/DefScript.cpp +++ b/src/Client/DefScript/DefScript.cpp @@ -202,7 +202,7 @@ bool DefScriptPackage::LoadScriptFromFile(std::string fn){ unsigned int ppos = fn.find_last_of("."); if(ppos == std::string::npos) ppos = fn.length(); - sn = fn.substr(slashpos+1,(ppos-slashpos-1)); + sn = stringToLower(fn.substr(slashpos+1,(ppos-slashpos-1))); _UpdateOrCreateScriptByName(sn); curScript=Script[sn]; @@ -241,7 +241,7 @@ bool DefScriptPackage::LoadScriptFromFile(std::string fn){ { if(!curScript->GetLines()) // delete script if unused DeleteScript(curScript->GetName()); - sn = value; + sn = stringToLower(value); _UpdateOrCreateScriptByName(sn); curScript=Script[sn]; } diff --git a/src/Client/PseuWoW.cpp b/src/Client/PseuWoW.cpp index 8b93901..7dbdd0b 100644 --- a/src/Client/PseuWoW.cpp +++ b/src/Client/PseuWoW.cpp @@ -46,8 +46,8 @@ void PseuInstanceRunnable::sleep(uint32 msecs) PseuInstance::PseuInstance(PseuInstanceRunnable *run) { _runnable=run; - _ver="PseuWoW Alpha Build 13.1" DEBUG_APPENDIX; - _ver_short="A13.1" DEBUG_APPENDIX; + _ver="PseuWoW Alpha Build 13.2" DEBUG_APPENDIX; + _ver_short="A13.2" DEBUG_APPENDIX; _wsession=NULL; _rsession=NULL; _scp=NULL; diff --git a/src/tools/stuffextract/StuffExtract.h b/src/tools/stuffextract/StuffExtract.h index 7460550..b33d88d 100644 --- a/src/tools/stuffextract/StuffExtract.h +++ b/src/tools/stuffextract/StuffExtract.h @@ -4,7 +4,7 @@ #define _COMMON_SKIP_THREADS #include "common.h" -#define SE_VERSION 1 +#define SE_VERSION 2 #define MAPS_VERSION ((uint32)0) #define OUTDIR "stuffextract" #define SCPDIR OUTDIR "/data/scp"