You are here

weapon disappears while crafting

9 posts / 0 new
Last post
Knight_Shield
weapon disappears while crafting

Players discovered when changing the appaerance more then twice the weapon disappaers.

This is only affecting the scythe .

Using Lista's crafting. 

 

craft weapon ...change appaerance...choices are top ,middle ,bottom

 

you then click next to start changing. If you click more than twice , it disappears.

 

Here is actions taken when clicking next.

 

#include "lcs_wpn_include"
 
void main()
{
    object oPC = GetPCSpeaker();
    object oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
    int nNewLine = lcs_GetNextValidWeaponModel(oItem, ITEM_APPR_WEAPON_MODEL_MIDDLE);
 
    lcs_ModifyandEquipNewWeapon(oItem, ITEM_APPR_WEAPON_MODEL_MIDDLE, nNewLine);
}
 

 

  • up
    50%
  • down
    50%
dvd

That seems to happen even with slings

  • up
    50%
  • down
    50%
Mmat

Hi,

what is Lista's crafting?

To solve your problem, it's neccessary to analyse the two lcs-functions. At a minimum, you should check the value of nNewLine before applying it.

Most weapons have 4 Models for each slot (Top, Mid, End), the Scyte (and the Double-Axe and maybe others as well...) only 3. What if the script isn't aware of this?

The sling is completely different. Here you only can selectt from about 15 different Models.

  • up
    50%
  • down
    50%
Mmat

Maybe, his question wasn't important. But I still want to know, which crafting system he's using.

  • up
    50%
  • down
    50%
Knight_Shield

The name of the system is Lilista ,but I don't see it on the vault.

I uploaded it  here  (0) , going to this link will automatically download it . 

  • up
    50%
  • down
    50%
Tarot Redhand

FWIW the file linked to is a rar file. Unfortunately it doesn't have an extension. You need to add the .rar to the end of the filename yourself.

TR

  • up
    50%
  • down
    50%
Knight_Shield

Thats weird. I just looked on server and it's showing as .rar   , but when you download it doesn't.

 

EDIT:The link was incorrect. It is fixed now.

  • up
    50%
  • down
    50%
Tarot Redhand

This thread needs to go onto the "new" Discourse forums. The ones just marked forums at the top of the screen.

TR

  • up
    50%
  • down
    50%
Mmat

Thanks

BTW I was right. The tool tries to apply a 4th model on a scyte. There are only 3 models available for this weapon.

  • up
    50%
  • down
    50%