Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 3,898
» Latest member: Glassvwk
» Forum threads: 5,151
» Forum posts: 41,373

Full Statistics

Online Users
There are currently 26 online users.
» 0 Member(s) | 25 Guest(s)
Bing

Latest Threads
Last Chaos Server Sale
Forum: The Black Market (Buy, Sell, Trade)
Last Post: XWrongX2
01-26-2026, 11:07 PM
» Replies: 3
» Views: 588
All in One Exporter
Forum: Tools
Last Post: Kain88
01-25-2026, 07:04 AM
» Replies: 4
» Views: 404
HELP! ReZasCashServer It ...
Forum: Ep4 Support
Last Post: Kain88
01-24-2026, 03:24 PM
» Replies: 2
» Views: 140
Hi, does anyone know the ...
Forum: Help
Last Post: Desarija
01-21-2026, 11:29 AM
» Replies: 1
» Views: 99
LastChaos Nemesis
Forum: Server Advertising
Last Post: Desarija
01-20-2026, 04:06 PM
» Replies: 3
» Views: 216
Looking for EP4 Guidance
Forum: General Discussion
Last Post: xHypnosiaa
01-19-2026, 08:33 AM
» Replies: 1
» Views: 156
We're in need of creative...
Forum: Project Recruitment
Last Post: RGT
01-16-2026, 12:48 AM
» Replies: 0
» Views: 106
Last Chaos build deployme...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-08-2026, 11:14 AM
» Replies: 0
» Views: 62
Last Chaos global server ...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-07-2026, 07:01 PM
» Replies: 0
» Views: 22
EP-2/EP-3 Mixed files
Forum: Archived General Server Releases
Last Post: TeKnodE
01-06-2026, 09:53 PM
» Replies: 1
» Views: 283

 
  HELP! ReZasCashServer It is not possible to cast an object of type DBNull to another type.
Posted by: Kain88 - 01-22-2026, 04:58 PM - Forum: Ep4 Support - Replies (2)


Help. When launching CashServer, it writes the following message.

It is not possible to cast an object of type DBNull to another type.

As far as I understand, the problem is in SQL, but I don’t know in which tables exactly.

EP4 (Windows 11)



I also have a problem with LavaBall — in the game it is empty…



There is also a problem with titles in the game. The titles in the inventory cannot be clicked; I can’t use a title.



The marketplace also does not work.



Print this item

  We're in need of creative minds
Posted by: RGT - 01-16-2026, 12:48 AM - Forum: Project Recruitment - No Replies


Hey ho. 

I bet this forum is flabbergasted that my name pops up constantly. 

The thing is, I'm at a point where I got s solid team creating a server, and we're already on the high road of fixing the shitfest of official LC / genereic LC servers. 

We are at the point where we need people that know the game, and has a creative mind, to help us out and actually make something happen.



If you want to redefine how people think of LC, shoot me a message! 



Best,

RGT 

Discord: rgt1111 

Print this item

  Hi, does anyone know the code to remove buffs individual
Posted by: dragon2000 - 01-15-2026, 10:11 AM - Forum: Help - Replies (1)


