Register for your free account! | Forgot your password?

You last visited: Today at 14:47

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

Advertisement



[RELEASE]HomePage Shop

Discussion on [RELEASE]HomePage Shop within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Closed Thread
 
Old   #1
 
Crysien's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 211
Received Thanks: 38
Post [RELEASE]HomePage Shop

[Introduction]
Here's another release from me, functions completely coded by me. Design ripped from the new eFlyff Premium Shop, with some modifications.
The shop is coded in PHP for Official File servers. [Version 1 & 2]: Yes, I know, it runs off MySQL, but that is for the item shop database. [Version 3]: Premium Shop now runs solely off SQL Server! [Version 4] Premium Shop renamed to Flyff Earthquake and added increased security, a backend panel, and search!

[Updates]
Version 2:
- Login page added.
- Updated configuration files.
- Added jQuery file.
Version 3:
- Removed MySQL feature. Runs solely off SQL Server.
- Removed ShopKey protection feature.
- Reversed source unwrap.
- Invalid Access errors now redirect to login page with a detailed error.
- Fixed a few grammar errors.
- Center aligned the shop when viewed in browser.
Version 4:
- Increased security.
- Added backend panel for adding/modifying items and adding shop points.
- New, popup window, display for shop. (Can be disabled)
- Added a search feature.
- Made logging out possible and easy.
- Modified category lists to display in ascending order of the ID.
- Codes cleaned up some.

[Features]
- Category navigation
- Page navigation
- Item details
- Purchase item
- Purchase & send gift
- Automatically updating "Popular" item based off purchases.
- Shop Search
- Logging out
- Backend panel to manage items

[Setup]
Setup shouldn't be too hard. You only need to configure the following variables in the inc/config.php file:

To use this shop, you need the shop database and two custom SQL Server stored procedures, shopMessengerList and shopSendItem. All three can be created by executing "PREMIUM_SHOP_TBL.sql" in the root folder.

Once you have the shop set up in a directory in your web host and mssql functions are enabled, you need to hex edit your "Neuz.exe". Find "http://billing.gpotato.com/Charge/FlyffItemList.asp" and replace the full URL to the URL of your web shop (for the eFlyff client).
Open the Premium Shop inside of the client to see your lovely shop.

Alternatively, you can go to the "login.php" page and login to the shop from there.

[Modifying Shop Items]
THERE IS NOW A BACKEND PANEL THAT YOU MAY USE TO ADD ITEMS, RELEASED IN VERSION 4. PLEASE KEEP IN MIND THAT YOU STILL NEED TO MATCH THE ITEM NAME FIELD WITH THAT OF THE ITEM'S NAME IN PROPITEM.TXT.TXT!
The shop comes preset with all of the items inside the eFlyff Cash Shop with exception to the clothing sets, clothing pieces, and hair items as of the post date.
THE 'NAME' FIELD INSIDE THE DATABASE MUST MATCH THE ITEM NAME INSIDE THE PROPITEM.TXT.TXT OF THE SERVER FILES OR ELSE THE ITEM WILL NOT BE SENT!

Add New Items:
To add a new item, just insert a new row into the shop table.
Single item required fields: itemid, name, desc, itemcount, price, category, image.
Bundle item required fields: All single item fields, isbundle=1, item1_id, item1_name, item1_count through item4 (leave null for no item). The itemid, name, and itemcount fields will just be used for display for bundle items.

Modifying Items:
Obviously, you can just change the field value...
To remove an item from the shop temporarily, just set 'forsale' equal to 0.
To temporarily put an item on sale, add a price to 'price_sale'. Set it to null or to 0 to remove the sale.

[Live Demo]
A live demo using version 4 can now be found at !
All functions except for the item panel are working for the live demo.

Account: test
Password: test
Character: Test

[Screenshots]









[Final Notes]
Activation:
REMOVED IN THE VERSION 3 RELEASE.

Item images:
Displayed from images/items/<itemid><image> for all items, with an exception to bundled items, in which it is images/items/<itemid>_bundle<image>.

Website Integration:
ADDED A LOGIN PAGE IN VERSION 3. JUST GO TO LOGIN.PHP TO ACCESS IT.
If you wish to have a login script for this, you will have to create your own page. Variables are as follows:
PHP Code:
//Direct form POST to the shop:
$_POST['user_id'] //Account
$_POST['m_idPlayer'] //Player ID
$_POST['serverindex'] //Player serverindex
$_POST['check'] //Account password (must be hashed)

