From cfc857bf804476dcef0dd5a3ff35f80679cdebda Mon Sep 17 00:00:00 2001 From: "color.diff=auto" Date: Mon, 22 Mar 2021 02:59:48 -0600 Subject: [PATCH] latest copy --- config.php | 11 - index.php | 71 +- res/style.css | 5 + src/D2UM.php | 6 +- src/config.php | 30 + src/head.php | 4 +- src/saveFile.php | 23 +- src/txtParser.php | 4 +- txt/Aiparms.txt | 235 ++ txt/Arena.txt | 2 + txt/ArmType.txt | 4 + txt/Armor.txt | 204 ++ txt/AutoMap.txt | 3288 ++++++++++++++++++++++++++ txt/Books.txt | 4 + txt/CharStats.txt | 9 + txt/CharTemplate.txt | 31 + txt/CompCode.txt | 116 + txt/Composit.txt | 17 + txt/CubeMain.txt | 272 +++ txt/CubeMod.txt | 13 + txt/DifficultyLevels.txt | 4 + txt/ElemTypes.txt | 13 + txt/Events.txt | 14 + txt/Experience.txt | 102 + txt/Gems.txt | 70 + txt/Hireling.txt | 61 + txt/HitClass.txt | 15 + txt/Inventory.txt | 34 + txt/ItemRatio.txt | 7 + txt/ItemStatCost.txt | 328 +++ txt/ItemTypes.txt | 93 + txt/Levels.txt | 135 ++ txt/LvlMaze.txt | 81 + txt/LvlPrest.txt | 1092 +++++++++ txt/LvlSub.txt | 36 + txt/LvlTypes.txt | 38 + txt/LvlWarp.txt | 90 + txt/MagicPrefix.txt | 602 +++++ txt/MagicSuffix.txt | 677 ++++++ txt/Misc.txt | 141 ++ txt/MissCalc.txt | 44 + txt/Missiles.txt | 646 +++++ txt/MonAi.txt | 145 ++ txt/MonEquip.txt | 46 + txt/MonItemPercent.txt | 3 + txt/MonLvl.txt | 112 + txt/MonMode.txt | 17 + txt/MonName.txt | 44 + txt/MonPlace.txt | 38 + txt/MonPreset.txt | 230 ++ txt/MonProp.txt | 14 + txt/MonSeq.txt | 1011 ++++++++ txt/MonSounds.txt | 142 ++ txt/MonStats.txt | 577 +++++ txt/MonStats2.txt | 606 +++++ txt/MonType.txt | 577 +++++ txt/MonUMod.txt | 44 + txt/Npc.txt | 18 + txt/ObjMode.txt | 9 + txt/ObjType.txt | 575 +++++ txt/Objects.txt | 575 +++++ txt/Overlay.txt | 295 +++ txt/PetType.txt | 21 + txt/PlayerClass.txt | 9 + txt/PlrMode.txt | 21 + txt/PlrType.txt | 9 + txt/Properties.txt | 269 +++ txt/RarePrefix.txt | 47 + txt/RareSuffix.txt | 156 ++ txt/Runes.txt | 170 ++ txt/SetItems.txt | 34 + txt/Sets.txt | 34 + txt/Shrines.txt | 24 + txt/SkillCalc.txt | 74 + txt/SkillDesc.txt | 222 ++ txt/Skills.txt | 321 +++ txt/SoundEnviron.txt | 51 + txt/Sounds.txt | 4699 +++++++++++++++++++++++++++++++++++++ txt/States.txt | 161 ++ txt/StorePage.txt | 5 + txt/SuperUniques.txt | 68 + txt/TreasureClass.txt | 708 ++++++ txt/TreasureClassEx.txt | 718 ++++++ txt/UniqueAppellation.txt | 26 + txt/UniqueItems.txt | 386 +++ txt/UniquePrefix.txt | 54 + txt/UniqueSuffix.txt | 70 + txt/UniqueTitle.txt | 17 + txt/WeaponClass.txt | 16 + txt/Weapons.txt | 308 +++ txt/automagic.txt | 37 + txt/belts.txt | 16 + txt/bodylocs.txt | 12 + txt/colors.txt | 22 + txt/cubetype.txt | 16 + txt/gamble.txt | 127 + txt/hiredesc.txt | 10 + txt/lowqualityitems.txt | 5 + txt/objgroup.txt | 134 ++ txt/qualityitems.txt | 9 + 100 files changed, 22780 insertions(+), 56 deletions(-) delete mode 100644 config.php create mode 100644 src/config.php create mode 100644 txt/Aiparms.txt create mode 100644 txt/Arena.txt create mode 100644 txt/ArmType.txt create mode 100644 txt/Armor.txt create mode 100644 txt/AutoMap.txt create mode 100644 txt/Books.txt create mode 100644 txt/CharStats.txt create mode 100644 txt/CharTemplate.txt create mode 100644 txt/CompCode.txt create mode 100644 txt/Composit.txt create mode 100644 txt/CubeMain.txt create mode 100644 txt/CubeMod.txt create mode 100644 txt/DifficultyLevels.txt create mode 100644 txt/ElemTypes.txt create mode 100644 txt/Events.txt create mode 100644 txt/Experience.txt create mode 100644 txt/Gems.txt create mode 100644 txt/Hireling.txt create mode 100644 txt/HitClass.txt create mode 100644 txt/Inventory.txt create mode 100644 txt/ItemRatio.txt create mode 100644 txt/ItemStatCost.txt create mode 100644 txt/ItemTypes.txt create mode 100644 txt/Levels.txt create mode 100644 txt/LvlMaze.txt create mode 100644 txt/LvlPrest.txt create mode 100644 txt/LvlSub.txt create mode 100644 txt/LvlTypes.txt create mode 100644 txt/LvlWarp.txt create mode 100644 txt/MagicPrefix.txt create mode 100644 txt/MagicSuffix.txt create mode 100644 txt/Misc.txt create mode 100644 txt/MissCalc.txt create mode 100644 txt/Missiles.txt create mode 100644 txt/MonAi.txt create mode 100644 txt/MonEquip.txt create mode 100644 txt/MonItemPercent.txt create mode 100644 txt/MonLvl.txt create mode 100644 txt/MonMode.txt create mode 100644 txt/MonName.txt create mode 100644 txt/MonPlace.txt create mode 100644 txt/MonPreset.txt create mode 100644 txt/MonProp.txt create mode 100644 txt/MonSeq.txt create mode 100644 txt/MonSounds.txt create mode 100644 txt/MonStats.txt create mode 100644 txt/MonStats2.txt create mode 100644 txt/MonType.txt create mode 100644 txt/MonUMod.txt create mode 100644 txt/Npc.txt create mode 100644 txt/ObjMode.txt create mode 100644 txt/ObjType.txt create mode 100644 txt/Objects.txt create mode 100644 txt/Overlay.txt create mode 100644 txt/PetType.txt create mode 100644 txt/PlayerClass.txt create mode 100644 txt/PlrMode.txt create mode 100644 txt/PlrType.txt create mode 100644 txt/Properties.txt create mode 100644 txt/RarePrefix.txt create mode 100644 txt/RareSuffix.txt create mode 100644 txt/Runes.txt create mode 100644 txt/SetItems.txt create mode 100644 txt/Sets.txt create mode 100644 txt/Shrines.txt create mode 100644 txt/SkillCalc.txt create mode 100644 txt/SkillDesc.txt create mode 100644 txt/Skills.txt create mode 100644 txt/SoundEnviron.txt create mode 100644 txt/Sounds.txt create mode 100644 txt/States.txt create mode 100644 txt/StorePage.txt create mode 100644 txt/SuperUniques.txt create mode 100644 txt/TreasureClass.txt create mode 100644 txt/TreasureClassEx.txt create mode 100644 txt/UniqueAppellation.txt create mode 100644 txt/UniqueItems.txt create mode 100644 txt/UniquePrefix.txt create mode 100644 txt/UniqueSuffix.txt create mode 100644 txt/UniqueTitle.txt create mode 100644 txt/WeaponClass.txt create mode 100644 txt/Weapons.txt create mode 100644 txt/automagic.txt create mode 100644 txt/belts.txt create mode 100644 txt/bodylocs.txt create mode 100644 txt/colors.txt create mode 100644 txt/cubetype.txt create mode 100644 txt/gamble.txt create mode 100644 txt/hiredesc.txt create mode 100644 txt/lowqualityitems.txt create mode 100644 txt/objgroup.txt create mode 100644 txt/qualityitems.txt diff --git a/config.php b/config.php deleted file mode 100644 index 4756d01..0000000 --- a/config.php +++ /dev/null @@ -1,11 +0,0 @@ -getData(); -$armor = $parser['a']; -$weapon = $parser['w']; -$prop = $parser['p']; -$uni = $parser['u']; + $txtParser = new txtParser(); + $parser = $txtParser->getData(); + $armor = $parser['a']; + $weapon = $parser['w']; + $prop = $parser['p']; + $uni = $parser['u']; -$files = $txtParser->getFiles(); -$u = $files['u']; + $files = $txtParser->getFiles(); + $u = $files['u']; -if (!empty($_POST)) { - // Saver Object - require_once './src/saveFile.php'; - $saver = new saveFile(); - - // save files - $saver->saveTxt($u); - $saver->saveTblEnries($path); + if (!empty($_POST)) { + // Saver Object + require_once './src/saveFile.php'; + $saver = new saveFile(); + + // save files + $saver->saveTxt($u); + $saver->saveTblEnries($path); + } + +// load app + require_once './src/D2UM.php'; +} else { + header('Location: ./src/config.php'); } - - - -// header stuff -require_once './src/D2UM.php'; - - - diff --git a/res/style.css b/res/style.css index 8b769a4..c12c2f1 100644 --- a/res/style.css +++ b/res/style.css @@ -92,3 +92,8 @@ body { font-weight: 900; } +footer, .options { + font-family: Lato !important; + + +} \ No newline at end of file diff --git a/src/D2UM.php b/src/D2UM.php index 2aac2b2..e13bb8c 100644 --- a/src/D2UM.php +++ b/src/D2UM.php @@ -7,7 +7,8 @@
-

D2UM: Diablo 2 Unique Maker, v2. By HashCasper

+

D2UM: Diablo 2 Unique Maker, v2. By HashCasper

+
@@ -227,10 +228,11 @@
-
+

Options:
(Hide 'unspawnable' items) + Recofigure Mod Path

diff --git a/src/config.php b/src/config.php new file mode 100644 index 0000000..dce1c09 --- /dev/null +++ b/src/config.php @@ -0,0 +1,30 @@ + + + section */ + require_once "head.php"; + ?> + + +
+

D2UM: Diablo 2 Unique Maker, v2. By HashCasper

+
+

Select Mod TXT folder

+

Input path to D2 Mod Directory.

+ +
+ + + + + +
+ + + + +. - +