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 <noreply@anthropic.com>
This commit is contained in:
1 parent
46e028c3ec
commit
560f6a968f
4 files changed
+11
-11
No files matched your search
+1
-1
@@ -22,7 +22,7 @@ WORLD_PORT=29200
|
|||||||
LOGIN_SERVER_NAME=ROSE Login
|
LOGIN_SERVER_NAME=ROSE Login
|
||||||
CHAR_SERVER_NAME=Server 1
|
CHAR_SERVER_NAME=Server 1
|
||||||
WORLD_CHANNEL_NAME=Channel 1
|
WORLD_CHANNEL_NAME=Channel 1
|
||||||
WORLD_WELCOME_MSG=Welcome to ROSE
|
WORLD_WELCOME_MSG=Welcome to ROSS
|
||||||
|
|
||||||
# --- Gameplay knobs ---------------------------------------------------------
|
# --- Gameplay knobs ---------------------------------------------------------
|
||||||
WORLD_MAX_CONNECTIONS=500
|
WORLD_MAX_CONNECTIONS=500
|
||||||
|
|||||||
@@ -165,10 +165,10 @@ CDrop* CWorldServer::GetNewDrop( CMonster* thismon )
|
|||||||
// Each monster has its own rates for zuly and item drops defined in the stb
|
// Each monster has its own rates for zuly and item drops defined in the stb
|
||||||
// first check for Zuly drops
|
// first check for Zuly drops
|
||||||
randv = RandNumber( 1, 100);
|
randv = RandNumber( 1, 100);
|
||||||
//if( thisclient->Session->codedebug )
|
if( thisclient->Session->codedebug )
|
||||||
//{
|
{
|
||||||
// SendPM(thisclient, "randv = %i. money = %i. zulyrate = %i. ", randv,thismon->thisnpc->money,thisclient->Stats->zulydroprate );
|
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
|
if(randv <= (thismon->thisnpc->money + thisclient->Stats->zulydroprate)) // zuly drop
|
||||||
{
|
{
|
||||||
newdrop->type = 1; //zuly
|
newdrop->type = 1; //zuly
|
||||||
@@ -181,10 +181,10 @@ CDrop* CWorldServer::GetNewDrop( CMonster* thismon )
|
|||||||
return newdrop;
|
return newdrop;
|
||||||
}
|
}
|
||||||
//now check for item drops
|
//now check for item drops
|
||||||
//if( thisclient->Session->codedebug )
|
if( thisclient->Session->codedebug )
|
||||||
//{
|
{
|
||||||
// SendPM(thisclient, "randv = %i. Item = %i. Itemrate = %i", randv,thismon->thisnpc->item,thisclient->Stats->itemdroprate );
|
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
|
if(randv <= (thismon->thisnpc->item + thisclient->Stats->itemdroprate + thismon->thisnpc->money)) // Item drop
|
||||||
{
|
{
|
||||||
//OK got an item. Now we find which one
|
//OK got an item. Now we find which one
|
||||||
|
|||||||
@@ -336,7 +336,7 @@ bool CWorldServer::pakDoIdentify( CPlayer *thisclient, CPacket *P )
|
|||||||
ADDSTRING ( pak, Config.WELCOME_MSG );
|
ADDSTRING ( pak, Config.WELCOME_MSG );
|
||||||
ADDBYTE ( pak, 0 );
|
ADDBYTE ( pak, 0 );
|
||||||
thisclient->client->SendPacket( &pak );
|
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( );
|
thisclient->SetStats( );
|
||||||
|
|
||||||
if(thisclient->Session->award != 0)
|
if(thisclient->Session->award != 0)
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ x-app: &app
|
|||||||
WORLD_S2S_PORT: ${WORLD_S2S_PORT:-29210}
|
WORLD_S2S_PORT: ${WORLD_S2S_PORT:-29210}
|
||||||
WORLD_CHANNEL_NAME: ${WORLD_CHANNEL_NAME:-Channel 1}
|
WORLD_CHANNEL_NAME: ${WORLD_CHANNEL_NAME:-Channel 1}
|
||||||
WORLD_MAX_CONNECTIONS: ${WORLD_MAX_CONNECTIONS:-500}
|
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}
|
WORLD_SAVE_TIME: ${WORLD_SAVE_TIME:-3600}
|
||||||
SHARED_LOGIN_PASS: ${SHARED_LOGIN_PASS:-789456}
|
SHARED_LOGIN_PASS: ${SHARED_LOGIN_PASS:-789456}
|
||||||
SHARED_CHAR_PASS: ${SHARED_CHAR_PASS:-456123}
|
SHARED_CHAR_PASS: ${SHARED_CHAR_PASS:-456123}
|
||||||
|
|||||||
Reference in new issue
Block a user