[Release] Working Mpog shop script

Page 1 of 2 12 LastLast
Results 1 to 25 of 34
  1. #1
    Account Upgraded | Title Enabled! Asumi is offline
    MemberRank
    Aug 2008 Join Date
    209Posts

    [Release] Working Mpog shop script

    I made it a while ago and here is the release i made the mpog shop script to work this is only the mod_itemshop not the rest you will have to find that out by your self

    Code:
    <?
    if ($_GET['expand'] == 1){
    ?>
    				<tr>
    					<td width="917" colspan="5" height="26" style="background-image: url('images/subbar.jpg'); background-repeat: no-repeat; background-position: center top">
    					<p align="center">
    					<a href="index.php?do=myaccount&act=viewmyitems">
    					<img border="0" src="images/subbar/myitems.jpg" width="64" height="13"></a><a href="index.php?do=itemshop&sub=listallitems&expand=1"><img border="0" src="images/subbar/listallitems.jpg" width="100" height="13"></a><a href="index.php?do=itemshop&sub=help&expand=1"><img border="0" src="images/subbar/help.jpg" width="52" height="13"></a></td>
    				</tr>
    
    <? }
    
    
    
    
    
    if(!function_exists("ListAllItems")){
    function ListAllItems(){
        if(!isset($_GET['type'])){
            $type = "";
        }else{
            $type = "CSID = '".antisql($_GET['type'])."' AND";
        }
    
        $res = mssql_query("SELECT * FROM CashShop WHERE ".$type." Opened = '1'");
    
        ?>
        <div align="center">
    						<table border="0" width="456" style="border-collapse: collapse">
    							<tr>
    								<td background="images/cont_up.jpg">&nbsp;</td>
    							</tr>
    							<tr>
    								<td background="images/cont_bg.jpg">
    								<div align="center">
    									<table border="0" style="border-collapse: collapse" width="454" height="100%">
    										<tr>
    											<td width="4" rowspan="11">&nbsp;</td>
    											<td width="440" colspan="2">
    											<img border="0" src="images/inf/listallitems.jpg"></td>
    											<td width="30">&nbsp;</td>
    										</tr>
    
    										<tr>
    											<td width="12" colspan="2"></td>
    										</tr>
    
    
    
    										<tr>
    											<td width="449" colspan="2">&nbsp;
    											</td>
    										</tr>
    
    										<tr>
                                                                                    <?
                                            while($item = mssql_fetch_assoc($res)) {
                                                if ($count == 2) {
                                                    $count = 1;
                                                    echo "
                                                        </tr><tr>
    												        <td width='184'>&nbsp;</td>
    												        <td width='184'>&nbsp;</td>
    												        <td width='184'>&nbsp;</td>
    											        </tr><tr>";
                                                    ?>
                                                    <td width="208">
    
    											<table border="0" style="border-collapse: collapse" width="102%" height="100%">
    												<tr>
    													<td width="105" rowspan="8" valign="top">
    													<p align="center">
    													<img border="2" src="<?=$item['WebImgName']?>"></td>
    													<td width="106" valign="top">
    													<font color="#FF9933"><?=$item['Name']?></font></td>
    												</tr>
    												<tr>
    													<td width="106" valign="top">&nbsp;</td>
    												</tr>
    												<tr>
    													<td width="106" valign="top">
    													Type: <?
                                                        switch ( $item['Slot'] ){
                                                            case "1";
                                                            $slot = "Ranged";
                                                            break;
                                                            case "2";
                                                            $slot = "Melee";
                                                            break;
                                                            case "3";
                                                            $slot = "Armor";
                                                            break;
                                                            case "4";
                                                            $slot = "Set";
                                                            break;
                                                            case "5";
                                                            $slot = "Special";
                                                            break;
                                                        } echo $slot;
    
                                                            ?></td>
    												</tr>
    												<tr>
    													<td width="106" valign="top">
    													Sex: <?
                                                        switch ($item['ResSex']){
                                                        case "0";
                                                        $sex = "Man";
                                                        break;
                                                        case "1";
                                                        $sex = "Woman";
                                                        break;
                                                        case "2";
                                                        $sex = "All";
                                                        break;
                                                        } echo $sex;
                                                        ?></td>
    												</tr>
    												<tr>
    													<td width="106" valign="top">
    													Lv. Min: <?=$item['ResLevel']?></td>
    												</tr>
    												<tr>
    													<td width="106" valign="top">
    													Price: <?=$item['CashPrice']?></td>
    												</tr>
    												<tr>
    													<td width="106">
    													<p align="center">
    													<a href="index.php?do=itemshop&sub=details&id=<?=$item['CSID']?>"><img border="0" src="images/buy_btn.jpg" width="47" height="19"></a></td>
    												</tr>
    												<tr>
    													<td width="106">&nbsp;</td>
    												</tr>
    												<tr>
    													<td width="105">&nbsp;</td>
    													<td width="106">&nbsp;</td>
    												</tr>
    											</table>
    
    </body>
    
    </html>
    </td>
                                                    <?
                                                }else{
                                                    ?>
                                                    <td width="208">
                                                    											<table border="0" style="border-collapse: collapse" width="100%" height="100%">
    												<tr>
    													<td width="105" rowspan="8" valign="top">
    													<p align="center">
    													<img border="2" src="<?=$item['WebImgName']?>"></td>
    													<td width="110" valign="top">
    													<font color="#FF9933"><?=$item['Name']?></font></td>
    												</tr>
    												<tr>
    													<td width="110" valign="top">&nbsp;</td>
    												</tr>
    												<tr>
    													<td width="110" valign="top">
    													Type: <?
                                                        switch ( $item['Slot'] ){
                                                            case "1";
                                                            $slot = "Ranged";
                                                            break;
                                                            case "2";
                                                            $slot = "Melee";
                                                            break;
                                                            case "3";
                                                            $slot = "Armor";
                                                            break;
                                                            case "4";
                                                            $slot = "Set";
                                                            break;
                                                            case "5";
                                                            $slot = "Special";
                                                            break;
                                                        } echo $slot;
    
                                                            ?></td>
    												</tr>
    												<tr>
    													<td width="110" valign="top">
    													Sex: <?
                                                        switch ($item['ResSex']){
                                                        case "0";
                                                        $sex = "Man";
                                                        break;
                                                        case "1";
                                                        $sex = "Woman";
                                                        break;
                                                        case "2";
                                                        $sex = "All";
                                                        break;
                                                        } echo $sex;
                                                        ?></td>
    												</tr>
    												<tr>
    													<td width="110" valign="top">
    													Lv. Min: <?=$item['ResLevel']?></td>
    												</tr>
    												<tr>
    													<td width="110" valign="top">
    													Price: <?=$item['CashPrice']?></td>
    												</tr>
    												<tr>
    													<td width="110">
    													<p align="center">
    													<a href="index.php?do=itemshop&sub=details&id=<?=$item['CSID']?>"><img border="0" src="images/buy_btn.jpg" width="47" height="19"></a></td>
    												</tr>
    												<tr>
    													<td width="110">&nbsp;</td>
    												</tr>
    												<tr>
    													<td width="105">&nbsp;</td>
    													<td width="110">&nbsp;</td>
    												</tr>
    											</table>
    
    </body>
    
    </html>
    </td>                                                <?
                                                     $count++;
                                                }
                                            }   ?>
    											<td width="30">
    											&nbsp;<p>&nbsp;</p>
    											<p>&nbsp;</p>
    											<p>&nbsp;</td>
    										</tr>
    
    										<tr>
    											<td width="445" colspan="2">&nbsp;</td>
    										</tr>
    
    										<tr>
    											<td width="12" colspan="2"></td>
    										</tr>
    										</table>
    								</div>
    								</td>
    							</tr>
    							<tr>
    								<td background="images/cont_top.jpg" height="27">&nbsp;</td>
    							</tr>
    						</table>
    					</div>
        <?
        }  }
    
    
    
    //Items details
    
    
    
    
    if(!function_exists("ShowItemsDetails")){
        function ShowItemsDetails(){
        if($_GET['id'] == ""){
            re_dir("index.php");
        }
        $itemid = antisql($_GET['id']);
        $res = mssql_query("SELECT * FROM CashShop WHERE CSID = '$itemid'");
        $item = mssql_fetch_assoc($res);
        ?>
        					<div align="center">
    						<table border="0" width="456" style="border-collapse: collapse">
    							<tr>
    								<td background="images/cont_up.jpg">&nbsp;</td>
    							</tr>
    							<tr>
    								<td background="images/cont_bg.jpg">
    								<div align="center">
    									<table border="0" style="border-collapse: collapse" width="454" height="100%">
    										<tr>
    											<td width="4" rowspan="7">&nbsp;</td>
    											<td width="429">
    											<img border="0" src="images/inf/itemdetails.jpg" width="413" height="18"></td>
    											<td width="8">&nbsp;</td>
    										</tr>
    
    										<tr>
    											<td width="1"></td>
    										</tr>
    
    										<tr>
    											<td width="438">
    											<table border="0" style="border-collapse: collapse" width="436" height="100%">
    												<tr>
    													<td width="122" valign="top">
    													<table border="0" style="border-collapse: collapse" width="122">
    														<tr>
    															<td width="11">&nbsp;</td>
    															<td width="91">&nbsp;</td>
    															<td width="14">&nbsp;</td>
    														</tr>
    														<tr>
    															<td width="11">&nbsp;</td>
    															<td width="91">
    															<img border="2" src="<?=$item['WebImgName']?>" width="100" height="100"></td>
    															<td width="14">&nbsp;</td>
    														</tr>
    														<tr>
    															<td width="11">&nbsp;</td>
    															<td width="91">&nbsp;</td>
    															<td width="14">&nbsp;</td>
    														</tr>
    													</table>
    													</td>
    													<td width="310" valign="top">
    													<table border="0" style="border-collapse: collapse" width="310" height="100%">
    														<tr>
    															<td height="15" width="308" colspan="2">
    															</td>
    														</tr>
    														<tr>
    															<td height="15" width="308" colspan="2">
    												<!-- //left item picture -->
    												<!-- right item info box -->
    															<div class="item_name">
    																<b>
    																<span class="item_name">
    																<?=$item['Name']?></span></b></div>
    															</td>
    														</tr>
    														<tr>
    															<td width="55" height="15">
    															</td>
    															<td width="251" height="15">
    															</td>
    														</tr>
    														<tr>
    															<td width="55"><b>Type:</b></td>
    															<td width="251"><?
                                                        switch ( $item['Slot'] ){
                                                            case "1";
                                                            $slot = "Ranged";
                                                            break;
                                                            case "2";
                                                            $slot = "Melee";
                                                            break;
                                                            case "3";
                                                            $slot = "Armor";
                                                            break;
                                                            case "4";
                                                            $slot = "Set";
                                                            break;
                                                            case "5";
                                                            $slot = "Special";
                                                            break;
                                                        } echo $slot;
    
                                                            ?></td>
    														</tr>
    														<tr>
    															<td width="55"><b>Sex:</b></td>
    															<td width="251">
                                                                <?
                                                        switch ($item['ResSex']){
                                                        case "0";
                                                        $sex = "Man";
                                                        break;
                                                        case "1";
                                                        $sex = "Woman";
                                                        break;
                                                        case "2";
                                                        $sex = "All";
                                                        break;
                                                        } echo $sex;
                                                        ?></td>
    														</tr>
    														<tr>
    															<td width="55"><b>Level:</b></td>
    															<td width="251"><?=$item['ResLevel']?></td>
    														</tr>
    														<tr>
    															<td width="55">
    															<b>Weight:</b></td>
    															<td width="251"><?=$item['Weight']?></td>
    														</tr>
    														<tr>
    															<td width="55"><b>Price:</b></td>
    															<td width="251"><?=$item['CashPrice']?></td>
    														</tr>
    														<tr>
    															<td width="55">&nbsp;</td>
    															<td width="251">&nbsp;</td>
    														</tr>
    													</table>
    													</td>
    												</tr>
    												<tr>
    													<td width="432" valign="top" colspan="2">
    													<div align="center">
    														<table border="0" style="border-collapse: collapse; background-image: url('images/iteminfo.jpg'); background-repeat: no-repeat; background-position: center top" width="422" height="110">
    															<tr>
    																<td>
    																<table border="0" style="border-collapse: collapse" width="420" height="100%">
    																	<tr>
    																		<td width="130" height="27" colspan="4">&nbsp;</td>
    																		<td width="146" height="27" colspan="3">&nbsp;</td>
    																		<td width="128" height="27" colspan="3">&nbsp;</td>
    																	</tr>
    																	<tr>
    																		<td width="7">&nbsp;</td>
    																		<td width="75">
    																		<b>
    																		Damage</b></td>
    																		<td width="44" align="right">
    																		<?=$item['Damage']?></td>
    																		<td width="4" style="background-image: url('images/table_sep.jpg')">&nbsp;</td>
    																		<td width="88">
    																		<b>AP</b></td>
    																		<td width="48" align="right">
    																		<?=$item['AP']?></td>
    																		<td width="4" style="background-image: url('images/table_sep.jpg')">&nbsp;</td>
    																		<td width="67">
    																		<b>FR</b></td>
    																		<td width="62" align="right">
    																		<?=$item['FR']?></td>
    																		<td width="4">&nbsp;</td>
    																	</tr>
    																	<tr>
    																		<td width="7">&nbsp;</td>
    																		<td width="75">
    																		<b>Delay</b></td>
    																		<td width="44" align="right">
    																		<?=$item['Delay']?></td>
    																		<td width="4" style="background-image: url('images/table_sep.jpg')">&nbsp;</td>
    																		<td width="88">
    																		<b>HP</b></td>
    																		<td width="48" align="right">
    																		<?=$item['HP']?></td>
    																		<td width="4" style="background-image: url('images/table_sep.jpg')">&nbsp;</td>
    																		<td width="67">
    																		<b>PR</b></td>
    																		<td width="62" align="right">
    																		<?=$item['PR']?></td>
    																		<td width="4">&nbsp;</td>
    																	</tr>
    																	<tr>
    																		<td width="7">&nbsp;</td>
    																		<td width="75">
    																		<b>
    																		Magazine</b></td>
    																		<td width="44" align="right">
    																		<?=$item['Magazine']?></td>
    																		<td width="4" style="background-image: url('images/table_sep.jpg')">&nbsp;</td>
    																		<td width="88">
    																		<b>Max
    																		Weight</b></td>
    																		<td width="48" align="right">
    																		<?=$item['MaxWeight']?></td>
    																		<td width="4" style="background-image: url('images/table_sep.jpg')">&nbsp;</td>
    																		<td width="67">
    																		<b>CR</b></td>
    																		<td width="62" align="right">
    																		<?=$item['CR']?></td>
    																		<td width="4">&nbsp;</td>
    																	</tr>
    																	<tr>
    																		<td width="7">&nbsp;</td>
    																		<td width="75">
    																		<b>Max
    																		Bullet</b></td>
    																		<td width="44" align="right">
    																		<?=$item['MaxBullet']?></td>
    																		<td width="4" style="background-image: url('images/table_sep.jpg')">&nbsp;</td>
    																		<td width="88">
    																		<b>
    																		Reload
    																		Time</b></td>
    																		<td width="48" align="right">
    																		<?=$item['ReloadTime']?></td>
    																		<td width="4" style="background-image: url('images/table_sep.jpg')">&nbsp;</td>
    																		<td width="67">
    																		<b>LR</b></td>
    																		<td width="62" align="right">
    																		<?=$item['LR']?></td>
    																		<td width="4">&nbsp;</td>
    																	</tr>
    																	<tr>
    																		<td width="7">&nbsp;</td>
    																		<td width="75">
    																		<b>
    																		Control</b></td>
    																		<td width="44" align="right">
    																		<?=$item['Control']?></td>
    																		<td width="4" style="background-image: url('images/table_sep.jpg')">&nbsp;</td>
    																		<td width="88">
    																		<b>
    																		Duration</b></td>
    																		<td width="48" align="right">
    																		<?=$item['Duration']?></td>
    																		<td width="4" style="background-image: url('images/table_sep.jpg')">&nbsp;</td>
    																		<td width="67">&nbsp;</td>
    																		<td width="62">&nbsp;</td>
    																		<td width="4">&nbsp;</td>
    																	</tr>
    																	<tr>
    																		<td width="7">&nbsp;</td>
    																		<td width="75">&nbsp;</td>
    																		<td width="51" colspan="2">&nbsp;</td>
    																		<td width="88">&nbsp;</td>
    																		<td width="54" colspan="2">&nbsp;</td>
    																		<td width="67">&nbsp;</td>
    																		<td width="68" colspan="2">&nbsp;</td>
    																	</tr>
    																</table>
    																</td>
    															</tr>
    														</table>
    													</div>
    													</td>
    												</tr>
    												<tr>
    													<td width="432" valign="top" colspan="2">&nbsp;</td>
    												</tr>
    												<tr>
    													<td width="432" valign="top" colspan="2">
    													<p align="center">
    													<a href="index.php?do=itemshop&sub=buyitem&expand=1&itemid=<?=$item['CSID']?>">
    													<img border="0" src="images/buyitem.jpg" width="70" height="27"></a>&nbsp;
    													<img border="0" src="images/giftitem.jpg" width="70" height="27" onclick="alert('Gift function will be available soon!')"></td>
    												</tr>
    												<tr>
    													<td width="432" valign="top" colspan="2">&nbsp;</td>
    												</tr>
    											</table>
    											</td>
    										</tr>
    
    										<tr>
    											<td width="1"></td>
    										</tr>
    										</table>
    								</div>
    								</td>
    							</tr>
    							<tr>
    								<td background="images/cont_top.jpg" height="27">&nbsp;</td>
    							</tr>
    						</table>
    					</div>
        <?
    
    }   }
    
    
    if(!function_exists("ShowBuyItem")){
        function ShowBuyItem(){
           if($_SESSION['AID'] == ""){
                re_dir("index.php?do=login");
           }
           $item2 = antisql($_GET['itemid']);
           $res = mssql_query("SELECT * FROM CashShop WHERE CSID = '$item2'");
           $item = mssql_fetch_assoc($res);
           $res2 = mssql_query("SELECT euCoins FROM Login WHERE AID = '".$_SESSION['AID']."'");
           $acc = mssql_fetch_assoc($res2);
           if(isset($_POST['submit'])){
                $itemid = antisql($_POST['ItemID']);
                $res = mssql_query("SELECT * FROM CashShop WHERE CSID = '$itemid'");
                $item = mssql_fetch_assoc($res);
                $res2 = mssql_query("SELECT euCoins FROM Login WHERE AID = '".$_SESSION['AID']."'");
                $acc = mssql_fetch_assoc($res2);
                $aid = $_SESSION['AID'];
                $updatecoins = $acc['euCoins'] - $item['CashPrice'];
                $zitemid = $item['ItemID'];
                if($updatecoins < 0){
                    die("No Bug here :) CoDeD By LaMbDa FrOm SpAiN!!! :)");
                }
                mssql_query("INSERT INTO AccountItem ([ShopItemID], [AID], [ItemID], [RentDate], [RentHourPeriod], [Cnt])VALUES('$itemid', '$aid', '$zitemid', GETDATE(), 60, 0)");
                mssql_query("UPDATE Login SET euCoins = '$updatecoins' WHERE AID = '$aid'");
                msgbox("Item purchased correctly, you will be introduced in Storage","index.php?do=itemshop&expand=1");
           }
           ?>
           					<div align="center">
    						<table border="0" width="456" style="border-collapse: collapse">
    							<tr>
    								<td background="images/cont_up.jpg">&nbsp;</td>
    							</tr>
    							<tr>
    								<td background="images/cont_bg.jpg">
    								<div align="center">
    									<table border="0" style="border-collapse: collapse" width="454" height="100%">
    										<tr>
    											<td width="4" rowspan="7">&nbsp;</td>
    											<td width="429">
    											<img border="0" src="images/inf/buyitem.jpg" width="414" height="19"></td>
    											<td width="8">&nbsp;</td>
    										</tr>
    
    										<tr>
    											<td width="1"></td>
    										</tr>
    
    										<tr>
    											<td width="438">
    											<table border="0" style="border-collapse: collapse" width="436" height="100%">
    												<tr>
    													<td width="200" valign="top">&nbsp;</td>
    													<td width="8" valign="top">&nbsp;</td>
    													<td width="222" valign="top">&nbsp;</td>
    												</tr>
    												<tr>
    													<td width="200" valign="top">
    													<p align="right">Name of 
    													item</td>
    													<td width="8" valign="top">&nbsp;</td>
    													<td width="222" valign="top">
    													<b><?=$item['Name']?></b></td>
    												</tr>
    												<tr>
    													<td width="200" valign="top">
    													<p align="right">Bill  
    													Current</td>
    													<td width="8" valign="top">&nbsp;</td>
    													<td width="222" valign="top">
    													<b><?=$_SESSION['UserID']?></b></td>
    												</tr>
    												<tr>
    													<td width="200" valign="top">
    													<p align="right">Price</td>
    													<td width="8" valign="top">&nbsp;</td>
    													<td width="222" valign="top">
    													<b><?=$item['CashPrice']?>,- </b></td>
    												</tr>
    												<tr>
    													<td width="200" valign="top">
    													<p align="right">MPOG Coins 
    													you have</td>
    													<td width="8" valign="top">&nbsp;</td>
    													<td width="222" valign="top">
    													<b><?=$acc['euCoins']?>,- </b></td>
    												</tr>
    												<tr>
    													<td width="200" valign="top">
    													<p align="right">MPOG Coins 
    													To you later</td>
    													<td width="8" valign="top">&nbsp;</td>
    													<td width="222" valign="top">
    													<b><?
                                                        $result = $acc['euCoins']-$item['CashPrice'];
                                                        if($result < 0){
                                                            $boton = "<b>MPOG insufficient Coins</b>";
                                                        }else{
                                                            $boton = "<input type='submit' value='Buy item' name='submit'>";
                                                        }
    
                                                            echo $acc['euCoins']-$item['CashPrice'];?>,- </b></td>
    												</tr>
    												<tr>
    													<td width="200" valign="top">&nbsp;</td>
    													<td width="8" valign="top">&nbsp;</td>
    													<td width="222" valign="top">&nbsp;</td>
    												</tr>
    												<tr>
    													<td width="430" valign="top" colspan="3">
    													<p align="center">
    													<font color="#FF0000"><b>
    													NOTE: If you buy an item and then do not want, or is mistaken, we are not responsible</b></font></td>
    												</tr>
    												<tr>
    													<td width="200" valign="top">&nbsp;</td>
    													<td width="8" valign="top">&nbsp;</td>
    													<td width="222" valign="top">&nbsp;</td>
    												</tr>
    												<tr>
    													<td width="430" valign="top" colspan="3">
    													<form method="POST" action="index.php?do=itemshop&sub=buyitem">
    														<p align="center">    
    														<?=$boton?>
    														<input type="hidden" value="<?=$_GET['itemid']?>" name="ItemID">
    														</p>
    													</form>
    													</td>
    												</tr>
    											</table>
    											</td>
    										</tr>
    
    										<tr>
    											<td width="1"></td>
    										</tr>
    										</table>
    								</div>
    								</td>
    							</tr>
    							<tr>
    								<td background="images/cont_top.jpg" height="27">&nbsp;</td>
    							</tr>
    						</table>
    					</div>
           <?
        }
    }
    
    
    if($_GET['expand'] == 0){
    
    switch($_GET['sub']){
        case "listallitems";
            ListAllItems();
        break;
        case "details";
            ShowItemsDetails();
        break;
        case "buyitem";
            ShowBuyItem();
        break;
    }
    }
    
    
    
    
    
    ?>


  2. #2
    Account Upgraded | Title Enabled! Anan is offline
    MemberRank
    Apr 2008 Join Date
    692Posts

    Re: [Release] Working Mpog shop script

    WOOOOOOOOOOOOOOOOOOOOOOOOWWWWWWWWWWWWW TYYYYYYYYYYYY I JUST LOOOOOOOOOOOOKED FOR THATTTTTTTTTTTTT omg i gotta add you as friend :)

  3. #3
    Account Upgraded | Title Enabled! Asumi is offline
    MemberRank
    Aug 2008 Join Date
    209Posts

    Re: [Release] Working Mpog shop script

    You already got me @ msn....

  4. #4
    Account Upgraded | Title Enabled! Anan is offline
    MemberRank
    Apr 2008 Join Date
    692Posts

    Re: [Release] Working Mpog shop script

    Can you help me to do it? in msn?!

  5. #5
    Account Upgraded | Title Enabled! Asumi is offline
    MemberRank
    Aug 2008 Join Date
    209Posts

    Re: [Release] Working Mpog shop script

    Just replace this with the old mod_itemshop.php ?

  6. #6
    Account Upgraded | Title Enabled! Anan is offline
    MemberRank
    Apr 2008 Join Date
    692Posts

    Re: [Release] Working Mpog shop script

    i mean setup it the items doesn't show in the shop T,T

  7. #7
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: [Release] Working Mpog shop script

    Btw is this 100% automaticly?

  8. #8
    Account Upgraded | Title Enabled! Asumi is offline
    MemberRank
    Aug 2008 Join Date
    209Posts

    Re: [Release] Working Mpog shop script

    this is only the shop it self not the payment stuff that's my other thread

  9. #9
    Browser. Nova is offline
    MemberRank
    Nov 2008 Join Date
    --Location
    400Posts

    Re: [Release] Working Mpog shop script

    You diden't make this. You can't evan code PHP.
    No offence. Just the truth.

  10. #10
    Account Upgraded | Title Enabled! Asumi is offline
    MemberRank
    Aug 2008 Join Date
    209Posts

    Re: [Release] Working Mpog shop script

    Rofl it's a edit of the offical mod_itemshop from lambda i edited it to let it work....

  11. #11
    Browser. Nova is offline
    MemberRank
    Nov 2008 Join Date
    --Location
    400Posts

    Re: [Release] Working Mpog shop script

    It was allready released. Only with Wizkid's unbugged version. It's a matter of comparing.

  12. #12
    Account Upgraded | Title Enabled! Asumi is offline
    MemberRank
    Aug 2008 Join Date
    209Posts

    Re: [Release] Working Mpog shop script

    Wizkid's unbugged version mod_itemshop isn't working for everybody somehow also didn't work for me... i had to recode it and this came out (A)

  13. #13
    Gunz Developer / Support _System32_ is offline
    MemberRank
    Feb 2008 Join Date
    VenezuelaLocation
    583Posts

    Re: [Release] Working Mpog shop script

    Hmmm.. Not bad <3

  14. #14
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: [Release] Working Mpog shop script

    Lol Asumi, u know counterweight?

    Anyways good job?

  15. #15
    Account Upgraded | Title Enabled! Asumi is offline
    MemberRank
    Aug 2008 Join Date
    209Posts

    Re: [Release] Working Mpog shop script

    Yes i know him i am good friends with him

  16. #16
    Infraction Banned Shockdot1 is offline
    MemberRank
    Oct 2008 Join Date
    67Posts

    Re: [Release] Working Mpog shop script

    You mind posting the file rather then the code?

    Copy and Paste causes issues...

  17. #17

    Re: [Release] Working Mpog shop script

    @Shockdot1: Not really.

  18. #18
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: [Release] Working Mpog shop script

    nice work :P but that CSID at the beginning of the file should be Slot lol, at least that's how mine is, and it works 100% xD

  19. #19
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: [Release] Working Mpog shop script

    Quote Originally Posted by wesman2232 View Post
    nice work :P but that CSID at the beginning of the file should be Slot lol, at least that's how mine is, and it works 100% xD
    any reason why when i add items, they just dont freaking show?

    I did this thing and still wont dam work >.>

  20. #20
    Account Upgraded | Title Enabled! Asumi is offline
    MemberRank
    Aug 2008 Join Date
    209Posts

    Re: [Release] Working Mpog shop script

    I will soon release a fully working mpog so stop crying!

  21. #21
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: [Release] Working Mpog shop script

    Quote Originally Posted by Joe9099 View Post
    any reason why when i add items, they just dont freaking show?

    I did this thing and still wont dam work >.>
    probably cause your AccountItem.dbo is missing the ShopItemID column. (thats what fixed it when I was helping me friend out with it)
    Last edited by wesman2232; 19-04-09 at 09:08 PM.

  22. #22
    Account Upgraded | Title Enabled! Anan is offline
    MemberRank
    Apr 2008 Join Date
    692Posts

    Re: [Release] Working Mpog shop script

    Quote Originally Posted by wesman2232 View Post
    probably cause your Item.dbo is missing the ShopItemID column. (thats what fixed it when I was helping me friend out with it)
    umm i added it now with "int" and didn't work T.T !!

  23. #23
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: [Release] Working Mpog shop script

    crap, I meant AccountItem xD sorry im half-asleep today lol

  24. #24
    Account Upgraded | Title Enabled! Anan is offline
    MemberRank
    Apr 2008 Join Date
    692Posts

    Re: [Release] Working Mpog shop script

    Quote Originally Posted by wesman2232 View Post
    crap, I meant AccountItem xD sorry im half-asleep today lol
    ok thank you let me try :) i will edit.
    edit: int ? varchar? what XD im not good at SQL

  25. #25
    Banned Requnael is offline
    BannedRank
    Apr 2009 Join Date
    EstoniaLocation
    378Posts

    Re: [Release] Working Mpog shop script

    Good job....................



Page 1 of 2 12 LastLast

Advertisement