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
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user