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
Erro com script para Kartia 85
Author Message
blue_dragon Offline
Gremlin
*

Posts: 5
Joined: Jul 2013
Reputation: 0
Version: 1.4.3.143
Post: #1
Erro com script para Kartia 85

Ola,

Alguém consegue me ajudar com este script para fazer Kartia, antigamente conseguia faze-lo funcionar, porem formatei meu pc e mesmo recuperando meus antigos scripts esta dando erro depois de reinstalar tudo

[Image: 2r7t5vl.png]

Code:
// ------------------------------------------------------------------
// Instance:    Kartia 85
// LV: 85-89
// Location:    Front of Kartia Researcher
// Reward: XP + Dimension Traveler's Blue Box
//
// Note: Don't forget set preference and attack command
// Note: Make sure you are buffed and accepted the Quest
//
// ------------------------------------------------------------------
// Note: KS mob
// Note: Replace Soulshot ID Line: 44


If (LocInRange(-107697, 22046, -10952, 200))
{
    Jump("InsideCheck")
}
If (LocInRange(-109294, 22037, -10808, 100))
{
    Jump("KartiaStart")
}
If (LocInRange(-110669, 22008, -10808, 500))
{
    Jump("BattleArea1")
}
If (LocInRange(-111612, 19920, -10456, 1200))
{
    Jump("BattleArea2")
}
If (LocInRange(-111613, 17663, -10312, 900))
{
    Jump("BattleArea3")
}

Check:
// Scroll of Escape
If (CountItem(736) < 1)
{
    Msg(Console, "Buy some Scroll of Escape")
    Jump("DeadEnd1")
}
// Soulshot (S-Grade) 1467 // Soulshot (R-Grade) 17754 // Blessed Spiritshot (R-grade) 19442 // Blessed Spiritshot (S-grade) 33793
If (CountItem(1467) < 1500)
{
    Msg(Console, "Get more Soulshots/Spiritshots")
    Jump("DeadEnd1")
}

Start:
If (LocInRange(147552, 27334, -2192, 500))
{
    Msg(Console, "Kartia Researcher in range!")
    Delay(1000)
    Jump("PortIn")
}
Else
{
    Msg(Console, "Script stop: You are not in front of Kartia Researcher!")
    Jump("DeadEnd1")
}

PortIn:
MoveTo(147552, 27334, -2192)
Delay(1000)
NpcDialog(33647)
Delay(2000)
SelectDialog(1)
Delay(2000)
SelectDialog(1)
Delay(2000)
CloseDialog()
CloseWindow()
Delay(2000)
Jump("InsideCheck")

InsideCheck:
Delay(2000)
If (LocInRange(-107697, 22046, -10952, 200))
{
    Msg(Console, "Ported inside!")
    Delay(1000)
    Jump("SelectNPCs")
}
Else
{
    Msg(Console, "Not yet inside!")
    Jump("InsideCheck")
}

SelectNPCs:
MoveTo(-107697, 22046, -10952)
Delay(1000)
NpcDialog(33608)
Delay(2000)
SelectDialog(2)
Delay(2000)
Include("Snippet_Kartia_Send by Class.txt")

Jump("KartiaStart")

KartiaStart:
Delay(2000)
If (LocInRange(-109294, 22037, -10808, 100))
{
    Msg(Console, "Ported inside! Kartia started!")
    Delay(1000)
    Jump("MoveToArea1")
}
Else
{
    Msg(Console, "Not yet inside!")
    Jump("KartiaStart")
}

MoveToArea1:
MoveTo(-109837, 21585, -10808)
MoveTo(-110285, 21613, -10808)
MoveTo(-110614, 21875, -10808)
MoveTo(-110827, 22035, -10808)
Jump("BattleArea1")

BattleArea1:
ClearHuntingArea()
AddRectHuntingArea(-110669, 22008, -10808, 500)
BattleStart()
If (TargetInRange(33798))
{
    Jump("LifePlunderer")
}

CheckForMiniBoss:
If (CharBuffLevel(15010) == 1)
{
Msg(Console, "Affected by Dimensional Poison: Mini Boss near!")
Jump("MiniBoss")
}
Else
{
Jump("CheckForMiniBoss")
}

MiniBoss:
If (CharBuffLevel(15010) == 1)
{
    Jump("MiniBoss")
}
Else
{
    Jump("BossEnd")
}

BossEnd:
Msg(Console, "Mini Boss Defeated!")
MoveTo(-110669, 22008, -10808)
Delay(10000)

LifePlunderer:
If (TargetInRange(33798))
{
    Msg(Console, "Life Plunderer is still here!")
    ForceAttack(33798)
    Delay(3000)
    Jump("LifePlunderer")
}
Else
{
    Msg(Console, "It's gone.")
}

Msg(Console, "Move to next room.")
MoveTo(-110818, 22053, -10808)
MoveTo(-111644, 22031, -10576)
MoveTo(-111620, 20175, -10456)
MoveTo(-111618, 20439, -10456)
Jump("BattleArea2")

