AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Change variable value! (https://forums.alliedmods.net/showthread.php?t=223217)

kiki33hun 08-11-2013 04:04

Change variable value!
 
Posibble change variable values with orpheu? This function:

Code:
void __usercall SVC_RuleInfo(int a1<ebp>) {   int v1; // eax@3   __int16 v2; // bx@3   int v3; // edx@4   int v4; // ecx@4   int v5; // ebx@4   char v6; // [sp+20h] [bp-202Ch]@1   int v7; // [sp+2020h] [bp-2Ch]@1   __int16 v8; // [sp+2024h] [bp-28h]@1   const void *v9; // [sp+2028h] [bp-24h]@1   int v10; // [sp+202Ch] [bp-20h]@1   unsigned int v11; // [sp+2030h] [bp-1Ch]@1   v7 = (int)"SVC_RuleInfo";   v10 = 8192;   v11 = 0;   v8 = 1;   v9 = &v6;   if ( *(_DWORD *)sv )   {     if ( *(_DWORD *)&svs[8] > 1 )     {       v1 = Cvar_CountServerVariables();       v2 = v1;       if ( v1 > 0 )       {         MSG_WriteLong(&v7, -1);         MSG_WriteByte((int)&v7, 69);         MSG_WriteShort((int)&v7, v2);         v5 = cvar_vars;         if ( !cvar_vars )         { LABEL_12:           NET_SendPacket(             v4,             v3,             a1,             1,             v11,             v9,             net_from,             *(&net_from + 1),             *(&net_from + 2),             *(&net_from + 3),             *(&net_from + 4));           return;         }         while ( 1 )         {           if ( *(_BYTE *)(v5 + 8) & 4 )           {             MSG_WriteString((int)&v7, *(_DWORD *)v5);             if ( !(*(_BYTE *)(v5 + 8) & 0x20) )             {               MSG_WriteString((int)&v7, *(_DWORD *)(v5 + 4));               goto LABEL_6;             }             if ( Q_strlen(*(_DWORD *)(v5 + 4)) > 0 && Q_stricmp(*(const char **)(v5 + 4), "none") )             {               MSG_WriteString((int)&v7, (int)&::a1[1]);               goto LABEL_6;             }             MSG_WriteString((int)&v7, (int)&a9000[5]);             v5 = *(_DWORD *)(v5 + 16);             if ( !v5 )               goto LABEL_12;           }           else           { LABEL_6:             v5 = *(_DWORD *)(v5 + 16);             if ( !v5 )               goto LABEL_12;           }         }       }     }   } }


All times are GMT -4. The time now is 15:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.