New Plug-in : text based clue scroll

Discuss applications of D2Mod (v1.10), NefEx (v1.11+), and PlugY, and post suggestions for future plugins.

Moderators: Nefarius, Yohann, SVR

CeanD
Posts: 35
Joined: Fri Apr 02, 2004 12:41 am

Re: New Plug-in : text based clue scroll

Post by CeanD » Thu Apr 21, 2005 3:57 pm

I must be doing something rather daft then.

Got D2Mod.dll in the main D2 folder, and installed it via the .bat file, no troubles.

Mod folder is named CeanDMoD, and therein resides the .ini's and plugins.

Via the tutorial, I renamed D2Mod.ini to CeanDMoD.ini.

The data folder is in CeanDMoD. The shortcut I'm using looks like:

path/DiabloII.exe -mod CeanDMoD -direct -txt

This does NOT use the data folder in CeanDMoD. Removing the -direct -txt does not work either. This is why I believe D2Mod, though installed, is not functioning properly.

Current ini, just to test D2Mod:

Code: Select all

; D2Mod.ini
; Main ini for mod system dll (d2mod.dll)
;
;

[D2MOD]

StatFix=StatFix.dll
MercMod=MercMod.dll
CustomTbl=CustomTbl.dll
ExtLvl=ExtLvl.dll

;=============================================================
; Add ini info for each mod here


;------------------------------------------------

[StatBar]

; StatBar.ini
; Ini file for statbar mod - used by Statfix.dll
;
; BLUE		151
; YELLOW	168
; MAGENTA	155
; GREEN		132
; CYAN		162
;
; stat1 = statID,MaxStatID,loColor,Color,HiColor,string key,divide
; stat2 ... more stats

stat1=8,9,5,132,162,4164,256


;------------------------------------------------

[MercMod]

; MercMod.ini
; Ini file for mercmod.dll
;
;
; merc1 = mercID,UseShield,additionalWeaponType1,2,3,4 ...
; merc2 ... more mercs
;

merc1 = 271,0
merc2 = 338,0
merc3 = 359,1
merc4 = 561,0



;------------------------------------------------

[CustomTbl]

; CustomTbl.ini
; Ini file for CustomTbl.dll
;
;
; table1 = TableName
; table2 ... more tables


table1=messages.tbl
;table2=CustomStrings2.tbl
;table3=CustomStrings3.tbl

;-------------------------------------------------

Yes, I have the statfix, mercmod, and customtbl DLL's.

User avatar
mrelfire
Angel
Posts: 518
Joined: Mon May 27, 2002 9:27 am
Location: France

Post by mrelfire » Thu Apr 21, 2005 4:07 pm

Perhaps you should do it step by step :
for example do not rename d2mod.ini
and do not put -mod in your launch file

User avatar
Malifrax
Junior Member
Champion of the Light
Posts: 325
Joined: Fri Apr 04, 2003 6:33 am

Re: New Plug-in : text based clue scroll

Post by Malifrax » Thu Apr 21, 2005 10:58 pm

Did you change the "Start In" path of your Diablo 2 shortcut to point to your mod directory?
You talk to the arena master.
"Ye have won more fights than anybody else."
"Nobody is betting against ye any longer and we believe, that ye art invincible."
"Sorry, no more fights."

User avatar
SVR
Retired staff
Arch-Angel
Posts: 1449
Joined: Sat Nov 02, 2002 11:04 pm
Location: Texas
United States of America

Hand-picked

Post by SVR » Fri Apr 22, 2005 12:45 am

Yepper, mrelf's right.
-mod is kinda buggy, and all it does is tell D2Mod what .ini file to look for, not the folder name.
With a start in shortcut you can leave the ini named d2mod in your CeanDMod folder and the plugins as you have em.

CeanD
Posts: 35
Joined: Fri Apr 02, 2004 12:41 am

Re: New Plug-in : text based clue scroll

Post by CeanD » Sat Apr 23, 2005 2:14 am

