Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 15:01

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

Advertisement



Items von User Loeschen (Adminpannel)

Discussion on Items von User Loeschen (Adminpannel) within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
nostradame37's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 2,504
Received Thanks: 870
Items von User Loeschen (Adminpannel)

Haloo liebe com habe mahl eine frage
Und zwar kann man Items die ein User bei sich traegt oder gar Angezogen hatt
Von der db Loeschen Ohne das man bugs in der db verursacht ???
Eine variante waere ueber das admin pannel In der homepage Aber finde dazu nichts vileicht suche ich total falsch..
Wen es was gibt bitte ich um infos
Dank im voraus
Mfg Nostradame
nostradame37 is offline  
Old 09/05/2013, 14:34   #2
 
DerForenLeser's Avatar
 
elite*gold: 40
Join Date: Nov 2009
Posts: 1,159
Received Thanks: 442
Es wird keine Bugs geben, da das Item komplett raus genommen wird und die Nr. des Items danach wieder verfügbar ist und für ein neues Item verwendet werden kann.
DerForenLeser is offline  
Old 09/07/2013, 23:50   #3
 
elite*gold: 0
Join Date: Aug 2011
Posts: 61
Received Thanks: 13
1)You can do this with cronjob. When you execute a query for example
DELETE FROM player.item WHERE id='$id_tou_item' sometimes if the player is logged in the row will be restored, so the query has to be executed multiple times, or check whether
SELECT id FROM player.item WHERE id='$id_tou_item' == 0 (means that the item is deleted)
2)You can either do it with a new game function but you have to modify the gamefile and i dont think it is a good idea because you have to detour and find free space to write , or overwrite a function which would be useful.
3)You can write and load a new library to write the function.
2 and 3 solutions can only work with a quest and the panel will be ingame.
καλή τύχη ρε Σπύρο ελπίζω να κατάλαβα σωστά την ερώτηση σου δεν μιλώ γερμανικά.
koullis1 is offline  
Old 09/08/2013, 01:02   #4
 
Coniesan's Avatar
 
elite*gold: 1000
Join Date: Mar 2009
Posts: 1,407
Received Thanks: 1,005
Hey Ho
also die einfachste Variante im Bezug auf fehlgeleitete Items löschen, die im Grunde gar nicht im Umlauf sein sollten, wäre:
1. M2 Server beenden
2. Folgende Query ausführen (<item> = vnum des Items)
PHP Code:
DELETE FROM player.item WHERE vnum=<item>; 
3. M2 Server starten
4. Item ist weg!

Wird der SQL Command bei einem laufenden Server ausgeführt, hat dies nur auf die Spieler eine Wirkung, die entweder ~8min nix im Inventar verschieben, bzw ausgeloggt sind!
Coniesan is offline  
Reply


Similar Threads Similar Threads
Adminpannel
08/16/2011 - Metin2 Private Server - 0 Replies
Heyho Epvp. Ich mach grad mit nem Freund n DynDns Server. Nunja. alles klappt. Nur wie mache ich einen adminpannelaccount für die homepage? Und über der Hp steht : Warning: date() : It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected...
Pls help, kann item proto nicht loeschen
08/13/2011 - Metin2 Private Server - 0 Replies
Hallo, ich kann die item proto nicht loeschen aus Navicat. http://img5.imageshack.us/img5/7152/errorrz.jpg Uploaded with ImageShack.us Woran liegts
Server Problem beim Loeschen
12/22/2009 - Metin2 Private Server - 13 Replies
Guten Abend, Ich hatte mal ein Hamachi Server aber habe dann den geloescht.Nun als ich das geloscht habe auch die Daten sind irgentwie auf meiner Festplatte immer noch diese Speicher oder so. Also bevor ich die Sachen inst. habe waren noch ca 340Gb Frei als ich dann inst. ca 300 aber als ich die Daten geloescht habe waren immer noch die gleiche Anzahl von Gb cO. :confused::confused: Vieleicht kann einer mir Helfen :handsdown::handsdown: LG;Chini
Char Loeschen
10/12/2008 - Metin2 Private Server - 3 Replies
Gibt es einen Guide, indem erklärt wird, wie man auf dem P-Server einen Char löscht? Danke



All times are GMT +2. The time now is 15:01.


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