Renegade Public Forums
C&C: Renegade -- Dead since 2012!™
Home » Renegade Discussions » Tiberian Technologies Forum » tmsg doesnt trigger ::onchat
tmsg doesnt trigger ::onchat [message #463966] Thu, 08 March 2012 06:44 Go to next message
robbyke  is currently offline robbyke  
Messages: 348
Registered: September 2010
Location: Belgium
Recruit

From: 193.190.58*
as the title says tmsg doesnt trigger the onchat command

if it is an error on my side pls tell me.


Owner of kambot TT server

kambot.freeforums.org
Re: tmsg doesnt trigger ::onchat [message #463968] Thu, 08 March 2012 07:07 Go to previous messageGo to next message
nuker7738  is currently offline nuker7738  
Messages: 25
Registered: February 2009
Recruit
From: *ph.ph.cox.net
we can't know if it's an error on your part if you don't post your script code >_>
Re: tmsg doesnt trigger ::onchat [message #463969] Thu, 08 March 2012 07:15 Go to previous messageGo to next message
StealthEye  is currently offline StealthEye  
Messages: 2518
Registered: May 2006
Location: The Netherlands
General (2 Stars)

From: *xs4all.nl
It triggers the hook that can be used by calling AddHostHook. It indeed seems to make more sense to call the chat hook instead.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: tmsg doesnt trigger ::onchat [message #463973] Thu, 08 March 2012 08:55 Go to previous messageGo to next message
robbyke  is currently offline robbyke  
Messages: 348
Registered: September 2010
Location: Belgium
Recruit

From: *access.telenet.be
nuker7738 wrote on Thu, 08 March 2012 15:07

we can't know if it's an error on your part if you don't post your script code >_>


if it is in my code im trying to fix it already, i just wonder if it is a bug.
I saw they made a new textmessageenum special for the tmsg maybe the hook doesnt respondon it.but what do i know Wink

StealthEye wrote on Thu, 08 March 2012 15:15

It triggers the hook that can be used by calling AddHostHook. It indeed seems to make more sense to call the chat hook instead.


i dont really understand what youre saying here :s


Owner of kambot TT server

kambot.freeforums.org
Re: tmsg doesnt trigger ::onchat [message #463988] Thu, 08 March 2012 12:06 Go to previous messageGo to next message
Ethenal  is currently offline Ethenal  
Messages: 2532
Registered: January 2007
Location: US of A
General (2 Stars)

From: *dhcp.leds.al.charter.com
nuker7738 wrote on Thu, 08 March 2012 08:07

we can't know if it's an error on your part if you don't post your script code >_>

As he said, good luck getting any real help unless you post what you're talking about. I doubt your code is that confidential.


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: tmsg doesnt trigger ::onchat [message #464017] Thu, 08 March 2012 16:38 Go to previous messageGo to next message
StealthEye  is currently offline StealthEye  
Messages: 2518
Registered: May 2006
Location: The Netherlands
General (2 Stars)

From: *xs4all.nl
It currently calls the "Host hook" when TMSG is executed, which is supposed to be triggered when the host sends a message (e.g. MSG command). I added it to the todo to change this to trigger the chat hook instead.

Currently, the host hook can be used by calling AddHostHook from a SSGM plugin or SSGM itself, but not via the same method other hooks are used.

There is no need for him to post the source code; it's a change TT will have to make to make it trigger the chat hook.

[Updated on: Thu, 08 March 2012 16:38]


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: tmsg doesnt trigger ::onchat [message #464349] Tue, 13 March 2012 06:55 Go to previous messageGo to next message
jonwil  is currently offline jonwil  
Messages: 3559
Registered: February 2003
General (3 Stars)

From: *static.tpgi.com.au
ok, this is fixed, TMSG console command will now call the chat hook as well as the host hook.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: tmsg doesnt trigger ::onchat [message #473777] Fri, 31 August 2012 12:34 Go to previous message
Gen_Blacky  is currently offline Gen_Blacky  
Messages: 3246
Registered: September 2006
General (3 Stars)
From: *cpe.cableone.net
The host hook doesn't trigger on regular host messages

Host: The game has started.
msg mmmmm
>HOSTHOOK -1, mmmmm

>msg mmmmmmmmmmmmmmm
>HOSTHOOK -1, mmmmmmmmmmmmmmm

>tmsg 1 weeeeeeeeeeeeeeeeeeeeeeeeeee
>
>Player rawr joined the game
GameSpy mode active since 8/31/2012 - 13:27:48 PM
Gameplay in progress
     Map : C&C_Field.mix
    Time : 0.09.56
     Fps : 63
     GDI : 1/20 players      0 points
     NOD : 0/20 players      0 points

>tmsg 1 weeeeeeeeeeeeeeeeeeee
>HOSTHOOK 1, weeeeeeeeeeeeeeeeeeee

rawr: mmmmmmmmmmmmmmmm
gameover
>Terminating game on demand...

>Loading level C&C_Hourglass.mix
Host: Teams have been remixed.
Load 100% complete
Level loaded OK
Load took 69.9 seconds. Waiting for players...
Finished waiting after 0.0 seconds. Some players are still loading.
Host: The game has started.


http://s18.postimage.org/jc6qbn4k9/bricks3.png
Previous Topic:Tiberian Technologies releases TT-scripts 4.0 open beta 5!
Next Topic:Server Crashes
Goto Forum:
  


Current Time: Sat May 25 12:54:44 MST 2019
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7RC2.
Copyright ©2001-2007 FUD Forum Bulletin Board Software