//Preset sessions:
$_SESSION['ifs_account'] //Account
$_SESSION['ifs_player'] //Player ID
$_SESSION['ifs_sindex'] //Player serverindex
$_SESSION['ifs_passwd'] //Account password (must be hashed)
images/fail.jpg:
A FAIL.PSD FILE IS NOW INCLUDED IN THE IMAGES DIRECTORY TO ALLOW YOU TO MODIFY THE NAME OF YOUR CURRENCY ON THE IMAGE.
You will have to edit and modify this images yourself to change "gPoints" to your server's currency.

Hosting:
In my experience, I have come to find that WAMP Server 2.0c works the best with MSSQL connections and such, so a download of that has been linked.

Back-end:
YAY! A BACKEND SYSTEM WAS FINALLY RELEASED IN VERSION 4 TO ALLOW EDITING/ADDING/DELETING ITEMS FROM THE SHOP WITH EASE. AS WELL, YOU MAY ADD SHOP POINTS TO USER'S ACCOUNTS IN THE NEW BACKEND.
Please note that there is currently no back-end panel to add/modify items or add shop cash to an account. You will have to do these manually.

JavaScript Not Working?
FIXED IN VERSION 4 RELEASE.
Look for this in index.php:
Code:
<script src="/js/jquery-1.3.2.min.js" type="text/javascript"></script>
Replace it with:
Code:
<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
[Downloads]
WAMPServer2.0c:
Download WampServer from SourceForge.net

Premium Shop Release files:

Version 1:Megaupload

Version 2:Megaupload

Version 3:Megaupload

Version 4:Megaupload

Copyright:

97% Treachery [Entwickler]
3 % Streama[fürs uppen]
Crysien is offline  
Thanks
1 User
Old 12/30/2010, 20:31   #2
 
Jay Niize's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,851
Received Thanks: 3,417
Der wurde schon x Mal auf e*pvpers hochgeladen ó.O

#closerequest
Jay Niize is offline  
Thanks
2 Users
Old 12/30/2010, 20:33   #3
 
elite*gold: 30
Join Date: Oct 2010
Posts: 1,509
Received Thanks: 849
THX geile Leecher brauchen wir nicht. Schreib was eigenes! Ich kann Jusikid nur rechtgeben.
Fullscreen is offline  
Old 12/31/2010, 00:38   #4



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,177
Received Thanks: 14,471
Quote:
Originally Posted by Jusikid View Post
Der wurde schon x Mal auf e*pvpers hochgeladen ó.O

#closerequest
Version 4 hab ich bisher nicht gesehen.
Sedrika is offline  
Old 12/31/2010, 16:42   #5
 
elite*gold: 30
Join Date: Oct 2010
Posts: 1,509
Received Thanks: 849
Quote:
Originally Posted by Sedrika View Post
Version 4 hab ich bisher nicht gesehen.
Ist doch egal. Wenn man v4 haben will, soll man auf RZ gehen und sich das von da ziehen. Fakt ist, was Jusikid gesagt hat.
Fullscreen is offline  
Thanks
2 Users
Closed Thread

Tags
cool, hp shop, treachery


Similar Threads Similar Threads
[RELEASE] P-Server Homepage Design ( Homepage-Baukasten)
02/09/2013 - Metin2 Private Server - 3 Replies
MOD SCHLIEßen, danke =)
[Homepage Release]Imba Homepage by TribalCriser [Top Desing , Viele Funktionen etc]
10/21/2010 - Metin2 PServer Guides & Strategies - 116 Replies
Hallo, Ich stelle euch hier eine neue Generation der Metin2 Privat Server Homepages zur verfügung, die Homepage ist einfach Gut sie bietet viele Funtkionen die fast keine Public Homepage bietet sie bietet noch mehr Funktionen als bekannt sind, ein Top Desing ist auch dabei. Informationen vorneweg (Wichtig: Bitte Lesen!):
!!! Homepage Baukasten Shop [With Updates] !!!
07/11/2010 - elite*gold Trading - 12 Replies
Hallo Liebe Community, Ich habe % bei Homepage baukasten, weil ich schon oft eingekauft habe. Deswegen möchte ich, dass ihr auch etwas davon habt ;> Paket 1: Werbefreie Homepage für 300 EliteGold. Paket 2: Werbefreie Homepage mit Domain für 900 EliteGold. Paket 3: Eine "Weiterleitungs" Domain für 600 EliteGold Alle Pakete halten ein ganzes Jahr ;>



All times are GMT +2. The time now is 14:47.


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.