Forum > Miscellaneous

Transmogrification is possible on 3.3.5?

<< < (2/8) > >>

schlumpf:
This requires to have all otems with all possible display ids in the client. It's of course possible to have the same item with different models, but that requires client side editing and is not possible with server scripts alone.

doresain:
not a good idea to make a n*(n-1) items and spells :D

schlumpf:
It may be done for a subset of combinations or for donors.

schlumpf:
Oh wait, ItemTemplate has a displayInfo field. Not sure if one can force to delete stuff from the cached item data by the server. Else the client will have the data cached and won't update the display. I'm also not sure, if this does actually force the client to use the sent Id. I guess it does not.

doresain:
i found a tutorial to swap item models with an hack program, i think it works on the cache of the client
http://desertdarky.deviantart.com/art/W ... -145045198
on my server i had a patch that "overrides" players models, if modelid are sent by server to client we should modify this to work with itemmodelid i think
this is the patch (very simple)

--- Code: ---   //PERSONALIZZAZIONE TALECRAFT PER UTILIZZARE LE RAZZE CUSTOM NON PRESENTI NEL GIOCO
   QueryResult CustomRaceResult = CharacterDatabase.PQuery("SELECT modelOverride FROM character_overrides WHERE guid = %u", fields[0].GetUInt32());

   if(CustomRaceResult)
      {
         Field *fields2 = CustomRaceResult->Fetch();
         SetNativeDisplayId(fields2[0].GetUInt32());
         SetDisplayId(fields2[0].GetUInt32());
      }
   else
      InitDisplayIds();
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version