Can anyone help me? I tried to build but when i right click on the buff in game, it says disconnected. Sad(

Print this item

  Last Chaos build deployment script
Posted by: xHypnosiaa - 01-08-2026, 11:14 AM - Forum: Ep4 Guides - No Replies


Simple guide – How to use the build deployment script

This script is used to deploy the latest compiled build to your Last Chaos server folders.

It automates what most people usually do by hand.

---

What the script does

When you run it, the script will:



Take the latest compiled build





Backup the existing files before replacing them





Copy the new binaries to the correct server directories





Apply permissions 777 on deployed files





Overwrite old builds in a clean and repeatable way




This avoids manual copy/paste and reduces deployment mistakes.

---

About backups

Before replacing anything, the script backs up the current files.

If something goes wrong, you can easily restore the previous version.

This is especially useful when testing new builds.

---

About permissions (777)

The script sets permissions to 777 to avoid permission issues during testing.

Important note



777 is NOT recommended for production / live servers





It is acceptable for test, dev, or private setups





For live environments, permissions should be tightened properly




The script favors simplicity over security for development use.

---

Before using it

Make sure:



Your build is already compiled





Servers are stopped before deployment





You run the script as the same user that owns the server files





Paths inside the script match your setup




---

Make the script executable

Run once:

chmod +x deploy_latest.sh

---

How to deploy a build

Run:

./deploy_latest.sh

No arguments needed.

The script will:



Backup old files





Deploy the new build





Apply permissions





Finish in one pass




---

After deployment



Restart your servers normally





If something doesn’t start, check logs first





If needed, restore the backup and investigate




---

Common mistakes



Deploying while servers are still running





Using it directly on a live server without adjusting permissions





Wrong folder paths




---

Final note

This script is meant to:



Speed up deployments





Make updates safer with backups





Keep your workflow clean during development




For production setups, adapt permissions and security rules before using it.

Quick notes :

Made for linux. If you use windows files, you'll need to update the script.

This assumes you have a builds folder with all your compiled builds in it.

---

Script : 

#!/bin/bash
# ==============================================
# Last Chaos - Deploy Latest Build Script
# Author: xHypnosia
# ==============================================
set -e

# ===== CONFIG =====
BUILD_ROOT="/home/lastchaos/builds"
TARGET_ROOT="/home/lastchaos"
DATE=$(date +"%d_%m_%Y_%H_%M_%S")
# ==================

echo "[+] Searching for newest build in ${BUILD_ROOT}"

# Find newest build directory
NEWEST_BUILD=$(find "${BUILD_ROOT}" -maxdepth 1 -mindepth 1 -type d | sort -r | head -n 1)

if [ -z "${NEWEST_BUILD}" ]; then
echo "[!] No build directories found in ${BUILD_ROOT}"
exit 1
fi

echo "[?] Using build: ${NEWEST_BUILD}"

# Backup directory inside the build
BACKUP_DIR="${NEWEST_BUILD}/backup_${DATE}"
echo "[+] Creating backup directory: ${BACKUP_DIR}"
mkdir -p "${BACKUP_DIR}"

# Backup + deploy function
backup_and_deploy() {
local SRC="$1"
local DEST="$2"

local DEST_DIR
DEST_DIR=$(dirname "${DEST}")
local REL_PATH="${DEST_DIR#${TARGET_ROOT}/}"

echo "[>] Deploying $(basename "${DEST}")"

# Ensure destination directory exists
mkdir -p "${DEST_DIR}"

# Backup existing binary
if [ -f "${DEST}" ]; then
echo " [-] Backing up existing binary"
mkdir -p "${BACKUP_DIR}/${REL_PATH}"
cp -f "${DEST}" "${BACKUP_DIR}/${REL_PATH}/"
else
echo " [ ] No existing binary to backup"
fi

# Deploy new binary
if [ ! -f "${SRC}" ]; then
echo "[!] Source file missing: ${SRC}"
exit 1
fi

cp -f "${SRC}" "${DEST}"
chmod 777 "${DEST}"

echo " [?] Deployed ${SRC} -> ${DEST}"
}

echo "[+] Deploying binaries"

backup_and_deploy "${NEWEST_BUILD}/GameServer1" "${TARGET_ROOT}/GameServer1/GameServer1"
backup_and_deploy "${NEWEST_BUILD}/LoginServer" "${TARGET_ROOT}/LoginServer/LoginServer"
backup_and_deploy "${NEWEST_BUILD}/Helper" "${TARGET_ROOT}/Helper/Helper"
backup_and_deploy "${NEWEST_BUILD}/SubHelper" "${TARGET_ROOT}/SubHelper/SubHelper"
backup_and_deploy "${NEWEST_BUILD}/Connector" "${TARGET_ROOT}/Connector/Connector"
backup_and_deploy "${NEWEST_BUILD}/Messenger" "${TARGET_ROOT}/Messenger/Messenger"
backup_and_deploy "${NEWEST_BUILD}/Billing" "${TARGET_ROOT}/Billing/Billing"

echo "[?] Build deployed successfully"
echo "[?] Backups stored in: ${BACKUP_DIR}"

 

Print this item

  Last Chaos global server control script
Posted by: xHypnosiaa - 01-07-2026, 07:01 PM - Forum: Ep4 Guides - No Replies


This script is a simple global controller for a Last Chaos server setup.

It lets you start, stop, restart, and check the status of all server components with one command.

It uses GNU screen, so every server runs in its own detached screen session and keeps running after you disconnect.

---

What the script does



Starts each LC server in the correct folder





Runs each server in a dedicated screen session





Prevents starting the same server twice





Redirects all output to log files





Lets you manage everything with one command




---

Your servers must be located like this:

/home/lastchaos/
├─ Connector/
├─ Helper/
├─ SubHelper/
├─ Messenger/
├─ LoginServer/
├─ GameServer1/
├─ Billing/
└─ logs/

Otherwise, adjust the script if you want it to respect and use your own environment.

Each server folder must contain either:



a run script

or





an executable named like the folder (ex: Connector, Helper, etc.)




---

How to use it

Make the script executable:

chmod +x server_start.sh

Then use it :

./server_start.sh start # start all servers
./server_start.sh stop # stop all servers
./server_start.sh restart # restart all servers
./server_start.sh status # show server status

---

Logs

All logs are automatically written to:

/home/lastchaos/logs/

One log file per server:

Connector.log
Helper.log
GameServer1.log
...

---

Screen sessions

Each server runs in a screen named like:

LC_Connector
LC_GameServer1
...

To attach:

screen -r LC_GameServer1

---

Notes for beginners



Make sure screen is installed





Run the script as the same user that owns the server files





If a server doesn’t start, check its log first




---

Script can be reworked, updated and modified to fits your need, but this is a solid base and would be useful for most beginners.

#!/bin/bash
# ==============================================
# Last Chaos - Global Server Control Script
# Author: xHypnosia
# ==============================================

BASE_DIR="/home/lastchaos"
LOG_DIR="$BASE_DIR/logs"
SCREEN_PREFIX="LC_"

mkdir -p "$LOG_DIR"

SERVERS=(
"Connector"
"Helper"
"SubHelper"
"Messenger"
"LoginServer"
"GameServer1"
"Billing"
)

start_server() {
local name="$1"
local dir="$BASE_DIR/$name"
local screen_name="${SCREEN_PREFIX}${name}"

if screen -list | grep -q "$screen_name"; then
echo "WARNING: $name is already running."
return
fi

if [ ! -d "$dir" ]; then
echo "ERROR Directory not found: $dir"
return
fi

echo "INFO: Starting $name..."
cd "$dir" || return

if [ -x ./run ]; then
screen -dmS "$screen_name" bash -c "./run >> $LOG_DIR/${name}.log 2>&1"
elif [ -x ./${name} ]; then
screen -dmS "$screen_name" bash -c "./${name} Start >> $LOG_DIR/${name}.log 2>&1"
else
echo "ERROR No executable found in $dir"
fi
}

stop_server() {
local name="$1"
local screen_name="${SCREEN_PREFIX}${name}"

if screen -list | grep -q "$screen_name"; then
echo "INFO: Stopping $name..."
screen -S "$screen_name" -X quit
else
echo "INFO: $name is not running."
fi
}

status_server() {
local name="$1"
local screen_name="${SCREEN_PREFIX}${name}"

if screen -list | grep -q "$screen_name"; then
echo "INFO: $name : Online"
else
echo "INFO: $name : Offline"
fi
}

start_all() {
echo "=== Global Last Chaos server startup ==="
for s in "${SERVERS[@]}"; do
start_server "$s"
sleep 1
done
echo "INFO: All servers have been started."
}

stop_all() {
echo "=== Global Last Chaos server shutdown ==="
for s in "${SERVERS[@]}"; do
stop_server "$s"
done
echo "INFO: All servers have been stopped."
}

status_all() {
echo "=== Last Chaos server status ==="
for s in "${SERVERS[@]}"; do
status_server "$s"
done
}

case "$1" in
start) start_all ;;
stop) stop_all ;;
restart) stop_all; sleep 2; start_all ;;
status) status_all ;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
;;
esac

 

