Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Опубликовано:

Revision 19

 

  • complete dvar_t struct ^^
    reorganised function definitions, cleaner now?
    added more Dvar_Register functions! typedef fun!
    cg_fov and upnp_maxAttempts now saves to the config (DVAR_FLAG_ARCHIVE'd em)
    fix for some stat fuckups
    /actual/ temporary fix for 'Steam must be running' error; the problem is due to a libnp bug (<3 lmaobox for isolating)
    dedicated server userinfo blocking (preventing name spoofers)

 

Changes:

 

 

Committed by pigophone on 2012-04-13 - 16:08:33

Featured Replies

Опубликовано:
Can you add cg_drawFPS to config please. It would be awesome.

I don't see why not, as these things are a 1 liner ;p

Опубликовано:

Hi can you help me?

 

My Create a Class isn't working, also I can't change titles/emblems.

 

createaclass.jpg

 

I tried changing weapons and stuff but nothing happens and in game it doesn't show the custom classes, only the grenadier, etc.

 

I had completely clean download of Modern Warfare 2. I deleted the game when AIW closed and now installed it again from Steam to play FDO.

Опубликовано:
Hi can you help me?

 

My Create a Class isn't working, also I can't change titles/emblems.

 

createaclass.jpg

 

I tried changing weapons and stuff but nothing happens and in game it doesn't show the custom classes, only the grenadier, etc.

 

I had completely clean download of Modern Warfare 2. I deleted the game when AIW closed and now installed it again from Steam to play FDO.

I recorded a video and inputted the error code on a new thread.

Опубликовано:
Dvar type 9 is a vec3 btw. Also another flag, 0x1200, dvars with this flag cant be changed through console, "DVAR_FLAG_NOCHANGE" ? :P

 

edit: ah yeh NTA, just posted what i saw from IDA lol

Input initial flag combination: 4608
UNKNOWN200, UNKNOWN1000

I'll check up on those two later on.

 

I don't see how I would have messed up the types, as that would then break my AdminPlugin from the old dediclient, and I had multiple tests for those, which all worked...

Опубликовано:
Dvar type 9 is a vec3 btw. Also another flag, 0x1200, dvars with this flag cant be changed through console, "DVAR_FLAG_NOCHANGE" ? :P

 

edit: ah yeh NTA, just posted what i saw from IDA lol

Input initial flag combination: 4608
UNKNOWN200, UNKNOWN1000

I'll check up on those two later on.

 

I don't see how I would have messed up the types, as that would then break my AdminPlugin from the old dediclient, and I had multiple tests for those, which all worked...

 

hmm according to this game func ... in your adminplugin are you sure you tested type 9 ?, all rest of your struct is correct anyway it seems

 

int __cdecl sub_4C4180(int a1, float a2, float a3, float a4, float a5)
{
 int result; // eax@2

 switch ( *(_BYTE *)(a1 + 12) )
 {
   case 0:
     result = (int)"1";
     if ( !LOBYTE(a2) )
       result = (int)"0";
     break;
   case 5:
     result = sub_4785B0("%i", LODWORD(a2));
     break;
   case 1:
     result = sub_4785B0("%g", a2);
     break;
   case 2:
     result = sub_4785B0("%g %g", a2, a3);
     break;
   case 3:
   case 9:
     result = sub_4785B0("%g %g %g", a2, a3, a4);
     break;
   case 4:
     result = sub_4785B0("%g %g %g %g", a2, a3, a4, a5);
     break;
   case 8:
     result = sub_4785B0(
                "%g %g %g %g",
                0.003921568859368563 * (double)LOBYTE(a2),
                (double)BYTE1(a2) * 0.003921568859368563,
                (double)BYTE2(a2) * 0.003921568859368563,
                (double)BYTE3(a2) * 0.003921568859368563);
     break;
   case 6:
     if ( !*(_DWORD *)(a1 + 64) )
       goto LABEL_13;
     result = *(_DWORD *)(*(_DWORD *)(a1 + 68) + 4 * LODWORD(a2));
     break;
   case 7:
     result = sub_4785B0("%s", LODWORD(a2));
     break;
   default:
LABEL_13:
     result = (int)byte_6FAC0D;
     break;
 }
 return result;
}

Опубликовано:
Dvar type 9 is a vec3 btw. Also another flag, 0x1200, dvars with this flag cant be changed through console, "DVAR_FLAG_NOCHANGE" ? :P

 

edit: ah yeh NTA, just posted what i saw from IDA lol

Input initial flag combination: 4608
UNKNOWN200, UNKNOWN1000

I'll check up on those two later on.

 

I don't see how I would have messed up the types, as that would then break my AdminPlugin from the old dediclient, and I had multiple tests for those, which all worked...

hmm according to this game func ... in your adminplugin are you sure you tested type 9 ?, all rest of your struct is correct anyway it seems

981632.png

9ada76.png

Type 3.

 

All the type-specific functions in AdminPlugin for the Dvar class always checked to see if the type was correct, and would throw errors if it failed, so I would know ;p

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.