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

Thread Closed 
Thread Rating:
  • 7 Vote(s) - 2.43 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Targetting?whats the logic
Author Message
amiroooo Offline
Beta Tester

Posts: 1,270
Joined: Sep 2011
Reputation: 412
Post: #1
Targetting?whats the logic

when i try to use any Target function in script, it doesnt work unless my char doesnt have any target or unless i add ClearTargets() before.
whats the purpose of that.
12-17-2011 21:59 PM
Find all posts by this user
ClockMan Offline
All Mighty

Posts: 2,886
Joined: Jan 2011
Reputation: 499
Post: #2
RE: Targetting?whats the logic

enum TargetType
TARGET_BY_MYSELF_FORCE = 0,//moj target wymuszony, kiedy na sile klikne na czyms i ten target nie widnieje ponizej
TARGET_BY_SCRIPTS, //target ze skryptow
TARGET_BY_ITEMS, //uzywanie itemkow ? (manor) ?
TARGET_BY_SKILLS, //uzywanie skilli przez bota
TARGET_BY_ASSIST, //assist przez bota
TARGET_BY_PVP_AUTOTARGET, //auto pvp target
TARGET_BY_AUTOTARGET, //auto pve target
TARGET_BY_MYSELF, //jesli w chwili targetowania target widnial na liscie powyzej to pojawi sie tu
TARGET_BY_AGRO, //jesli jakis mobek uzyje na mnie agro, to wskakuje tu...

so your target made by hand > any other target...
ClearTargets clear that target table, so bot things that there is nothing on target...

But good news for you is, relax, that all will be deleted in next version...
Same shit is made with skills, it's a old code what was working when every logic runs at any time with no dependency, now dependency system control what login when have to be run, so it's not needed anymroe...

[Image: owner.gif]
12-17-2011 23:46 PM
Visit this user's website Find all posts by this user
Thread Closed 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Targetting faster when stucked kaan22747 3 3,575 02-01-2014 18:15 PM
Last Post: kaan22747
  Targetting Problem at Guillottine alexspan123 1 2,066 10-03-2013 08:07 AM
Last Post: onisoru
  whats a good zone to bot now? souidos25 24 15,554 06-22-2013 15:20 PM
Last Post: holty
  Whats wrong? khagor 2 1,977 01-05-2013 11:53 AM
Last Post: TheBl4ckPhoenix
  Help on targetting pls Charuto 2 2,233 11-05-2012 16:54 PM
Last Post: Charuto
  whats problem about runtime error? rmhin25 13 13,675 10-25-2012 18:57 PM
Last Post: Warstar
  Bot not targetting TooEarly 0 1,711 01-01-2012 07:26 AM
Last Post: TooEarly
  Flagged players targetting tomukas10 3 3,104 08-05-2011 14:30 PM
Last Post: tomukas10

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