BattleArea2:
ClearHuntingArea()
AddRectHuntingArea(-111612, 19920, -10456, 1200)
BattleStart()
Jump("CheckBattleArea2")

CheckBattleArea2:
Delay(1000)
If (NoMobInHuntingArea())
{
    Msg(Console, "Mini Boss 2 is gone! Battle Area 2 is clear!")
    BattleStop()
    Jump("MoveToArea3")
}
Else
{
    Jump("CheckBattleArea2")
}

MoveToArea3:
MoveTo(-111607, 19339, -10456)
MoveTo(-111613, 17546, -10312)
ClearHuntingArea()
AddRectHuntingArea(-111613, 17663, -10312, 900)
BattleStart()
Jump("BattleArea3")

BattleArea3:
If (!NPCInRange(19253, -111619, 16614, -10288, 50))
{
    Msg(Console, "Zellaka spawned, lets kill it!")
    BattleStart()
    Jump("Zellaka")
}
If (CheckNPCRange(19220) < 600)
{
    If (!NPCInRange(19253, -111619, 16614, -10288, 50))
{
Msg(Console, "Zellaka spawned, lets kill it!")
Jump("Zellaka")
}
    Jump("BattleArea3")
}
Else
{
    If (CheckNPCRange(19221) < 600)
    {
If (!NPCInRange(19253, -111619, 16614, -10288, 50))
{
Msg(Console, "Zellaka spawned, lets kill it!")
Jump("Zellaka")
}
Jump("BattleArea3")
    }
    Else
    {
Msg(Console, "This wave seems over, moving behind for security!")
BattleStop()
MoveTo(-111613, 17363, -10312)
MoveTo(-111613, 17663, -10312)
Delay(1000)
BattleStart()
Delay(2000)
Jump("BattleArea3")
    }
}

Zellaka:
Msg(Console, "Zellaka still alive")
If (TargetInRange(19253))
{
    If (TargetInRange(19220))
    {
Msg(Console, "First kill Kartia Guard")
ForceAttack(19220)
Delay(2000)
Jump("Zellaka")
    }
    If (TargetInRange(19221))
    {
Msg(Console, "First kill Kartia Watchman")
ForceAttack(19221)
Delay(2000)
Jump("Zellaka")
    }
    // Restart Battle after gained fear
    If (CharBuffLevel(14948) == 1)
    {
BattleStop()
While (CharBuffLevel(14948) == 1)
{
Msg(Console, "Delay while feared")
Delay(2000)
}
Delay(2000)
MoveTo(-111613, 17546, -10312)
BattleStart()
    }
    Delay(5000)
    Jump("Zellaka")
}
Else
{
    Msg(Console, "We are done, use SOE")
    BattleStop()
    Include("Snippet_ReturnToVillage.txt")
}

DeadEnd1:
Delay(100)
07-17-2015 20:57 PM
Find all posts by this user Quote this message in a reply
rojercbo Offline
Elpy
*

Posts: 1
Joined: Jan 2014
Reputation: 0
Version: 1.4.2.141
Post: #2
RE: Erro com script para Kartia 85

Olha só, vi um erro nos comentários do script. Comentários começam com -- e não com //, porém, após substituir, outro erro aparece. Ele é um script ou um plugin?
07-18-2015 19:19 PM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 642
Version: 1.4.2.133
Post: #3
RE: Erro com script para Kartia 85

that is not l2tower script/plugin

PUSH [Image: knUu53] IF HELPED
07-18-2015 20:29 PM
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
  erro comando //cfg /cfg vermouth 0 1,711 10-15-2021 17:29 PM
Last Post: vermouth
  Se buffar no NPC e se teleportar para aligator no Script. tayrone 0 1,884 04-10-2019 01:55 AM
Last Post: tayrone
Exclamation erro win32 ajudem belinerafael 1 2,633 02-22-2019 19:21 PM
Last Post: suporte33
  Lineage II: Infinite Odyssey - Problemas para Exercutar agnespm 3 4,834 07-28-2017 03:48 AM
Last Post: joaoflavio
  erro l2 bin Jhonnathan 0 1,928 02-08-2017 12:33 PM
Last Post: Jhonnathan
  Erro na licença royroy 0 3,486 11-19-2016 07:28 AM
Last Post: royroy
  ERRO NO TOWER NandinhooM 0 2,383 06-03-2016 06:26 AM
Last Post: NandinhooM
  Erro na game guard mikele10 2 3,860 05-22-2016 01:51 AM
Last Post: PALORIQUE
  Script enchat para interlude nadia157 0 2,130 03-25-2016 04:04 AM
Last Post: nadia157
  Erro (_settings.ini) ao tentar rodar L2Tower no Interlud Mcfox 0 2,431 02-05-2016 22:53 PM
Last Post: Mcfox



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