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
Помогите со скриптом разобраться
Author Message
2455875 Offline
Expired VIP Member
**

Posts: 4
Joined: Oct 2013
Reputation: 0
Version: 1.4.3.143
Post: #1
Помогите со скриптом разобраться

нашел скрипт ИСы, изменил id, но все равно почему-то не работает. пишет вот что: "SYS","Your buffer is out of range, w8ing on him" , хотя стою рядом. помогите разобраться в чем дело, или может скиньте рабочий скрипт чтобы ИС сам себя бафал и продолжал бить мобов. заранее Спасибо!

ShowToClient("SYS","Script Ask Pt For Sonata Started");
IssName = "Жгу"; --here write name of your Iss
DDName = "Жгу","Жгу2"; --write name of char you want to give Warrior's Harmony
MageName = ""; --write name of char you want to give Wizard's Harmony
SendInvIfBufferInRange = 1000;
----------------------------------------------------------------
WhoToInv = nil;

if(GetMe():GetName() == DDName)then
harmony = 11524; --Warrior's Harmony
elseif(GetMe():GetName() == MageName)then
harmony = 11525; --Wizard's Harmony
elseif (GetMe():GetName() == TankName)then --Default (for other chars than seted in DDName , MageName) will buff Knight's Harmony
harmony = 11523;
end;

repeat
if(GetUserByName(IssName) == nil)then
ShowToClient("SYS","Your buffer is out of range, w8ing on him");
repeat
Sleep(1000);
until (GetUserByName(IssName) ~= nil);
ShowToClient("SYS","Your buffer is in range");
WhoToInv = GetUserByName(IssName);
elseif(GetUserByName(IssName) ~= nil)then
WhoToInv = GetUserByName(IssName);
end;

if((GetMe():GotBuff(11529) == false) or --Prevailing
(GetMe():GotBuff(11530) == false) or --Daring
(GetMe():GotBuff(11532) == false) or --Refreshing
(GetMe():GotBuff(harmony) == false) or --Warrior's / Wizard's Harmony
(GetMe():GotBuff(11518) == false) or --Lute Melody
(GetMe():GotBuff(11520) == false) or --Drum Melody
(GetMe():GotBuff(11522) == false) or --Pipe Organ Melody
(GetMe():GotBuff(11517) == false) or --Horn Melody
(GetMe():GotBuff(11519) == false) or --Harp Melody
(GetMe():GotBuff(11521) == false) or --Guitar Melody
(GetMe():GotBuff(11565) == false) or --Elemental Protection
(GetMe():GotBuff(11566) == false) or --Divine Protection
(GetMe():GotBuff(11567) == false))and --Mental Protection
(WhoToInv ~= nil) and
(WhoToInv:IsMyPartyMember() == false) and
(GetMe():GetRangeTo(WhoToInv) < SendInvIfBufferInRange)then

ShowToClient("SYS","Your buffer is out of range, w8ing on him");
Command("/invite" .. IssName);

repeat
Sleep(500);
until ((GetMe():GotBuff(11529)) and --Prevailing
(GetMe():GotBuff(11530)) and --Daring
(GetMe():GotBuff(11532)) and --Refreshing
(GetMe():GotBuff(harmony)) and --Warrior's / Wizard's Harmony
(GetMe():GotBuff(11522)) and --Lute Melody
(GetMe():GotBuff(11518)) and --Drum Melody
(GetMe():GotBuff(11519)) and --Pipe Organ Melody
(GetMe():GotBuff(11517)) and --Horn Melody
(GetMe():GotBuff(11521)) and --Harp Melody
(GetMe():GotBuff(11520)) and --Guitar Melody
(GetMe():GotBuff(11565)) and --Elemental Protection
(GetMe():GotBuff(11566)) and --Divine Protection
(GetMe():GotBuff(11567))) and --Mental Protection
(WhoToInv:IsMyPartyMember() == true);

Sleep(3000);
Command("/dismiss"..IssName);

Sleep(10*1000);
end;
Sleep(1000);
until false;
11-22-2013 14:40 PM
Find all posts by this user Quote this message in a reply
PHYTON Offline
Elpy
*

Posts: 1
Joined: Dec 2012
Reputation: 0
Version: 1.4.1.124
Post: #2
RE: Помогите со скриптом разобраться

Русские ники в скрипте, из-за них глюки.
05-27-2014 13:17 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Rainbow Помогите, пожалуйста! СПОЙЛ denadza123 8 14,857 08-31-2016 10:25 AM
Last Post: TheQQmaster
  помогите запустить/настроить тут бот slipx 2 5,736 06-14-2016 22:55 PM
Last Post: slipx
  помогите не запускается на emerald-game.ru Alekstem 4 8,367 05-31-2016 09:33 AM
Last Post: TheQQmaster
  Помогите с настройкой raiful 0 3,236 01-08-2016 20:45 PM
Last Post: raiful
  Помогите начинающему плз kpec 0 3,200 12-27-2015 21:10 PM
Last Post: kpec
  Помогите составить скрипт AloneMODE 2 4,965 12-16-2015 22:01 PM
Last Post: TheQQmaster
  Пожалуйста помогите с запуском бота ATATA 3 5,905 12-03-2015 00:52 AM
Last Post: WhizMan
  Помогите пожалуйста sguwchenko 3 5,125 11-14-2015 18:38 PM
Last Post: TheQQmaster
  Проблема со скриптом. Останавливается скрипт после скила. immortal89 0 1,922 06-25-2015 03:13 AM
Last Post: immortal89
  помогите найти скрипт или разобраться adterorist1 0 3,093 06-12-2015 00:41 AM
Last Post: adterorist1



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