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

Thread Closed 
 
Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Request] Script for custom NPC shopping?
Author Message
MrSmirnov Offline
VIP Member
***

Posts: 9
Joined: Jul 2012
Reputation: 2
Version: 1.4.1.92
Post: #1
Information [Request] Script for custom NPC shopping?

Hi guys, well since using L2Tower I've really refined my farming techniques and gotten pretty damn good at it now. There is one last hurdle I haven't managed to get working yet and was hoping someone could point me in the right direction (or provide some script code to get me started)

My server has custom NPC buffs which last for 1hr, I'd love to have a rolling script which activates every 60 minutes or so, activating a teleport, shopping at NPC to purchase buffs and teleport back.

I can do all of this except the shopping at NPC part, I know there is a thread here (http://forum.l2tower.eu/thread-tutorial-...light=shop) but I've had no success with the scripts provided, maybe its personal error or an issue with the server I play on, not sure.

Anyhow this isn't vital, I'm happy playing the way I do but it really would be great to master NPC automation Smile
(This post was last modified: 10-13-2012 12:31 PM by MrSmirnov.)
10-13-2012 12:22 PM
Find all posts by this user
Hebdzik Offline
Tester

Posts: 1,235
Joined: Aug 2011
Reputation: 265
Version: 1.4.3.143
Post: #2
RE: [Request] Script for custom NPC shopping?

did you try
.recstart a
.recstop

to record script when you take buffs?

if this no work, try to get source of html window witch appear to take buff so you can make script for this.

Warning hammer!!! Use Search before you post something
If i hellp you, you can thx me by +1 Reputation
[Image: U63SU]
10-13-2012 20:23 PM
Find all posts by this user
 Reputed by : MrSmirnov(+2)
MrSmirnov Offline
VIP Member
***

Posts: 9
Joined: Jul 2012
Reputation: 2
Version: 1.4.1.92
Post: #3
RE: [Request] Script for custom NPC shopping?

(10-13-2012 20:23 PM)Hebdzik Wrote:  did you try
.recstart a
.recstop

to record script when you take buffs?

if this no work, try to get source of html window witch appear to take buff so you can make script for this.

Thanks! I was unaware of the .recstart .recstop features *face palm!*
This makes the NPC buff purchase work! And when I have time I'll finish the rest of the script, whilst it will only work in it's pasted form for me on this private server I'm happy to share the code if it might be helpful for others?

Thanks again Hebdzik
(This post was last modified: 10-14-2012 02:42 AM by MrSmirnov.)
10-14-2012 02:41 AM
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Request] L2 Toxic Anti-Bot Script snocrew 18 15,231 02-11-2017 19:19 PM
Last Post: Paralyzer
  custom Autotarget SCRIPT fd2dpwnz 3 3,462 08-02-2015 21:19 PM
Last Post: TheQQmaster
  The request xxmanxx 4 3,108 04-10-2015 18:46 PM
Last Post: xxmanxx
  use custom potion mark1975 20 15,441 11-10-2014 23:33 PM
Last Post: TheQQmaster
Heart Request for upgrades to Premium services. Manboi_74 0 1,666 09-12-2014 05:33 AM
Last Post: Manboi_74
  OOP Cleanse Script Modification Request nais 2 2,684 08-16-2014 22:12 PM
Last Post: nais
Exclamation How to cancel request to join event TvT chrome 1 2,361 07-02-2014 11:13 AM
Last Post: chrome
  Request kynigos 2 2,453 06-08-2014 13:23 PM
Last Post: kynigos
  problem error: the request was denied mardukx 11 6,492 05-06-2014 04:09 AM
Last Post: mardukx
Information [REQUEST] Auto Augment on INTERLUDE for RUPIO (NOT PUSHKIN) Oren 0 2,909 02-10-2014 23:32 PM
Last Post: Oren



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