• Я зарабатываю 100 000 RUB / месяц на этом сайте!

    А знаешь как? Я всего-лишь публикую (создаю темы), а админ мне платит. Трачу деньги на мороженое, робуксы и сервера в Minecraft. А ещё на паль из Китая. 

    Хочешь так же? Пиши и узнавай условия: https://t.me/alex_redact
    Реклама: https://t.me/yougame_official

Вопрос I wanna understand what is the C_DOTAGamerules ?

Начинающий
Начинающий
Статус
Оффлайн
Регистрация
11 Фев 2023
Сообщения
126
Реакции
3
hey guys i wanna understand what is C_DOTAGamerules and how can i get it and is it the class the handles the game data such as ( m_nHeroPickState , m_iGameMode, m_hGameModeEntity ,m_iCreepUpgradeState , m_fGoodGlyphCooldown , m_fBadGlyphCooldown )
etc.... ??
 
hey guys i wanna understand what is C_DOTAGamerules and how can i get it and is it the class the handles the game data such as ( m_nHeroPickState , m_iGameMode, m_hGameModeEntity ,m_iCreepUpgradeState , m_fGoodGlyphCooldown , m_fBadGlyphCooldown )
etc.... ??
it's a structure that defines... the game's rules... such as the gamemode(all pick turbo ability draft etc), gamestate(hero selection, pregame, ingame), and all kinds of other settings. you can get it by checking xrefs to _g_pGameRules in client.dylib and then correlating that with client.dll, or by extracting it from C_DOTAGamerulesProxy which is an entity with m_designerName: dota_gamerules
 
what if i wanna extract the ready game id before accepting to the game it might not be through the C_DOTAGamerules OR C_DOTAGamerulesProxy but i wanna get the game id and the game players ids etc .....

how can i do that ?
 
Последнее редактирование:
what if i wanna extract the ready game id before accepting to the game it might not be through the C_DOTAGamerules OR C_DOTAGamerulesProxy but i wanna get the game id and the game players ids etc .....

how can i do that ?
earlier it could be done with protobufs but not via netchan but rather via gamecoordinator(netchan is in-match communication, gamecoordinator is out-of-match communication(such as finding matches, inventory, etc.))(they send you a lobby(CSODOTAStaticLobby or CSODOTALobby or something? don't remember) but it's currently mostly empty, used to be full of data). but they partially fixed it(they don't send that data anymore, at least normally), it's not possible anymore through naive, obvious means(or at least wasn't, last time I checked) - you'll have to explore on your own
 
Последнее редактирование:
what can i get with the game coordinator now ?
like start finding match and accept match ?
 
so overall can be used for doing CMSG things right ?
u can find the command of pick whatever hero u want even if u are on a new play account
etc ... ?
 
so overall can be used for doing CMSG things right ?
u can find the command of pick whatever hero u want even if u are on a new play account
etc ... ?
1) hero selection is in-match communication, unrelated to gamecoordinator(basically gamecoordinator = dashboard only)
2) hero selection actually happens via input commands(something like console commands, but they get sent to the server instead of actually getting executed in the console. "dota_select_hero npc_dota_hero_antimage" for example is one such "fake console command" - if you type it into the console, it will get sent to the server(all commands, all the shit you type into the console gets sent to the server by default, unless it's an actual console command registered as such on the client)), no protobufs
 
Назад
Сверху Снизу