Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » in need of some dynamic linked library help
in need of some dynamic linked library help [message #245961] Mon, 19 February 2007 18:39 Go to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
I would like to be able to add a console command to the FDS so I can stop peoples in-game chat from showing up to other players, as part of a server side .dll.

I am unsure on whether it is possible, maybe there is some engine call that clears the players chat?

If anyone can make a helpful suggestion as to where to start looking, or has some experiance and is willing to share their findings I would really appreciate it.

It would be nice to be able to "!mute playerx", then they become unable to chat.

Please, any direction would be appreciate, as I am at a complete loss if i'm honest.



Re: in need of some dynamic linked library help [message #245973 is a reply to message #245961] Mon, 19 February 2007 20:39 Go to previous messageGo to next message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma: 1
Colonel
You would need to know asm and how to hook into the engine to do this.

Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )
Re: in need of some dynamic linked library help [message #245980 is a reply to message #245961] Mon, 19 February 2007 22:23 Go to previous messageGo to next message
Dave Anderson is currently offline  Dave Anderson
Messages: 1953
Registered: December 2004
Location: United States
Karma: 0
General (1 Star)
Why would he need to know ASM?

David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)
Re: in need of some dynamic linked library help [message #245982 is a reply to message #245961] Mon, 19 February 2007 23:38 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

ASM would be required to patch the engine in the right places.


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: in need of some dynamic linked library help [message #245997 is a reply to message #245961] Tue, 20 February 2007 01:07 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9743
Registered: March 2005
Location: Belgium
Karma: 14
General (5 Stars)
Goztoe
Contact BlackIntel.

You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Re: in need of some dynamic linked library help [message #246028 is a reply to message #245997] Tue, 20 February 2007 05:56 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
Goztow wrote on Tue, 20 February 2007 02:07

Contact BlackIntel.

Yep, StealthEye should be able to take care of this requirement...


HTT-Bird (IRC)
HTTBird (WOL)
Proud HazTeam Lieutenant.
BlackIntel Coder & Moderator.

If you have trouble running BIATCH on your FDS, have some questions about a BIATCH message or log entry, or think that BIATCH spit out a false positive, PLEASE contact the BlackIntel coding team and avoid wasting the time of others.
Re: in need of some dynamic linked library help [message #246030 is a reply to message #245961] Tue, 20 February 2007 06:23 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Reborn wrote on Mon, 19 February 2007 18:39


... I am unsure on whether it is possible, ...

The n00bstories server had something like this forever now.


Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907

[Updated on: Tue, 20 February 2007 06:24]

Report message to a moderator

Re: in need of some dynamic linked library help [message #246040 is a reply to message #246030] Tue, 20 February 2007 07:54 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Silent Kane wrote on Tue, 20 February 2007 08:23

Reborn wrote on Mon, 19 February 2007 18:39


... I am unsure on whether it is possible, ...

The n00bstories server had something like this forever now.


They do? That's really promising, I didn't even know if it was possible...

Is it completely handled by the server alone, or is there a need for a client modification?

I would really appreciate it if you could give me some specific information on the engine calls, memory addesses, and how you implemented it. Perhaps just a useful pointer in the right direction would be really helpful and kind.
I am not out to rip anyone off or claim fame, I could really just do with some insight.



Re: in need of some dynamic linked library help [message #246052 is a reply to message #245961] Tue, 20 February 2007 09:16 Go to previous messageGo to next message
Cat998
Messages: 1082
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

Why do you think it wouldn't be possible ?
All chatmessages are passing the server. They are not getting sent
from client to client xD (which would require a connection from every client to every client :s).
So it's definatly possible and the BlackIntel mod is already hidding all ! commands, when someone types them (you can test it on BlackIntel servers).


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: in need of some dynamic linked library help [message #246061 is a reply to message #246052] Tue, 20 February 2007 10:01 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Cat998 wrote on Tue, 20 February 2007 11:16

Why do you think it wouldn't be possible ?
All chatmessages are passing the server. They are not getting sent
from client to client xD (which would require a connection from every client to every client :s).
So it's definatly possible and the BlackIntel mod is already hidding all ! commands, when someone types them (you can test it on BlackIntel servers).


Well I was initially thinking along the wrong lines. I was thinking is it possible to stop clients from using the chat function (hence wondering whether it was possible).
As where after re-evaluating I should be looking at making the clients chat not show up to other players. So you arean't really stoping them from using the chat function, but rather stopping there messages being relayed to everyone else.

I will test it on the BI server, but are you prepared to let me see your work on it? I can't see it really affecting you guys too much, it is for an APB server, not renegade.
I would really appreciate it if you could help me out, i'm not too bad with c++, but I have zero experiance with ASM. You would be super cool Thumbs Up Razz



[Updated on: Tue, 20 February 2007 10:05]

Report message to a moderator

Re: in need of some dynamic linked library help [message #246082 is a reply to message #246061] Tue, 20 February 2007 11:44 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3813
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Just make it so when ever they press "F2" or "F3" they blow up, then when they respawn the chat box disappears. JK, but obviously the chat box does disappear when you respawn so there must be some kind of engine call that tells it to go down. If you could figure out what it is, you could attach a script with a timer that would make the chat box disappear whenever the timer expired after you received a custom message.

Previous Topic: Invs walls in level edit
Next Topic: Has anyone else used Set_Bullets ()?
Goto Forum:
  


Current Time: Mon Jan 06 11:20:44 MST 2025

Total time taken to generate the page: 0.00859 seconds