HLstatsX - script for auto setup

A forum for computer hardware and software issues
Post Reply
MMX
Retired Admin
Retired Admin
User avatar
Posts: 1109
Joined: Sat May 10, 2008 5:34 pm
Location: Frankfurt am Main

Games Played

Ville Awards

166_MMX’s avatar
Loading…

HLstatsX - script for auto setup

Post by MMX » Sat May 31, 2008 4:26 pm

Hi,

It's regarding TF2.

I wrote a .script for getting my stetting done, cause i am lazy and don't want to type then on each server.

Sad fully the .script works fine but all my stuff that I say via .script is not recognized by the HLstatsX Server :/

The most bothering thing is, that the server forgets my language and auto settings. But sometimes it even losses all the settings.

So I am just looking for a convenient way to get HLstatsX working the way that i want.

My .script:

Code: Select all

echo	"loaded lib_hlx.cfg"

//bind  "h"			  	"hlx_setup"

alias   "a_hlx_auto"     "say hlx_auto kill next"
alias   "a_hlx_chat"     "say hlx_chat 0"
alias   "a_hlx_display"  "say hlx_display 0"
alias   "a_hlx_lang"     "say hlx_lang en"

alias	"hlx_setup"		"a_hlx_lang; wait 300; a_hlx_chat; wait 300; a_hlx_display; wait 300; a_hlx_auto"
[img]http://i282.photobucket.com/albums/kk247/StevoTVR/monorail_sig.jpg[/img]
- [url=http://tinyurl.com/ykkat36]Mechanical Mathematics Xenomorph[/url]
- local time zone: [url=http://en.wikipedia.org/wiki/Central_European_Time]CET[/url] ([url=http://en.wikipedia.org/wiki/Coordinated_Universal_Time]UTC[/url]+1), [url=http://en.wikipedia.org/wiki/Daylight_saving_time]DST[/url]: [url=http://en.wikipedia.org/wiki/CEST]CEST[/url] ([url=http://en.wikipedia.org/wiki/Coordinated_Universal_Time]UTC[/url]+2)
- Signatures: [url=http://i282.photobucket.com/albums/kk247/StevoTVR/dodcup08/vov_sig_mmx.png]TheVille DoD Cup '08[/url]

Dog
Server Ops
Server Ops
User avatar
Posts: 14317
Joined: Sun Oct 15, 2006 12:12 am
Location: In the bath, having a good think....

Games Played

Ville Awards

Dog - RIP Stevo’s avatar
Loading…

Post by Dog » Sat May 31, 2008 6:16 pm

Es tut mir leid.
Unsere HLStatsX benutzt BeetlesMod und so die Befehle sind anders!

In der Konsole, geben hlx für eine Liste.

:D
Image

TheCarpe
Server Admin
Server Admin
User avatar
Posts: 9717
Joined: Sun Nov 04, 2007 11:32 pm
Location: Inside a refrigerator in Guatemala

Games Played

Ville Awards

TheCarpe’s avatar
Loading…

Re: HLstatsX - script for auto setup

Post by TheCarpe » Sat May 31, 2008 6:25 pm

Image
Image
Heck's Kitchen - TVC'08 & '11 ** The Axecutioners - TVC'09 ** Hale's Angels - TVC'10 ** CCCP - TVC'12 ** Ville Cuppin' Cakes - TVC'13 ** TheCarpetbaggers - TVC'14 CHAMPIONS

MMX
Retired Admin
Retired Admin
User avatar
Posts: 1109
Joined: Sat May 10, 2008 5:34 pm
Location: Frankfurt am Main

Games Played

Ville Awards

166_MMX’s avatar
Loading…

Post by MMX » Sat May 31, 2008 7:27 pm

[quote="StrontiumDog";p="97230"]Es tut mir leid.
Unsere HLStatsX benutzt BeetlesMod und so die Befehle sind anders!

In der Konsole, geben hlx für eine Liste.

:D[/quote]

hm, you didn't use Google Translate, did you :p

I recognized it because the grammar is mixed up, or to be more specific the text is in English grammar but with German words ;)

But i don't see the difference in using the "say" cmd and afterwords typing a msg by hand, then using "say hlx_display 0".
The text also appears in the chat log. But HLstatsX dose not recognize it.

Or at least HLstatsX hast issues dealing with a bunch of cmd's in a row.
They all show up properly in the chat log, but no changes occur.

Oh crap, just while typing i realize that it could be that it does not recognize it because of the multiple cmd's executed in a row.
I have gone through source code of the free version of HLstatsX and it try's to match the whole msg you send.
THe only thing that I am not aware of if the server gets the whole cmd or just the 4 cmd's one after the other one.
[img]http://i282.photobucket.com/albums/kk247/StevoTVR/monorail_sig.jpg[/img]
- [url=http://tinyurl.com/ykkat36]Mechanical Mathematics Xenomorph[/url]
- local time zone: [url=http://en.wikipedia.org/wiki/Central_European_Time]CET[/url] ([url=http://en.wikipedia.org/wiki/Coordinated_Universal_Time]UTC[/url]+1), [url=http://en.wikipedia.org/wiki/Daylight_saving_time]DST[/url]: [url=http://en.wikipedia.org/wiki/CEST]CEST[/url] ([url=http://en.wikipedia.org/wiki/Coordinated_Universal_Time]UTC[/url]+2)
- Signatures: [url=http://i282.photobucket.com/albums/kk247/StevoTVR/dodcup08/vov_sig_mmx.png]TheVille DoD Cup '08[/url]

MMX
Retired Admin
Retired Admin
User avatar
Posts: 1109
Joined: Sat May 10, 2008 5:34 pm
Location: Frankfurt am Main

Games Played

Ville Awards

166_MMX’s avatar
Loading…

Re: HLstatsX - script for auto setup

Post by MMX » Sat May 31, 2008 7:40 pm

a single alias cmd also dose not want to work

Code: Select all

Connecting to 209.242.10.135:27015...
Connected to 209.242.10.135:27015

Team Fortress
Map: pl_goldrush
Players: 1 / 24
Build: 3477
Server Number: 3

166_MMX connected
loaded mmx_class_scout.cfg 
loaded mmx_class_common.cfg 

] alias
Current alias commands:
hlx_setup : a_hlx_lang; wait 300; a_hlx_chat; wait 300; a_hlx_display; wait 300; a_hlx_auto 

a_hlx_lang : say hlx_lang en 

a_hlx_display : say hlx_display 0 

a_hlx_chat : say hlx_chat 0 

a_hlx_auto : say hlx_auto kill next 

] say hlx_lang de
166_MMX :  hlx_lang de
HLstatsX:  Language changed
] a_hlx_lang
166_MMX :  hlx_lang en 

] hlx_setup
166_MMX :  hlx_lang en 
166_MMX :  hlx_chat 0 
166_MMX :  hlx_display 0 
166_MMX :  hlx_auto kill next 
there have been no responses by HLstatsX :(
[img]http://i282.photobucket.com/albums/kk247/StevoTVR/monorail_sig.jpg[/img]
- [url=http://tinyurl.com/ykkat36]Mechanical Mathematics Xenomorph[/url]
- local time zone: [url=http://en.wikipedia.org/wiki/Central_European_Time]CET[/url] ([url=http://en.wikipedia.org/wiki/Coordinated_Universal_Time]UTC[/url]+1), [url=http://en.wikipedia.org/wiki/Daylight_saving_time]DST[/url]: [url=http://en.wikipedia.org/wiki/CEST]CEST[/url] ([url=http://en.wikipedia.org/wiki/Coordinated_Universal_Time]UTC[/url]+2)
- Signatures: [url=http://i282.photobucket.com/albums/kk247/StevoTVR/dodcup08/vov_sig_mmx.png]TheVille DoD Cup '08[/url]

mr_s
Villun
Villun
Posts: 5102
Joined: Sat Dec 22, 2007 9:27 am

Ville Awards

Post by mr_s » Sat May 31, 2008 9:02 pm

[quote="StrontiumDog";p="97230"]
Es tut mir leid.
Unsere HLStatsX benutzt BeetlesMod und so die Befehle sind anders!

In der Konsole, geben hlx für eine Liste.

:D
[/quote]


Google translate FTW!

MMX, man u were killing me yesterday.

also, I am sorry, but cannot help with .scripts

Dog
Server Ops
Server Ops
User avatar
Posts: 14317
Joined: Sun Oct 15, 2006 12:12 am
Location: In the bath, having a good think....

Games Played

Ville Awards

Dog - RIP Stevo’s avatar
Loading…

Post by Dog » Sat May 31, 2008 10:06 pm

[quote="MMX";p="97252"]

hm, you didn't use Google Translate, did you :p

I recognized it because the grammar is mixed up, or to be more specific the text is in English grammar but with German words ;)
[/quote]

No. Crappy Grade 9 German!
Image

MMX
Retired Admin
Retired Admin
User avatar
Posts: 1109
Joined: Sat May 10, 2008 5:34 pm
Location: Frankfurt am Main

Games Played

Ville Awards

166_MMX’s avatar
Loading…

Post by MMX » Sun Jun 01, 2008 3:08 am

[quote="StrontiumDog";p="97279"]

No. Crappy Grade 9 German![/quote]

Oh sorry. But at least you chose the right words. For that it's quite impressive :)

any idea related to that .scripting stuff?
[img]http://i282.photobucket.com/albums/kk247/StevoTVR/monorail_sig.jpg[/img]
- [url=http://tinyurl.com/ykkat36]Mechanical Mathematics Xenomorph[/url]
- local time zone: [url=http://en.wikipedia.org/wiki/Central_European_Time]CET[/url] ([url=http://en.wikipedia.org/wiki/Coordinated_Universal_Time]UTC[/url]+1), [url=http://en.wikipedia.org/wiki/Daylight_saving_time]DST[/url]: [url=http://en.wikipedia.org/wiki/CEST]CEST[/url] ([url=http://en.wikipedia.org/wiki/Coordinated_Universal_Time]UTC[/url]+2)
- Signatures: [url=http://i282.photobucket.com/albums/kk247/StevoTVR/dodcup08/vov_sig_mmx.png]TheVille DoD Cup '08[/url]

Dog
Server Ops
Server Ops
User avatar
Posts: 14317
Joined: Sun Oct 15, 2006 12:12 am
Location: In the bath, having a good think....

Games Played

Ville Awards

Dog - RIP Stevo’s avatar
Loading…

Post by Dog » Sun Jun 01, 2008 9:29 am

Can't find the answer MMX.
:(

I may look at using the SourceMod version of the plugin...
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests