Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - uakf.b

Pages: [1] 2 3 ... 38
Announcements / 1.29 Patch
« on: April 16, 2018, 05:14:52 pm »
I updated for the 1.29 patch. There's a note in the README about the patch:

For 1.29, put Warcraft III.exe in the bot_war3path. You may name it Warcraft III.exe or warcraft.exe.

war3.exe, game.dll, and storm.dll are no longer needed.

Also, use War3x.mpq instead of War3Patch.mpq. (Actually, it is recommended that you extract common.j and blizzard.j yourself and put them in bot_mapcfgpath, since the new MPQ file is very large. Make sure to also exclude War3x.mpq from bot_war3path so that the host bot does not attempt to read the archive.)

Announcements / Status of GHost++: January 2018
« on: January 12, 2018, 09:34:25 pm »
In the past, GHost++ was developed on Google Code. However, GHost++ is no longer maintained. Moreover, as Google has taken Google Code offline, there is no longer any official repository.

Nevertheless, GHost++ remains widely used for hosting Warcraft III games, and there are no major known bugs.

Here are two recommended options to obtain GHost++:

* The latest release of GHost++, plus minor stability improvements:
* Aura, a fork of GHost++ with a modernized framework but many features stripped out:

The first option has the full set features from GHost++. If you do not need these features, though, the second option is still maintained by the author as of January 2018.

To compile the first option on Ubuntu 16.04 (these steps should work on any recent Debian/Ubuntu release, but I can only guarantee that it works on Ubuntu 16.04):

Code: [Select]
sudo apt-get install -y git libboost-all-dev build-essential libgmp-dev zlib1g-dev libbz2-dev libmysql++-dev
git clone
cd ghostpp
cd bncsutil/src/bncsutil/
make && sudo make install
cd ../../../StormLib/stormlib/
make && sudo make install
cd ../../ghost

Announcements / More downtime
« on: January 12, 2018, 09:31:51 pm » has been offline for several months because I had to cancel the dedicated server that the VM hosting this website was on. I did not migrate it as the activity here was low, but it looks like there are still people using GHost++ who may find the information on this website useful. Thus, will remain online indefinitely.

gcb / Re: Download stuck
« on: March 15, 2016, 10:21:28 am »
You have this setting "gcb_tcp_srttlower = 10000", which is non-default, is there any reason for it? It could cause problems with the retransmission system, which would explain stuck download.

All things GHost++ / Re: Help add mysql inquiry
« on: December 21, 2015, 10:10:58 am »
Did you add CONSOLE_Print statements to before the query is executed and in the else body to check the execution path?

All things GHost++ / Re: Overwriting previous name
« on: November 13, 2015, 10:34:57 am »
Well, it means that the host bot is getting another "init pid" message for the same player from an action packet.

All things GHost++ / Re: Compile issue
« on: October 25, 2015, 03:29:32 pm »
It sounds like bncsutil library symbols referenced in bncsutilinterface.o are missing. I think this either means that:
  • bncsutilinterface.o is out of date. In this case you can try deleting bncsutilinterface.o and recompliing.
  • BNCSutil.lib isn't being linked properly. I guess then you need to double check your linker settings.
  • bncsutilinterface.cpp is being compiled with a different bncsutil library than the one being linked when creating final executable. I guess also check linker settings.

gcb / Re: Integration gcb_bot_min_level and Ghost++ ????
« on: October 14, 2015, 04:52:23 pm »
I think you would just add a check in GHost++ to bound the CIncomingGarenaUser's GetUserExp.

gcb / Re: GCB on Proxy?
« on: September 29, 2015, 06:26:52 pm »
Isn't there any way to use public proxy server?
Yes, it is possible to use arbitrary SOCKS5 proxy, but it would require some modifications so that the authentication server connection is proxied but the room server is not (java supports passing parameter to specify SOCKS proxy, but it would affect all outgoing TCP connections).

If you want to try modifying the source code, you can see (the Proxy class section).
Any other way to install VPN on OpenVZ VPS and use that VPN?
It is usually possible, most providers provide a mechanism for you to enable TUN/TAP device or PPP module. I don't know much about this.
But in these both ways, we need to have a proxy server with port 7456 opened.
This is true for tcptunnel and the first SSH example in the linked post, but if you connect with SSH from the gcb server to the proxy server then there is no problem. For example:
Code: [Select]
ssh -L A.B.C.DSSH client would listen on, and then connections on that port would be tunneled to the remote SSH server (A.B.C.D) and then proxied to
BTW is there any other way to contact you fast?

gcb / Re: GCB on Proxy?
« on: September 28, 2015, 08:57:53 pm »
I just set garenaX_mainhost to my proxy server, and then run a regular TCP tunnel on the proxy, e.g. using tcptunnel:
Code: [Select]
tcptunnel --local-port=7456 --remote-port=7456 --remote-host= --bind-address= --forkBetter to use something fake-threaded like go-tcptunnel though.

By setting just mainhost, this ensures that your connection to Garena authentication server is proxied, while nothing else is affected (so players connect directly).

gcb / Re: InetAddress.getByName(bindaddress)
« on: September 16, 2015, 09:41:01 am »
It should be default, not

a) you need to login with the !password [pwd] command first, where [pwd] is the admingame_password configuration setting.
b) players who connect to your game via or PVPGN will still be connected via LAN (may have to go through router instead of switch though)

There isn't GProxy++ client that works on LAN though.

Try something like this for broadcasting GAMEINFO packet (in game_base.cpp):
Code: [Select]
uint32_t slotstotal = m_Slots.size( );
uint32_t slotsopen = GetSlotsOpen();
if (slotsopen<2) slotsopen = 2;
if(slotstotal > 12) slotstotal = 12;

// note: the PrivateGame flag is not set when broadcasting to LAN (as you might expect)
// note: we do not use m_Map->GetMapGameType because none of the filters are set when broadcasting to LAN (also as you might expect)

uint32_t MapGameType = MAPGAMETYPE_UNKNOWN0;
m_GHost->m_UDPSocket->Broadcast( 6112, m_Protocol->SEND_W3GS_GAMEINFO( m_GHost->m_TFT, m_GHost->m_LANWar3Version, UTIL_CreateByteArray( MapGameType, false ), m_Map->GetMapGameFlags( ), m_Map->GetMapWidth( ), m_Map->GetMapHeight( ), m_GameName, "Varlock", GetTime( ) - m_CreationTime, m_Map->GetMapPath( ), m_Map->GetMapCRC( ), slotstotal, slotsopen, m_HostPort, FixedHostCounter, m_EntryKey ) );

All things GHost++ / Re: I CANT JOIN! MY GAMES! RAWR!
« on: July 23, 2015, 09:35:27 am »
You need to use the gcb lanfix settings if you want to join your game via Garena.

All things GHost++ / Re: ghostone does not saved
« on: July 21, 2015, 02:51:08 pm »
!end prevents some stats from being saved. Final stats are sent at end of game. Also map needs to emit the DotA stat events (what map are you hosting?).

Pages: [1] 2 3 ... 38