Register for your free account! | Forgot your password?

You last visited: Today at 23:14

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

Advertisement



[Release] Questlib-Erweiterung

Discussion on [Release] Questlib-Erweiterung within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 01/06/2012, 16:00   #76
 
elite*gold: 39
Join Date: Jun 2009
Posts: 500
Received Thanks: 212
Code:
 proc.ts3_stop(path)                    -> Startet den Teamspeak3 Server im Pfad 'path' neu
 proc.ts3_restart(path)                 -> Stopp den Teamspeak3 Server im Pfad 'path'
Da ist iwas falsch xD
Gebe thx wenns gleiich funzt

€dit: Hab den alles so gemacht; funzt aber net... Es passiert rein gar nix :c
Muss ich rebooten oder was?

Mfg
.HC'Destrox is offline  
Old 01/06/2012, 17:36   #77
 
Mijago's Avatar
 
elite*gold: 191
Join Date: May 2009
Posts: 1,214
Received Thanks: 2,597
Quote:
Originally Posted by Destroyer446 View Post
Code:
 proc.ts3_stop(path)                    -> Startet den Teamspeak3 Server im Pfad 'path' neu
 proc.ts3_restart(path)                 -> Stopp den Teamspeak3 Server im Pfad 'path'
Da ist iwas falsch xD
Gebe thx wenns gleiich funzt

€dit: Hab den alles so gemacht; funzt aber net... Es passiert rein gar nix :c
Muss ich rebooten oder was?

Mfg
er führt ja lediglich
"cd "..path.." && ./ts3server_start.sh start" aus oO
Mijago is offline  
Old 01/08/2012, 02:40   #78
 
lolor2's Avatar
 
elite*gold: 135
Join Date: Oct 2007
Posts: 1,088
Received Thanks: 210
Mijago hättest du 2 beispiele mit mysql und select2 please weil bei mir wird es falsch angezeigt
z.b
sieht es dan vom aufbau so aus bei mir :
say("NAME1kaputt Name2 , -abrechen")
select("teile von name1")
lolor2 is offline  
Old 01/08/2012, 03:16   #79
 
elite*gold: 0
Join Date: Nov 2011
Posts: 588
Received Thanks: 127
Sehr schön, Danke dir!

Best Regards
Zynex! is offline  
Old 01/08/2012, 09:31   #80
 
Mijago's Avatar
 
elite*gold: 191
Join Date: May 2009
Posts: 1,214
Received Thanks: 2,597
Quote:
Originally Posted by lolor2 View Post
Mijago hättest du 2 beispiele mit mysql und select2 please weil bei mir wird es falsch angezeigt
z.b
sieht es dan vom aufbau so aus bei mir :
say("NAME1kaputt Name2 , -abrechen")
select("teile von name1")
Da der Client Texte anhand [ ] auseinander nimmt, darfst du keine GM-Namen einbringen, oder du musst vorher mit
PHP Code:
local name '[GM]Blabla'
name string.gsub(string.gsub(name,'[',''),']','')
print(
name)
GM Blabla 
ran..
Mijago is offline  
Old 01/12/2012, 01:50   #81
 
.Rebel's Avatar
 
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
where exacly we put the databases information

on the :

ql.mysql = {
["user"] = "root",
["pass"] = "",
["ip"] = "localhost",
}
?
.Rebel is offline  
Thanks
1 User
Old 01/12/2012, 06:25   #82
 
Mijago's Avatar
 
elite*gold: 191
Join Date: May 2009
Posts: 1,214
Received Thanks: 2,597
Quote:
Originally Posted by .Rebel View Post
where exacly we put the databases information

on the :

ql.mysql = {
["user"] = "root",
["pass"] = "",
["ip"] = "localhost",
}
?
This is already in the upper part of the questing.lua; But it only appends on pci!
Mijago is offline  
Old 01/12/2012, 06:41   #83
 
elite*gold: 500
Join Date: Nov 2011
Posts: 3,352
Received Thanks: 1,026
Mijago - Wuerdest du evtl. auch Quests schreiben? Kostenlos odr gegen Bezahlung.
Waere sehr hilfreich. Ist auch nichts besonderes was i ch erwarte^^

MfG
.SurPrise is offline  
Old 01/12/2012, 15:57   #84
 
.Rebel's Avatar
 
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
Quote:
Originally Posted by Mijago View Post
This is already in the upper part of the questing.lua; But it only appends on pci!
yes i just whant know where we put our id pass and ip for your functions work because i dont use the standart user pass and ip just whant know where i can put the info about to make the functions mysql work atm they dont work because the DB informations
.Rebel is offline  
Old 01/12/2012, 17:51   #85
 
