Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 23:41

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

Advertisement



[RELEASE] Client Quest Communication Klasse

Discussion on [RELEASE] Client Quest Communication Klasse within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 2
Join Date: Jun 2013
Posts: 1,063
Received Thanks: 1,724
[RELEASE] Client Quest Communication Klasse



And thanks to plechito, who let me use his server to make a quick test.

Eine Python Klasse fuer die Client Quest Communication.

So richtet ihr mit nur 4 Zeilen die Kommunikation zwischen eurem Client Feature <-> Quest im Clienten ein.

Einfach die Klasse mit "import ClientQuestCommunication" importieren und dann kann man dort drueber alles laufen lassen.

Ein Beispiel findet ihr auch in den Dateien.

Client:




Quest:


Langer Text mit einigen Erklaerungen:

Quote:
Originally Posted by xCPx View Post
Hübsch, aber warum hast ned gleich n Serverside Part dazu gemacht?

hab ne mini Lib zu gebastelt, weil es mir aufn keks gehen würde das zeug jedesmal auszuschreiben

Code:
cqc = {}
cqc.prefix = "EXAMPLE"
cqc.Init = function()
  cmdchat(string.format(cqc.prefix.." SET_QUEST_ID(%d)", q.getcurrentquestindex())
end
cqc.SendRequest = function(request)
   cmdchat(cqc.prefix.." "..string.gsub(request, " ", "#"))
end
Attached Files
File Type: rar cqc.rar (5.5 KB, 110 views)
ProfessorEnte is offline  
Thanks
11 Users
Old 09/11/2015, 18:42   #2
 
elite*gold: 0
Join Date: Jun 2011
Posts: 128
Received Thanks: 19
Vll bin ich dumm aber ich verstehe den Sinn iwi nicht ganz... :/
x3PrInZpIx3 is offline  
Old 09/11/2015, 18:46   #3
 
WyppyOne's Avatar
 
elite*gold: 120
Join Date: Jul 2012
Posts: 219
Received Thanks: 6
Can you explain how this works ? I mean,for a noobie who doesn't know lua or python. ( i know the basics of c++ )
WyppyOne is offline  
Old 09/11/2015, 18:54   #4
 
DasSchwarzeT's Avatar
 
elite*gold: 399
Join Date: Sep 2011
Posts: 5,323
Received Thanks: 3,937
Erstmal danke für das Release. Die Frage ist natürlich inwiefern das für viele Leute nützlich ist. Die, die es brauchen können, könnten es sowieso selbst machen und für alle anderen ist es nutzlos. Naja, wie gesagt, danke trotzdem.

€dit:
Da es irgendwie zu sehr wie Hate klang:
An sich ist das Release sehr gut und auch ziemlich innovativ im Vergleich zur bisherigen public CQC
DasSchwarzeT is offline  
Thanks
2 Users
Old 09/11/2015, 18:56   #5
 
elite*gold: 2
Join Date: Jun 2013
Posts: 1,063
Received Thanks: 1,724
Quote:
Originally Posted by DasSchwarzeT View Post
Erstmal danke für das Release. Die Frage ist natürlich inwiefern das für viele Leute nützlich ist. Die, die es brauchen können, könnten es sowieso selbst machen und für alle anderen ist es nutzlos. Naja, wie gesagt, danke trotzdem.
Es entstand nebenbei bei der Entwicklung eines neuen Features.

Die meisten werden eh c++ nutzen.
Fuer die die es nuetzlich ist, bitte.
ProfessorEnte is offline  
Thanks
1 User
Old 09/11/2015, 19:15   #6
 
MrLibya's Avatar
 
elite*gold: 30
Join Date: Mar 2012
Posts: 517
Received Thanks: 339
Could You Add English for this?
MrLibya is offline  
Old 09/12/2015, 09:49   #7
 
xCPx's Avatar
 
elite*gold: 20
Join Date: Jun 2011
Posts: 2,901
Received Thanks: 3,341
Hübsch, aber warum hast ned gleich n Serverside Part dazu gemacht?

hab ne mini Lib zu gebastelt, weil es mir aufn keks gehen würde das zeug jedesmal auszuschreiben

Code:
cqc = {}
cqc.prefix = "EXAMPLE"
cqc.Init = function()
  cmdchat(string.format(cqc.prefix.." SET_QUEST_ID(%d)", q.getcurrentquestindex())
end
cqc.SendRequest = function(request)
   cmdchat(cqc.prefix.." "..string.gsub(request, " ", "#"))
end
xCPx is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Communication with npc via packets
09/09/2013 - Kal Online - 3 Replies
Anyone can tell me how to do ist? For example i wanna Register for tb.
L2 communication protocol
08/21/2013 - Lineage 2 - 0 Replies
Hi I was write my own boot for L2 but its more like klicker that boot . Do you have some links with data about communication protocol , for example how to to realize login and send and recive some packets from my boot to server.
Browsergames Communication Topic
07/12/2010 - Browsergames - 0 Replies
German: Hallo Community, Hier könnt ihr über alles rundum Browsergames sprechen. Beachtet: - Respektiert andere User. - Kein Verkaufsthread.
SQLite Database Communication
11/23/2008 - Dekaron - 1 Replies
While thumbing through dekaron.exe in WinHex, I noticed that it used a familiar syntax known as SQL. Looking through it more, it appeared to place data inside a database, which makes me wonder...How does it know which database to use, what username to use, and what password to use. Could Dekaron.exe actually hold the information needed to access the 2moons character database?



All times are GMT +1. The time now is 23:42.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.