|
40 | 40 | "CTTeamScoreOffset" |
41 | 41 | { |
42 | 42 | "windows" "174" |
43 | | - "linux" "107" |
| 43 | + "linux" "142" |
44 | 44 | "linux64" "143" |
45 | 45 | "mac64" "148" |
46 | 46 | } |
47 | 47 | //Offset into CheckRestartRound |
48 | 48 | "TTeamScoreOffset" |
49 | 49 | { |
50 | 50 | "windows" "201" |
51 | | - "linux" "140" |
| 51 | + "linux" "169" |
52 | 52 | "linux64" "174" |
53 | 53 | "mac64" "177" |
54 | 54 | } |
55 | 55 | //Offset into HandleCommand_Buy_Internal |
56 | 56 | "CCSPlayerInventoryOffset" |
57 | 57 | { |
58 | 58 | "windows" "57" |
59 | | - "linux" "97" |
| 59 | + "linux" "90" |
60 | 60 | "linux64" "107" |
61 | 61 | "mac64" "73" |
62 | 62 | } |
|
108 | 108 | { |
109 | 109 | "library" "server" |
110 | 110 | "windows" "\x55\x8B\xEC\x83\xEC\x0C\x53\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01" |
111 | | - "linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x3C\xA1\x2A\x2A\x2A\x2A\x8B\x5D\x08\x89\x04\x24" |
| 111 | + "linux" "\x55\x89\xE5\x56\x53\x83\xEC\x1C\x8B\x5D\x08\xFF\x35\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x10\x84\xC0\x0F\x85\x2A\x2A\x2A\x2A\x8B\x13" |
112 | 112 | "linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x18\x4C\x8B\x25\x85\x17\xB4\x00" |
113 | 113 | "mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x54\x53\x48\x83\xEC\x10\x49\x89\xFC\x4C\x8D\x3D\xD7\xB9\x90\x00" |
114 | 114 | } |
115 | 115 | "SwitchTeam" |
116 | 116 | { |
117 | 117 | "library" "server" |
118 | 118 | "windows" "\x55\x8B\xEC\x83\xEC\x10\x53\x56\x8B\x75\x08\x57\x8B\xF9\x85\xF6\x0F\x88\x2A\x2A\x2A\x2A\x3B\x35" |
119 | | - "linux" "\x55\x89\xE5\x83\xEC\x68\x89\x75\xF8\x8B\x75\x0C\x89\x5D\xF4\x8B\x5D\x08\x89\x7D\xFC\x89\x34\x24\xE8\x2A\x2A\x2A\x2A\x85\xC0" |
| 119 | + "linux" "\x55\x89\xE5\x56\x53\x83\xEC\x2C\x8B\x5D\x2A\x8B\x75\x2A\x53" |
120 | 120 | "linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x49\x89\xFC\x89\xF7\x53\x89\xF3" |
121 | 121 | "mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x83\xEC\x18\x89\xF3\x49\x89\xFC" |
122 | 122 | } |
123 | 123 | "HandleCommand_Buy_Internal"//Wildcard first 6 bytes for getting address for weapon price. |
124 | 124 | { |
125 | 125 | "library" "server" |
126 | 126 | "windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x53\x56\x57\x6A\x01\x8B\xF9" |
127 | | - "linux" "\x2A\x2A\x2A\x2A\x2A\x2A\x0F\xB6\x55\x14\x89\x75\xF8\x8B\x75\x08" |
| 127 | + "linux" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x54\x8B\x5D\x2A\x6A\x01\x8B\x7D\x2A\x8B" |
128 | 128 | "linux64" "\x2A\x2A\x2A\x2A\x2A\x2A\x41\x56\x41\x89\xCE\x41\x55\x49\x89\xD5\x41\x54\x41\x89\xF4" |
129 | 129 | "mac64" "\x2A\x2A\x2A\x2A\x2A\x2A\x41\x56\x41\x55\x41\x54\x53\x48\x83\xEC\x58\x41\x89\xCF\x49\x89\xD4" |
130 | 130 | } |
131 | 131 | "CSWeaponDropBB" //Revert back to using CSWeaponDrop(weapon, bool, bool) |
132 | 132 | { |
133 | 133 | "library" "server" |
134 | 134 | "windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xE4\xF8\x83\xC4\x04\x55\x8B\x6B\x04\x89\x6C\x24\x04\x8B\xEC\x83\xEC\x34\x56" |
135 | | - "linux" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x7C\x8B\x5D\x08\x0F\xB6\x7D\x10" |
| 135 | + "linux" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x48\x8B\x5D\x2A\x8B\x7D\x2A\x8B\x75" |
136 | 136 | "linux64" "\x2A\x2A\x2A\x2A\x2A\x2A\x41\x89\xCE\x41\x55\x41\x89\xD5\x41\x54\x49\x89\xF4" |
137 | 137 | "mac64" "\x2A\x2A\x2A\x2A\x2A\x2A\x41\x56\x41\x54\x53\x48\x83\xEC\x30\x41\x89\xCC\x41\x89\xD7" |
138 | 138 | } |
139 | 139 | "TerminateRound" |
140 | 140 | { |
141 | 141 | "library" "server" |
142 | 142 | "windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x6C\x53\x56\x8B\xF1\xF3\x0F\x11\x4C\x24\x24" |
143 | | - "linux" "\x55\x89\xE5\x57\x56\x53\x81\xEC\xBC\x00\x00\x00\x8B\x75\x08\x8B\x9E\xBC\x0B\x00\x00" |
| 143 | + "linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x6C\x8B\x7D\x08\x8B\x87" |
144 | 144 | //"linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x49\x89\xFE\x41\x55\x41\x54\x53\x48\x81\xEC\x98\x00\x00\x00\x89\xB5\x68\xFF\xFF\xFF" |
145 | 145 | "mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x08\x01\x00\x00\x41\x89\xF6" |
146 | 146 | } |
|
149 | 149 | { |
150 | 150 | "library" "server" |
151 | 151 | "windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x2A\x53\x8B\xD9\x8B\x0D\x2A\x2A\x2A\x2A\x56\x57\x81\xF9" |
152 | | - "linux" "\x55\x89\xE5\x56\x53\x83\xEC\x70\xA1\x2A\x2A\x2A\x2A\x8B\x5D\x08" |
| 152 | + "linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x5C\x8B\x5D\x08\x65\xA1\x14\x00\x00\x00\x89\x45\xE4\x31\xC0\xA1\x2A\x2A\x2A\x2A" |
153 | 153 | "linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x58\x64\x48\x8B\x04\x25\x28\x00\x00\x00\x48\x89\x45\xC8\x31\xC0\x4C\x8B\x2D\x46\xD3\xBB\x00" |
154 | 154 | "mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x83\xEC\x58\x49\x89\xFD\x48\x8B\x1D\x85\x76\x60\x00" |
155 | 155 | } |
156 | 156 | "SetModelFromClass" |
157 | 157 | { |
158 | 158 | "library" "server" |
159 | 159 | "windows" "\x53\x56\x57\x8B\xF9\x8B\x87\x14\x03\x00\x00" |
160 | | - "linux" "\x55\x89\xE5\x83\xEC\x28\x89\x5D\xF4\x8B\x5D\x08\x89\x75\xF8\x89\x7D\xFC\x89\x1C\x24\xE8\x2A\x2A\x2A\x2A\x83\xF8\x02" |
| 160 | + "linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x18\x8B\x5D\x08\x53\xE8\x2A\x2A\x2A\x2A\x83\xC4\x10\x83\xF8\x02" |
161 | 161 | "linux64" "\x55\x48\x89\xE5\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x18\xE8\x2A\x2A\x2A\x2A\x83\xF8\x02" |
162 | 162 | "mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x54\x53\x49\x89\xFC\xE8\x2A\x2A\x2A\x2A\x83\xF8\x02" |
163 | 163 | } |
|
167 | 167 | { |
168 | 168 | "library" "server" |
169 | 169 | "windows" "\x85\xC9\x75\x2A\x33\xC0\xC3\xE8\x2A\x2A\x2A\x2A\x8B" |
170 | | - "linux" "\x55\x89\xE5\x83\xEC\x18\x8B\x45\x08\x85\xC0\x74\x2A\x89\x04\x24" |
| 170 | + "linux" "\x55\x89\xE5\x83\xEC\x08\x8B\x45\x2A\x85\xC0\x74\x2A\x83\xEC\x0C\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x10\x89\x45" |
171 | 171 | "linux64" "\x48\x85\xFF\x74\x2A\x55\x48\x89\xE5\xE8\x2A\x2A\x2A\x2A\x5D\x48\x89\xC7" |
172 | 172 | "mac64" "\x55\x48\x89\xE5\x41\x56\x53\x31\xC0\x48\x85\xFF\x74\x2A\xE8\x2A\x2A\x2A\x2A\x48" |
173 | 173 | } |
|
236 | 236 | // The respective function underneath each are SetClanTag and SetClanName. |
237 | 237 | // To get the offset of the base (m_flGroundAccelLinearFracLastTime) unqiue string is "------- accelspeed = %f, flGoalSpeed = %f, flStoredAccel = %f\n" |
238 | 238 | // Inside that function right above the debug message is an if with a call to CBaseEntity::NetworkStateChanged and a member set with the same offset. |
239 | | - // Do math. |
| 239 | + // Do math. |
240 | 240 | // Note: Second offset can be skipped by simply dumping the netprops instead on each os although the distance will probably be the same on all. |
241 | 241 |
|
242 | 242 | "#default" |
|
298 | 298 | // "[NET] Cannot send %d-byte packet to %s. MTU is %u. %02x %02x %02x %02x %02x\n" |
299 | 299 | "windows" "\x8B\xFA\x81\xFB\xB0\x04\x00\x00\x7E" |
300 | 300 | // _Z14NET_SendPacketP11INetChanneliRK10ns_addressPKhiP8bf_writebj |
301 | | - "linux" "\x8B\x75\x10\x81\xFF\xB0\x04\x00\x00\x7F" |
| 301 | + "linux" "\x31\xC0\x81\x7D\x2A\xB0\x04\x00\x00" |
302 | 302 | "linux64" "\x31\xC0\x81\xF9\xB0\x04\x00\x00\x0F" |
303 | 303 | } |
304 | 304 | } |
|
0 commit comments