4Botters


 
Go Back   4Botters" I am A Bad Ass Botter " > Online Games > Other Online Games "New" > Cabal Online

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-25-2009, 08:36 PM
Closo's Avatar
Special Member
 
Join Date: Nov 2009
Location: In C# :D
Posts: 952
Thanks: 245
Thanked 334 Times in 145 Posts
Thumbs up Simple regpage and cash shop v1.5 beta

This is a basic cash shop designed to work with my simple regpage that uses game Alz from the player's warehouse for buying cash items. The layout is loosely based on the official Cabal EU cash shop without quite so many tabs.

Tested on WinXP 32 bit, Windows 2003 64 bit, Xampp, MSSQL 2000, MSSQL 2005.

Make sure you read the readme.txt carefully.



Download v1.5-> Chumpy's.CashShop.v1.5.7z

For those that need extra help hexing cabalmain.exe i have made a small video guide at [Only registered and activated users can see links. ] (compiled flash vid)

Quote:
v1.5 changes
============

It is now possible to log in via the regpage and access both the shop and
the shop admin, you are no longer restricted to accessing in-game only. The
game login and password is used to log in.

When buying items in the cash shop Alz is no longer taken directly from the
warehouse. You must log into the regpage and transfer Alz from warehouse
to the bank (you can only do this when not logged into the game). Alz from
the bank is used to buy cash items either whilst logged into the regpage
or from the in-game cash shop button.

This method does make it easier for those that want donations or some other
form of payment for cash items as you can now populate the bank manually.

DO NOT use the X at the top left of the cash shop itself to try and exit
back to the other panels. The game uses a special URL to close the in-game
browser and this won't work outside the game. Anywhere outside the actual
cash shop the X button should be ok.


Upgradng from v1
==================

1. Copy the new files to the webserver
- Your existing config.php will not be overwritten
- You will need to copy the ALLOW_BANK section into your existing config
if you want to use the option.

2. Run database/upgrade_v1.sql on you cash shop database
- Existing items will not be lost


New Installations
===================

1. Copy the files to a directory on your webserver.

2. Copy config.default.php->config.php, edit to add your MSSQL server logon and
website/forums. Make SURE you set the right ServerIdx or cash items will not
get delivered!

3. Create a new database called "CashShop" and run database/db.sql on it.

4. In etc/cabal/WorldSvr_XX_YY.ini set the following:

UseCashShop=1

Only enable it on WorldSvrs you want the shop available from.

5. Open cabalmain.exe in a hex editor and look around 0x3dee8c. The actual address
will be different for different cabalmain.exes but the string you are looking
for (assiming it hans't been changed already) is:

[Only registered and activated users can see links. ]

Once you have found the string is being used for the cash shop address and replace:

[Only registered and activated users can see links. ]

The string must be properly zero terminated and cannot be longer than 63 chars
unless you know how to relocate the string in the exe.

To see exactly what address the client is using hit the cash shop button in
game. Right-click and select Properties. That will help you find it in the exe
using a search

6. Test.


Test mode is enabled by default so you can check the shop is picking up the right
users when launched using the in game cash shop button. It will display the
UserNum (v1), the login AuthKey (v2), confirm the login name and the amount of Alz
is the login's Warehouse. It should look similar to this:

data=v1=1&v2=5229E0C411AF4F23B968B0653A76F043
v1=1
v2=5229E0C411AF4F23B968B0653A76F043
Found user ok.
Name=Test.
Alz=999999999.

One you are happy it is working ok open config.php and set the following:

// Print debug info at the top of the cash shop pages
define('TESTMODE',false);


Adding/Editing/Deleting items
===============================

Items are added using the admin button on the left of the cash shop pages.

The admin button will only appear if at least 1 char on your account is
a GM (Nation=3). Otherwise the button will not appear and any attempts to
access the admin panel will result in hack attempt messages.


Disabling Alz transfers
=========================

In config.php:

define('ALLOW_BANK',false);

Set this to false if you don't want to let players transfer Alz to the bank.
This enables you to populate the bank in other ways such as donations.


Maintenance Mode
==================

In config.php:

// Maintenance mode, open to GMs only.
define('MAINTMODE',false);

Set this to true and only accounts with at least 1 GM character can access the
cash shop.


IP validation
===============

In config.php:

// Uses LastIp validation as well as UserNum and AuthKey
// Can cause problems
define('IPVALIDATION',false);

The shop uses the UserNum and AuthKey from the DB to authorise people in the shop
and enabling this will also check the player's IP address matches the LastIp in
the database too. This can cause problems on some setups but for security reasons
keep it enabled unless you get a lot of unexpected hack attempt messages when trying
to use the cash shop.
This image has been resized. Click this bar to view the full image. The original image is sized 855x638.

This image has been resized. Click this bar to view the full image. The original image is sized 872x229.

Downloads:
Download


Press thanks if i helped u
Reply With Quote
The Following User Says Thank You to Closo For This Useful Post:
gerard294 (05-15-2010)
Google Adsense
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


Translate This Page

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stealthbot BETA HolySword WarCraft Bots 4 06-05-2010 05:49 AM
[Beta] HellmouthCo Atlantis254 Conquer Private Severs' Advertising 11 03-02-2010 07:34 AM
[Problem] I need help with regpage GamesSniper TQ Binaries 0 07-17-2009 10:43 PM
[Release] NEW Miniloader v3 Beta 1 MeGaMaX SilkRoad Hacks & Bots 1 05-05-2009 03:15 PM
[Release] PlagueProxy Beta Plague Conquer Tools 6 01-04-2009 05:32 AM


All times are GMT. The time now is 09:25 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.