|
Luigi Auriemmaaluigi.org (ARCHIVE-ONLY FORUM!) |
|
It is currently 19 Jul 2012 12:11
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 9 posts ] |
|
Author |
Message |
Marvel
|
Post subject: Command Say Posted: 16 Jun 2010 19:44 |
|
Joined: 27 Apr 2010 14:03 Posts: 9
|
Is there any example of code that allows sending a message to the server, as the say command "message", where it will appear in the chat css.
Thanks
|
|
Top |
|
|
Sethioz
|
Post subject: Re: Command Say Posted: 16 Jun 2010 21:54 |
|
Joined: 24 Sep 2007 02:12 Posts: 1114 Location: http://sethioz.co.uk
|
what server you are talking about ?
|
|
Top |
|
|
Marvel
|
Post subject: Re: Command Say Posted: 16 Jun 2010 22:01 |
|
Joined: 27 Apr 2010 14:03 Posts: 9
|
Server Insurgency (Mod Half-Life).
tks
|
|
Top |
|
|
aluigi
|
Post subject: Re: Command Say Posted: 16 Jun 2010 22:07 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
the first method is through the sending of the a2print packet (from external), otherwise from the game protocol it's a bit more complex because you must build the packet from scratch.
I don't remember much but I guess that the most updated code regarding the sending of commands ("say" is a command) is my sourcenullentity proof-of-concept, anyway I don't touch this stuff from one year so I remember nothing about it
note that I talk about the Source engine (CSS, TF2, Orangebox and so on)
|
|
Top |
|
|
Marvel
|
Post subject: Re: Command Say Posted: 16 Jun 2010 23:33 |
|
Joined: 27 Apr 2010 14:03 Posts: 9
|
I used the example shown on his forum: udpsz -C ffffffff6c616161 SERVER 27016 -1 But the set of 'aaa' print out at the server console: A2C_PRINT from 10.1.1.12:49613 : aaa - and is not displayed in-game chat.
There is some method to be displayed in-game chat?
tks
|
|
Top |
|
|
aluigi
|
Post subject: Re: Command Say Posted: 17 Jun 2010 08:19 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
the second (in-game) one about I talked in my previous post
|
|
Top |
|
|
Marvel
|
Post subject: Re: Command Say Posted: 17 Jun 2010 13:02 |
|
Joined: 27 Apr 2010 14:03 Posts: 9
|
Ok I will read about the subject matter. Thank you for your help.
Tks
|
|
Top |
|
|
Marvel
|
Post subject: Re: Command Say Posted: 18 Jun 2010 14:51 |
|
Joined: 27 Apr 2010 14:03 Posts: 9
|
downloaded and analyzed the code sourcenullentity, but to use gotta be logged on the server. What I need is an example of sending commands (in this case say command) to the server without being logged in it.
Someone will have something about which you can read or search.
tks
|
|
Top |
|
|
aluigi
|
Post subject: Re: Command Say Posted: 20 Jun 2010 15:13 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
as already said from outside exists only the a2print one
|
|
Top |
|
|
|
Page 1 of 1
|
[ 9 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|