![]() |
|
Cash Server - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Release Zone (https://lckb.dev/forum/forumdisplay.php?fid=190) +---- Forum: Episode 3 Releases (https://lckb.dev/forum/forumdisplay.php?fid=172) +----- Forum: Server Side (https://lckb.dev/forum/forumdisplay.php?fid=139) +----- Thread: Cash Server (/showthread.php?tid=3892) |
- Kekers - 07-22-2014 I wrote a custom cash server for LastChaos a while back for EP1 and never got around to releasing it. Server files, source code, and tons of tools have been leaked from official developers and publishers since then. Tho not among any of them existed a linux cash server or source code for that matter. With that being said the only cash server that we have is Wizatek's. Which is compiled in C# and requires the mono framework to run on Linux (which is extremely slow). Not to mention the official cash server he compiled that consists of Barunson source code (I personally don't trust Barunson code). So I took on the liberty to port my cash server to Linux. You need nothing to run this cash server with the current EP2 or EP3 server files other than a few installed packages. You do not need any frameworks such as mono either as this cash server is compiled native for Linux (machine code). This is a high performance and light weight cash server. If you encounter a bug while using the cash server let me know so I can fix it. I haven't tested this on a high capacity server so I cannot guarantee stability (it should be fine). CentOS 6.5 (64-bit) is required to run this cash server! Required Packages yum install mysql-devel gcc Download wget http://warsoft.pcriot.com/CashServer.tar.gz tar -vxzf CashServer.tar.gz rm CashServer.tar.gz Change Log v1.0 - Initial Release v1.1a - Bug Fixes * Fixed Variable Casing - Code Improvements * Removed ODBC Connector Dependency * Moved Database Functions To Seperate Source File v1.1b - Bug Fixes * Fixed Missing SQL Variable In Database Functions * Fixed Missing Close MySQL Calls - Code Improvement * Imported More Needed MySQL Functions v1.1c - Bug Fixes * Fixed Closing Preferences File After Being Parsed - Code Improvements * Improved Server Print-Out (Official Format) v1.1d - Bug Fixes * Removed Leftover ODBC Traces (unixODBC No Longer Needed) v1.2 - Bug Fixes * Fixed Memory Leak - Code Improvements * Cash Server Will Now Automatically Create Cash Column If Needed * Removed On Connect Event And Moved It To A Dedicated Function * Added Official Source Constants * Simplified Hex To Decimal Conversions * Lowered Receive Buffer Size (Memory Efficiency) v1.2a - Bug Fixes * Fixed Crash If MySQL Library Is Missing * Fixed Variable Data Types * Fixed The Disconnect Print Bug (Hopefully) - Code Improvements * Reworked Database Functions v1.3 - Bug Fixes * Fixed More Variable Data Types - Code Improvements * Improved Error Handling * Removed Free MySQL Library Macro * Added Print Out Of Connected Server ID And Game ID * Cleaned Up Database Functions Have fun, Warmonger * Note: This cash server caches the item mall packages from the database. Meaning if you change the price, a item, or anything else in the database you must reload the cash server for changes to take effect ingame. - juliena33 - 10-12-2014 http://warsoft.pcriot.com/CashServer.tar.gz don't work :/ - Kekers - 11-04-2014 2 don't work :/ You can get it 2. |