and next cs2d logfile:
More
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Counter-Strike 2D b 0.1.1.9 Logfile - 21 Apr 2011, 16:02:15 [16:02:15] UDP socket initialized using port 65130 [16:02:15] U.S.G.N.: Your game version is up to date! [16:02:20] UDP socket initialized using port 36963 (here some changes in code) [16:10:17] load map 'as_snow' [16:10:18] ----- Server started ----- [16:10:18] Lua: Adding function 'sample.fast.spawn' to hook 'spawn' [16:10:18] Lua: Adding function 'sample.glowing.startround' to hook 'startround' [16:10:18] Lua: Adding function 'start' to hook 'startround' [16:10:18] Lua: Adding function 'roundsound' to hook 'die' [16:10:18] Lua: Adding function 'flagc' to hook 'flagcapture' [16:10:18] Lua: Adding function 'ctwin' to hook 'bombdefuse' [16:10:18] Lua: Adding function 'twin' to hook 'bombexplode' [16:10:18] Lua: Adding function 'ctwin' to hook 'vipescape' [16:10:18] Lua: Adding function 'ctwin' to hook 'hostagerescue' [16:10:18] U.S.G.N.: Sending serverlist ADD-request... [16:10:18] U.S.G.N.: Server added to serverlist [16:10:20] Qrchack [$HE-CS2D PL$] joins the counter-terrorist forces [16:10:21] [b]0_o connected [16:10:21] [b]0_o joins the terrorist forces [16:10:23] VIP MISSION! [16:10:25] VIP MISSION! [16:10:34] VIP MISSION! [16:10:34] VIP MISSION! [16:10:35] LUA ERROR: attempt to call a number value
what's wrong here?
More
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
addhook("startround","start") addhook("die","roundsound") addhook("flagcapture","flagc") addhook("bombdefuse","ctwin") addhook("bombexplode","twin") addhook("vipescape","ctwin") addhook("hostagerescue","ctwin") function start() ctwin=0 twin=0 end function ctwin() ctwin=1 addhook("endround","roundsound") end function twin() twin=1 addhook("endround","roundsound") end function flagc(id,team) 	if team==1 then twin() end 	if team==2 then ctwin() end end function roundsound(on) if #player(0,"team1living")==0 then 	a=math.random(1,8) 	if a==1 then 		parse("sv_sound \"misc/rs/twin1.wav\"") 	end 	if a==2 then 		parse("sv_sound \"misc/rs/twin2.wav\"") 	end 	if a==3 then 		parse("sv_sound \"misc/rs/twin3.wav\"") 	end 	if a==4 then 		parse("sv_sound \"misc/rs/twin4.wav\"") 	end 	if a==5 then 		parse("sv_sound \"misc/rs/twin5.wav\"") 	end 	if a==6 then 		parse("sv_sound \"misc/rs/twin6.wav\"") 	end 	if a==7 then 		parse("sv_sound \"misc/rs/twin7.wav\"") 	end 	if a==8 then 		parse("sv_sound \"misc/rs/twin8.wav\"") 	end end if twin==1 then 	a=math.random(1,8) 	if a==1 then 		parse("sv_sound \"misc/rs/twin1.wav\"") 	end 	if a==2 then 		parse("sv_sound \"misc/rs/twin2.wav\"") 	end 	if a==3 then 		parse("sv_sound \"misc/rs/twin3.wav\"") 	end 	if a==4 then 		parse("sv_sound \"misc/rs/twin4.wav\"") 	end 	if a==5 then 		parse("sv_sound \"misc/rs/twin5.wav\"") 	end 	if a==6 then 		parse("sv_sound \"misc/rs/twin6.wav\"") 	end 	if a==7 then 		parse("sv_sound \"misc/rs/twin7.wav\"") 	end 	if a==8 then 		parse("sv_sound \"misc/rs/twin8.wav\"") 	end end if #player(0,"team2living")==0 then 	b=math.random(1,8) 	if b==1 then 		parse("sv_sound \"misc/rs/ctwin1.wav\"") 	end 	if b==2 then 		parse("sv_sound \"misc/rs/ctwin2.wav\"") 	end 	if b==3 then 		parse("sv_sound \"misc/rs/ctwin3.wav\"") 	end 	if b==4 then 		parse("sv_sound \"misc/rs/ctwin4.wav\"") 	end 	if b==5 then 		parse("sv_sound \"misc/rs/ctwin5.wav\"") 	end 	if b==6 then 		parse("sv_sound \"misc/rs/ctwin6.wav\"") 	end 	if b==7 then 		parse("sv_sound \"misc/rs/ctwin7.wav\"") 	end 	if b==8 then 		parse("sv_sound \"misc/rs/ctwin8.wav\"") 	end end if ctwin==1 then 	b=math.random(1,8) 	if b==1 then 		parse("sv_sound \"misc/rs/ctwin1.wav\"") 	end 	if b==2 then 		parse("sv_sound \"misc/rs/ctwin2.wav\"") 	end 	if b==3 then 		parse("sv_sound \"misc/rs/ctwin3.wav\"") 	end 	if b==4 then 		parse("sv_sound \"misc/rs/ctwin4.wav\"") 	end 	if b==5 then 		parse("sv_sound \"misc/rs/ctwin5.wav\"") 	end 	if b==6 then 		parse("sv_sound \"misc/rs/ctwin6.wav\"") 	end 	if b==7 then 		parse("sv_sound \"misc/rs/ctwin7.wav\"") 	end 	if b==8 then 		parse("sv_sound \"misc/rs/ctwin8.wav\"") 	end end freehook("endround","roundsound") end