If any help is requested althougt the script is prety straightforward, feel free to leave a comment or reach out on Discord : mrpandawaki (previously known as xHypnosia)

Print this item

  Looking for EP4 Guidance
Posted by: UikFire - 01-04-2026, 01:42 AM - Forum: General Discussion - Replies (1)


Hi all,

I’m new and trying to get everything running on Last Chaos EP4 so I can learn the code, experiment, and create new content. I need help with:



Server Source Compile Guide for EP4.





Clean database that works with ClientNov.





A working copy of DamonA’s Dev Tool—the Catalog gives errors  ( 2 ), Affinity button doesn’t save, startitem doesn’t work, and other features fail.





Instructions for compiling the ClientSource—changing things like Max+ on weapons or EXP gives errors in-game.





Where to change start item equipment (with +15 option) and the actual start items.




I already have some tools (LOD/STR export, String editor, Dev Pack by DamonA) and I’ve checked the forums, but most tools I found no longer work with EP4.

If anyone has working tools, guides, or tips, that are willingly to share  I’d really appreciate it!

Discord: Odoyall#0094

Print this item

  LAST CHAOS CLIENT COLLECTION
Posted by: AndX - 12-17-2025, 11:04 PM - Forum: General Discussion - No Replies


I'm looking for any old official LC clients (installers!) that are not already presented in 2.

I'm especially interested in Italian, French, Brazilian (Gunsoft and Bilagames (Mexico + South America)), Chinese (Taiwan + Hong Kong + mainland), Japanese, Turkish, Korean, and Malaysian. But it would be great to find something besides these, especially clients dated 2004-2005. I'll upload them to the archive and they will be available to everyone. Thanks in advance.



2

P.S.

1. What will I do with these? Just for collection which will be available to anyone

2. Don’t hesitate to write to me even if a lot of time has passed since this post was published. I think I'll still be interested.

Print this item

  bsme at ссылка BlackSprut bs2best
Posted by: BSBESTBSME - 11-07-2025, 08:48 AM - Forum: General Discussion - No Replies

Всегда много готовых адресов закладок и уникальная быстрая поддержка и решение диспутов - все это ждет вас на площадке https BlackSprut bs2site at, всегда рабочая ссылка https://blsp.af/ 2





Новая рабочая ссылка на БлекСпрут, купить закладку онлайн https blsp at



https://https-bs2best.at/ 2

Print this item

  t_item
Posted by: Blast - 10-31-2025, 03:35 PM - Forum: General Discussion - No Replies


hello, which tables edit these values

 

2

Print this item

  t_item
Posted by: Blast - 10-31-2025, 03:34 PM - Forum: General Discussion - Replies (1)


hello, which tables edit these values

 

2

Print this item