Mijago's Avatar
 
elite*gold: 191
Join Date: May 2009
Posts: 1,214
Received Thanks: 2,597
Quote:
Originally Posted by .Rebel View Post
yes i just whant know where we put our id pass and ip for your functions work because i dont use the standart user pass and ip just whant know where i can put the info about to make the functions mysql work atm they dont work because the DB informations
PHP Code:
ql.mysql = {
 [
"user"] = "root",
 [
"pass"] = "lalelu",
 [
"ip"] = "localhost",
 } 
like that
Mijago is offline  
Thanks
1 User
Old 01/14/2012, 03:43   #86
 
elite*gold: 0
Join Date: Sep 2009
Posts: 12
Received Thanks: 4


Not Found
Testerek is offline  
Old 01/14/2012, 09:12   #87
 
elite*gold: 500
Join Date: Nov 2011
Posts: 3,352
Received Thanks: 1,026
Mijago can I have a answer for my question?
.SurPrise is offline  
Old 01/16/2012, 00:56   #88
 
elite*gold: 0
Join Date: Jun 2008
Posts: 60
Received Thanks: 39
Hi mijago, thanks for your release
i have a question for you, i create this function:

function pc.set_coins(x)
mysql_query2("UPDATE player.account SET coins=\'"..x.."\' WHERE id=\'"..pc.get_account_id().."\' ;",'***','***','player','localhost')
end

when i run it with a quest i use pc.set_coins(number_that_i_want) but didn't work :S
Why? T_T i've tried with mysql_query but it block the port of game where i am fot a minute ~, and if i try to use mysql_query2 it doesn't work...

i have tried with:

local asd = pc.set_coins(569)
if asd==true then
say("lol")
else
say("gmo .-.")
end

and it return "gmo .-." xD
Niks90 is offline  
Old 01/16/2012, 03:30   #89


 
Benhero's Avatar
 
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
you have forgett return?
(Or does it automatically return the boolean type (true or false)?)

Greatz Benhero
Benhero is offline  
Old 01/16/2012, 12:43   #90
 
elite*gold: 0
Join Date: Jun 2008
Posts: 60
Received Thanks: 39
the function must set an interger into column "coins" of table "account"
pc.get_coins() work and it return an interger, but pc.set_coins doesn't work (don't set the new coins) :\
Niks90 is offline  
Reply

Tags
mijago questlib metin


Similar Threads Similar Threads
[Ideensammlung] für Questlib
11/15/2011 - Metin2 Private Server - 18 Replies
Hallihallo, e*PvP Ich schreibe derzeit eine Questlib - eine Ansammlung nützlicher Funktionen für Quests. Wenn diese fertig ist, wird sie das Questen um einiges erleichtern (denke ich ;) ) Derzeit habe ich folgende Funktionen eingebaut: -- -> Gibt Text in say() farbig aus. Englische Farbnamen! (Beinhaltet 281 Farben) note(text) -> Entspricht notice_all('|>~ TEXT') local_pc_setqf(name,qf,wert) -> Setzt bei einem Anderen...
questlib error
10/30/2011 - Metin2 Private Server - 0 Replies
hallo hab ein problem mit meiner questlib bekomme denn fehler: SYSERR: Oct 27 21:43:06 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down. SYSERR: Oct 27 22:43:01 :: InitializeLua: LOAD_QUESTLIB_FAILURE(locale/germany/quest/questli b.lua) woran liegt das hab ma meine questlib unten hochgeladen.
questlib
09/07/2011 - Metin2 Private Server - 5 Replies
hallo ich suche die questlib für denn questbfehle DragonLair.startRaid da ich irgendwie zu blöd bin
questlib erweitern?
05/27/2011 - Metin2 Private Server - 5 Replies
Jo, hab eine kurze Frage. Was für eine function muss ich in die questlib packen, damit ich "logout" in quests packen kann? bzw. wie muss die aussehen? thy.
[RELEASE]Dämonenturm Erweiterung
03/26/2011 - Metin2 PServer Guides & Strategies - 18 Replies
Meine DT-Erweiterung Extras: - 100% kein Zeitbug - Reichsteleporter in dem Wächter - individuelle Anpassung möglich Ablauf: Teil 1:- Bis zum Sensenmann normal - Alle unter Lvl 90 werden rausgeportet



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


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.