Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 08:39

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Metin2] How can i talk to a NPC via Python?

Discussion on [Metin2] How can i talk to a NPC via Python? within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2020
Posts: 1
Received Thanks: 0
Question [Metin2] How can i talk to a NPC via Python?

Hey, ich wollte fragen wie man ein bestimmten NPC ansprechen kann.


Ich weiß von:
Code:
import player, event, net
vid = player.GetTargetVID()
net.SendOnClickPacket(vid)
aber dazu muss man den NPC ja markiert haben.

Ich möchte gerne, dass ich ohne den NPC markiert habe, via Script den NPC anspreche, wenn ich in der Nähe bin.

Das Problem ist nur, dass sich die VID von dem NPC jedes mal ändert, sobald ich wegporte.

Gibt es da eine Lösung wie ich genau von diesem NPC die VID bekomme, wenn ich in der Nähe bin und ihn anschließend anspreche?

Freue mich auf jede Antwort!

Falls es jemanden gibt den ich ab und zu ein paar Fragen über Python im Bezug auf Metin2 stellen kann, addet mich gerne auf Discord
Discord: wqs.#1806
__________________________________________________

english
wqs is offline  
Old 01/16/2024, 13:29   #2
 
Huarn-'s Avatar
 
elite*gold: 150
Join Date: Jan 2016
Posts: 656
Received Thanks: 133
Hey, ich suche dazu auch eine Lösung, falls jemand etwas weiß würde ich mich freuen!
Huarn- is offline  
Old 01/16/2024, 14:44   #3
 
elite*gold: 130
Join Date: May 2013
Posts: 399
Received Thanks: 313
Quote:
Originally Posted by Huarn- View Post
Hey, ich suche dazu auch eine Lösung, falls jemand etwas weiß würde ich mich freuen!
Eine Schleife über alle npc's ausführen und die Distanz zum Spieler vergleichen.
Kann im Source implementiert werden und via python aufgerufen werden.
xTryx is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Python-Modul]EXP-Donator (kompatibel mit Python Loader)
11/23/2013 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 27 Replies
Moin, da man mich danach gefragt hat und ich sowieso mal ein Beispiel für die Benutzung meines Python Loaders veröffentlichen wollte, habe ich die Gelegenheit genutzt und euch eben einen EXP-Spendebot geschrieben. Man kann ihn einfach mit dem oben verlinkten Python Module Loader laden und ihn mit F5 aktivieren/deaktivieren. Sobald ihr mehr als 99 Erfahrungspunkte habt (man kann nur in 100er Schritten spenden), werden alle Erfahrungspunkte an eure Gilde gespendet. Wer Lust hat und...
Character Can't talk, NPC's Won't respond.
11/20/2013 - EO PServer Hosting - 10 Replies
I've opened up a test server and when I log in with my MAIN client, I can't speak at all, It just says "You can't talk to yourself" no matter what kind of chat, or who is in my whisper box. Also, none of the NPC's are responding, I click them and seriously nothing happens, I have no idea what is causing this as when I use ANOTHER Client, It all works fine! I'm asking here to see if anyone could tell me what in my Main client is causing this? It's not really an option to swap client, as my Main...
Metin2 - Python - Wie Python Hacks verschlüsseln und Server überprüfen (GF/PServe)
09/23/2012 - Metin2 - 2 Replies
Ich wollte fragen, wie man Python Hacks am besten Verschlüsselt ? und wie man feststellen kann ob man auf einem GF / Pserver spielt. ?
Python + Eric Python IDE installieren ?!
07/05/2011 - General Coding - 0 Replies
hat sich erledigt.
how can i talk to NPC at a far distance
04/02/2010 - Dekaron - 3 Replies
hi is there like a distance Normal NPC, Quest Giver talk hack? for example when doing commission quest in maze i wanna stay at a far distance to get the quest not right next to the commission quest board.here other example when i wanna buy mana/health pot from NPC ,i dont wanna stand next to the NPC to buy it so it there a distance hack where i can click on the NPC at a far distance and buy it? :mofo:



All times are GMT +1. The time now is 08:41.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.