Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Используя этот сайт, вы соглашаетесь Условия использования.
Please Don't Banned Me Just Asking
I used aiw old leak files so I can play in Lan but I want to add the sliding text from iw4m to the lan project
This One:
// ========================================================== // IW4M project // // Component: clientdll // Sub-component: steam_api // Purpose: support code for the main menu news ticker // // Initial author: NTAuthority // Started: 2012-04-19 // ========================================================== #include "StdInc.h" CallHook newsTickerGetTextHook; DWORD newsTickerGetTextHookLoc = 0x6388C1; char* Auth_GetUsername(); char ticker[1024]; const char* NewsTicker_GetText(const char* garbage) { if (!ticker[0]) { strcpy(ticker, va("Welcome to IW4M multiplayer, %s!", Auth_GetUsername())); } return ticker; } void PatchMW2_NewsTicker() { // hook for getting the news ticker string *(WORD*)0x6388BB = 0x9090; // skip the "if (item->text[0] == '@')" localize check // replace the localize function newsTickerGetTextHook.initialize(newsTickerGetTextHookLoc, NewsTicker_GetText); newsTickerGetTextHook.installHook(); // make newsfeed (ticker) menu items not cut off based on safe area memset((void*)0x63892D, 0x90, 5); }