Simple ES script for chat untill it gets fixed

  • 1
  • 2
  • 3
  • Seite 1 von 3
steambob
Serious User
Avatar
Geschlecht: keine Angabe
Herkunft: München
Beiträge: 681
Dabei seit: 06 / 2006
Betreff:

Simple ES script for chat untill it gets fixed

 · 
Gepostet: 21.09.2007 - 01:05 Uhr  ·  #1
I've installed on our servers 2,3,4,5,7,8 (servers 1 and 6 with sourcemod have this already) a very small (and stupid) script for Mattie-EventScripts I've written today to enable chat until Valve fixes the HL2DM chat bug.

I have not implemented team chat for ES, because I am lazy:-) So if people team-chat (server 2 or 5, for example), everybody (not only team-mates) will see messages.

If anybody needs a script, here it is:
http://space-in.de/steambob/es_rechat.txt

Make a directory addons/eventscripts/rechat and put it there.
Then put a command:
es_load rechat
in your autoexec.cfg and restart server.

When Valve finally fixes the bug (today? tomorrow? in a week? ...), just delete the file and the entry in
autoexec.cfg and restart server. Otherwise you will have the chat messages doubled.

If Valve never fixes the bug it is possible to make everything with team chat and also a standalone plugin (without ES) for that ^^ But I hope they fix it soon.

P.S. If anyone wants the similar fix for the sourcemod plugin (and it is with team-chat :)), write me a note.

EDIT: For all having problems with ES or sourcemod,
you can use a small plugin written by Keeper. This plugin does the same.
http://www.hl2plugins.com/downloads/download.php?file=18



EDIT2: I just found a post on ES forum with the same solution, which was posted when the first "chat bug" was "released" by Valve in June. I can only say that I did independently come to almost the same solution after looking on Saysounds scripts for ES (they produced both sounds and messages). Anyway here is that post:
http://forums.mattie.info/cs/forums/viewtopic.php?t=14825
I wish I found it before - it would spare some of my time.



in deutsch

Ich habe auf Server 2,3,4,5,7,8 ein kleines skript für matti eventscripts geschrieben. Ich habe es heute geschrieben um den Chat zu aktivieren bis Valve das seber macht.

Ich habe Teamchat nicht mit eingepackt weil ich zu faul bin grad ^^
Wenn Leute im Teamchat schreiben sehen es alle.
Wenn jemand das Skript braucht hier ist es:
http://space-in.de/steambob/es_rechat.txt

Verzeichnis erstellen addons/eventscripts/rechat und da rein kopieren.
Dann das Kommando es_load rechat in die autoexec.cfg mit rein nehmen und Server neustarten.

Wenn Valve den Bug behoben hat (heute, morgen, nächste woche?)einfach den Ordner und den Eintrag in der autoexec.cfg entfernen und Server neustarten. Wenn das nicht gemacht wird sind die Chats dann doppelt.

Wenn Valve den Bug nicht behebt ist es auch möglich das mit Teamchat
zu machen.

P.S: wenn jemand den Chat-Fix für das Sourcemod Plugin braucht
schreibt mir einfach eine Mitteilung. ;)
dynas
Clan Member
Avatar
Geschlecht:
Alter: 50
Homepage: space-in.de
Beiträge: 2716
Dabei seit: 01 / 2006
Betreff:

Re: Simple ES script for chat untill it gets fixed

 · 
Gepostet: 21.09.2007 - 11:08 Uhr  ·  #2
^^ nice.
zerbi
Allround God
Avatar
Geschlecht:
Herkunft: grössewem
Alter: 49
Beiträge: 1989
Dabei seit: 01 / 2006
Betreff:

Re: Simple ES script for chat untill it gets fixed

 · 
Gepostet: 21.09.2007 - 12:20 Uhr  ·  #3
wenn wir unsern bob nicht hätten^^
[HL²]fans_TiAs
Shadow
Avatar
Geschlecht: keine Angabe
Homepage: hl2fans-clan.infos…
Beiträge: 2
Dabei seit: 09 / 2007
Betreff:

