forked from zenithtekla/G-hostOne
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ghostone.txt
1394 lines (1162 loc) · 54.4 KB
/
ghostone.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
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
GHost One 1.7.266 by psionic.one
If you have any suggestions:
- post in GHost One thread on: http://forum.codelain.com/index.php?topic=1274.0
- mail: psion.one@gmail.com
My complete appreciation to Varlock and everyone involved in creating ghost++, ideas and coding.
Changelog
---------
1.7.266 on March 28, 2010
- new bnet command:
!delmapcfg <name> - will delete a config (partial name match)
- updated to ghost++ r403 (new config value bnet*_locale)
- fixed a bug with multiple bots
- new popupmenu on GProxy, channel chat window
- fixed a bug with !sla when using sqlite
- added a new mini GUI (ghost and gproxy): GHostOneMini.exe
- fixed a bug with .dl only working with mysql
- removed w from !warn's aliases
- fixed a bug with !swap
- gproxy auto searches for the last 2 games hosted by its friends
ex: Your friend bot1 has entered a Warcraft III Frozen Throne game named "RD EU PROZ +1 #1".
ex: Your friend bot2 has entered a Warcraft III Frozen Throne game named "AR EU godlike #5".
will search for both RD EU PROZ +1 #1 and AR EU godlike #5
- new ghost config variable:
### if enabled, on GArena will hide the bot from normal users (admins will still see the commands/messages)
bot_hidebotfromnormalusersingarena = 1
- new gproxy config variable:
### whispers coming from these will not be shown, ex: pvpgn|realm bot1 , note: use | instead of SPACE
hidewhispersfrom =
1.7.265 on March 16, 2010
- updated to ghost 17.0
- integrated gproxy into GUI
- optimized iptocountry loading, speed increase 3x-5x
- updated mysql tables: mysql_upgrade_tables_v2.4one-v2.5one.sql
- rootadmins can't be swapped (not even by other rootadmins)
- Admins can't use !owner command if the owner has never entered the game
- !checkban now shows remaining days
- In GArena games, bot's messages will be invisible to normal users + normal warcraft countdown will be activated
- autowarns even players who got disconnected
- !top is now showing the first 15
- fixed a bug with !warn (when in lobby)
- admins can enter a full game by kicking reserved (safelisted) players
- if an admin tries to enter a game full with admins, a message will be shown in the lobby (at most every 2 seconds)
- new commands:
in game:
!silence - current player won't see messages coming from the rest of the players
!roll - will pick a random number from 1-100
!delmap <name> - will delete a map (partial name match)
!dl <url> <path> - will download a file (multithreaded) : ex: !dl http://host.com/language.cfg ./
!dlmap <url> - will download a map and place it in map path
!dlmapcfg <url> - will download a mapcfg and place it in mapcfg path
!note/!n <name> [note] - will show the note for player name (if no note given) or set a note
!nr <name> - will remove a note
!rmk - will begin a rmk vote, if all-1 players have voted, the game will end.
in bnet and game:
!drd [on/off] - will switch dynamic latency on/off
!query <query> - will perform an SQL query - only available to rootadmins
!cd/!countdown - will switch between ghost and warcraft's countdown
- new config variables:
### if = 0, will not broadcast the game in LAN (only bnet)
bot_broadcastlan = 1
### show .note of anyone who enters the lobby
bot_shownotesonjoin = 0
### only owners can swap other admins
bot_onlyownerscanswapadmins = 1
### !statsdota will be disabled if set to 1 (!sd will still work)
bot_nostatsdota = 0
### !top/!rank will be disabled if set to 1
bot_norank = 0
### add a list of ips you want the bot to send the game (to be seen in LAN) to, ex: 81.12.21.1 127.54.12.2
bot_ipusers =
### lan players will be rootadmins
bot_lanrootadmins = 0
### if set to 1, blue player is considered the owner
bot_blueisowner = 0
### if enabled, any user can !pub/!map/!unhost
bot_userscanhost = 0
### if enabled, any safelisted player can !pub/!map/!unhost
bot_safecanhost = 0
### if enabled, will greet every player who joins the channel with channelwelcome.txt
bot_channeljoinmessage = 0
### specify which players won't be greeted when joining the channel.
bot_channeljoinexceptions =
### will allow admins and safelisted players to download even if downloads are disabled
bot_adminsandsafecandownload = 1
### will replace every !ban/!bl with !warn/!wl
bot_replacebanwithwarn = 0
### 0 - ghost countdown, 1 - warcraft countdown
bot_normalcountdown = 0
### when you !unban player, the bot also issues an /unban player
bot_unbanremoveschannelban = 0
### Time limit for hosting a game
bot_lobbytimelimitmax = 15
### milliseconds to add to highest ping as base dynamic latency
bot_dynamiclatencyaddedtoping = 25
### dynamic latency will be increased when a lobby is active
bot_dynamiclatencyincreasewhenlobby = 1
### dynamic latency will try not to go over 2.2x highest ping, recommended
bot_dynamiclatency2.2xhighestpingmax = 1
### all messages will be answered with a whisper
bot_whisperallmessages = 0
1.6.264 on December 09, 2009
- fix errors when using sqlite
- fix autoscroll
- new config variable:
### in authosted games, allow only players with score>=x to join the lobby
bot_autohostallowedscores = 0
1.6.263 on December 07, 2009
- new button: Download/Install MySQL
will download mowes (mysql+apache+php+allstats autoconfigured for GHost One)
will install mowes in C:\mowes, create a shortcut on desktop, autosetting in to run on startup
after mowes is running, go to the Database tab, press Open Database, press Import from sqlite
Import everything, restart ghost, you're now using MySQL :)
the allstats site is accesable here: http://localhost
- new command in lobby: !onlys <score> - only allow players having the score>= x
it will allow players having a score of 0 (unknown) if bot_allownullscoredplayers = 1
- new feature: dynamic latency
For ex: !dr 110
highest in game ping is 60
dynamiclatency will be 60+15
if players lag behind, dynamiclatency is increased proportionally
- optimized mysql usage a bit
- new config variables:
### enable dynamic latency, lowers or even increases latency as needed
bot_usedynamiclatency = 1
### how many milliseconds to add to the normal latency if the players lag
bot_dynamiclatencymaxtoadd = 30
### if 1 - no admin can start the game if the owner is in the lobby
bot_onlyownerscanstart = 1
### allow only players with score>=x to join the lobby
bot_allowedscores = 0
### if set to 1, if using bot_allowedscores, players having an unknown score will be allowed
bot_allownullscoredplayers = 1
### set to 1 if you want admins to be autoplaced higher only in dota games
bot_placeadminshigheronlyindota = 0
### force auto hcl from gamename in dota games (even when bot_defaulthcl is not set)
bot_forceautohclindota = 1
### 0 - auto timer resolution (as low as possible), 1-5 - if you want it to be less accurate
bot_newTimerResolution = 0
### 0 - old timer on windows (gettickcount), 1 - new timer
bot_newTimer = 0
### 0 - old latency system, 1 - as close to the set latency as possible
bot_newLatency = 0
- fixed !set, !setnew, !get in certain conditions
- Made GHost use its own PID as a cookie offset for warden. It is not necessary to define the cookie in the ghost.cfg anymore. Metal.Koola
1.6.262 on November 20, 2009
- updated to 16.2
- refresh friend list every 5 minutes
- new config variables:
### safelisted players are immune to ban/warn
bot_safelistedbanimmunity = 1
### set !autostart 10 automatically in dota games
bot_autostartdotagames = 0
### send admin messages or not (if using the admin game)
bot_adminmessages = 0
- fixed expiredate on new bans
- fixed delete duplicate bans
- removed rank/score from sd when not available
- set/get would only respond in channel
1.6.261 on November 17, 2009
- updated to 16.1
- new bnet commands:
!setnew <varname> <value> will set a variable even if it doesn't exist yet, ex: !setnew bot_log ghost.txt - will set bot_log=ghost.txt and reload config
- fix for unix systems
- fixed a bug in mysql in warnforget
- fixed sliders in Page 8
1.6.260 on November 16, 2009
- updated to ghost++ 16.0
- added temporary bans and warn - based on KileRatZ code
- modified tables, mysql require manual importing of mysql_upgrade_tables_v2.3one-v2.4one.sql
- new config variables:
### fake pings for the following players, space separated: ex = nick1 nick2
bot_fakepings =
### when !end/!endn is issued, a message is sent to the enemy team and the game ends only if someone accepts, replying with !end (only for 2 team maps)
bot_endreq2ndteamaccept = 0
- new bnet commands:
!get <varname> ex: !get bot_log - will return value of variable bot_log from ghost.cfg
!set <varname> <value> ex: !set bot_log ghost.txt - will set bot_log=ghost.txt and reload config
- new bnet/game commands:
!tempban/tban/tb <name> <bantime in days> <reason> - ex: !tban kileratz 13 flamer - will ban for 13 days
!addwarn/warn/w <victim> <reason> - ex: !w kileratz flamer
!checkwarns/cw <user>
!delwarns/unwarn/dw/uw <user>
!tbanlast/tblast/tbl - temp ban last
!warnlast/wlast/wl - warn last
- new config variables:
### normal bans will expire in x days - set to 0 to be permanent
bot_bantime = 180
### normal banlast/bl will expire in x days - set to 0 to be permanent
bot_banlasttime = 180
### tbanlast/tbl will expire in x days - set to 0 to be permanent
bot_tbanlasttime = 30
### how many warns are needed to auto-ban the player. Default: 3.
bot_banthewarnedplayerquota = 3
### how many days will the auto-ban from warns last. 0 - permanent ban. Default: 14.
bot_bantimeofwarnedplayer = 14
### how many days will each warn last. 0 - permanent warn. Default: 14.
bot_warntimeofwarnedplayer = 14
### how many games should the player play (without taking another warn) to make one of his warns inactive. Default: 7
bot_gamenumtoforgetawarn = 7
### if 0, autowarning is off. Default: 0. read tempbans.txt for more info
bot_autowarnearlyleavers = 0
### Prints the gameloaded.txt message after X seconds. Default: 10.
bot_gameloadedprintout = 10
- added friends list in Channel/Games tab - idea by styler_ro
- fixed bot_requiredspoofchecks not being loaded from cfg
- new config variable:
### handle name bans: 0 = do nothing, 1 = kick, 2 = announce only (no kick).
bot_banning = 1
- new command in lobby:
!bans off|on - enables/disables auto kicking banned people from lobby
- new command in lobby and bnet:
!fw [msg] - will send a message to all the bot's friends, without parameter will send: Lobby: gamename (1/10) - ownername
- fixed windows shutdown not being allowed
- added new option in Options Page 1: Fade in effect - only recommended for dual core cpus.
- added new config option:
# initiate game over timer and end game in x seconds after world tree/frozen throne has fallen - 0 to disable
bot_gameoverbasefallen = 20
- fixed bot_lobbyannounceunoccupied not disabling properly
- added bot_dropifdesync to give people the option to kick people that desync or not. (Metal_Koola)
- added latest blizzard.j and common.j for people who don't have full WC3 installed (senkin)
1.6.259 on October 09, 2009
- new config variable + setting in GHost Options/Page 4:
# Auto set HCL based on game name,ex: -arso EU pros will set HCL to arso (only if map_defaulthcl is defined, for ex: map_defaulthcl = ar), will set hcl to empty if no mode is detected in the gamename
bot_autohclfromgamename = 1
- new config variable:
# Announce +1 and +2 (players left to join) in lobby (only if not autohosted)
bot_lobbyannounceunoccupied = 1
- disable load in game feature if dota = 6.63b and hcl has been sent.
- fixed .check command (Metal_Koola)
- fixed a bug in sqlite when importing bans (introduced in 1.6.258)
- fixed a bug in mysql when importing bans
1.6.258 on September 30, 2009
- added autohcl (based on game name) only for maps which have map_defaulthcl set
GHostOne GUI won't auto type in the mode if HCL is sent.
ex:
map has (set in map config) map_defaulthcl = ar
gamename is set to -arso EU pros!
hcl will be set to arso
- added import bans from a specific url
- highly optimized the adding of bans.
- autoban won't ban full clan members
- local admin messages are disabled by default
- fixed an issue causing windows shutdown to abort
- fixed a bug causing memory access violation when no InstallPath was found in the registry
- fixed the hcl
- fixed the replay build number
- "That user is not logged on." console lines ignored by the GUI. (less spam)
- Allowed/Denied Countries will show the allowed countries correctly (including the last one)
1.6.257 on September 27, 2009
- bot_requirespoofchecks = 0 by default
- removed the fade in effect on the forms.
- process.ini is created in data sub folder and gets deleted on bot's exit.
1.6.256 on September 25, 2009
- updated to 15.0
- added pre-compiled boost libs 1.39 - Senkin
- added bot_banbannedfromchannel (Bans person from channel if they join and are banned) - Senkin
- added bot_banbannedfromchannel to the GUI
- updated linux compatibility
- updated main configuration a bit
- download only games won't hit lobby time limit anymore and will not auto rehost
- GHost now saves Process ID and sets Process Status to Online in process.ini every time it starts. (Good for Windows users that want to use Online Status Signatures) - Senkin
- updated map.cfg to DotA 6.63b - Senkin
- updated skins
1.6.255 on September 9, 2009
- updated to 14.7
- added pvpgn 1.24 settings to main configuration
- fixed a bug with idle connections with mysql
- fixed up bot_autobantimer to only ban BEFORE x mins. Instead of not banning
until x mins. senkin
- Added some cool tools for BNLS to WardenBNLS folder. senkin
-Swap CDKeys
-Setup BNLS
-Update BNLS INIs (Moved from main folder and tweaked code)
1.6.254 on September 2, 2009
- fixed lobby in LAN
1.6.253 on September 1, 2009
- !sp doesn't shuffle observers anymore
- new variable:
### Only ban players who leave prior to x minutes of game end time.
bot_autobangameendmins = 3
1.6.252 on August 30, 2009
- new variable (also squeezed into GHost Options Page 4):
# In LAN/GArena show the real number of current/total players in the game, when using !pubg it will be auto activated
lan_showrealslotcount = 0
- switch detection modified to require all-1 players to accept.
- banning someone on GArena won't ban by IP (127.0.0.1) anymore.
1.6.251 on August 29, 2009
- fixed the saving of stats.
- updated warden ini
1.6.250 on August 27, 2009
- on x64, dxhook will be copied correctly
- in LAN/GArena, slots occupied/total slots are now shown correctly
- reintroduced the switch detection, should not mess the stats anymore.
- new default settings for HDR - should be more crisp (reinstall hook),
you can enable/disable HDR ingame with CTRL-SHIFT-F12
1.6.249 on August 25, 2009
- fixed copying to the system path of the dll necessary for HDR.
1.6.248 on August 24, 2009
- added new option to DXHook: HDR (bloom effect) using ENBseries by Boris Vorontsov,
after choosing a combination of use hook for messages, HDR, you must reinstall the hook.
- players who've left a game are still in the game list and you can right click to ban them
- modifed !mars
to include new variable $RANDOM$ (random user from channel/game)
without parameter will insult a random user from channel/game
1.6.247 on August 19, 2009
- added new config variables (found on GHost Options Page 4)
# Show a message when a safe/admin/rootadmin/chieftain/shaman joins the channel
bot_channeljoingreets = 1
# Admins will be able to delete only bans they've made
bot_adminslimitedunban = 0
1.6.246 on August 18, 2009
- updated the BNLS inis
1.6.245 on August 18, 2009
- added turkish language config file courtesy of HellGuy
- added incremental search to database:
make sure you're not editing a cell (press up or down)
type some letters to begin searching/backspace to delete search
- fixed a bug occurring when the lobby is full, and all the players are reserved.
- modified the lobby ping for rootadmin and the player with the biggest ping
to be shown left of the slot if it is a dota game.
1.6.244 on August 17, 2009
- updated to official 14.4
1.6.243 on August 16, 2009
- updated to official 14.3
- added !mars command in BNET and ingame, courtesy of Old_Empty
- removed warden responses from the battle.net packet queue (they are now sent
immediately)
- pings are refreshed after 3 seconds when a player joins (GUI+DXHook)
1.6.242 on August 14, 2009
- fixed labels on auto mute settings
- GUI top, adding lowercase names to the safelist
- auto disable gameoverteamdiff when -switch is sensed.
- rootadmin is not muted by censor mute.
- added DirectX Hook configurable in Options Page 1, install hook first
for now will show your ping + biggest ping when in lobby
1.6.241 on August 07, 2009
- added censor mute settings to the GUI
- words censor is now case insensitive
- fixed virtual host color
1.6.239 on August 06, 2009
- fixed some small things
- replaced bot_disablenagle with tcp_nodelay
- updated to 14.2
- fixed phrases not working if skin form is disabled.
- new config values:
# whether players who use censored words are auto muted for x seconds
bot_censormute = 0
# also auto mute admins
bot_censormuteadmins = 0
# mute for x seconds, the first time a player curses
bot_censormutefirstseconds = 60
# mute for x seconds, the second time a player curses
bot_censormutesecondseconds = 180
# mute for x seconds, if a player has cursed for 3 or more times
bot_censormuteexcessiveseconds = 360
lan_war3version = 23
# Disable nagle algorithm (TCPIP algorithm that can slow down the network) - may improve latency if you set to 1
tcp_nodelay = 0
1.6.237 on August 04, 2009
- fixed skin problem causing the GUI to crash
1.6.236 on August 03, 2009
- added new option: Skin form, if unchecked, will use Vista/Windows 7 Aero style borders. (controls will still be skinned)
- fixed adding to safelist when using sqlite
- for now you can't set max games to more than 6
- on autohosted games, bot will message first player:
for example if gamename is auto -apso dota
message: Type -apso now!
- new config variable:
bot_autohostdeniedcountries =
1.6.235 on July 30, 2009
- fixed battle.net presets in main configuration
- increased max games to 16 (limit not tested)
- added ombuserver to presets
- added autoban settings to GHost Options/Page 7
- added $ADMIN$ in
$VICTIM$ is trying to join the game but is banned by $ADMIN$. (senkin)
1.6.234 on July 28, 2009
- added bnls settings to GHost Options/Main Configuration
- linux compatibility for waaaghtv
- autohosted games with more than 2 teams now start.
- to spoofcheck reply with /r s instead of /r spoofcheck
- new config variable:
### sends /whereis instead of /whois, set to 1 if you want that (for server.eurobattle.net)
bnet_whereis = 0
1.6.232 on July 20, 2009
- changed code optimizaton in c++, somehow it made the bot disconnect.
1.6.231 on July 20, 2009
- fixed updater, no need to press it twice
- new config variable:
# shift replay time by x many seconds: for ex the time is 12:30, if we set 3600 replay filename will be 13-30, if we set -3600, filename will be 11-30
bot_replaytimeshift = 0
- !rload now enables stats for dota
- GHost One communicates its version to the bot.
- autohostserver is now set to last available server
- new config variables for autoban (mod by senkin)
bot_autobantimer = 0
bot_autobanall = 0
bot_autobanfirstxleavers = 0
1.6.230 on July 19, 2009
- fixed garena hooking every 5 min
- fixed map_numplayers
- map config generator won't delete the config file even if it is badly configured.
1.6.229 on July 17, 2009
- fixed the map config generator
- DEP is disabled for ghost.exe
- Check for garena.exe running before hooking.
- disable gameoverteamdifference if someone has switched
1.6.228 on July 16, 2009
- fixed Options/Page 1 color
- optimized spoof checks.
1.6.227 on July 16, 2009
- added Ally chat checkbox in games tab.
- added options in GHost Options Page 6
- added new Garena options (Options tab, Options 1):
GArena Path, Hook GArena on ghost startup.
If you enable hooking, when ghost is started, the GUI will auto inject the GArena dll.
- you can now issue !no Ga or !only Ga
- when also on BNET no /whois is sent to Ga players.
- when using PVPGN, reconnect time is now 30 seconds (was 90)
- added config variables:
# for ex: RO, only these countries will be allowed to join a game
bot_allowedcountries =
# for ex: BR, these countries will not be allowed to join a game
bot_deniedcountries =
# milliseconds to wait before sending medium sized packets to bnet when using PVPGN
bot_bnetpacketdelaymediumpvpgn = 2000
# milliseconds to wait before sending big sized packets to bnet when using PVPGN
bot_bnetpacketdelaybigpvpgn = 2500
1.6.226 on July 12, 2009
- added many new options to the GUI
- you can now choose from one of the icons (to be used for multiple GHost Ones)
- updated the commands.txt a bit
- if for some reason the GUI seems stuck, press TAB.
1.6.225 on July 11, 2009
- fixed some small things
1.6.224 on July 10, 2009
- changed the config wizard by modifying ghost to configure the map cfg file on it's own.
- remove creator from friends feature is now delayed 10 seconds.
- new commands:
!wtv -> weather wtv is on or off
!wtv off -> turn off
!wtv on -> turn on
!wtv name x -> gives the observer which is needed for the streaming function the name x.
- added new config variable (thanks to Krauzi):
# Path to your WC3TVRecorder ex: c:\Program Files\waaaghTV Recorder\
wtv_path = C:\Program Files\WaaaghTV Recorder\
# Use WC3TVRecorder, 1 to enable
wtv_enabled = 0
# WaaaghTV Observer Name
wtv_playername = Waaagh!TV
1.6.223 on July 9, 2009
- fixed a problem with the map config wizard. If it can't create a map config, it will not crash.
1.6.222 on July 9, 2009
- modified the map cfg generator to work with absolute folder path, it worked only with 'mapcfgs\' before
- improved the map cfg generator
- improved the ghost.cfg editing and saving
- added /r -> /w lastwhisperer in channel and whisper say to bnet.
- scores calculated in the GUI are now saved.
- senkin has updated his GHost One + BNLS Starter.exe
1.6.221 on July 7, 2009
- fixed Run query when using sqlite
- fill ip from gameplayers if one exists when banning people on BNET (only mysql)
- when a banned player (by name) joins a game, update his ban with the new ip.
- new config variables:
### if not 0, will only auto ban if team diff <= with the setting
bot_autobanteamdiffmax = 0
### gamestate for inhouse games
bot_gamestateinhouse = 999
### detect -wtf and disable dota stats
bot_detectwtf = 0
- new commands:
!sdi - show stats for inhouse games
!sdpub - stats for public games
!sdpriv - stats for private games (inhouse aren't included)
!pri, !priby - create private inhouse game
!rd [value] - set rehostdelay
1.6.220 on July 5, 2009
- fixed bot_updatedotascoreaftergame in the GUI, setting can now be saved as enabled.
- new variables:
### the bot will auto rehost the game as gamename + 1 if game name is taken
bot_rehostifnametaken = 1
### set to 1 if you are using warcraft 3 patch 1.21
bot_patch21 = 0
1.5.219 on July 4, 2009
- added new feature: multiple GHostOne GUI+bot
you can now run multiple GUIs + their own bot,
make sure you set different values for each GHostOne instance for these variables:
udp_guiport, udp_cmdport, HTTP port, bot_hostport, admingame_port
- new option: Paste gamename to clipboard (mainly for disabling this feature when using multiple GHostOnes)
- added new query: Delete all stats for a player
- mysql queries use lowercase table names now
- autohostmapcfg now works for other maps
- added new variable:
### default access for an admin
bot_adminaccess = 4294963199
- added new options page in GUI, with editor for admin and owner access
1.5.218 on July 2, 2009
- added config variable:
### only allow these countries when autohosting
bot_autohostallowedcountries =
- new command !ping available for non admins.
- previously when you've issued !topc, !sd wouldn't work.
1.5.217 on July 2, 2009
- fixed SEND_SID_STARTADVEX3 for those not using bot_patch23ornewer
- fixed/optimized ScoresCount calculation.
1.5.216 on June 30, 2009
- added a lot of new options in GUI.
1.5.215 on June 29, 2009
- fixed the automode when some games are already hosted
- fixed some things
- rank is now of form: #3/540
- added auto rehosting after 60 seconds have passed since last player has joined.
- optimized auto /whois by caching the spoofed ips of the last players
- bot will now remember the last host counter even after reboots/restarts.
- new config variables:
### these words will be edited/censored in game.
bot_censorwords = fuck idiot retarded dick cunt pussy asshole suck shit penis vagina
### the bot will auto rehost the game as gamename + 1 if 60 seconds have passed since last player joined, 0 = disable
bot_autorehostdelay = 60
### default access for owners (use admin access panel to change any admin's access to your liking and see the access code for those commands)
bot_owneraccess = 3965
### if host counter goes over this number it will reset to 1, set to 0 to disable the feature
bot_maxhostcounter = 30
1.5.214 on June 27, 2009
- added score, rank, kills, deaths columns to games in GUI
- added rank to lobby
- added two cfg variables:
bot_bnetpacketdelaymedium = 3200
bot_bnetpacketdelaybig = 4000
milliseconds to wait before sending packets to bnet.
- fixed admins access with mysql
1.5.213 on June 26, 2009
- will not send SHA1 if not using patch23ornewer (compatible with 1.21)
- fixed spoof message when rehosting for good.
- added time stamps to GHostOne channel/game/log/lobby
- modified .sd format a bit (will not send N/A for rank and score)
1.5.212 on June 25, 2009
- ignoring spoof message when rehosting and player is in the last game name.
- fixed importing bans with mysql.
1.5.211 on June 24, 2009
- added new database feature: run query + a special query for editing dota stats.
- fixed updatedotascoreaftergame, forgot to add code to it :)
- if updatedotaeloaftergame is enabled, .topc will run update_dota_elo.exe instead of calculating then with the score formula
- added a huge number of aliases to BNET commands by senkin
- fixed rank accuracy thanks to billbabong
1.5.210 on June 23, 2009
- removed score calculation from .sd
1.5.209 on June 21, 2009
- new variables:
### After a game has ended, if mysql is used, ghost will run update_dota_elo.exe
bot_updatedotaeloaftergame = 0
### After a game has ended, if mysql is used, ghost will recalculate scores (use either this or elo)
bot_updatedotascoreaftergame = 0
- new command in game/lobby: !topc, to calculate scores.
1.5.208 on June 21, 2009
- Updated to 13.3, added new command .topc (calculate scores with ghost). If
you're using sqlite, only call .topc if there are no games in progress.
- Added new rank, score calculations based on 2 ghost.cfg variables:
### Allowed variables: totgames, kills, deaths, assists, creepkills,
creepdenies, neutralkills,
### towerkills, raxkills, courierkills, wins, losses, killstotal, deathstotal,
creepkillstotal,
### creepdeniestotal,assiststotal, neutralkillstotal, towerkillstotal,
raxkillstotal, courierkillstotal
### default formula:
### (((wins-losses)/totgames)+(kills-deaths+assists/2)+(creepkills/100+creepdeni
es/10+neutralkills/50)+(raxkills/6)+(towerkills/11))
bot_scoreformula = (((wins-losses)/totgames)+(kills-deaths+assists/2)+(creepkill
s/100+creepdenies/10+neutralkills/50)+(raxkills/6)+(towerkills/11))
### Only players having played this many number of games will be ranked
bot_scoremingames = 5
- Added new variable: all maps will use load in game feature
bot_forceloadingame = 1
1.5.207 on June 18, 2009
- new mysql table structure, upgrade with: mysql_upgrade_v2.1one-v2.2one.sql
- added a new button Import from sqlite (when using mysql database)
make sure you have created the tables by importing the mysql_create_tables_v2.2one.sql first.
the importer is not optimized yet and may take long to convert big tables!
- fixed .sd
- added new setting in ghost.cfg:
### show .sd of anyone who enters the lobby (and has played games with the bot before)
bot_showscoresonjoin = 0
- .top is now using a new table: ranks
- Added GHost One + BNLS Starter.exe by senkin
1.5.206 on June 15, 2009
- updates the scores table in case we're having the old one
- modified the updater to work with the new folder name in the zip: GHostOne
1.5.205 on June 14, 2009
- updated to 13.2 minus mysql after 6 hours of coding and merging
- updated to mysql after some extra 6h, to configure it use these settings in ghost.cfg:
### this is only used if your database type is MySQL
db_mysql_server = localhost
db_mysql_database = ghost
db_mysql_user = YOUR_USERNAME
db_mysql_password = YOUR_PASSWORD
db_mysql_port = 0
- database tab can now open mysql databases
- many new settings:
### setting bot_autohostmaximumgames > 0 will make ghost begin autohosting on startup
bot_autohostmaximumgames = 0
bot_autohostautostartplayers = 10
bot_autohostallowstart = 0
bot_autohostlocal = 0
bot_autohostowner = one
bot_autohostmapcfg = map.cfg
bot_autohostgamename = auto -sd EU pros
- added a new autohost on startup feature, thanks to voudas for the idea and support!
- added a bnet joiner feature, standalone and included in the GUI.
- autoban feature coded by Senkin:
### If you autohost a even playered two team map and want to auto ban leavers that make the game uneven turn this on. Will not ban admins or root admins. An example map would be DotA or Battleships.
### 0 = off 1 = on
bot_autoban = 0
- thanks to xtrm, torchbeast and others for testing for bugs, helping in hurrying the release of this stable version
1.4.194 on April 1, 2009
- new options page, Main Configuration in GHost Options
- improved Auto Configuration
- on first run, Auto Configure is started + Main Configuration is shown.
1.4.193 on March 24, 2009
- path fixes: \ is no longer required (optional)
- makefile for linux fix
- .pub fix for games with names shorter than 3 chars
1.4.192 on March 20, 2009
- new config value:
### set to 1 if you are using warcraft 3 patch 1.23 or newer
bot_patch23ornewer = 0
1.4.191 on March 20, 2009
- patch 1.23 compatible thanks to Varlock, Zephyrix, Twonkies
- new button in Database tab: Delete selective bans
you can choose to delete bans older than x months
+ only delete bans which have a specified text in reason
ex: leaver
- added safelist feature
safelisted players are counted as reserved when they try to join a game
new bnet and lobby/game commands:
!sladd <name> alias !sla - add player to safelist
!sldel <name> alias !sld, !slr - delete player from safelist
!sl <name - check if a player is safelisted
lobby and ingame the commands do a partial name match.
- new feature in Database / Top / After Calculate, you can add the top players as safelisted.
- new config value:
### kicked banned people when they enter the channel
bot_kickbannedfromchannel = 0
- improved command: !disable [reason]
it will show the reason the bot is disabled when you try to host a game.
- improved database grid.
1.3.189 on February 25, 2009
- fixed time in ban reason
1.3.188 on February 24, 2009
- tweaked name of game logs
- fixed bug on opening slots (or kicking players from the lobby)
- made ban reason customizable in language.cfg
- using localtime when saving games in the database (thx to PabloWz for the fix)
1.3.187 on February 23, 2009
- ghost is now aware of -switch if there is at least one player in any team (otherwise it can't see the chat)
- first 10 seconds after the game created, refresh is 5 sec apart instead of 2
- new option: save game logs as HTML (when they end).
- in dota maps, game time in ban reason is -2 min.
1.3.186 on February 22, 2009
- fixed fdel command
- fixed reason game time
- when a -switch occurs, gameoverteamdifference is ignored
- tweaked options in GHost Options Page 3.
- new options: Even Higher ghost priority, minimize to tray.
1.3.185 on February 20, 2009
- fixed labels on new ghost options
- fixed time in ban reason
1.3.184 on February 20, 2009
- when owner joins all players are shifted down one slot
- new reason format on bans:
ex: Leaver after 20 min in "gamename" 5*v5 on (February 2009)
- new config values:
### initiate game over timer if remaining players are less than this number (and at least a player left) - 0 to disable
bot_gameoverminplayers = 2
### initiate game over timer if remaining player percentage is less than this number (and at least a player left) - 0 to disable
bot_gameoverminpercent = 0
### initiate game over timer if team difference is bigger than this number, 0 - to disable
bot_gameovermaxteamdifference = 1
- new options in GHost Options Page 3
- each time a game is created the bot adds the creator to the friend list and deletes after the game is created
- new ingame command !override to cancel game over timer
- new lobby command !garena to toggle garena only or not
- new bnet command !pubg [gamename] to host public game only allowing garena players + rootadmins, admins, reserved players, owner
- new bnet command !autohostg to autohost allowing only garena players
- local game + admin game visible locally when on GArena
1.3.183 on February 15, 2009
- fixed http server feature Tools/Mapcfgs
1.3.182 on February 15, 2009
- new config value:
### whether to automatically add the players from last game to the next game's reserved list
bot_holdplayersforrmk = 1
- new http server feature: Tools/Mapcfgs (try http://localhost:81 )
- fixed a bug in new update when trying to apply the small update.
1.3.181 on February 15, 2009
- fixed game list
- fixed bot_rootadmins only matching lowercased names (now user=User)
1.3.180 on February 13, 2009
- tweaked when channel/lobby are shown.
- fixed loopback when using custom connection name
- fixed ghost priority in some cases
- new option: quit GHost One on ghost shutdown.
1.2.179 on February 12, 2009
- changed game chat colors, all-black, team 1-blue, team 2-red, team>2-teal
- fixed channel not showing when rehost failed.
- added a new option: use custom loopback connection name, in case GHost One fails to detect it.
1.2.178 on February 10, 2009
- owners can ban
- small fixes to channel chat
1.2.177 on February 10, 2009
- added a new config value (new option in GHost Options Page 3):
### admins are required to spoof check if 1, or not if 0
bot_adminsspoofcheck = 1
- note that bot_spoofcheck = 0 only means players are not automatically spoof checked, they still need to manually spoof check
- lagging players are auto droped after 60 sec.
1.2.176 on February 8, 2009
- fixed rkpg in formula, added button: reset formula
1.2.175 on February 8, 2009
- fixed access on owners
- added new access restriction for quit
- improved !announce to handle multiple lines, with new line separator = |
ex: !announce 3 firstline|secondline|thirdline
- new option in Options tab: Update maps on applying update.
uncheck if you don't want the updater to overwrite your mapcfgs
- improved Top calculation, now you can specify your own custom score formula.
- bot_lobbytimelimit max value set to 260 min (from 60)
- included a renamed ghost.exe to war3.exe,
GArena how to:
make sure bot_udpconsole = 1 in ghost.cfg.
Start GHost One without starting ghost. (always start GHost One before starting game from Garena)
in Garena, point Warcraft 3 RPG executable to war3.exe from GHost One's folder.
Enter a game room, start game.
Control the bot from GHost One.
1.2.174 on February 6, 2009
- fixed stats (-1.$)
- new command: !autohostxxxx, only allow xx xx countries
- new config value:
### lobby/game commands are displayed as chat (or hidden)
bot_relaychatcommands = 1
- show player join/leave in channel chat
- improved automatic ip update on loopback adapter
1.2.173 on February 4, 2009
- found out that !pub works on pvpgn too :) so no need for !rehost unless you really want it
- remade lobby command:
!pub with no parameter will rehost with name + 1
ex: !pub (in a game -sd pros #1) will rehost -sd pros #2
- remade bnet command:
!pub, !pubxx, !pubnxx, called with no parameter will host lastgamename + 1
- fixed modes always using "map" modes
- quiet rehosting (no message to channel) in case game fails to be rehosted.
- new command: !gn - shows current game name
- improved top calculation
- some other things that I forgot about :)
1.2.172 on February 2, 2009
- shorter !top result (enforced length of 160 chars)
1.2.171 on February 2, 2009
- new button in Database tab: Top
- new command !top or !top10 (only shows results after you Calculate scores at least once in GHost One)
- fixed freeze on update available
- improved !rehost as follows:
!rehost (with no parameters) will rehost with the same name +1
ex: game name -sd pros , !rehost will rehost as: -sd pros #1
game name -sd pros #3, !rehost will rehost as: -sd pros #4
1.2.170 on January 31, 2009
- updated StormLib
- updated the map_crc calculation algorithm (thanks Strilanc!)
- the bot should now correctly calculate map values for many maps that previously did not calculate properly
- the bot now identifies itself as originating from the United States instead of Canada by default when connecting to battle.net
- updated the new refresh method to more closely match the way LC does it
* refresh messages are no longer displayed because the bot refreshes much more quickly than it used to and it would create too much spam
- players are now given a new team when joining melee maps rather than always team 1
- fixed ping 3 times.
- Loopback Adapter name must begin with Microsoft Loopback instead of being equal with Microsoft Loopback Adapter (fix for Turkey)
1.2.169 on January 30, 2009
- in order to fix the freezing bug GHost One is ignoring normal ghost console,
default console output set to udp to fix the freezing bug,
make sure you set bot_udpconsole = 1 in ghost.cfg
The first few lines of the console won't appear in Ghost window.
1.2.168 on January 28, 2009
- optimized console output using a separate thread
- fixed a bug, was calculating wrong DownloaderNr for a player
- game loaded message is shown after 10 seconds
- new config variables:
### display information on current downloads (speed, ETA)
bot_showdownloadsinfo = 1
### interval in seconds between download info message
bot_showdownloadsinfotime = 90
- new commands:
!dlinfo [on/off] show info on current downloads
!dlinfotime <value> interval in seconds between info messages
1.2.167 on January 27, 2009
- new config variables:
### use new refresh (0) or old refresh code (1)
bot_oldrefresh = 1
### when using the new refresh code, what delay to use between refreshes (5-20)
bot_newrefreshtime = 12
- modified statsdota as in 11.4
- fixed votekick for admins
- ghost.dbs path is taken from ghost.cfg
- fixed a typo in commands.txt: !dspeed should be !dlspeed
1.2.166 on January 26, 2009
- fixed a thread bug in coloring ghost output.
1.2.164 on January 26, 2009
- added new config value bot_votekickallowed
- added new config value bot_votekickpercentage
- added new command !votekick
- added new command !votecancel
- added new command !yes
- modified the battle.net refresh procedure to improve performance
- refresh messages are sent every 12 seconds now instead of 10
- added a silent gameover timer triggered by one player being left and/or by the stats class
- statsdota now checks the "id" value for validity
- fixed a bug where games couldn't be rehosted on pvpgn servers (first appeared with the new refresh code)
- the database schema has been updated to version number 6
* GHost++ will automatically update your database schema if it's out of date
- major optimizations to the database to improve statsdota performance
* new colour, tower kills, rax kills, and courier kills are now recorded to the database when using statsdota
- added a 5 second grace period after downloading the map where pings are discarded from the player
- GHost One's chats handle unicode characters (tested with russian charset)
- updated ip-to-country.csv to the latest version from January 23 2009
- updated SQLite to SQLite 3.6.10
1.2.163 on January 25, 2009
- reverted to old refresh because new one breaks !rehost
- added new admin access commands: say open close swap sp
- new admins have access to all commands by default.
- when a player saves the game GHost++ will now send a message identifying who did it
1.2.162
- added !bl as an alias to !banlast
- improved http server!
- added a new command: !acc [name] [cmd] [acc]
you can now specify which commands are accesable to an admin
ex:
!acc - list all the commands
!acc name 1 - give access to all commands (those in the list, which are critical, admins will still have access to the rest of the commands not in this list)
!acc name 0 - remove access to all commands (those in the list, which are critical)
!acc name 0 1 - give access to the first command (ban)