Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 11:27

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: Command Say
PostPosted: 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
 Profile  
 
 
 Post subject: Re: Command Say
PostPosted: 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
 Profile  
 
 Post subject: Re: Command Say
PostPosted: 16 Jun 2010 22:01 

Joined: 27 Apr 2010 14:03
Posts: 9
Server Insurgency (Mod Half-Life).

tks


Top
 Profile  
 
 Post subject: Re: Command Say
PostPosted: 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
 Profile  
 
 Post subject: Re: Command Say
PostPosted: 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
 Profile  
 
 Post subject: Re: Command Say
PostPosted: 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
 Profile  
 
 Post subject: Re: Command Say
PostPosted: 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
 Profile  
 
 Post subject: Re: Command Say
PostPosted: 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
 Profile  
 
 Post subject: Re: Command Say
PostPosted: 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
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 

All times are UTC [ DST ]


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

Search for: