Register for your free account! | Forgot your password?

You last visited: Today at 08:58

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

Advertisement



[RELEASE] Query Sammlung

Discussion on [RELEASE] Query Sammlung within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1

 
elite*gold: 0
Join Date: Jul 2009
Posts: 2,471
Received Thanks: 5,622
[RELEASE] Query Sammlung

Hoi,

Dachte mal ich Sammle mal alle Querys die ich schreibe auch sowas wie Items anhand der Log Tabelle wiederherstellen allerdings natürlich erst wenn ich sie schreibe xD Erstmal das einfache Zeug


Log mit Spielernamen auslesen:
Code:
SELECT log.*,player.name FROM log.log LEFT JOIN player.player ON player.id = log.who
von GM erstellte Items finden
Code:
SELECT log.*,player.name FROM log.log LEFT JOIN player ON player.player = log.who WHERE what ="GM"
alle Log einträge von GMs anzeigen
Code:
SELECT log.*,player.name FROM log.log JOIN `player`.`player` ON `log`.`who` = `player`.`id` JOIN `account`.`account` ON `account`.`id` = `player`.`account_id` LEFT JOIN `common`.`gmlist` ON `gmlist`.`mName` = `player`.`name` WHERE NOT `gmlist`.`mName` is null
alle log einträge einer bestimmten person anzeigen:
Code:
SELECT log.*,player.name FROM log.log LEFT JOIN player.player ON player.id = log.who WHERE what ="GM" AND name = "Spielername"
Ranglisten Daten ohne GM's geordnet nach exp und level:
Quote:
SELECT `player`.`name`, `player`.`level`, `player`.`exp`, `player`.`playtime` FROM (`player`.`player`) JOIN `account`.`account` ON `account`.`id` = `player`.`account_id` LEFT JOIN `common`.`gmlist` ON `gmlist`.`mName` = `player`.`name` WHERE `gmlist`.`mName` is null AND (account.status = 'OK' OR status='ONLY_FOR_TEAM') ORDER BY `player`.`level` desc, `player`.`exp` desc
Rangliste nur GM's
Quote:
SELECT `player`.`name`, `player`.`level`, `player`.`exp`, `player`.`playtime` FROM (`player`.`player`) JOIN `account`.`account` ON `account`.`id` = `player`.`account_id` LEFT JOIN `common`.`gmlist` ON `gmlist`.`mName` = `player`.`name` WHERE NOT `gmlist`.`mName` is null AND (account.status = 'OK' OR status='ONLY_FOR_TEAM') ORDER BY `player`.`level` desc, `player`.`exp` desc


kommen heute noch ne menge andere aber ich finde die schon recht nützlich.
.Alpha. is offline  
Thanks
34 Users
Old 10/12/2010, 09:30   #2
 
elite*gold: 0
Join Date: Sep 2009
Posts: 593
Received Thanks: 155
Danke, ist bestimmt brauchbar
SOD666 is offline  
Old 10/12/2010, 09:38   #3
 
.Rebel's Avatar
 
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
i dont understand verywell germany but for what i have try for the 1 line "navicat/log/query/newquery"

PHP Code:
SELECT log.*,player.name FROM log.log LEFT JOIN player ON player.id log.who 
say
PHP Code:
[Err1146 Table 'log.player' doesn't exist 
.Rebel is offline  
Old 10/12/2010, 09:39   #4
 
elite*gold: 40
Join Date: Mar 2010
Posts: 1,156
Received Thanks: 516
sehr gut .danke
Imperium2 is offline  
Old 10/12/2010, 11:38   #5
 
.Rebel's Avatar
 
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
can you realease files already done with that options
.Rebel is offline  
Old 10/12/2010, 12:04   #6

 
Hanashi's Avatar
 
elite*gold: 13
Join Date: Jun 2008
Posts: 1,115
Received Thanks: 2,226
Quote:
Originally Posted by Lexico View Post
i dont understand verywell germany but for what i have try for the 1 line "navicat/log/query/newquery"

PHP Code:
SELECT log.*,player.name FROM log.log LEFT JOIN player ON player.id log.who 
say
PHP Code:
[Err1146 Table 'log.player' doesn't exist 
test this:
PHP Code:
SELECT log.*,player.name FROM log.log LEFT JOIN `player`.`playerON player.id log.who 
@lolli vll. oben korrigieren, hast ein thanks

Edit: wo JOIN player steht einfach das player durch `player`.`player` ersetzen!
Hanashi is offline  
Thanks
2 Users
Old 10/12/2010, 12:22   #7
 
elite*gold: 17
Join Date: Jan 2009
Posts: 2,538
Received Thanks: 2,404
danke an dich
Perfection- is offline  
Old 10/12/2010, 23:31   #8

 
elite*gold: 0
Join Date: Jul 2009
Posts: 2,471
Received Thanks: 5,622
So gefixxt + ranglisten query hinzugefügt.
.Alpha. is offline  
Thanks
2 Users
Old 10/12/2010, 23:43   #9

 
.Hazel's Avatar
 
elite*gold: 15
Join Date: Feb 2010
Posts: 4,410
Received Thanks: 3,105
Nice one, danke dir!
.Hazel is offline  
Thanks
1 User
Old 10/12/2010, 23:49   #10
 
elite*gold: 17
Join Date: Jan 2009
Posts: 2,538
Received Thanks: 2,404
kann es seien das dir ein kleiner fehler passiert ist den der quer für rangliste mit und ohne GM ist gleich oder schaue ich gerade nur schief??
Perfection- is offline  
Thanks
2 Users
Old 10/12/2010, 23:54   #11


 
.Marcel''s Avatar
 
elite*gold: 100
Join Date: Sep 2009
Posts: 8,143
Received Thanks: 2,763
Stimmt
Hoffe mal das er es gleich ändert
.Marcel' is offline  
Old 10/13/2010, 00:02   #12

 
elite*gold: 0
Join Date: Jul 2009
Posts: 2,471
Received Thanks: 5,622
Quote:
Originally Posted by .Xero View Post
kann es seien das dir ein kleiner fehler passiert ist den der quer für rangliste mit und ohne GM ist gleich oder schaue ich gerade nur schief??
guck bei WHERE
.Alpha. is offline  
Old 10/13/2010, 00:09   #13
 
elite*gold: 17
Join Date: Jan 2009
Posts: 2,538
Received Thanks: 2,404
ahhhh Where und Where NOT


achso ok dank sry
Perfection- is offline  
Old 10/17/2010, 03:47   #14

 
elite*gold: 0
Join Date: Jul 2009
Posts: 2,471
Received Thanks: 5,622
Joa wär irgendwelche wünsche für Querys hat einfach Posten.
.Alpha. is offline  
Thanks
1 User
Old 10/17/2010, 04:05   #15
 
elite*gold: 1
Join Date: May 2010
Posts: 951
Received Thanks: 545
Eine Query die alte Accounts und items und den anderen sinnlosen Zeug das in der DB vergammelt löscht

Also sagen wir mal was älter als 3 Monate ist.
Ҡanoȥ is offline  
Reply


Similar Threads Similar Threads
[RELEASE] CHANGING YOUR EUDEMON COMPOSE RATE USING QUERY
07/13/2017 - EO PServer Guides & Releases - 19 Replies
i though many of people here having a problem when trying to changing their eudemon compose rate one by one in cq_eudemon_rbn_rqr..so i made a simple query to changing it easily by using a query..so here we go..firsty..u must have a standard compose sql..so i have upload the standard compose rate query for download if u like(my standard compose rate). Then use this query to changing your composing rate.. UPDATE `cq_eudemon_rbn_rqr` SET max = max + 20; UPDATE `cq_eudemon_rbn_rqr` SET...
[Release]MobSpawn Query Maker v1.0
01/28/2013 - CO2 PServer Guides & Releases - 27 Replies
Here is a program that will allow you to make mob spawns and save time. Credits are included in the program as well as instructions. This was made for LOTF. Screen shot provided below. Pass: emptyproject Download: Multiupload.com - upload your files to multiple file hosting sites!
[Release] Flying mount Query
12/06/2011 - EO PServer Guides & Releases - 11 Replies
Well here is something that will help with the people that are wanting to add the flying dragons to there servers. So i am giving my query to them just please replace the names of them. delete from cq_action where id >= 20000500 and id <= 20000505; INSERT INTO `cq_action` VALUES (20000500, 20000501, 20000504, 0508, 0, '1 0 52'); INSERT INTO `cq_action` VALUES (20000501, 20000502, 0000, 0502, 729443, ''); INSERT INTO `cq_action` VALUES (20000502, 20000503, 0000, 0501, 1081120, ''); INSERT...
[Release]Metin2 Bot Sammlung
09/19/2010 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 14 Replies
Farm BOT LVL BOT ANGEL BOT UND VIEL MEHR Hey,ich habe für euch mal ein paar Tools gesammelt,die mir Nützlich erschienen. Damit der Thread hier nicht zu lange wird(ausserdem bin ich kein soo guter Thread schreiber;) habe ich die TuT.txt dem .rar hinzugefügt,damit sie jeder selber lesen kann und die site nicht ewig braucht zum laden. So,drinne sind Angelbots,Farmbots,Channelbots und und und Euer Antivir wird teilweise Alarm schlagen,und ich bitte euch,ganz besonders die Mods,sich die...
[Release] Profizocker 94 SF Sammlung
08/06/2010 - Metin2 PServer Guides & Strategies - 4 Replies
Hallo und Herzlich Willkommen zu meinem Tutorial bevor es losgeht musst du erstmal wissen was du für einen Server möchtest. Du hast folgende zur Auswahl. Nun hast du folgende Möglichkeiten zur Auswahl. Dyndns Server erstellen Okey du möchtest einen Dyndns Server erstellen? Dann schau dir die Videos an: YouTube - &#x202a; Metin2 DynDns Server erstellen - Part 1&#x202c;&lrm; YouTube - &#x202a; Metin2 DynDns Server erstellen - Part 2&#x202c;&lrm;



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


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.