From 560f6a968ff0878f50a3e79b47d71cc95ce5fb91 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 9 Jul 2026 07:16:01 +0200 Subject: [PATCH] Rebrand welcome messages and re-enable drop-roll debug logging Welcome message default/example changed from "Welcome to ROSE" to "Welcome to ROSS", and the hardcoded post-login system message replaced with a ROSS-specific credit line. Also re-enable the codedebug SendPM lines in GetNewDrop that report the raw randv/money/zulyrate/item/itemrate values behind each zuly-vs-item roll (previously commented out) -- needed to diagnose in-game why item drops are still rare/absent after the drop-rate and item-index fixes, without guessing at STB drop-table values blind. Co-Authored-By: Claude Sonnet 5 --- .env.example | 2 +- Src/World Server/ServerFunctions.cpp | 16 ++++++++-------- Src/World Server/worldpackets.cpp | 2 +- docker-compose.yml | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.env.example b/.env.example index e588088..84bdae8 100644 --- a/.env.example +++ b/.env.example @@ -22,7 +22,7 @@ WORLD_PORT=29200 LOGIN_SERVER_NAME=ROSE Login CHAR_SERVER_NAME=Server 1 WORLD_CHANNEL_NAME=Channel 1 -WORLD_WELCOME_MSG=Welcome to ROSE +WORLD_WELCOME_MSG=Welcome to ROSS # --- Gameplay knobs --------------------------------------------------------- WORLD_MAX_CONNECTIONS=500 diff --git a/Src/World Server/ServerFunctions.cpp b/Src/World Server/ServerFunctions.cpp index 9e78ef1..06016a7 100644 --- a/Src/World Server/ServerFunctions.cpp +++ b/Src/World Server/ServerFunctions.cpp @@ -165,10 +165,10 @@ CDrop* CWorldServer::GetNewDrop( CMonster* thismon ) // Each monster has its own rates for zuly and item drops defined in the stb // first check for Zuly drops randv = RandNumber( 1, 100); - //if( thisclient->Session->codedebug ) - //{ - // SendPM(thisclient, "randv = %i. money = %i. zulyrate = %i. ", randv,thismon->thisnpc->money,thisclient->Stats->zulydroprate ); - //} + if( thisclient->Session->codedebug ) + { + SendPM(thisclient, "randv = %i. money = %i. zulyrate = %i. ", randv,thismon->thisnpc->money,thisclient->Stats->zulydroprate ); + } if(randv <= (thismon->thisnpc->money + thisclient->Stats->zulydroprate)) // zuly drop { newdrop->type = 1; //zuly @@ -181,10 +181,10 @@ CDrop* CWorldServer::GetNewDrop( CMonster* thismon ) return newdrop; } //now check for item drops - //if( thisclient->Session->codedebug ) - //{ - // SendPM(thisclient, "randv = %i. Item = %i. Itemrate = %i", randv,thismon->thisnpc->item,thisclient->Stats->itemdroprate ); - //} + if( thisclient->Session->codedebug ) + { + SendPM(thisclient, "randv = %i. Item = %i. Itemrate = %i", randv,thismon->thisnpc->item,thisclient->Stats->itemdroprate ); + } if(randv <= (thismon->thisnpc->item + thisclient->Stats->itemdroprate + thismon->thisnpc->money)) // Item drop { //OK got an item. Now we find which one diff --git a/Src/World Server/worldpackets.cpp b/Src/World Server/worldpackets.cpp index d9674a2..a4d37aa 100644 --- a/Src/World Server/worldpackets.cpp +++ b/Src/World Server/worldpackets.cpp @@ -336,7 +336,7 @@ bool CWorldServer::pakDoIdentify( CPlayer *thisclient, CPacket *P ) ADDSTRING ( pak, Config.WELCOME_MSG ); ADDBYTE ( pak, 0 ); thisclient->client->SendPacket( &pak ); - SendSysMsg( thisclient, "Pre-Evolution server presented by SpiritFox productions and Kuro-Tejina " ); + SendSysMsg( thisclient, "Rush On Seven Slops - Pre-Evo Server based on KTROSE, proudly fcked up by Claude " ); thisclient->SetStats( ); if(thisclient->Session->award != 0) diff --git a/docker-compose.yml b/docker-compose.yml index 18043a8..07c4bae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,7 @@ x-app: &app WORLD_S2S_PORT: ${WORLD_S2S_PORT:-29210} WORLD_CHANNEL_NAME: ${WORLD_CHANNEL_NAME:-Channel 1} WORLD_MAX_CONNECTIONS: ${WORLD_MAX_CONNECTIONS:-500} - WORLD_WELCOME_MSG: ${WORLD_WELCOME_MSG:-Welcome to ROSE} + WORLD_WELCOME_MSG: ${WORLD_WELCOME_MSG:-Welcome to ROSS} WORLD_SAVE_TIME: ${WORLD_SAVE_TIME:-3600} SHARED_LOGIN_PASS: ${SHARED_LOGIN_PASS:-789456} SHARED_CHAR_PASS: ${SHARED_CHAR_PASS:-456123}