Re: [hlcoders] String Table

2005-03-31 Thread Daniel Jennings
I got it working in the stance that it doesn't crash anymore, but it doesn't seem to be sending that string to the client, as when I have the InfoPanel open on the client's screen with the "msg" set as "string001" or whatever I name it, it just comes up blank. If I use "motd" as the "msg" then it s

Re: [hlcoders] String Table

2005-03-31 Thread Daniel Jennings
Well, I guess the length needed a +1 at the end, my bad. I got it not crashing but I'm not sure why it doesn't seem to be received by the client. Is there a function I need to call to send the updated string table to the client? - Original Message - From: "Daniel Jennings" <[EMAIL PROTECTE

Re: [hlcoders] String Table

2005-03-31 Thread Jeff Fearn
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 archiv

Re: [hlcoders] String Table

2005-03-31 Thread Daniel Jennings
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 striing"; INetworkStringTable *g_pStringTableInfoPanel = networkstringtable->FindTable("InfoPanel"); g_pStringTableI

[hlcoders] Fire Exstinguisher.

2005-03-31 Thread Michael Kramer
Ok, it was in the SDK, which I didn't know at first, but I added it, and worked out the 2 errors, and got it to compile fine, but in game, there is no particle effects coming from the temp model. It can put out fires, but there is no effects. The effect is server side,(I think.) so I opened the fil

[hlcoders] String Table

2005-03-31 Thread Daniel Jennings
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 me

Re: [hlcoders] RemoveAllPanels() causing read memory error

2005-03-31 Thread r00t 3:16
It seems we found what is causing the exception in our code. WorldReset() resets the level we commented out that function and we no longer get the exception. However looking at the filters and such everything looks fine.. Here is what we are filtering if we missed something please let me know. filt

Re: [hlcoders] MOTD, STEAMID

2005-03-31 Thread Draco
Yeah, this would be usefull for custom greetings or to display the users previous stats or something on join -- ** Draco Coder for Perfect Dark and Kreedz Climbing http://perfectdark.game-mod.net ___ To unsubscribe, edit your list p

Re: [hlcoders] MOTD, STEAMID

2005-03-31 Thread Daniel Jennings
It isn't tracking the user, it is identifying them. It doesn't affect anything on their computer, either, nor is anything immoral possible from identifying a player by their Steam ID. - Original Message - From: " Childe Roland" <[EMAIL PROTECTED]> To: Sent: Thursday, March 31, 2005 4:06 P

Re: [hlcoders] adding unused weapons

2005-03-31 Thread Andrew Foss
you need to have MSVC. you also need to add entries into the send table. there's a bit of editing required, and some weapons don't actually do anything (Hopwire works, shoots cable and etc, but doesn't actually do any damage) Plus, you'd need to come up with models. On Thu, 31 Mar 2005 14:40:56

Re: [hlcoders] MOTD, STEAMID

2005-03-31 Thread Childe Roland
Every server tracks users. It's what the whole SteamID thing is about. With regards to tracking them, I'm pretty sure the EULA informs them of that (although I haven't read it yet). On Thu, 31 Mar 2005 19:40:32 +0200, Oskar Lindgren <[EMAIL PROTECTED]> wrote: > I Sweden we have a law called PUL

Re: [hlcoders] RemoveAllPanels() causing read memory error

2005-03-31 Thread r00t 3:16
oops sorry did a search on the wrong thing... I did another one on DeletePanel in the entire solution and there are 4 places it found \src\cl_dll\game_controls\vgui_TeamFortressViewport.cpp(346): vgui::ipanel()->DeletePanel( vPanel ); \src\public\vgui\IClientPanel.h(77): virtual void DeletePanel()

Re: [hlcoders] RemoveAllPanels() causing read memory error

2005-03-31 Thread r00t 3:16
No I am not calling any delete panel anywhere in my code. To be honest I haven't even messed with any panels yet. Which is why I am bringing up player->ShowViewPortPanel( PANEL_SCOREBOARD ) This will be changed later to an INTERMISSION panel later but, we were using the scoreboard for now. I also d

RE: [hlcoders] RemoveAllPanels() causing read memory error

2005-03-31 Thread Alfred Reynolds
Are you ever directly doing "delete panel" on a panel (because you shouldn't, that will causes this crash). To delete a panel always call MarkForDeletion() on it (it will then be deleted once all references to it are freed). - Alfred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

Re: [hlcoders] MOTD, STEAMID

2005-03-31 Thread Oskar Lindgren
I Sweden we have a law called PUL, which forbids tracking users without informing them. Michael Hobson wrote: Soham: At 07:55 AM 3/31/2005, Soham Roy wrote: there is but is not legal On Thu, 31 Mar 2005 01:24:01 -0500, Shane Robinett <[EMAIL PROTECTED]> wrote: > Any chance that there is a built in

[hlcoders] RemoveAllPanels() causing read memory error

2005-03-31 Thread r00t 3:16
In the mod I am working on we have round based maps. When 0 players is reached on 1 of the teams the round is over. Or if only 1 player is playing and dies the round is over... I keep getting a read memory error, in certain situations. Doing a trace RemoveAllPanels(); is causing this. For example i

Re: [hlcoders] MOTD, STEAMID

2005-03-31 Thread Daniel Jennings
Uh, it's not illegal for one, but he wasn't talking about the application but how it is done, which is typically done by hooking various engine functions and altering what is sent to the client and such. It's just beyond the typical scope of a Source server plugin, and since people don't see the co

RE: [hlcoders] VMPI

2005-03-31 Thread Mike Dussault
Hi, VMPI is a distributed compilation system where it can use a bunch of machines to speed up the map compile times. We haven't released the service that runs on worker machines, but we plan to (can't give a firm date on this though). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

Re: [hlcoders] MOTD, STEAMID

2005-03-31 Thread Michael Hobson
Soham: At 07:55 AM 3/31/2005, Soham Roy wrote: there is but is not legal On Thu, 31 Mar 2005 01:24:01 -0500, Shane Robinett <[EMAIL PROTECTED]> wrote: > Any chance that there is a built in function that doesn't require > modding where in the MOTD we can pass STEAMID as a variable? Re: > http://www

RE: [hlcoders] MOTD, STEAMID

2005-03-31 Thread Shane Robinett
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] huh? Where is the "illegal" nature of that? Ever heard of the CAL Steam/Wonid DB? That illegal? From: [EMAIL PROTECTED] on behalf of Soham Roy Sent: Thu 3/31/2005 10:

Re: [hlcoders] MOTD, STEAMID

2005-03-31 Thread Soham Roy
there is but is not legal On Thu, 31 Mar 2005 01:24:01 -0500, Shane Robinett <[EMAIL PROTECTED]> wrote: > Any chance that there is a built in function that doesn't require > modding where in the MOTD we can pass STEAMID as a variable? Re: > http://www.mysite.com/?steamid=%steamid% of some sort? >

Re: [hlcoders] adding unused weapons

2005-03-31 Thread garry
You should be able to just right click on the file and change exclude to include. You'll need to add a weapon_*.txt file to the scripts folder too I think. On Thu, 31 Mar 2005 13:41:42 +0100, Paul Vinten <[EMAIL PROTECTED]> wrote: > This is a multi-part message in MIME format. > -- > [ Picked tex

[hlcoders] adding unused weapons

2005-03-31 Thread Paul Vinten
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hi, I'm poking around in the SDK and want to reactivate some of the "Unused weapons" in hl->source files->hl2dll->unused I assume that somewhere there is a file that includes or references which weap

Re: [hlcoders] OnMenuItemSelected

2005-03-31 Thread NuclearFriend
Ahh so simple. Thankyou! :) On Wed, 30 Mar 2005 10:57:08 -0800, Alfred Reynolds <[EMAIL PROTECTED]> wrote: > m_pCombo->AddActionSignalTarget( this ); // from the parent > > Then in the parent add the appropriate MESSAGE_FUNC() handler for the > message you want (so in your case: > MESSAGE