Версия для печати темы

Нажмите сюда для просмотра этой темы в обычном формате

MyDC.ru _ Запросы скриптов для PtokaX _ LAN Game Server Monitoring Scripts

Автор: Hellraiser 10.10.2013, 5:14

Hello guys, I do not undersand russian but this is a great forum for scripts! big_smile1.gif

I needed a script to check Counter Strike 1.6 and Call of Duty 4 / Modern Warfare 2 and 3 LAN Game servers and return the information like this -
List of servers on our LAN

Date, Time

# Server Name l IP l Players(Bots)/Max l Map l Password ---> For CS 1.6
or
# Server Name l IP l Players/Max l Map l Game Type l Password l ----> For COD


I have the list of IP's on the LAN with the subnet so the script should leave space for putting ip list in.


I also had a look at SourceMon and think it does the same things but some less features. and also it is in Russian so I need it translated in English. Please can anyone help??? I really want to have this script and I would be grateful to you if anyone can make it in english!!!

Thank you!! big_smile1.gif

Автор: Артём 10.10.2013, 14:49

Hellraiser,  SourceMon_v1.01_beta_Eng.rar ( 6.97 килобайт ) : 31

Автор: Hellraiser 10.10.2013, 15:50

Цитата(Артём @ 10.10.2013, 11:49) *
Hellraiser,  SourceMon_v1.01_beta_Eng.rar ( 6.97 килобайт ) : 31

Thank you so much!! big_smile1.gif

But I dont know one thing-

This script requires server imformation to be added before running it.
Well the one I wanted has to work on LAN so it should scan all ip and port on my lan and then get the information about the server, map , players etc.

How do i modify the script to work this way?? Please?

Thanks!!

Автор: Артём 10.10.2013, 16:44

Hellraiser, Open the file SourceMon\Servers.tbl and enter the IP servers.

Автор: Hellraiser 10.10.2013, 19:26

Цитата(Артём @ 10.10.2013, 13:44) *
Hellraiser, Open the file SourceMon\Servers.tbl and enter the IP servers.

Should I just copy all the ip's on my lan which i want to scan here -

CODE
tServers = {
{Addr = "localhost",Timeout = 1},

{Name = "VICTORIA CRUENTA",Addr = "77.220.182.217",Cat = 2,Rules = true},
{Name = "City 17",Addr = "212.83.37.72",Cat = 2,Rules = true},
{Name = "GTFOGaming",Addr = "81.19.219.82",Port = "27065",Cat = 2,Rules = true},
{Name = "'SD /Killboxes/",Addr = "80.84.250.61",Cat = 2,Rules = true},

{Name = "CSMania/CityNov",Addr = "81.9.25.202:27014",Cat = 3,Rules = true},
{Name = "OAO Sibirtelecom",Addr = "217.116.128.15:27046",Cat = 3,Rules = true},
{Name = "Nextrim Deathmatch",Addr = "87.117.160.25:27018",Cat = 3,Rules = true},
{Name = "Nextrim Team Deathmatch",Addr = "87.117.160.25:27019",Cat = 3,Rules = true},
{Name = "Volia.biZ",Addr = "77.120.99.108:27020",Cat = 3,Rules = true},

{Name = "GameCity #1",Addr = "81.28.160.181:28960",Type = 2,Cat = 4,Rules = true},
{Name = "GameCity #2",Addr = "81.28.160.181:28961",Type = 2,Cat = 4,Rules = true},
{Name = "GameCity #3",Addr = "81.28.160.181:28963",Type = 2,Cat = 4,Rules = true},
{Name = "Sheepa.org",Addr = "212.85.69.40:28960",Type = 2,Cat = 4,Rules = true},
{Name = "MEGATRON",Addr = "91.211.104.131:28960",Type = 2,Cat = 4,Rules = true},
}

What format do i use? Thanks a lot btw big_smile.gif

Автор: Артём 10.10.2013, 20:10

Hellraiser, here that at me it turned out from your list of servers

From your list of servers
[20:06:30] <PtokaX>
=====================================================================
Server: MEGATRON
Address: 91.211.104.131:28960

Game: Call of Duty 4 No
Mode: Sabotage
Map: mp_strike
Players: 38
Max. Players: 47

Pass: ?

Additional information
Version: 1.7a
Administrator: Seruy
Contact the administrator: 6102591@gmail.com
=====================================================================
Players:

1. MegaMozg|33G 152
2. Nikolai 144
3. ^3AMIN 132
4. sai 120
5. ^2oput 110
6. JlapoTb 100
7. [X]BOS.BY/// 100
8. Seven{XAM} 90
9. Niko 86
10. 11RUS 82
11. Alexse 80
12. Centurion 74
13. _Ay 72
14. Blakc poni 70
15. Lucker 62
16. Sandro 60
17. |TRI-TaTa|{XAM} 54
18. O.Bender 54
19. 54321 52
20. 4ekucT 50
21. CHeZhOk 44
22. KaK TaK? 40
23. LOR 34
24. BUTTERFLY SAS 32
25. mult 30
26. Nofer 22
27. GUNgrena 20
28. jiGoR7 20
29. Rita 14
30. VVS 14
31. SEVA72 10
32. bad-boys 0
33. Leon 0
34. Kagilla 0
35. sn00pY 0
36. persik 0
37. ID_0:250073 0
38. *cTepBa* 0
=====================================================================


№2
[20:18:30] <PtokaX> Monitoring of game servers: Call of Duty 4
=====================================================================
GameCity #1 (81.28.160.181:28960) - The server is not responding.
=====================================================================
GameCity #2 (81.28.160.181:28961) - The server is not responding.
=====================================================================
GameCity #3 (81.28.160.181:28963) - The server is not responding.
=====================================================================
Sheepa.org (212.85.69.40:28960) - Call of Duty 4
Mode: Team War. Map: mp_crossfire. Players: 42/48.
For more information, enter !server 14
=====================================================================
MEGATRON (91.211.104.131:28960) - Call of Duty 4 No
Mode: Sabotage. Map: mp_strike. Players: 43/47.
For more information, enter !server 15
=====================================================================

Автор: Hellraiser 10.10.2013, 20:25

[quote name='Артём' date='10.10.2013, 17:10' post='45799']
Hellraiser, here that at me it turned out from your list of servers
Actually they are given in the script itself. I wanted to enter all Ip addresses of my LAN network so it would scan all of them and detect servers. So how do I make it scan all ip addresses on my LAN..that is what i dont understand