|
You last visited: Today at 00:32
Advertisement
[S]Jemand der MySQL kann [B]E*G, evtl PSC
Discussion on [S]Jemand der MySQL kann [B]E*G, evtl PSC within the Metin2 Private Server forum part of the Metin2 category.
07/13/2014, 01:44
|
#1
|
elite*gold: 50
Join Date: Mar 2014
Posts: 96
Received Thanks: 3
|
[S]Jemand der MySQL kann [B]E*G, evtl PSC
Hab ein Problem mit nem Itemshop, mehr dazu über Skype o.Ä. Geht um Itemshop.. mehr dazu pn, müsst mysql können.
skype: mr.argelini
biete halt meine 16 e*g wenns mehr wird auch 10er psc
|
|
|
07/13/2014, 02:08
|
#2
|
elite*gold: 0
Join Date: Jun 2014
Posts: 226
Received Thanks: 45
|
Ehm?
Gehört in den Bereich 'Suche Teammitglieder'
|
|
|
07/13/2014, 02:10
|
#3
|
elite*gold: 50
Join Date: Mar 2014
Posts: 96
Received Thanks: 3
|
nein, ich suche jemanden der mir kurzzeitig was erklärt btw was coded und biete was für
|
|
|
07/13/2014, 02:22
|
#4
|
elite*gold: 534
Join Date: Mar 2014
Posts: 1,614
Received Thanks: 983
|
Meld dich bei mir^
|
|
|
07/13/2014, 02:25
|
#5
|
elite*gold: 0
Join Date: Jun 2014
Posts: 226
Received Thanks: 45
|
Ist trotzdem der Falsche Bereich.
Und da du Anscheind E*gold dafür bieten willst gehört es in die Epvp gold treading .....
|
|
|
07/13/2014, 02:34
|
#6
|
elite*gold: 50
Join Date: Mar 2014
Posts: 96
Received Thanks: 3
|
Quote:
Originally Posted by Dayma aka Verox
Ist trotzdem der Falsche Bereich.
Und da du Anscheind E*gold dafür bieten willst gehört es in die Epvp gold treading .....
|
Das ist ja sehr schön, leider hilfst du mir damit nicht weiter. Soll ich Mod das bitte verschieben, hilfe wird trz gesucht.
|
|
|
07/13/2014, 03:24
|
#7
|
elite*gold: 74
Join Date: Jul 2010
Posts: 13,408
Received Thanks: 3,943
|
Dann stell doch einfach dein Problem hier detailliert rein.
Auf was beziehst du dich überhaupt, brauchst du Hilfe bei einer SQL-Abfrage oder bei der Konfiguration einer Datenbank?
|
|
|
07/13/2014, 03:59
|
#8
|
elite*gold: 50
Join Date: Mar 2014
Posts: 96
Received Thanks: 3
|
Script:
<?php
if(isset($_SESSION['account'])) {
if(!empty($_GET['kat'])) {
if(!empty($_GET['buy'])) {
?>
<div style="padding: 10px; margin:10px;" class="fui">
<p style="margin:7px 0px; background:url(images/ui/fui.png); -moz-border-radius:5px; padding:5px; ">
<b><font color="#990000">Item Kaufen</font></b></p>
<?php
$login = $_SESSION['account'];
$checkuser = mysql_query("SELECT * FROM account.account WHERE login = '$login'");
$array = mysql_fetch_array($checkuser);
$itemid = $_GET['buy'];
$user = $_SESSION['account'];
$coins = $array['coins'];
$query = mysql_query("SELECT * FROM account.is_items WHERE value = '$itemid'");
$array2 = mysql_fetch_array($query);
$rescash = $coins-$array2['preis'];
$posQr = mysql_query("SELECT * FROM player.item WHERE owner_id = ".$array['id']." AND window = 'MALL' ORDER BY pos DESC LIMIT 1");
while($pos1 = mysql_fetch_object($posQr)){
if ($pos1->pos == '42'){
$pos = '1';
} else {
$pos = $pos1->pos + 1;
}
}
if($rescash > 0) {
$i = 0;
$giveitem = "INSERT INTO player.item SET
owner_id = ".$array['id'].", window = 'MALL', pos = '$pos',
count = '1', vnum = '$itemid', socket0 = '0', socket1 = '0', socket2 = '0'";
$re = mysql_query($giveitem);
if($re) {
$cashresult = $coins-$array2['preis'];
$coins = "UPDATE account.account SET coins = coins-'".$array2['preis']."' WHERE login = '$login'";
$coinsresult = mysql_query($coins);
if($coinsresult) {
echo '
Du hast erfolgreich ein/e '.$array2['item_name'].' gekauft!';
} else { echo "Kaufen fehlgeschlagen."; }
} else { echo "Deine Drachen Points genügen nicht."; }
} else { echo "Kaufen fehlgeschlagen."; }
?>
</div>
<?php
}
?>
<?php
$cat = "SELECT * FROM account.is_items WHERE kat = ".$_GET['kat']."";
$catQry = mysql_query($cat);
while($row2 = mysql_fetch_object($catQry)) {
error_reporting(0);
$size = GetImageSize ("images/is_img/".substr($row2->value,0,-1)."9.png");
?>
<div style="padding: 10px; margin:10px;" class="fui"><table width="100%" width="100px" border="0">
<td width="10%">
<img src="images/is_img/<?=substr($row2->value,0,-1)?>9.png" />
</td>
<td width="70%">
<p style="font-size:9px; background:url(images/ui/fui.png); -moz-border-radius:5px; padding:5px; ">
<b><?=$row2->item_name?></b></p><br>
<?=$row2->item_info?>
</td>
<td width="3%">
</td>
<td width="30%">
Preis: <?=$row2->preis?>Coins<br>
(<a href="index.php?src=shop&kat=<?=$_GET['kat']?>&buy=<?=$row2->value?>">Item Kaufen</a>)
</td>
</table>
</div>
<?
}
} else {
include('function/home.php');
}
} else {
echo 'Du musst dich Einloggen um diese Funktionen zu nutzen';
}
?>
wenn man in der url aber die item-id ändert in ein anderes item was man nicht im IS kaufen kann kann man sich das einfach so holen, jedes item und dazu noch kostenlos..
wer mir das schnell löst btw sagt was ich machen kann kriegt n steam acc mit ~130 spielen als ggl!!
|
|
|
07/13/2014, 09:40
|
#9
|
elite*gold: 1862
Join Date: Jan 2009
Posts: 3,725
Received Thanks: 7,671
|
Guten Morgen! Jeden Tag eine gute Tat, für heut' erledigt.
Code:
<?php
if(isset($_SESSION['account'])) {
if(!empty($_GET['kat'])) {
if(!empty($_GET['buy'])) {
?>
<div style="padding: 10px; margin:10px;" class="fui">
<p style="margin:7px 0px; background:url(http://cdn.elitepvpers.org/forum/images/ui/fui.png); -moz-border-radius:5px; padding:5px; ">
<b><font color="#990000">Item Kaufen</font></b></p>
<?php
$login = $_SESSION['account'];
$checkuser = mysql_query("SELECT * FROM account.account WHERE login = '$login'");
$array = mysql_fetch_array($checkuser);
$itemid = $_GET['buy'];
$user = $_SESSION['account'];
$coins = $array['coins'];
$query = mysql_query("SELECT * FROM account.is_items WHERE value = '$itemid'");
$array2 = mysql_fetch_array($query);
if($array2) {
$rescash = $coins-$array2['preis'];
$posQr = mysql_query("SELECT * FROM player.item WHERE owner_id = ".$array['id']." AND window = 'MALL' ORDER BY pos DESC LIMIT 1");
while($pos1 = mysql_fetch_object($posQr)){
if ($pos1->pos == '42'){
$pos = '1';
} else {
$pos = $pos1->pos + 1;
}
}
if($rescash > 0) {
$i = 0;
$giveitem = "INSERT INTO player.item SET
owner_id = ".$array['id'].", window = 'MALL', pos = '$pos',
count = '1', vnum = '$itemid', socket0 = '0', socket1 = '0', socket2 = '0'";
$re = mysql_query($giveitem);
if($re) {
$cashresult = $coins-$array2['preis'];
$coins = "UPDATE account.account SET coins = coins-'".$array2['preis']."' WHERE login = '$login'";
$coinsresult = mysql_query($coins);
if($coinsresult) {
echo '
Du hast erfolgreich ein/e '.$array2['item_name'].' gekauft!';
} else { echo "Kaufen fehlgeschlagen."; }
} else { echo "Deine Drachen Points genügen nicht."; }
} else { echo "Kaufen fehlgeschlagen."; }
?>
</div>
<?php
} else { echo "Keine gültige ID angegeben."; }
}
?>
<?php
$cat = "SELECT * FROM account.is_items WHERE kat = ".$_GET['kat']."";
$catQry = mysql_query($cat);
while($row2 = mysql_fetch_object($catQry)) {
error_reporting(0);
$size = GetImageSize ("images/is_img/".substr($row2->value,0,-1)."9.png");
?>
<div style="padding: 10px; margin:10px;" class="fui"><table width="100%" width="100px" border="0">
<td width="10%">
<img src="images/is_img/<?=substr($row2->value,0,-1)?>9.png" />
</td>
<td width="70%">
<p style="font-size:9px; background:url(http://cdn.elitepvpers.org/forum/images/ui/fui.png); -moz-border-radius:5px; padding:5px; ">
<b><?=$row2->item_name?></b></p><br>
<?=$row2->item_info?>
</td>
<td width="3%">
</td>
<td width="30%">
Preis: <?=$row2->preis?>Coins<br>
(<a href="index.php?src=shop&kat=['kat']?>&buy=<?=$row2->value?>">Item Kaufen</a>)
</td>
</table>
</div>
<?
}
} else {
include('function/home.php');
}
} else {
echo 'Du musst dich Einloggen um diese Funktionen zu nutzen';
}
?>
So sollt's korrekt sein. Hab' andere Dinge nicht angerührt. Wofür ist da eig. ein fui.png aus ePvP eingebunden?
|
|
|
|
Similar Threads
|
Kann mir jemand diese MySQL Query schreiben?
03/10/2014 - Metin2 Private Server - 6 Replies
ich bräuchte eine query, dass wenn in player.item_proto der wert von der spalte shop_buy_price höher als der wert der spalte gold ist, dass der wert shop_buy_price = gold -1 ist
MfG & Danke :)
|
[S]Jemand der mit ne MySQL DB erstellen kann
01/28/2013 - elite*gold Trading - 26 Replies
Servs ePvP,
suche jemanden der mir ne MySQL DB erstellen kann, da ich das backup davon verloren habe.
Script ist vorhanden:
<div id="content_top">Vote 4 Coins</div>
<div id="content_main">
<?
if(isset($_SESSION) && checkInt($_SESSION) && $_SESSION>=0) {
|
Kann mir jemand evtl helfen? :O
12/16/2012 - League of Legends - 5 Replies
Hallo ich habe ein Problem mit dem Spiel q.q und zwar kann ich nichtmehr auf 'Spielen' drücken :c
Was ich gemacht habe?
Neuinstalliert
Repariert (nichtnur einmal)
Adobe Air neuinstalliert
Alle sachen im verzeichnes gelöscht die rads_user_kernel heißen
LoL Threads (Ich bin nicht allein mit dem Problem!)
~ Problem nach dem Patch eben! - League of Legends Community
|
Könnte mir evtl jemand ein acc schenken mind. lv 30 :D
01/25/2010 - Metin2 - 1 Replies
Hi liebe com,
könnnte mir jemand ein Acc schenken ist egal auf welchem server
hauptsachte mind. lv 30
Vielen dank im vorraus
(pnt mich )
|
All times are GMT +2. The time now is 00:32.
|
|