Recent Posts

Pages: 1 ... 8 9 [10]
91
All things GHost++ / Re: How to compile debug mode on Ubuntu
« Last post by 69 on October 20, 2015, 01:35:52 am »
im already add map_type = dota in map config
Code: [Select]
################################################
# Map File For DotA (The Name Of Map DotA.w3x) #
################################################

map_path = Maps\DotA v6.83d.w3x

map_visibility = 4

map_observers = 1

map_flags = 3

map_gametype = 1

map_loadingame = 1

map_type = dota

map_matchmakingcategory = dota_elo

map_statsw3mmdcategory = dota_elo

map_localpath = DotA v6.83d.w3x

Code: [Select]
void CGame :: SaveGameData( )
{
if (m_Map->GetMapType() == "dota")
{
CONSOLE_Print("[GAME: " + m_GameName + "] saving game data to database");
m_CallableGameAdd = m_GHost->m_DB->ThreadedGameAdd(m_GHost->m_BNETs.size() == 1 ? m_GHost->m_BNETs[0]->GetServer() : string(), m_DBGame->GetMap(), m_GameName, m_OwnerName, m_GameTicks / 1000, m_GameState, m_CreatorName, m_CreatorServer);
}
else
CONSOLE_Print("[GAME: " + m_GameName + "] unable to save game data to database");
}
92
All things GHost++ / Re: How to compile debug mode on Ubuntu
« Last post by Grief-Code on October 20, 2015, 01:29:30 am »
0x000000000044fa4f in GetMapType (this=<optimized out>) at map.h:150
#2  CGame::SaveGameData (this=0x7fffec1f3d10) at game.cpp:1629

Didnt u define the maptype in your config?
93
All things GHost++ / Re: How to compile debug mode on Ubuntu
« Last post by 69 on October 20, 2015, 01:23:14 am »
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6145418 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) backtrace
#0  0x00007ffff6145418 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x000000000044fa4f in GetMapType (this=<optimized out>) at map.h:150
#2  CGame::SaveGameData (this=0x7fffec1f3d10) at game.cpp:1629
#3  0x00000000004973e1 in CBaseGame::Update (this=this@entry=0x7fffec1f3d10, fd=fd@entry=0x7fffffffddb0, send_fd=send_fd@entry=0x7fffffffde30) at game_base.cpp:944
#4  0x000000000045207e in CGame::Update (this=0x7fffec1f3d10, fd=0x7fffffffddb0, send_fd=0x7fffffffde30) at game.cpp:315
#5  0x00000000004b3e0c in CGHost::Update (this=0x8450d0, usecBlock=43000, usecBlock@entry=50000) at ghost.cpp:972
#6  0x0000000000410179 in main (argc=<optimized out>, argv=<optimized out>) at ghost.cpp:358
94
All things GHost++ / Re: How to compile debug mode on Ubuntu
« Last post by Grief-Code on October 20, 2015, 01:22:34 am »
Type aftwr the crash 'backtrace' forgot to tell. :P
95
All things GHost++ / Re: How to compile debug mode on Ubuntu
« Last post by 69 on October 20, 2015, 01:01:46 am »
thx grief,
i got this debug

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6145418 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) backtrace
#0  0x00007ffff6145418 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x000000000044fa4f in GetMapType (this=<optimized out>) at map.h:150
#2  CGame::SaveGameData (this=0x7fffec1f3d10) at game.cpp:1629
#3  0x00000000004973e1 in CBaseGame::Update (this=this@entry=0x7fffec1f3d10, fd=fd@entry=0x7fffffffddb0, send_fd=send_fd@entry=0x7fffffffde30) at game_base.cpp:944
#4  0x000000000045207e in CGame::Update (this=0x7fffec1f3d10, fd=0x7fffffffddb0, send_fd=0x7fffffffde30) at game.cpp:315
#5  0x00000000004b3e0c in CGHost::Update (this=0x8450d0, usecBlock=43000, usecBlock@entry=50000) at ghost.cpp:972
#6  0x0000000000410179 in main (argc=<optimized out>, argv=<optimized out>) at ghost.cpp:358

