mochitto Posted January 1, 2011 Share Posted January 1, 2011 This script is for auto add attribute to your weapon/armor. How I use it? All what you need for use is Elemental stone/crystal/jewel and item. You must edit line 16 and 17 and put your name of elemental stone and item like STONE = "#$Divine Stone" ITEM = "#$Recurve Thorne Bow" You dont forget syntax of string is #$ and full string must be in "" so "#$My jewel name" is correct. // Auto Add Attribute // Server: all // Autor: mochitto // Date: 1. 10. 2010 // Special thanks for L2.NET contributors // rev.: 11 PRINT_TEXT "SCRIPT STARTED!]" INCLUDE "StdLib\Inventory.l2c" DEFINE_GLOBAL ARRAYLIST Inven DEFINE_GLOBAL INT ItemID DEFINE_GLOBAL STRING STONE DEFINE_GLOBAL STRING ITEM // Edit the elemental stone name and name of item STONE = "#$Fire Stone" ITEM = "#$Archangel Sword {PvP}" // Main section // =============================== GET_INVENTORY Inven FOREACH A INVENTORY Inven IF Inven.A.NAME == ITEM SLEEP 200 PRINT_TEXT "Found item: +<&Inven.A.ENCHANT&> <&Inven.A.NAME&>" PRINT_TEXT "Elements start in 5 sec." SLEEP 5000 ItemID = Inven.A.ID ADD_ELEMENT ENDIF NEXTEACH PRINT_TEXT "Item <&ITEM&> was not found :(" PRINT_TEXT "SCRIPT STOPED!]" END_SCRIPT FUNCTION ADD_ELEMENT DEFINE INT COUNT 0 WHILE ZERO == ZERO GET_INVENTORY Inven SLEEP 800 FOREACH A INVENTORY Inven IF Inven.A.NAME == STONE COUNT = Inven.A.COUNT USE_ITEM "<&Inven.A.ITEM_ID&>" SLEEP 400 IF COUNT > 1 PRINT_TEXT "Element with <&Inven.A.NAME&>" INJECT "D0 35 00 <&ItemID.GET_HEX32&>" ELSE BREAK 4 ENDIF ENDIF NEXTEACH IF COUNT == 0 BREAK 2 ENDIF SLEEP 25 WEND PRINT_TEXT "<&STONE&> was not found :(" PRINT_TEXT "SCRIPT STOPED!]" END_SCRIPT RETURN VOID Link to comment Share on other sites More sharing options...
ĐarkSlayer Posted January 1, 2011 Share Posted January 1, 2011 awesome shit u got here :3 Link to comment Share on other sites More sharing options...
mochitto Posted January 1, 2011 Author Share Posted January 1, 2011 thanks x) Link to comment Share on other sites More sharing options...
Jinita Posted May 4, 2011 Share Posted May 4, 2011 Thanks u Link to comment Share on other sites More sharing options...
federico69 Posted May 10, 2011 Share Posted May 10, 2011 thx good work Link to comment Share on other sites More sharing options...
`NeverMore Posted May 10, 2011 Share Posted May 10, 2011 This is Not Your Work ;) Give Proper gredits .... BTW it is good share ...! Thanks Link to comment Share on other sites More sharing options...
antaress Posted May 10, 2011 Share Posted May 10, 2011 Thanks :) Link to comment Share on other sites More sharing options...
snaker Posted July 24, 2011 Share Posted July 24, 2011 Thanks (: Link to comment Share on other sites More sharing options...
xSlipknOt Posted July 26, 2011 Share Posted July 26, 2011 thanks for it! i will use so much hehehe Link to comment Share on other sites More sharing options...
Mas0ne Posted July 26, 2011 Share Posted July 26, 2011 ty i very interesting !!!! Link to comment Share on other sites More sharing options...
JonathanRhyS Posted July 28, 2011 Share Posted July 28, 2011 Helped a lot! Thanks for share ;) Link to comment Share on other sites More sharing options...
4ek Posted August 6, 2011 Share Posted August 6, 2011 good script, thanks for share ;D Link to comment Share on other sites More sharing options...
nicekisss Posted August 8, 2011 Share Posted August 8, 2011 gz for share but after some mins get stucked Link to comment Share on other sites More sharing options...
geokiller Posted September 3, 2011 Share Posted September 3, 2011 after some minutes it get full element. that shiet is very fast i love it Link to comment Share on other sites More sharing options...
rosolek Posted September 3, 2011 Share Posted September 3, 2011 thanks for it Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now