Re: Simple ES script for chat untill it gets fixed

 · 
Gepostet: 21.09.2007 - 12:26 Uhr  ·  #4
wow nice one.
If you can help me for the sourcemod plugin, i'll thank you a lot.
Its seems that mattie's eventscript is not very stable :? .

(sry for account TiAs, mistake into @ mail , so i couldnt activate my account =S )
steambob
Serious User
Avatar
Geschlecht: keine Angabe
Herkunft: München
Beiträge: 681
Dabei seit: 06 / 2006
Betreff:

Re: Simple ES script for chat untill it gets fixed

 · 
Gepostet: 21.09.2007 - 15:02 Uhr  ·  #5
thx guys!

[HL²]fans_TiAs:
I think that some scripts for mattie's eventscripts are not very stable, but mattie's eventscripts plugin itself is pretty stable.

As for the sourcemod plugin - well it is not a very simple plugin, but rather a lego set to build in the functions you want for your server. And this "chat fix" is just another lego brick :-)
The basic installation of sourcemod includes already some parts doing the same things as mani.

I assume you run mani and would like to run it further. I do not have experience how sourcemod runs together with mani. We run it instead of mani (and instead of mattie), but implementing specific functions similar to those in mani requires a lot of handwork. Nevertheless your might think of giving up mani some time :).
For what is available in sourcemod, look in this section:
http://forums.alliedmods.net/forumdisplay.php?f=108

Anyways, you can try, if you want, to install sourcemod parallel to mani. For this go to:
http://sourcemod.net
and read:
http://wiki.alliedmods.net/Installing_SourceMod
on how to install it.

In order to get chat working, copy this file:
http://space-in.de/steambob/rechat.smx
to your plugins subdirectory of the sourcemod directory tree and either restart server or type sm plugins load rechat in HLSW console.

The source code for this "chat fix" can be seen here:
http://space-in.de/steambob/rechat.sp
(should be normally put into scripting subdirectory of the sourcemod directory tree) and is actually based on swear replacement code here:
http://forums.alliedmods.net/showthread.php?p=499584
[HL²]fans_TiAs
Shadow
Avatar
Geschlecht: keine Angabe
Homepage: hl2fans-clan.infos…
Beiträge: 2
Dabei seit: 09 / 2007
Betreff:

Re: Simple ES script for chat untill it gets fixed

 · 
Gepostet: 21.09.2007 - 21:35 Uhr  ·  #6
ok ty steambob it works :) .
Really nice job, but i hope this bug wont stay more longer, mani_admin and sourcemod, as you said, are fighting together, and results of this 1o1 are not really nice :? . (as when i cant put the map i want in @menu ^^, it changes the map, but it puts the next in mapcycle, not the one i've selected ^^.

Anyway goob work :)
Cynyx
Shadow
Avatar
Geschlecht: keine Angabe
Herkunft: France
Homepage: emc2-clan.com
Beiträge: 1
Dabei seit: 09 / 2007
Betreff:

Re: Simple ES script for chat untill it gets fixed

 · 
Gepostet: 21.09.2007 - 22:05 Uhr  ·  #7
Many thanks for that script.
steambob
Serious User
Avatar
Geschlecht: keine Angabe
Herkunft: München
Beiträge: 681
Dabei seit: 06 / 2006
Betreff:

Re: Simple ES script for chat untill it gets fixed

 · 
Gepostet: 22.09.2007 - 11:13 Uhr  ·  #8
[HL²]fans_TiAs:
Yeah, i can imagine this 1v1 ^^
You can try to delete nextmap.smx from plugins subdirectory and restart server and see if the map changing improves.

Cynyx:
I am glad to help :)


And, Welcome to the Forum, Guys!
  • 1
  • 2
  • 3
  • Seite 1 von 3
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.