forked from zenithtekla/G-hostOne
-
Notifications
You must be signed in to change notification settings - Fork 0
/
changelog.txt
370 lines (321 loc) · 20.5 KB
/
changelog.txt
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
###########################################################
# Gen's MODDED Version of GhostOne @ http://thegenmaps.tk #
###########################################################
v1.54 (expected date: March 13th 2013)
- Premium feature: adjust !rmk, now rmk can make same game in map cyclying system
- add mute check for !rmk and !go commands
- disable !close and !open TempOwner's slots, they shouldn't be able to kick themselves
- automute and unmute in 60s in case there is spammer
- !ignore <partial PlayerName>/!unignore commands to ignore spammer's texts
- anti-flamer with !cookie and !eat commands
- socket reconnection, gproxy and some minor things fixed
- refined ingame texts
- increase WaitTick
- observer players won't be immuned to autoban/warn if bot_obsplayerimmune = 0 (immuned as default)
- textchatlog table for display on forum/website
- add !dbl and !cbl as alias to !delblacklistedname, !clearblacklistedname. Note the use of !dbl <partial name>, !cbl (no payload)
- only kick high ping players (with autokickping) when their map downloads < 11 % or they had the map.
- fix for !start/n, !autostart commands in case the number of players of map is less than bot_gamenotstartuntilXplayers
v1.53 (Feb 26th 2013)
- fix !autohost (!ah) command, however bot will create an infinite number of games (even we set autohost only some games). This should be fixed but it's good like this. Use !ah or !ah off to disable autohost.
- fix !cg bnet command
- bots now remove fakeplayers before starting game when !autohost is enabled
- add Slots State in lobby
- fewer checks for map download when autohost, so less spaming of Players downloading map in lobby.
- Update ip-to-country.csv and ips.dbs (http://software77.net updated Feb 22nd)
- add !vk as an alias to !votekick
- add !vs for !votestart
- add !y for !yes
- Command !obsplayer is disabled for TempOwner. We don't want TempOwners to mess up with the mapcfg settings by removing obsplayer, then they could pause/save game/hacks in game.
v1.52 (Feb 18th)
- slot counter fix (from Neolo) is added.
- due to the raised issues which are not clearly caused by deny patch, 127.0.0.1 & 127.0.1.1 become an exception in deny function of deny patch. This is to allow multiple LAN players to rush into your bot. Beware that you should increase max connection to your database if you are using MySQL db otherwise db can be out of order.
- kick & ban (1 day) slow downloaders nicely at early state of their downloading progress not halfway. Blacklist is possible if bot_blacklistslowdownloader = 1, they will not be able to rejoin before the database gets refreshed for the ban to be in effect.
- Disable TempOwners' rights to !start/n when map download is in progress.
- Optimize TempOwner code and condition.
- safelisted players are now ONLY immune to !votekick when in lobby, not in game (need tests!). B'cuz an unanimous decision made by votekick should work to kick even rootadmin, so safelisted players are not an exception.
- TempOwner should not be immune to !kick commanded by admins/rootadmins.
- Kick and Ban (2 days) to players who abuse close/open commands with their TempOwner rights. Playing with commands for your fun is restrictively not allowed.
- !autohost (!ah) in bnet.cpp is partly fixed. Manual autohost now depends on bot_maxgames to make bot auto-create some games.
- !unlock works to unlock game while being locked if owner joins (bot_lockgamewhenownerjoin), owner can do some commands if the lobby is locked
- !adminlock is different, it can be used by root/admins to lock/unlock the lobby against TempOwner.
- !from is changed to !country (!c) for the display of country solely
- !help (!helps/!idk) command is added to help newbies players joining bots
- !faq, !guide, !rule, !about ( bot_yourowncommand ) added for various uses to display some texts ( 15 lines max) to players.
- add alias to !statsdota commands, alias are !dotastats, !ds
- some minor fixes
v1.51
=================
Repository for decent maps storing, sharing & downloading https://decentmaps.googlecode.com/svn/trunk/
=================
More SECURED - more OPTIMIZED - more STURDY
Nobody can ruin your bots.
- !FF patch fixed & tested
- Update language.cfg, fix typos
- some parts of the code are optimized
- Database now refreshes every 5 mins instead of every hour. So, either SQLite or MySQL db, as long as you have your bot connected to at least a bnet server, the database will work just fine.
- Players' banned names are kept in memory for about 310s before the next usual refresh of the database.
THEORETICALLY, IF garena ppls can still somehow bypass the usual check on database for banned names or ips, they'll be stopped at blacklisted names which are temporarily recorded in memory for 310s. After the db refreshes, as they can't bypass by any chance, our bot clean temp memory by clearing those names to spare rooms for new blacklisted names.
Changes in ghost.cfg
- bot_obsspecificmaps = 1, if it's commented or missing the value is returned to 1 as default, observer player just joins specific maps with maptype containing nopause. If it's = 0, observer player joins all maps, BEWARE!. OBS player is used to resume the game if being paused
- bot_obsplayername = NameYourOBSPlayer here.
- same concept with bot_autobangameendmins, now you have bot_autowarngameendmins to autowarn if needed, players leaving before x mins of the gameover time gets warn, it's up to you to define how many warns are worth a ban.
More commands in lobby:
- !obsplayer to add/remove observer player
- !cbl/!clearblname/!clearblacklistedname/!clearblacklistname
- !delblacklistname <name, partial name>
- !dbl/!delblname/!delblacklistedname are alias to !delblacklistname
v1.50
=================
Repository for decent maps storing, sharing & downloading https://decentmaps.googlecode.com/svn/trunk/
=================
- fix !pubg, now hosting on garena only works fine
- fix previous commit about AdminCheck, now working very well
Changes in ghost.cfg:
- as !pubg is fixed, bot_garenaonly is a new added key variable
bot_garenaonly = 0 (disable as default & recommended for your bot to host games
on both Lan + bnet servers), set it = 1 if you wish your bot to host only via
Lan, but the ban system still relies on a bnet connection to work fine. There
must be some other way around to check ban list without having to connect to
bnet but Gen hasn't succeeded in coding it.
- auto spoofcheck + admin spoofcheck are now on, admin must be joining on a correct
server to have access to admin commands. This is managed in database.
- blacklist specific names + blacklist slow downloader are now possible with
bot_blacklistednames & bot_blacklistslowdownloader, they can't join if
blacklisted. bot_blacklistslowdownloader works with bot_kickifdownloadrate.
Slow downloaders are added into bot_blacklistednames in current instance of
running bot.
Slow downloaders will be able to rejoin after 1-day ban if
(bot_blacklistslowdownloader = 0 or bot is reset/restarted).
v1.49
=================
Repository for decent maps storing, sharing & downloading https://decentmaps.googlecode.com/svn/trunk/
=================
- deny_extension = 600000 (it's default value in case of missing in ghost.cfg) is added into ghost.cfg
high deny count will now count up to 25 instead of 20
deny_extension can take any value >=120000 miliseconds(2 mins), if you put it < 120000, the system will make it to 900000 (=15 mins).
Deny extension is always needed to deny on join the malicious players / bot players (= who are attempting to wreck your bot). Yet if you have any problem with deny extension, just set bot_denypatchonjoin = 0, then deny on join will be disabled
- Msg will be printed in ghostlog clearly to state what IP is under effect and for how the deny extension is in effect.
- Russian.cfg is added, feel free to check and give feedback with new file to correct mistakes in current release of Russian.cfg
v1.48
=================
Repository for decent maps storing, sharing & downloading https://decentmaps.googlecode.com/svn/trunk/
=================
- language.cfg suits you better if you want to localize the bot with your own language
- new TOOL: Gen TEST on BroadCast Port with bot_broadcastport & bot_useportotherthan6112 added into
Remark: new TOOL is only for users who are really used to the hosting program
It's not recommended for newbie users
- set bot_logreduction = 1 in ghost.cfg if you want to reduce the length of your ghostlog
- With ghost.cfg setting, now you can make the bot to kick if player has download rate is smaller than X kb/s, set it = 0 to disable
bot_kickifdownloadrate = 15 (15kb/s, this is to discard ppls with slow internet connection)
Kicked player will be banned for 1 day.
v1.47
=================
Repository for decent maps storing, sharing & downloading https://decentmaps.googlecode.com/svn/trunk/
=================
- bot_rehostchar = $ is added to ghost.cfg as for your choice on which char ($,#,or others), bot will be using to print when rehosting, e.g. GameName $32
- Replay files are now named with version, as you may wish to run a bot for 1.24e. So you'll recognize which replays were made on 1.26 and 1.24
# bot kick if player has download rate is smaller than 15 kb/s, set it = 0 to disable
bot_kickifdownloadrate = 15
v 1.46
=================
Repository for decent maps storing, sharing & downloading https://decentmaps.googlecode.com/svn/trunk/
=================
- TempOwner patch is once again nailed, an unlimited number of TempOwners is possible with bot_tempownerinlobby = 2
GHOSTCFG add-ons:
- bot_disableunhost & bot_adminscanunhost are to restrictedly allow only listed admins to be able to unhost
- bot_adminsonlan, whether to enable(default) admin players to do admin commands on LAN
- bot_disallowdelmapbyroot & bot_disallowdlmapbyroot whether to allow rootadmins to use !delmap & !dlmap (always allow by default or =0), forbid those commands if (=1)
- bot_neverdlmapfromepicwar & bot_onlydlmapfromhive, whether to allow map download from a source like epicwar or only Hive & https://decentmaps.googlecode.com/svn/trunk/, = 1 to enable, = 0 to disable (default)
- IMPORTANT FIX: BAN CHECK is corrected for LAN & LAN ppls won't be kicked by mistake
- some security fixes & other fixes
v 1.45
=================
- add bot_replayssavedbyname to ghostcfg (see changes in ghostcfg & add bot_replayssavedbyname = 1 to ghostcfg)
- it's possible to enable bot should name replays file by GameName first instead
of Ghost++ as prefix by setting bot_replayssavedbyname = 1
BETA VERSION 1.4b4
=================
v1.44
- fix incorrect submit about GameName in r64 (v1.43), GameName should be
correctly mapcfg like before
- fix the same incorrect find_first_of when naming replay file
- new ELO system (uakf.b's system) for DotA games supported
BETA VERSION 1.4b3
=================
- friend command is added to bnet.cpp, it's useful when you want your bot adds/removes some friend to the friend list
Payload for friend command should be [add|remove|list] or [a|r|l]
/w urbotname .friend a NAME
/w urbotname !friend r NAME
/w urbotname ,friend list
(.,! is upon your bot_commandtrigger)
- as replay issue was fixed in previous version, this release commits to name the replay files correctly, so that they can be opened
- replay files should NOT have special chars: ï,,$,etc.
- bot_bnetnonadmincommands added to ghost.cfg to define what non-admin commands can be allowed.
- bot_invalidreplaychars added to ghost.cfg to define what chars are invalid and should be removed when naming the replay file
- USE NEW GHOST.CFG because old variables in ghostcfg are changed as following:
+ bot_tempownerinlobby for - bot_newownerinagame
+ bot_gamenotstartuntilXplayers for - bot_startgamewhenatleastXplayers
+ bot_refresh for - bot_refreshduration
+ typos in ghost.cfg are corrected
BETA VERSION 1.4b2
=================
- potentially fix replay issue
- command !help, !helps added
- added m_Stats to command !ff
- bot_denypatchonjoin added to ghostcfg
# set bot_denypatchonjoin = 0, won't affect kicking for things like long map downloads, but the deny on join will be disabled
- map_type having dota will no longer trigger anti-parser tool(anti-save, anti-trade,etc.)
To have the tool on, e.g. set map_type = dota guard
VERSION 1.4
=================
Adds:
- bot_invalidtriggers to define the invalid chars for announcement: wrong command trigger.
- bot_lobbyleaverbantime is added to ghostcfg to set timer for the BAN of leavers in lobby
- bot_viettxt variable added to whether print a Vietnamese text in BAN announcement
Nailed:
- fakeplayers patch is once again nailed
- bot_morefakeplayersinlobby variable is added to ghost.cfg to give the option for your choice of more fps in lobby
- you can also add "morefps1" or "morefps2" to map_type for that purpose for specific maps
- e.g. map_type = ward morefps2
- fakeplayers' NAMES should be less than 14 chars in fpnames.txt, without this file the bot can't work for fakeplayers adding
Fixes:
Hopefully fix the issue about "startadvex3 failed",
configuring ghostcfg correctly the bot will have no more disconnection from official bnet servers
- RefreshHack in ghostcfg:
For the bot that host on official bnet servers:
bot_mapgametype = 0; bot_refreshduration = 180 is the normal GhostOne refresh
Try to change only 1 of them at a time for testing as if you wish to improve the refresh.
OR just set it to normal GhostOne refresh for that bot.
For a bot of yours that doesn't host on official bnet servers,
bot_mapgametype = 21569664 and bot_refreshduration = 0 is the best option
- GameName in refresh will no longer exceed 31 chars, with apple icon, you should name the mapcfg within 24 chars max.
without apple icon, 28 chars max. (11) is not counted, no worry.
- bot refreshes GameName with $ instead of #
- IF GameName has more than 28 chars, bot shall not add +3,+2,+1 for the vacant slots when refreshing
- currentgames(cgames/!cg) command is fixed, no more spamming on eurobattle.net server
which caused the bot to be kicked by the server's anti-spam control
Changes:
- Filter SEND_W3GS_PLAYERINFO packet in gameprotocol.cpp for tracking possible error.
- To prevent error with SEND_W3GS_PLAYERINFO packet, fakeplayers' names will be nailed automatically if exceed 14 chars,
they should be 14 chars max.
- PREVIOUS CHANGES ARE APPLIED in this v1.4
BETA VERSION 1.3b5
=================
Added:
- !currentgames/!cgames/!cg command to display the games being hosted by the bot, just whisper /w botname !cg
- !realm (for admins only) to check what realm ppls are on in the lobby (probably works in game too).
- add refreshdelay variable to be able to disable the refreshduration,
bot_refreshduration = 180 or bigger number in ghost.cfg will disable the refreshhack,
normal gametime refresh (GetTime( ) - m_CreationTime) applied
Changes:
- fix version in language.cfg
- add 1 ip (79.141.174.186|DE=from Germany) to the ipbanlist as his attempts to attack the bot with multiple names but failed & detected by deny patch
- filter SEND_SID_STARTADVEX3 errors (startadvex3 failed) for future debugging
BETA VERSION 1.3b4
=================
Changes:
- Revert MapGameType in bnet.cpp & game_base.cpp
- Fix tempban on 127.0.0.1 in deny patch
- minor changes
- bot_refreshduration is added (in ghost.cfg) for defining the time for next refresh of the bot. (bot_refreshduration = 0 as default)
BETA VERSION 1.3b3
=================
- bot no longer spams 30000 milisecond, connection close texts heavily
- allow multiple modes in map_type, for examples: map_type = 2teams guard, map_type = ward 2teams, map_type = noteam ward, map_type = noteam guard
- fix: command autostart by temporary owner is working in accordance with bot_startgamewhenatleastXplayers
- fix: text printed to 1 player instead of all players in lobby when requesting to start game but the lobby has less than bot_startgamewhenatleastXplayers value.
- bot_startgamewhenatleastXplayers = 4. Temp owner will be disallowed to start game when <4 ppls in lobby. You can set it to other number for your liking.
go command will still work to start game in most cases.
- df command is fixed.
Version 1.3 released on 08/20/2012:
=================
TheGenMaps Forum, "The Gen Maps", http://thegenmaps.tk
Version 1.3, stable version
News:
- bot_squirreltxt added to whether Ghost prints the squirrel part or not in the welcome message in lobby
- functions added for !startn & !start in game.cpp as to require actions (!swap)
from players to re-balance the game before starting.
- new string keys for map_type, see available map_type in ghost.cfg
Patches:
- gamelist.patch to fetch the infos about your game from mySQL database to a forum/website
- anti-parser tool to detect afk, anti-trade, anti-save & ofc anti-hack
- refresh hack to show up your host in bnet often
- Previous patches
Fixes:
-!open & !close bugs, anti-abuse, a temporary owner is no longer able to open & close the fp slot, just use !df or !dfs instead
-!owner/!admin temporary owner
- Ban working on realms + Garena fix
- safelisted players will no longer be kicked by anti-spam patch
- Correct the number of Players for AutoStart for 1st game created by Ghost
(it was only wrong in 1st game earlier, $AutoStarT$ once >= is always correct
for 2nd-3rd,..games)
- unlimited realms (about 19 realms) each bot for hosting
- add more server alias
- modify spoofcheck command to easily catch the text from players for a
spoofcheck
- fix !getgames bug, no more spamming on bnet realms which caused Ghost to be
kicked out of the realm and sometimes crashed. NO MORE CRASHING.
- Issue about + player to start game for X ppls is fixed.
Version 1.2 (stale):
(Update July 27th)
Patches:
-!ff
-!wim
-!go (!ready)
-!votestart
-!owner (TEMPORARY OWNER COMMANDS:!a,!as,!close,!closeall,!swap,!open,!openall,!holds,!hold,!unhold, !startn
!fp (!fakeplayer), !dfs (!delfake,!delfakes); !startn (start game now))
-GCB patch fully works for broadcasting/hosting to multiple Garena Rooms & bnet Realms.
-Lobby spam control with announcement & auto-kick
-Gen Patch: Display GarenaRoom (known as GaRoomDetection system) when new player joined the lobby
-Gen Patch: Garena ban, autoban leaver in lobby: Leaver in 30 secs after downloaded gets banned for 2 days
-Gen Patch: FakePlayers in Lobby
-Autohost N Maps fully feature Patch (known as map cycling system): GameName & bot_autohostautostartplayer value changed automatically according to the new hosting map
Fixes:
-+$PLAYER$ to start game spamming reduced (bot_playerbeforestartprintdelay)
-m_GameOverTime >= 12s (Gameover in 12 sec instead of 60 by default)
-m_LastAutoHostTime >= 15 (Rehost in 15s after the game is over)
-GCBI patch fully works
-Specific admins from LAN
-Garena auto-hooking setup
-bnet !dbstatus fix for max_allowed_packet
- some minor fixes
Version 1.2 (N/A)
!go=!ready, typing !go is easier and abit faster
!go, 4 votes,
Weird number in !votestart is fixed
Info displays whether players have joined from bnet or LAN
Warning from spam control
ghost.cfg is updated.
and some minor fixes.
Works perfectly with Map Collection #1
Version 1.1 (stale):
Patches:
!ff
!wim
!ready
!votestart
Lobby spam control
Map cycling
autoban leaver in lobby: Leaver in 30 secs after downloaded gets banned for 2 days
Fixes:
-+$PLAYER$ to start game spamming (bot_playerbeforestartprintdelay)
-m_GameOverTime >= 12s (Gameover in 12 sec instead of 60 by default)
-m_LastAutoHostTime >= 15 (Rehost in 15s after the game is over)
-Specific admins from LAN
-Garena auto-hooking setup
#r1 notes:
for this initial version
ghost.exe works but isn't public for downloading
GCBI works though there're some delays abt 30s-1min that ppls in Garena room couldn't see the host immediately.
mrotate doesn't seem to work well and results in autorehostdelay bug (people can't see the host after rehosting #2 #3) when testing.
# notes for latest revision
bnet.cpp code is rolled-back to original.
ghost.exe works
mrotate works
GhostOne hooking works fine.
GCBI seems to stop working due to the changes in bnet.cpp (update 06/29/12)
###########################################################
# Gen's MODDED Version of GhostOne @ http://thegenmaps.tk #
###########################################################