Register for your free account! | Forgot your password?

You last visited: Today at 00:54

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

Advertisement



[release]Coint Shop PHP

Discussion on [release]Coint Shop PHP within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 116
Received Thanks: 6
[release]Coint Shop PHP

Hay guys
Here is a coint shop with vote 4 silk for you homepage


thx to Khaozh

Vote 4 Silk + Coints Shop
This vote 4 silks script give for every vote 5 silk and 5 coints
The coint shop is an shop where you can buy with this "Coints" items ...



This script is not the best ^^ its written in 1h

But i hope thats you like it anyway


The coint shop script is made by me the vote 4 silk script is just eddid by me
Its made by [GM]NoEnergy from SilversRoaD
All is used by SilversRoaD



Quote:
How to:
First you will need an Login Panel who is using $userID = $_SESSION['name'];
Insert into the DB DB.txt
Change
$serverIp = "local";
$userName = "sa";
$password = "PW";
$dbName1 = "SRO_VT_ACCOUNT";
$dbName2 = "SHARD";
to your data


How to add items:
You will see in buy.php


echo 'Global 10x<br />'; //Item
echo '<img src="img/global.jpg" title="Global" /><br />'; //Image
echo 'Price: 10coints<br />'; //Cost
print " //Select char start
<b>Select Char</b>
<br />
<form name='form' method='post' action='?Item'>
<select name='CharName'>
<option value='$CharNAME'>$CharNAME</option>
<option value='$CharNAME1'>$CharNAME1</option>
<option value='$CharNAME2'>$CharNAME2</option>
</select>
<input type='submit' class='button' value='Buy' name='item1' /> //name='item1' is needed for item.php
</form>
"; //Select char end
echo ' <br />';



Just change all this things for a new item

Now item.php

if (isset($_POST['item1'])) { //item1 from the buy.php





if ($coint > 9) { //how much coints its cost -1


mssql_query("update Coints set coints = coints - 10 where loginid = '$userID'"); //Delete coints from DB how much its cost

mssql_select_db($dbName2, $dbConn) or die ("Couln't select database $dbName1");
mssql_query("exec _ADD_ITEM_EXTERN '$Char','ITEM_EVENT_RENT_GLOBAL_CHATTING',10,1"); //$Char,item,units,item option level


echo "Succesfull buyed item pls check your inventory for the item";


}else{
echo "You have not enugh coints";
}

}


If you want to add a new item you will need to change name='item1' and if (isset($_POST['item1'])) { lets we say you have added already 9 items then you will need for the next item name='item10' and if (isset($_POST['item10'])) {


Where i get the icons?
Go into your media then icons item etc.....
Like it if you like it ^^
noenergy is offline  
Thanks
1 User
Old 11/03/2012, 17:51   #2
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 16,399
Received Thanks: 6,509
#approved
PortalDark is offline  
Old 11/03/2012, 22:42   #3
 
elite*gold: 0
Join Date: Nov 2011
Posts: 166
Received Thanks: 23
tell us how it work ?
thebook23 is offline  
Old 11/03/2012, 23:16   #4
 
elite*gold: 130
Join Date: Mar 2008
Posts: 2,485
Received Thanks: 934
Coins* not "Coints".


Honestly, do these people speak english wrong deliberately? I'm starting to be convinced of it...
intercsaki is offline  
Old 11/04/2012, 03:30   #5
 
elite*gold: 0
Join Date: Mar 2007
Posts: 18
Received Thanks: 0
Problem ?
i add all server informations (server name, name, pass, vs)

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\CoinShop\item.php:2) in C:\xampp\htdocs\CoinShop\item.php on line 4

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\CoinShop\item.php:2) in C:\xampp\htdocs\CoinShop\item.php on line 4
polat33 is offline  
Old 11/05/2012, 16:16   #6
 
SayedKate's Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 121
Received Thanks: 26
WoW Very Special ! really thx
SayedKate is offline  
Reply


Similar Threads Similar Threads
Bubble Safari Zynga Coint, Cash and Energy Hack
04/10/2013 - Facebook - 5 Replies
For Coint : 1. - Open Cheat Engine ( If you dont have it download here: http://cheatengine.org/download/d2/CheatEngine62.e xe 2. - Select Process to open (Under File PC picture button) 3. - In vaule type select DOUBLE 4. - Put your money for ex: 1000 coints so type 1000 in Vaule: 5. - Click Scan 6. - Spend some money in game or get more to change vaule 7. -Next put again 500 if you spend other 500 8. -And click Next Scan (do not click First Scan)
Coint Pusher
09/22/2012 - Tutorials - 84 Replies
Hallo elitepvpers gemeinde ich möchte euch heute erklären wie ihr in facebook zb kostenlos eine ps3/kamera/nintendo ds bekommt dieses ist ganz einfach ihr loggt euch bei facebook ein gebt in der such leiste coin pusher ein und nehm dies an 2 sobald ihr es öfnet kommt ein kleines vid und ihr müst euch regen / ein passwort für das systeam machen dies geht ganz leicht von selbst 3 ihr könnt loslegen am anfang fängt kriegt mann kostenlos 30 murmel die wäreung von denen 1 murmel = 1...
WhateverCraft [24/7] [Root] [Coint System] [ChestShop] [Bau was du willst]
01/14/2012 - Minecraft Server Advertising - 14 Replies
#Server Closed
easier Coint Hack
05/28/2011 - Dekaron PServer Hacks, Bots, Cheats & Exploits - 3 Replies
Hello ewryone i found a way in this forum how to make more coints in dekaron it was called a coint hack if i remember right...but since many peoples still dont know how to make work this stupid program (i dont know it to :D ) i just found other way to change ip its meens u can get coints same like in coint hack.. Its just change ur ip u can vote in many accounts as u want..its doest meen u can vote in the same account twice Required: 1.Mozilafirefox (tested on mozila.. on opera dont...



All times are GMT +1. The time now is 00:54.


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