Aller au contenu

Photo

DMFI stuff for PC not showing on client enter?


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Who said that I

Who said that I
  • Members
  • 492 messages
Okay I installed the DMFI wand system on my cep module though now due all those other scripting it doesn't show up when a toon first starts on the server.

Any way I can solve this issue?

#2
ShadowM

ShadowM
  • Members
  • 768 messages
You could try this one. B)
nwvault.ign.com/View.php

#3
Who said that I

Who said that I
  • Members
  • 492 messages
I have already tried that one, i prefer the old version though thanks for the suggestion.

To me DMFI is the most simplistic way to use it. Already have a merchant installed though the idea was that a PC would get the Dicebag - emote wand and auto follow when the enter the game for the first time.



It did that in the veeeery beginning untill I started scripting so then it did not showed up on client enter anymore....



any clue how to solve this?

#4
tsunami282

tsunami282
  • Members
  • 2 messages
Which release of DMFI are you using? I can help you some with questions on 1.09. You can get that release here if you don't have it



http://nwvault.ign.c....Detail&id=3487


#5
tsunami282

tsunami282
  • Members
  • 2 messages
 I looked at this a bit further. Per the DMFI installation documentation, you should be calling dmfi_onclienter in response to the module's OnClientEnter event. If you wish to make sure a player has the three player-level DMFI items, you'll need to append a few lines to the dmfi_onclienter script.

Put this code in the script, following the line that reads "dmfiInitialize(oUser);"

if (!GetIsDM(oUser))
{
    string sItem;
    sItem = "dmfi_pc_follow";
    if (!GetIsObjectValid(GetItemPossessedBy(oUser, sItem)))
    {
        CreateItemOnObject(sItem, oUser);
    }
    sItem = "dmfi_pc_dicebag";
    if (!GetIsObjectValid(GetItemPossessedBy(oUser, sItem)))
    {
        CreateItemOnObject(sItem, oUser);
    }
    sItem = "dmfi_pc_emote";
    if (!GetIsObjectValid(GetItemPossessedBy(oUser, sItem)))
    {
        CreateItemOnObject(sItem, oUser);
    }
}
Let me know if that doesn't fix it for you.

Modifié par tsunami282, 19 août 2010 - 01:50 .


#6
Who said that I

Who said that I
  • Members
  • 492 messages
I got a 1.7, is there a 1.9?