[quote=Malifrax";p="221505"]Did you change the "Start In" path of your Diablo 2 shortcut to point to your mod directory?[/quote]

You

are

a

GOD!

Thanks much!

CeanD
Posts: 35
Joined: Fri Apr 02, 2004 12:41 am

Post by CeanD » Sat Apr 23, 2005 2:59 am

Having the same issue as presented before. I now get text, but it's always Warrivs greeting.

All 5 txt's are edited, ScrollItem is in the ini.
Last edited by CeanD on Sat Apr 23, 2005 3:00 am, edited 1 time in total.

User avatar
Malifrax
Junior Member
Champion of the Light
Posts: 325
Joined: Fri Apr 04, 2003 6:33 am

Re: New Plug-in : text based clue scroll

Post by Malifrax » Sat Apr 23, 2005 5:36 am

I had this problem as well, turns out that if you set new characters to start with a scroll item, the text will default to Warriv's introduction text. An easy way to get around this is to make a cube recipe to generate the scroll item. This is great for testing, but if you want to have a starting scroll item without any use of the cube involved (as I did) then you can instead make a dummy misc item that transforms into your scroll item when right clicked (via the Transmogrify, TMogType, TMogMin, TMogMax, and useable columns). Then you can have your new characters start with the dummy item and it will transform into your scroll item when used like a potion/scroll.
You talk to the arena master.
"Ye have won more fights than anybody else."
"Nobody is betting against ye any longer and we believe, that ye art invincible."
"Sorry, no more fights."

User avatar
Joel
Moderator
Dominion
Posts: 6921
Joined: Mon May 27, 2002 7:19 am
Location: Orsay

Hand-picked

Post by Joel » Sat Apr 23, 2005 10:52 am

That's becasue game wipe out ALL automagic on starteing item ...
I am not responsible of this :)
"How much suffering, mortal, does it take before you lose your grace?"
Shadow Empire (coming soon) | forum

User avatar
kingpin
Retired Admin
Cherub
Posts: 10954
Joined: Sat Jan 11, 2003 12:51 pm
Sweden

Hand-picked

Re: New Plug-in : text based clue scroll

Post by kingpin » Sat Apr 23, 2005 11:27 am

That's becasue game wipe out ALL automagic on starteing item ...
I am not responsible of this
Right,

it just after item is created make sure the item is empty before it adds the startskill. It never calls add automagic, add properites for uniques e.tc.

And the item quality is always set to normal (this is why the unique properities never get applied)

CeanD
Posts: 35
Joined: Fri Apr 02, 2004 12:41 am

Re: New Plug-in : text based clue scroll

Post by CeanD » Tue Apr 26, 2005 5:45 pm

Excellent, excellent.

Last question, (I think) :)

Is there a way to have a scroll that displays a given msg based on the class that opens it?

User avatar
Joel
Moderator
Dominion
Posts: 6921
Joined: Mon May 27, 2002 7:19 am
Location: Orsay

Hand-picked

Post by Joel » Tue Apr 26, 2005 7:03 pm

hmmm, well not easily now. I can make some new txt that control hwo and when the scroll can be read.
"How much suffering, mortal, does it take before you lose your grace?"
Shadow Empire (coming soon) | forum

User avatar
Malifrax
Junior Member
Champion of the Light
Posts: 325
Joined: Fri Apr 04, 2003 6:33 am

Re: New Plug-in : text based clue scroll

Post by Malifrax » Tue Apr 26, 2005 8:07 pm

On the subject of class specific text, would it be possible to also implement checking for class specific itemtype flags and an option to add stat requirements to the scrolls? :) Adding such features would be great for all useable items as well, but that would be beyond the scope of text based clue scrolls. :(
You talk to the arena master.
"Ye have won more fights than anybody else."
"Nobody is betting against ye any longer and we believe, that ye art invincible."
"Sorry, no more fights."

User avatar
Joel
Moderator
Dominion
Posts: 6921
Joined: Mon May 27, 2002 7:19 am
Location: Orsay

Hand-picked

Post by Joel » Tue Apr 26, 2005 9:13 pm

IIRC afj already made such a plug-in.
I'll make a v2 of this plugin with a control on who/what/when trigger the scroll text
"How much suffering, mortal, does it take before you lose your grace?"
Shadow Empire (coming soon) | forum

User avatar
Malifrax
Junior Member
Champion of the Light
Posts: 325
Joined: Fri Apr 04, 2003 6:33 am

Re: New Plug-in : text based clue scroll

Post by Malifrax » Tue Apr 26, 2005 11:21 pm

AFAIK his plugin checks only level requirements, not stat/class requirements (at least the version I'm using doesn't). :( Anyways, I look forward to an update of the text based clue scrolls plugin, it makes delivering information to the player so much easier and cleaner than previous methods.:mrgreen:
You talk to the arena master.
"Ye have won more fights than anybody else."
"Nobody is betting against ye any longer and we believe, that ye art invincible."
"Sorry, no more fights."

Return to “PlugY|NefEx|D2Mod”