Skip to content

Commit

Permalink
v14.03 by Yohann
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaosMarc committed Sep 1, 2021
1 parent e9fe6cb commit 64792db
Show file tree
Hide file tree
Showing 18 changed files with 102 additions and 90 deletions.
6 changes: 1 addition & 5 deletions PlugY/InfinityStash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,7 @@ DWORD loadStashList(Unit* ptChar, BYTE* data, DWORD maxSize, DWORD* curSize, boo
}
}

if (nbStash == 1)
{
newStash = addStash(ptChar, isShared, true, newStash);
changeToSelectedStash(ptChar, newStash, 0, false);
}
changeToSelectedStash(ptChar, isShared?PCPY->sharedStash:PCPY->selfStash, 0, false);

return 0;
}
Expand Down
1 change: 1 addition & 0 deletions PlugY/PlayerCustomData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Unit* FASTCALL updateItem(Game* ptGame, DWORD type, DWORD itemNum, Unit* ptChar)
if (ptGame->isLODGame && (D2ItemGetPage(ptItem) == 4))
{
Stash* ptStash = getStashFromItem(ptChar, ptItem);
//log_msg("- updateItem PCPY->currentStash->id : %d // ptStash->id : %d\n", PCPY->currentStash?PCPY->currentStash->id:-1, ptStash?ptStash->id:-1);
if (!ptStash) return NULL;
selectStash(ptChar, ptStash, ptStash->id == 0);
}
Expand Down
Binary file modified PlugY/PlugY.rc
Binary file not shown.
Binary file modified PlugY/PlugY.suo
Binary file not shown.
2 changes: 1 addition & 1 deletion PlugY/parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
=================================================================*/
#pragma once

#define PLUGY_VERSION "14.02"
#define PLUGY_VERSION "14.03"

