Page 1 of 1

Problema salvataggio item creati dal TrainerScritps

PostPosted: Tue Jul 20, 2010 10:39 pm
by Stephen
Ho preso il fixedtrainer dalla sezione user releases e gli ho aggiunto tutto il codice per dare il free gear ( armors , jewellery , weapons ).

Funziona benissimo , dà tutto , equippa tutto correttamente . Ma dopo il primo relog del personaggio gli oggetti diventano "Black Item" .

Ho cercato con "search" problemi analoghi ma non sono riuscito a capire il procedimento per salvare quegli item .

Esempio di un item
Code: Select all

//Free Cloth Vest
item = new ItemTemplate();
item.Id_nb = "free_cloth_vest";
item.Name = "Free Cloth Vest";
item.Level = 50;
item.Durability = 50000;
item.MaxDurability = 50000;
item.Condition = 50000;
item.MaxCondition = 50000;
item.Quality = 100;
item.DPS_AF = 51;
item.SPD_ABS = 0;
item.Object_Type = 32;
item.Item_Type = 25;
item.Weight = 20;
item.Model = 2121;
item.Bonus = 35;
item.Bonus1 = 4;
item.Bonus2 = 4;
item.Bonus3 = 1;
item.Bonus4 = 1;
item.Bonus5 = 8;
item.Bonus6 = 1;
item.Bonus7 = 8;
item.Bonus1Type = 193; //DebuffEffectivness
item.Bonus2Type = 194; //Fatigue
item.Bonus3Type = 185; //SpellPowerCost
item.Bonus4Type = 186; //StyleCostReduction
item.Bonus5Type = 148; //Armor Factor
item.Bonus6Type = 197; //ResistPierce
item.Bonus7Type = 196; //PowerPool
item.IsPickable = true;
item.IsDropable = true;
item.CanDropAsLoot = false;
item.IsTradable = true;
item.MaxCount = 1;
item.PackSize = 1;
free_cloth_vest = item;
Qualcuno ha idea di come risolvere ?

Re: Problema salvataggio item creati dal TrainerScritps

PostPosted: Thu Jul 22, 2010 10:14 pm
by Stephen
OK , sono riuscito a fixare lo script :)

Grazie lo stesso ... ma sta sezione è morta o è una impressione ?

Re: Problema salvataggio item creati dal TrainerScritps

PostPosted: Fri Jul 23, 2010 11:10 am
by Tinantiol
questa sezione è ormai morta. Io mi dedico solo nella sezione support ora se cerchi qualcosa ti consiglio di chiedere li.