Jump to content
  • 0

Runen Enchanter NPC for Custom Upper, Middle, Lower


Disable

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   0
  • Joined:  02/19/18
  • Last Seen:  

Can help me?

Edited by Vegas
Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Something like this? Didn't test tho.
cos_hg_enchant.txt

Regards,
Chris

  • Love 1
Link to comment
Share on other sites

  • 2

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

1 hour ago, Vegas said:

Thanks^^
Edit: I get an error message.
 


line 35
    parse_callfunc: expected ')' to close argument list
    30 :        next;
    31 :        set .@hg,getequipid(.@part); // Saving Item ID
    32 :        set .@ref,getequiprefinerycnt(.@part);  // Saving Refine Level, if there is one
    33 :        set .@card1,getequipcardid(.@part,0); // Save Item ID of Card Slot 1
    34 :        mes .n$;
*   35 :        mes "Selected Costume Headgear: "+getitemname(getequipid(.@part)+"."';'
    36 :        mes "Now please select the Enchantment:";
    37 :        next;
    38 :        for ( set .@e,0; .@e < getarraysize(.enchant_id); set .@e,.@e + 1)
    39 :                set .@e_m$,.@e_m$ + "> "+getitemname(.enchant_id[.@e])+ ( (.enchant_id[.@e+1] != 0)?":":"");
    40 :        set .@rune,select(.@e_m$) - 1;

 

mes "Selected Costume Headgear: "+getitemname(getequipid(.@part));

Edit: Updated and tested:
1.1 - Added support for all costume slots
      - Added forgotten "Reset Enchantment" menu option

costume_enchant.txt

Edited by llchrisll
  • Upvote 1
  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

If you could provide more information what exactly you want, maybe we can help then?

Regards,
Chris

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   0
  • Joined:  02/19/18
  • Last Seen:  

I want a npc what make runen on custom Upper, Middle, Lower, 4ten slot
like this:
 

Runen.PNG

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  03/30/18
  • Last Seen:  

He wants to create a NPC to slot his equips. Just for the 4th slot with custom runes. To help a little bit.

He needs some scripts for that.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   0
  • Joined:  02/19/18
  • Last Seen:  

@Nyappy Thanks xD

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Now the question is which runes are wanted, random or selectable, are they upgradeable, reset an option?

Regards,

Chris

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   0
  • Joined:  02/19/18
  • Last Seen:  

@llchrisll Selectable, runen remove function and no upgrade function
 


 
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  03/30/18
  • Last Seen:  

Yeah he needs no upgradeable runes, they should be selectable 'cause they are custom runes. And they should be removable by NPC. And only socketable in 4th gear slot.

Oh and first thank you for Your response =)

Edited by Nyappy
something was missing
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   0
  • Joined:  02/19/18
  • Last Seen:  

Bump?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   0
  • Joined:  02/19/18
  • Last Seen:  

Thanks^^
Edit: I get an error message.
 

line 35
    parse_callfunc: expected ')' to close argument list
    30 :        next;
    31 :        set .@hg,getequipid(.@part); // Saving Item ID
    32 :        set .@ref,getequiprefinerycnt(.@part);  // Saving Refine Level, if there is one
    33 :        set .@card1,getequipcardid(.@part,0); // Save Item ID of Card Slot 1
    34 :        mes .n$;
*   35 :        mes "Selected Costume Headgear: "+getitemname(getequipid(.@part)+"."';'
    36 :        mes "Now please select the Enchantment:";
    37 :        next;
    38 :        for ( set .@e,0; .@e < getarraysize(.enchant_id); set .@e,.@e + 1)
    39 :                set .@e_m$,.@e_m$ + "> "+getitemname(.enchant_id[.@e])+ ( (.enchant_id[.@e+1] != 0)?":":"");
    40 :        set .@rune,select(.@e_m$) - 1;

 

Edited by Vegas
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  01/18/14
  • Last Seen:  

hello! wat if this npc is not for free. how to  require pods or coins for payment?

Edited by gmchocko
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  01/18/14
  • Last Seen:  

On 4/4/2018 at 12:39 AM, Vegas said:

Thanks^^
Edit: I get an error message.
 


line 35
    parse_callfunc: expected ')' to close argument list
    30 :        next;
    31 :        set .@hg,getequipid(.@part); // Saving Item ID
    32 :        set .@ref,getequiprefinerycnt(.@part);  // Saving Refine Level, if there is one
    33 :        set .@card1,getequipcardid(.@part,0); // Save Item ID of Card Slot 1
    34 :        mes .n$;
*   35 :        mes "Selected Costume Headgear: "+getitemname(getequipid(.@part)+"."';'
    36 :        mes "Now please select the Enchantment:";
    37 :        next;
    38 :        for ( set .@e,0; .@e < getarraysize(.enchant_id); set .@e,.@e + 1)
    39 :                set .@e_m$,.@e_m$ + "> "+getitemname(.enchant_id[.@e])+ ( (.enchant_id[.@e+1] != 0)?":":"");
    40 :        set .@rune,select(.@e_m$) - 1;

 

hello! wat if this npc is not for free. how to  require pods or coins for payment?

Edited by gmchocko
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  01/18/14
  • Last Seen:  

On 4/1/2018 at 10:00 PM, Vegas said:

@llchrisll Selectable, runen remove function and no upgrade function
 



 

hello! wat if this npc is not for free. how to  require pods or coins for payment?

Edited by gmchocko
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1181
  • Reputation:   159
  • Joined:  06/12/12
  • Last Seen:  

On 4/1/2018 at 8:42 PM, llchrisll said:

Now the question is which runes are wanted, random or selectable, are they upgradeable, reset an option?

Regards,

Chris

Dear Chris,

Is it possible to change from enchant into put random option?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...