L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Craft plugin?
Author Message
aa300598 Offline
Expired VIP Member
**

Posts: 26
Joined: Feb 2016
Reputation: 0
Version: 1.4.3.143
Post: #1
Craft plugin?

Where do I get the craft plugin?

    LUA Programming
SS = "Soulshot"; -- Shot name, edit them, to detect 1k shots
 
 
 craftId=1125; -- rec id
 mpCost=258; -- mp consuption per craft
 mat1="Crystal (R-grade)";--cry rr
 mat1num=2;
 mat2="Soulstone";
 mat2num=80; 
 CraftStatus = true;	
 weigthLimit=95;-- weight limit to stop in percent
 
 
 
function getItemByName(name)
local invList = GetInventory();
	for item in invList.list do
 if (item.Name == name) then
 return item;
 end;
	end;
	return nil;
end;
 
function hasItem(name)
local invList = GetInventory();
	for item in invList.list do
 if (item.Name == name) then
 return true;
 end;
	end;
	return false;
end;
 
 
 
function GetItemAmountByName(name)
local invList = GetInventory();
	for item in invList.list do
 if (item.Name == name) then
 ShotsDisId = item.displayId;
 return item.ItemNum;
 end;
	end;
 return 0;
end; 
 
 
repeat
if (GetItemAmountByName(SS) < 1000) then-- if 1 k shots less
	if(GetMe():GetWeightPercent() < weigthLimit) then-- if no weiht limit
 if (hasItem(mat1) == true) then -- if got mat 1
 if(getItemByName(mat1).ItemNum >= mat1num) then-- if got mat 1 enought to craft
 if(hasItem(mat2) == true) then -- if got mat 2
 if(getItemByName(mat2).ItemNum >= mat2num) then-- if got mat 2 enought to craft
 if (GetMe():GetMp() > mpCost) then -- if got mp to craft
 CraftItem(craftId); -- crafting with id
 Sleep(1000);
 end;
 else
 CraftStatus = false;
 ShowToClient("Craft Plugin","Not enough " .. mat2);
 end;
 else
 CraftStatus = false;
 ShowToClient("Craft Plugin","Missing " .. mat2);
 end;
 else
 CraftStatus = false;
 ShowToClient("Craft Plugin","Not enough " .. mat1);
 end;	
 else
 CraftStatus = false;
 ShowToClient("Craft Plugin","Missing " .. mat1);
 end;
	else
 CraftStatus = false;
 ShowToClient("Craft Plugin","Weigth limit approaching, Craft Plugin Deactivated.");	
 end;	
end;
Sleep(1000);
until CraftStatus == false;


edit. plizzz use codebb
(This post was last modified: 02-13-2016 11:33 AM by TheQQmaster.)
02-09-2016 07:12 AM
Find all posts by this user Quote this message in a reply
aa300598 Offline
Expired VIP Member
**

Posts: 26
Joined: Feb 2016
Reputation: 0
Version: 1.4.3.143
Post: #2
RE: Craft plugin?

up

Is it for sell only?
02-13-2016 07:35 AM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 640
Version: 1.4.2.133
Post: #3
RE: Craft plugin?

need premium

PUSH [Image: knUu53] IF HELPED
02-13-2016 07:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
aa300598 Offline
Expired VIP Member
**

Posts: 26
Joined: Feb 2016
Reputation: 0
Version: 1.4.3.143
Post: #4
RE: Craft plugin?

You mean premium bot have craft function in the menu?
02-13-2016 10:30 AM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 640
Version: 1.4.2.133
Post: #5
RE: Craft plugin?


PUSH [Image: knUu53] IF HELPED
02-13-2016 11:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Interlude Augment script/plugin - l2mid anheoo 4 9,201 04-05-2020 10:59 AM
Last Post: icarox3
  Healer Fix plugin problem aa300598 1 2,939 02-20-2016 13:21 PM
Last Post: Vinter
WTB WTB SCRIPT OR PLUGIN ON CC khialove 0 1,625 08-26-2015 16:01 PM
Last Post: khialove
  Newbie Buff script/plugin Firemoth 1 3,042 05-22-2015 22:59 PM
Last Post: akimata
  cant see unstuck plugin on /cfg plugins after infinite odysey drake182 0 2,161 05-13-2015 16:23 PM
Last Post: drake182
  script or plugin for speak lord_knox 3 3,203 04-02-2015 23:12 PM
Last Post: fender
  Best performance with code in Plugin than Script? rORUMI 2 2,641 09-14-2014 02:24 AM
Last Post: rORUMI
  feature for batch script/plugin encryption kerberos464 4 4,234 08-16-2014 23:40 PM
Last Post: kerberos464
  Plugin for fishing BlondieQueen 1 3,442 08-04-2014 00:42 AM
Last Post: tophersoccer
  pick plugin/script Arabaico 3 6,022 06-24-2014 12:20 PM
Last Post: BabyGotBoobs



User(s) browsing this thread: 1 Guest(s)