enum TargetMod
{
Expand Down
4 changes: 2 additions & 2 deletions PlugYInstall/PlugYInstall.rc
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ BEGIN
VALUE "CompanyName", "Yohann Nicolas"
VALUE "FileDescription", "PlugY patcher"
VALUE "FileVersion", "1.0.6.0"
VALUE "LegalCopyright", "Copyright (C) 2017"
VALUE "LegalCopyright", "Copyright (C) 2021"
VALUE "OriginalFilename", "PlugYInstall.exe"
VALUE "ProductName", "PlugY, The Survival Kit"
VALUE "ProductVersion", "14.02"
VALUE "ProductVersion", "14.03"
END
END
BLOCK "VarFileInfo"
Expand Down
Binary file modified PlugYInstall/PlugYInstall.suo
Binary file not shown.
2 changes: 1 addition & 1 deletion PlugYInstaller/PlugY.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
; ;
; by Yohann Nicolas ;
; ;
; version 14.02 ;
; version 14.03 ;
; ;
;--------------------------------------------------------------------------------------;

Expand Down
2 changes: 1 addition & 1 deletion PlugYInstaller/PlugY.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Unicode True

!include "MUI2.nsh"

!define VERSION "v14.02"
!define VERSION "v14.03"
!define D2FILES "."
!define NAME "PlugY, The Survival Kit"
!define MOD_DIR "Mod PlugY"
Expand Down
Binary file modified PlugYInstaller/PlugY/LocalizedStrings.ini
Binary file not shown.
2 changes: 1 addition & 1 deletion PlugYInstaller/PlugY/PlugYDefault.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
; ;
; by Yohann Nicolas ;
; ;
; version 14.02 ;
; version 14.03 ;
; ;
;--------------------------------------------------------------------------------------;

Expand Down
2 changes: 1 addition & 1 deletion PlugYInstaller/PlugY/PlugYFixed.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
; ;
; by Yohann Nicolas ;
; ;
; version 14.02 ;
; version 14.03 ;
; ;
;--------------------------------------------------------------------------------------;

Expand Down
107 changes: 56 additions & 51 deletions PlugYInstaller/PlugY_The_Survival_Kit_-_Liesmich.txt

Large diffs are not rendered by default.

17 changes: 11 additions & 6 deletions PlugYInstaller/PlugY_The_Survival_Kit_-_LisezMoi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
; ;
; par Yohann Nicolas ;
; ;
; version 14.02 ;
; version 14.03 ;
; ;
;--------------------------------------------------------------------------------------;

Expand Down Expand Up @@ -75,6 +75,10 @@ Toutes ces fonctions peuvent être activé/désactivé via PlugY.ini (voir "COMM
/listcube : (beta) Crée un fichier "cube.txt" dans le répertoire de sauvegarde contenant toutes les formules du cube.
/renamechar newname : (beta) Renomme la personnage et le sauvegarde.

Changements apportés par la v14.03 :
- Corrige un bug d'affichage d'objects quand une seule page du coffre est remplit.
- Ajout de la traduction en coréen.

Changements apportés par la v14.02 :
- Corrige un bug permettant d'avoir plusieurs charmes uniques identiques dans l'inventaire.

Expand Down Expand Up @@ -185,7 +189,7 @@ Changements apportés par la v7.01 :
- Active les mots runiques du ladder en dehors des royaumes.
- Corrige le bug avec l'IA de Uber Baal.
- Retire les options de paramètres mis par defaut dans PlugY.ini (comme le mode fenêtré)
- Affiche la valeur courante des caracs (sans les bonus magiques) même quand la désallocation des caracs est désactivée.
- Affiche la valeur courante des caracs (sans les bonus magiques) même quand la désallocation des caracs est désactivée.
- Ajout d'un exécutable pour lancer Plugy (plus aucun fichier de LoD modifié). (RAPPEL)
- Traduction en espagnol et polonais.

Expand Down Expand Up @@ -378,7 +382,7 @@ Installation normale :

note : Vous pouvez choisir le répertoire de "Diablo II" comme répertoire d'installation.

Installation dans un autre mod
Installation dans un autre mod
- Copier PlugY.ini, PlugY.exe et le répertoire PlugY\ (+son sontenu) dans le répertoire du mod ciblé.
- Editer PlugY.ini pour configurer les options (voir section plus bas).
- Lancer le jeu PlugY.exe.
Expand Down Expand Up @@ -435,7 +439,7 @@ Si vous avez des problème pour éxécuter PlugY.exe alors utiliser PatchD2File.

******************** FAQ ******************

=> Je ne trouve pas le fichier PlugY.ini, où est-il ?
=> Je ne trouve pas le fichier PlugY.ini, où est-il ?
Dans l'explorateur Windows, aller dans outils->Options des dossiers->affichage.
Cocher "Afficher les fichiers et répertoires cachés"
Décocher "Masquer les extensions des fichiers dont le type est connu".
Expand All @@ -451,7 +455,7 @@ Une cause possible est l'utilisation du même répertoire de sauvegarde pour des
Si c'est le cas, il suffit de changer ce répertoire dans PlugY.ini.
Vous pouvez aussi déplacer _LOD_SharedStashSave.sss et _LOD_HC_SharedStashSave.sss dans un autre répertoire.

=> IL y a "sUnitItemInsertItemInvGridBase failed at 1046 in C:\projects\D2\head\Diablo2\Source\D2Client\UNIT\Item.cpp" dans D2YYMMDD.txt, que dois-je faire ?
=> IL y a "sUnitItemInsertItemInvGridBase failed at 1046 in C:\projects\D2\head\Diablo2\Source\D2Client\UNIT\Item.cpp" dans D2YYMMDD.txt, que dois-je faire ?
Ceci est juste un avertissement sans conséquence sur le jeu.


Expand Down Expand Up @@ -500,7 +504,7 @@ Library= {PlugY.dll: Charger PlugY.dll}

[GENERAL]
Active ou désactive PlugY
Les dll des champs "DllToLoad" ne sont plus chargés quand ActivePlugin=0.
Les dll des champs "DllToLoad" ne sont plus chargés quand ActivePlugin=0.
Ci-dessous, les valeurs par défauts et entre {} des exemples avec leurs significations :
- ActivePlugin=0 {0:Charge aucunes fonctions; 1:Plugin activé}

Expand Down Expand Up @@ -838,5 +842,6 @@ Déplace Deckar Cain à coté du portail d'Harrogath.
* Russe : L'Autour
* Chinois (Traditionnel): Nagahaku
* Japanase : CaiMiao
* Coréen : Woodlac

;--------------------------------------------------------------------------------------;
47 changes: 26 additions & 21 deletions PlugYInstaller/PlugY_The_Survival_Kit_-_Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
; ;
; by Yohann Nicolas ;
; ;
; version 14.02 ;
; version 14.03 ;
; ;
;--------------------------------------------------------------------------------------;

Expand Down Expand Up @@ -75,6 +75,10 @@ Each features can be turn on/off via PlugY.ini (see "COMMENTS ON THE CONFIGURATI
/listcube : (beta) Create a "cube.txt" file in save directory containing all cube's receipts.
/renamechar newname : (beta) Rename your character and save it.

v14.03 changes :
- Fix a items diplay bug when only one stash page is filled.
- Add Korean Translation.

v14.02 changes :
- Fix a bug allowing multiple identical unique charms to be in inventory.

Expand Down Expand Up @@ -120,7 +124,7 @@ v14.00 changes :
- Update Chinese transalation. (Thanks to Nagahaku)
- Fix some translations in different languages.

v12.00 changes :
v12.00 changes :
- Unofficial version supporting LOD 1.14d

v11.02 changes :
Expand All @@ -141,7 +145,7 @@ v11.01 changes :
- Rename command /rename to /renamechar.
- Remove unfinished command /reload.

v11.00 changes :
v11.00 changes :
- Unofficial version supporting LOD 1.13d

v10.01 changes :
Expand Down Expand Up @@ -283,7 +287,7 @@ v4.02 changes :
- Added data in the extra stats page.

v4.01 changes :
- Fixed : NbPlayers always set to 8 when active.
- Fixed : NbPlayers always set to 8 when active.
- Added data in the extra stats page.

v4.00b changes :
Expand Down Expand Up @@ -340,7 +344,7 @@ v2.03b changes :
v2.03 changes :
- Major fix : Correct and secure the saving procedure.
- No more crash of the host game when a character is unable to enter the game.
- Unassign stats points button greyed when base stat is above 255 fixed.
- Unassign stats points button greyed when base stat is above 255 fixed.
- Change version printing on main screen (change color & PlugY version in right corner)
- Character without PlugY can join game host with PlugY enabled.

Expand Down Expand Up @@ -384,14 +388,14 @@ v1.02 changes :
- Re-changed name files due to an IE bug with colon in zip file.
- Ability to change the version text print in the main menu (see ini file).

v1.01 changes :
- Localized for french version (wait for an french readme.txt)
- Changed filename from "PlugY, The Survival Kit.ini" to "PlugY,The_Survival_Kit".
- Added example for installation in the readme.
- Detection of bad installation on starting plugY.
- Removed from the ini default file the [GENERAL]PlugYDirectory=PlugY\
(you can add it if you want but need to know what are you doing...)
- Released in .zip file instead of .rar
v1.01 changes :
- Localized for french version (wait for an french readme.txt)
- Changed filename from "PlugY, The Survival Kit.ini" to "PlugY,The_Survival_Kit".
- Added example for installation in the readme.
- Detection of bad installation on starting plugY.
- Removed from the ini default file the [GENERAL]PlugYDirectory=PlugY\
(you can add it if you want but need to know what are you doing...)
- Released in .zip file instead of .rar

v1.00 features (can all be easily enabled or disabled) :
- You can change the save path directory.
Expand Down Expand Up @@ -478,7 +482,7 @@ So the new installation is :

Uninstallation : Use the uninstaller or simply remove all PlugY files.
Note : You can also move PlugY.dll in the mod folder but you must remove any on in D2 folder.
Note : PlugY directory and its contents can be put in a mpq.
Note : PlugY directory and its contents can be put in a mpq.

------- D2File Patcher

Expand All @@ -491,24 +495,24 @@ If you have problem when you run PlugY.exe then use PatchD2File.exe. (It happend

******************** FAQ ******************

=> I can't find PlugY.ini file, where is it ?
=> I can't find PlugY.ini file, where is it ?
In Windows Explorer, selecting Tools->Folder Options->View.
Mark "Show Hidden files and Folders".
Unmark "Hide extensions for know file types".
Then you will for sure see the ini file.
Then you will for sure see the ini file.


=> How do I Play sometimes on Battle.net when PlugY is installed ?
PlugY disable the connection to Battle.net.

=> What do I do if I have an error like "Bad Generic File" on loading a new Character ?
This can appear when you have bad item in the shared stash file.
=> What do I do if I have an error like "Bad Generic File" on loading a new Character ?
This can appear when you have bad item in the shared stash file.
A possible cause is to use same save folder for different mod.
In this case, just change the save folder in PlugY.ini.
In this case, just change the save folder in PlugY.ini.
You can also move the _LOD_SharedStashSave.sss and _LOD_HC_SharedStashSave.sss to another directory.

=> I get "sUnitItemInsertItemInvGridBase failed at 1046 in C:\projects\D2\head\Diablo2\Source\D2Client\UNIT\Item.cpp" in D2YYMMDD.txt, what I should do ?
It's just a warning, it causes no problem in game.
=> I get "sUnitItemInsertItemInvGridBase failed at 1046 in C:\projects\D2\head\Diablo2\Source\D2Client\UNIT\Item.cpp" in D2YYMMDD.txt, what I should do ?
It's just a warning, it causes no problem in game.


******** CONFIGURATION ********
Expand Down Expand Up @@ -924,5 +928,6 @@ Move Cain near Harrogath waypoint.
* Russian: L'Autour
* Chinese (Traditional): Nagahaku
* Japanase : CaiMiao
* Korean : Woodlac

;--------------------------------------------------------------------------------------;
Binary file modified PlugYInstaller/PlugY_The_Survival_Kit_-_讀我檔案.txt
Binary file not shown.
Binary file modified PlugYRun/PlugYRun.rc
Binary file not shown.
Binary file modified PlugYRun/PlugYRun.suo
Binary file not shown.

0 comments on commit 64792db

Please sign in to comment.