Code: [Select]
[STATSDOTA: APSO KISKIS] detected winner: Scourge
[GAME: APSO KISKIS] gameover timer started (stats class reported game over)
[GAME: APSO KISKIS] [Local]: This Game is Hosted by GoGamers (www.gogamers.co.id).
[GAME: APSO WE ARE KLASIK !!] (37:32) [All] [thunderaye]: sabar
[GAME: APSO KISKIS] deleting player [gogs-[fr0st]~]: has left the game voluntarily
[GAME: APSO KISKIS] [Local]: gogs-[fr0st]~ has left the game voluntarily.
[GAME: APSO KISKIS] deleting player [ALTERBRIDGE]: has left the game voluntarily
[GAME: APSO KISKIS] [Local]: ALTERBRIDGE has left the game voluntarily.
[GAME: APSO WE ARE KLASIK !!] (37:34) [All] [thunderaye]: set
[GAME: APSO KISKIS] deleting player [[Queen]Balqis]: has left the game voluntarily
[GAME: APSO KISKIS] [Local]: [Queen]Balqis has left the game voluntarily.
[GAME: APSO KISKIS] [Local]: Game unlocked. All admins can run game commands.
[GAME: APSO KISKIS] deleting player [ZhikO]: has left the game voluntarily
[GAME: APSO KISKIS] [Local]: ZhikO has left the game voluntarily.
[GAME: APSO KISKIS] deleting player [PUDAN10]: has left the game voluntarily
[GAME: APSO KISKIS] [Local]: PUDAN10 has left the game voluntarily.
[GAME: APSO KISKIS] deleting player [kuda_tempur]: has left the game voluntarily
[GAME: APSO KISKIS] [Local]: kuda_tempur has left the game voluntarily.
[GAME: APSO WE ARE KLASIK !!] (37:36) [All] [thunderaye]: set
[GAME: APSO KISKIS] deleting player [apop_jsh]: has left the game voluntarily
[GAME: APSO KISKIS] [Local]: apop_jsh has left the game voluntarily.
[GAME: APSO WE ARE KLASIK !!] admin [TMNT-LEONARDO] sent command [synclimit] with payload [500]
[GAME: APSO WE ARE KLASIK !!] [Local]: Setting sync limit to 500 packets.
[GAME: APSO KISKIS] deleting player [eechoo]: has left the game voluntarily
[GAME: APSO KISKIS] [Local]: eechoo has left the game voluntarily.
[GAME: APSO KISKIS] deleting player [chama_psk]: has left the game voluntarily
[GAME: APSO KISKIS] [Local]: chama_psk has left the game voluntarily.
[GAME: APSO KISKIS] deleting player [Ferouk]: has left the game voluntarily
[GAME: APSO KISKIS] [Local]: Ferouk has left the game voluntarily.
[GAME: APSO KISKIS] is over (no players left)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6145418 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

Could Someone help me , how to fix that..
96
All things GHost++ / Re: How to compile debug mode on Ubuntu
« Last post by Grief-Code on October 19, 2015, 03:34:34 pm »
Add -g in your makefile to 'OFLAGS'
Use make clean and fully recompile.
Install gdb (apt-get installiert gdb)

Run it like this:
gdb
file ghost++
run

From your ghost folder where u normally host it.
97
All things GHost++ / How to compile debug mode on Ubuntu
« Last post by 69 on October 19, 2015, 08:52:53 am »
hi, how can i compile ghost++ on debug mode,
bcoz i have a problem
my bot crash everytime finish the game matchmaking

and the error only

Code: [Select]
[GAME: [0-9999] APSO FAST FULL START] is over (no players left)
Segmentation fault

i dont understand what make that error
98
gcb / possible to use wtfast?
« Last post by kingsamurie on October 16, 2015, 06:14:16 pm »
>.> tried it didnt work however, i would want it to work..
99
gcb / Re: Integration gcb_bot_min_level and Ghost++ ????
« Last post by Artyom91 on October 15, 2015, 10:43:47 am »
I use Ohsystem. I do not know a programming language, you can help?
100
gcb / Re: Integration gcb_bot_min_level and Ghost++ ????
« Last post by uakf.b on October 14, 2015, 04:52:23 pm »
I think you would just add a check in GHost++ to bound the CIncomingGarenaUser's GetUserExp.
Pages: 1 ... 8 9 [10]