Well, do you want to do this with a specially modified hl.dll, or do you
want to use something like metamod, i.e., something that can go "on top of"
already existing mods? Either way, you need to look into interprocess
communication (such as socket communication, named pipes, etc.), so that
you can communicate with either the game dll or a metamod-type dll.

Persuter

At 08:43 PM 3/4/2003 +0100, you wrote:
First of all thx for the answer !
Here is my real question i will try to change it :)
Q: I looked many forums/newsgroups about the Hl programming client/server
side and i looked the metamod too but its not my real question, My
question is: I would like to create a EXTERNAL (No depending the
HAlf-life) program that will allow me to print a message to the Hl/HL mod
console, some ppl are talking about the "DLL injection method" and Som1
ppl talk about the client.dll call fonctions i really don't know what they
meen and i would like to find a good example/tutorial/source code that
will let me to simply : When i execute the 'Myprogram.exe' it prints on
the HL/HL mod console "Hello" :), I got the sdk2.3 and vc++ 6.0 and Dev
c++ 4.x and gcc under linux, and no i don't want to execute commands with
rcon :)
Best Regards
David.



>Messsage du 04/03/2003 20:16
>De :  <[EMAIL PROTECTED]>
>A :  <[EMAIL PROTECTED]>
>Copie � :
>Objet : Re: [hlcoders] External Program?
>
> > Hi all, i am new to this 'list'
> > i would like to have some informations about the communication with HL
> > engine
> > Example: i would like to create a little win32 console application that
> will
> > send to the halflife engine sometext to the console when it will be
> > executed, is it possible ?
>
> That depends.  Do you want to execute the command using 'rcon' (and you
know
> the rcon password on the server)?  Or do you just want to execute arbitrary
> commands on any ol' server?
>
> If you want to execute rcon commands, see the 'server protocol.txt' file in
> the 'Server Info' folder of the large SDK (not the source code only one).
>
> You can download the SDK from VERC...
>
> http://dev.valve-erc.com/?go=hl_sdk
>
> If you are trying to just arbitrarily execute commands on any ol'
server, it
> can't be done (since it's a security problem).
>
> Jeffrey "botman" Broome
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to