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
TP in general
Author Message
hcetigol Offline
WTS adena on NCWest
**

Posts: 258
Joined: Aug 2012
Reputation: 25
Version: 1.4.2.142
Post: #1
TP in general

How i can edit this line in general, as price varies periodically and char can't teleport

    LUA Programming
ClickAndWait("npc_268466895_goto 1095", "Hot Springs - 9300 Adena");

(This post was last modified: 06-03-2014 18:17 PM by hcetigol.)
06-03-2014 18:17 PM
Find all posts by this user Quote this message in a reply
13dk13 Offline
VIP Member
***

Posts: 259
Joined: Apr 2012
Reputation: 9
Version: 1.4.2.142
Post: #2
RE: TP in general

im not expert but try clicklink ("npc_268466895_goto 1095"); or clicklinkandwait
06-03-2014 18:30 PM
Find all posts by this user Quote this message in a reply
 Reputed by : hcetigol(+2)
goanga1 Offline
VIP Member
***

Posts: 434
Joined: Apr 2012
Reputation: 76
Version: 1.4.2.142
Post: #3
RE: TP in general

(06-03-2014 18:30 PM)13dk13 Wrote:  im not expert but try clicklink ("npc_268466895_goto 1095"); or clicklinkandwait

how about if 268466895 changes to a random number?
how can we click it always in this case?

Anyone knows?

Chonos Shop
(closed atm)

accepting paypal
For more info contact me on Skype : michail.gh

Info here: http://forum.l2tower.eu/thread-wts-lvl-9...aia-chonos
08-01-2014 00:04 AM
Find all posts by this user Quote this message in a reply
gukj Offline
VIP Member
***

Posts: 73
Joined: Aug 2011
Reputation: 48
Version: 1.4.1.121
Post: #4
RE: TP in general

    LUA Programming
if (GetTarget() ~= nil) and (GetTarget():GetName() == "Tatiana") then
Talk()
Sleep(1000)
ClickLink("npc_" .. tostring(GetTarget():GetId()) .. "_Chat 1");
Sleep(1000)
ClickLink("npc_" .. tostring(GetTarget():GetId()) .. "_goto 1095");
end

08-01-2014 12:08 PM
Find all posts by this user Quote this message in a reply
tophersoccer Offline
Expired VIP Member
**

Posts: 422
Joined: Aug 2012
Reputation: 142
Version: 1.4.3.143
Post: #5
RE: TP in general

(08-01-2014 12:08 PM)gukj Wrote:  
    LUA Programming
if (GetTarget() ~= nil) and (GetTarget():GetName() == "Tatiana") then
Talk()
Sleep(1000)
ClickLink("npc_" .. tostring(GetTarget():GetId()) .. "_Chat 1");
Sleep(1000)
ClickLink("npc_" .. tostring(GetTarget():GetId()) .. "_goto 1095");
end


Does this actually work?
08-01-2014 15:38 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Help Me General Protection Faul Aggresivnes 5 4,299 10-04-2014 19:46 PM
Last Post: tsolas1
Heart General information lambath1 6 4,370 08-04-2014 01:10 AM
Last Post: tophersoccer
  General protection fault! PvP 1 4,753 05-24-2014 20:52 PM
Last Post: PvP
  General Protection Fault ?? stamos1991 0 2,745 09-09-2013 20:20 PM
Last Post: stamos1991
  while server is down general help lvl Q holty 5 3,724 04-25-2013 00:31 AM
Last Post: TheBl4ckPhoenix
  [General Error] Couldn't allocate memory.. t2avIss 0 3,489 08-16-2012 16:28 PM
Last Post: t2avIss
  Load:General Error mistrz10 2 5,958 11-26-2011 22:31 PM
Last Post: mistrz10



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