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
Is there any way to get process id from l2 windows using script?
Author Message
fekipeht Offline
Expired VIP Member
**

Posts: 8
Joined: Aug 2012
Reputation: 0
Version: 1.4.3.143
Post: #1
Is there any way to get process id from l2 windows using script?

Is there any way to get process id(PID) from l2 windows using script?

I found this command GetCurrentProcessId() i'll try it.
(This post was last modified: 01-04-2017 19:47 PM by fekipeht.)
01-04-2017 19:24 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: 640
Version: 1.4.2.133
Post: #2
RE: Is there any way to get process id from l2 windows using script?

    LUA Programming
os.execute("taskkill /PID " .. tostring(GetCurrentProcessId()));


small example

PUSH [Image: knUu53] IF HELPED
01-05-2017 00:46 AM
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
  Error when injecting the process epica 0 2,531 02-26-2020 14:41 PM
Last Post: epica
  l2 tower windows x64 summoner11 0 2,130 11-12-2015 16:34 PM
Last Post: summoner11
Star Any Other Bots For More Than 3 Windows mindeee 5 4,306 11-04-2015 13:47 PM
Last Post: jokey
  Insert into edit box of windows maybeoutofrain 7 3,734 10-16-2015 23:42 PM
Last Post: snapit
  Windows 10 problem Raaf1383 4 3,819 10-11-2015 07:57 AM
Last Post: rip2808
  Error while trying to enter interlude server (windows 10 x64bit) dont794 0 2,079 09-10-2015 08:09 AM
Last Post: dont794
  Windows 10 L2T Premium Licence mrchocolate 1 2,386 07-30-2015 16:02 PM
Last Post: hukdonphonix
  Windows 10 KainSneoX 5 7,744 07-29-2015 19:29 PM
Last Post: Conde
  Delay on windows when having two or more. kossthegreat 3 3,182 04-15-2015 00:41 AM
Last Post: kossthegreat
  Change Name (Windows Box) NaoJogoMais 7 5,466 04-11-2015 00:50 AM
Last Post: capucine



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