Patch (untested) posted to
http://developer.valvesoftware.com/wiki/SDK_Known_Issues_List#Case_changes_in_player_names_cause_chat_truncation
for the bare bones sdk.
At 2006/03/28 01:42 PM, Physical Mayhem Bug wrote:
Well, so far Valve has never responded to any of the SDK bug reports, so you
Well, so far Valve has never responded to any of the SDK bug reports, so you
shouldn't hold your breath waiting for them before releasing a fix. Better to
just release the fix and if there's an issue, we'll solve it. (Now Valve did
fix
In stringpool.cpp there is this function:
bool StrLess( const char * const pszLeft, const char * const pszRight )
{
return ( Q_stricmp( pszLeft, pszRight) 0 );
}
It is used to compare strings in the string table to see if there is
already one in the table that can be used. The string table
It sounds good, however, wont this be an open invite
to people shareing the same name, all but case's such
as Player and player? - think it over, and consider
what mygot might do if you do have the this hole
open...
Adam
--- Jorge Rodriguez [EMAIL PROTECTED] wrote:
In stringpool.cpp there is
Wow good catch! I saw the chat truncation thing once before, but chalked it up
to a networking glitch or something so I didn't report it. I should have
investigated further. Do you know how this bug trickles down to causing the
chat truncation?
Worthy of note is that stringpool.cpp contains
Adam amckern Mckern wrote:
It sounds good, however, wont this be an open invite
to people shareing the same name, all but case's such
as Player and player? - think it over, and consider
what mygot might do if you do have the this hole
open...
Adam
I suppose it would, but it'd be no more
Ok well then there's two bugs here:
First, the chat being broken if the user's name doesn't appear in the chat
text. Let me poor a little marinara sauce over this code. Ah that's better.
And second, the bug that the case-insensitive name change doesn't propogate
properly.
I reviewed all of
Physical Mayhem Bug wrote:
Ok well then there's two bugs here:
First, the chat being broken if the user's name doesn't appear in the chat
text. Let me poor a little marinara sauce over this code. Ah that's better.
And second, the bug that the case-insensitive name change doesn't propogate
I haven't bothered looking at the code involved myself yet, but I
suspect that there's a reason for why it's stricmp now. This is one
case in which I think it would be better to patch the leaks rather
than try to fix the problem at the root. If any bugs came up, as in
the hud_chat, I'd go ahead
HL2DM SDK: From a source file I created, how can I access the String table
in order to append my string to the table? I think the interface I want is:
INetworkStringTableContainer *networkstringtable = NULL;
Which is from GameInterface.cpp
This is probably a simple problem, but for the life of
Message -
From: Daniel Jennings [EMAIL PROTECTED]
To: hlcoders@list.valvesoftware.com
Sent: Thursday, March 31, 2005 5:05 PM
Subject: [hlcoders] String Table
HL2DM SDK: From a source file I created, how can I access the String table
in order to append my string to the table? I think the interface
On Thu, 31 Mar 2005 17:32:27 -0800, Daniel Jennings [EMAIL PROTECTED] wrote:
char message = Here is your striing;
try:
char message[] = Here is your striing;
Jeff
___
To unsubscribe, edit your list preferences, or view the list archives,
]
To: hlcoders@list.valvesoftware.com
Sent: Thursday, March 31, 2005 5:32 PM
Subject: Re: [hlcoders] String Table
Okay, that was a dumb question, I figured it out within minutes of
posting,
but I have another question since I'm now segfaulting.
Here's my code:
char message = Here is your
@list.valvesoftware.com
Sent: Thursday, March 31, 2005 5:55 PM
Subject: Re: [hlcoders] String Table
On Thu, 31 Mar 2005 17:32:27 -0800, Daniel Jennings [EMAIL PROTECTED]
wrote:
char message = Here is your striing;
try:
char message[] = Here is your striing;
Jeff
14 matches
Mail list logo