Raised This Month: $51 Target: $400
 12% 

[L4D2] Zoom Level


Post New Thread Reply   
 
Thread Tools Display Modes
sonic155
Senior Member
Join Date: Mar 2019
Old 05-27-2021 , 05:51   Re: [L4D2] Zoom Level
Reply With Quote #11

Testing~~~~Tested
making video~~~Video is being uploaded~~Video is up~ https://youtu.be/EDf-MMV74Zc
=)
~~
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// l4d2_zoom_level.sp
//
// Code size: 5356 bytes
// Data size: 11260 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 33000 bytes
//
// Compilation Time: 0.11 sec
// ----------------------------------------

Press enter to exit ...

~~

when SP is compiled

~~~
when using the zoom ##s they dont match up to what is being typed in
showed by follow

~~
65 ~ 5
35 ~ 20
20 ~ 35
5 ~ 50
~~

Last edited by sonic155; 05-27-2021 at 06:24. Reason: Adding Video link
sonic155 is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 06-20-2021 , 00:29   Re: [L4D2] Zoom Level
Reply With Quote #12

plugin failed on my side got this info for ya
~~~
] meta list
Listing 7 plugins:
[01] L4DToolZ (1.0.0.9h-unknown) by Ivailosp
[02] SourceMod (1.10.0.6503) by AlliedModders LLC
[03] Stripper (1.2.2) by BAILOPAN
[04] DefibFix Extension (1.0.1) by V10, Accelerator
[05] DHooks (2.2.0-detours14a) by Dr!fter
[06] SDK Tools (1.10.0.6503) by AlliedModders LLC
[07] SDK Hooks (1.10.0.6503) by AlliedModders LLC
] sm exts list
[SM] Displaying 8 extensions:
[01] Automatic Updater (1.10.0.6503): Updates SourceMod gamedata files
[02] Webternet (1.10.0.6503): Extension for interacting with URLs
[03] Accelerator (2.5.0): SRCDS Crash Handler
[04] DefibFix Extension (1.0.1): Fixes defibrillator re-revive clone bug (on servers higher than 8 players)
[05] DHooks (2.2.0-detours14a): Dynamic Hooks
[06] BinTools (1.10.0.6503): Low-level C/C++ Calling API
[07] SDK Tools (1.10.0.6503): Source SDK Tools
[08] SDK Hooks (1.10.0.6503): Source SDK Hooks
] sm plugins list
[SM] Listing 1 plugin:
1 <Error> "[L4D2] Zoom Level" (0.0.0) by BHaType
Errors:
l4d2_zoom_level.smx ([L4D2] Zoom Level): Error detected in plugin startup (see error logs)
~~~
L 06/19/2021 - 21:26:16: SourceMod error session started
L 06/19/2021 - 21:26:16: Info (map "c1m1_hotel") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10619.log")
L 06/19/2021 - 21:26:16: [SM] Exception reported: Could not load the "CGetFov" gamedata signature.
L 06/19/2021 - 21:26:16: [SM] Blaming: l4d2_zoom_level.smx
L 06/19/2021 - 21:26:16: [SM] Call stack trace:
L 06/19/2021 - 21:26:16: [SM] [0] SetFailState
L 06/19/2021 - 21:26:16: [SM] [1] Line 49, C:\Users\BHaType\Desktop\l4d2_zoom_level.sp:: OnPluginStart
L 06/19/2021 - 21:26:16: [SM] Unable to load plugin "l4d2_zoom_level.smx": Error detected in plugin startup (see error logs)
~~~
hope this helps o.o
sonic155 is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 06-20-2021 , 01:53   Re: [L4D2] Zoom Level
Reply With Quote #13

Here you go:
PHP Code:
"CGetFov"
{
    
"library"    "server"
    "linux"        "@_ZN11CBasePlayer6GetFOVEv"
    "windows"    "\xE9\x7B\xD2\xFF\xFF"
    
/* E9 7B D2 FF FF */
}
"CGetDefaultFov"
{
    
"library"    "server"
    "linux"        "@_ZNK11CBasePlayer13GetDefaultFOVEv"
    "windows"     "\x8B\x81\x2A\x2A\x2A\x2A\x85\x2A\x75\x2A\x8B"
    
/* 8B 81 ? ? ? ? 85 ? 75 ? 8B */
    /* Courtesy of Crasher */

Just copy these over the same lines in the gamedata then save and the plugin should be working again.

Last edited by cravenge; 06-24-2021 at 03:59. Reason: Misread a byte for Windows
cravenge is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 06-20-2021 , 02:12   Re: [L4D2] Zoom Level
Reply With Quote #14

"Games"
{
"left4dead2"
{
"Signatures"
{
"CGetFov"
{
"library" "server"
"linux" "@_ZN11CBasePlayer6GetFOVEv"
"windows" "\xE9\x6B\xD8\xFF\xFF"
/* E9 78 D2 FF FF */
}

"CGetDefaultFov"
{
"library" "server"
"linux" "@_ZNK11CBasePlayer13GetDefaultFOVEv"
"windows" "\x8B\x81\x90\x1D\x00\x00"
/* 8B 81 70 1D 00 00 */
}
}
"Offsets"
{
"GetZoomLevel"
{
"windows" "451"
"linux" "453"
}
}
}
}



is what i have but i get this

L 06/19/2021 - 23:106: SourceMod error session started
L 06/19/2021 - 23:106: Info (map "c1m1_hotel") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10619.log")
L 06/19/2021 - 23:106: [SM] Exception reported: Could not load the "CGetFov" gamedata signature.
L 06/19/2021 - 23:106: [SM] Blaming: l4d2_zoom_level.smx
L 06/19/2021 - 23:106: [SM] Call stack trace:
L 06/19/2021 - 23:106: [SM] [0] SetFailState
L 06/19/2021 - 23:106: [SM] [1] Line 49, C:\Users\BHaType\Desktop\l4d2_zoom_level.sp:: OnPluginStart
L 06/19/2021 - 23:106: [SM] Unable to load plugin "l4d2_zoom_level.smx": Error detected in plugin startup (see error logs)
sonic155 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-20-2021 , 02:23   Re: [L4D2] Zoom Level
Reply With Quote #15

You only copied over the comments. You need to replace the actual content for the "windows" key, just like what cravenge posted.
__________________
Psyk0tik is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 06-20-2021 , 02:41   Re: [L4D2] Zoom Level
Reply With Quote #16

im gona stop e.e

~~
L 06/19/2021 - 239:29: [SM] Error parsing gameconfig file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\gamedata\l4d2_z oom_hack.txt":
L 06/19/2021 - 239:29: [SM] Error 6 on line 12, col 4: Section declared with unknown tokens
L 06/19/2021 - 239:29: [SM] Exception reported: Unable to open l4d2_zoom_hack: Section declared with unknown tokens
L 06/19/2021 - 239:29: [SM] Blaming: l4d2_zoom_level.smx
~~
before i break something x.x

"Games"
{
"left4dead2"
{
"Signatures"
{
"CGetFov"
{
"library" "server"
"linux" "@_ZN11CBasePlayer6GetFOVEv"
"windows" /* E9 6B D8 FF FF */
}

"CGetDefaultFov"
{
"library" "server"
"linux" "@_ZNK11CBasePlayer13GetDefaultFOVEv"
"windows" /* 8B 81 90 1D 00 00 */
}
}
"Offsets"
{
"GetZoomLevel"
{
"windows" "451"
"linux" "453"
}
}
}
}
sonic155 is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 06-20-2021 , 03:26   Re: [L4D2] Zoom Level
Reply With Quote #17

Quote:
Originally Posted by sonic155 View Post
[...]
Saved you the trouble of it. Sorry, I have a lot ongoing at the moment.
Attached Files
File Type: txt l4d2_zoom_hack.txt (527 Bytes, 61 views)

Last edited by cravenge; 06-24-2021 at 04:02. Reason: Gamedata fixed
cravenge is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 06-23-2021 , 13:30   Re: [L4D2] Zoom Level
Reply With Quote #18

Still fails even with the l4d2_zoom_hack.txt file
sonic155 is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 06-24-2021 , 02:24   Re: [L4D2] Zoom Level
Reply With Quote #19

Quote:
Originally Posted by sonic155 View Post
Still fails even with the l4d2_zoom_hack.txt file
Error log?
cravenge is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 06-24-2021 , 02:40   Re: [L4D2] Zoom Level
Reply With Quote #20

L 06/23/2021 - 2394: SourceMod error session started
L 06/23/2021 - 2394: Info (map "c1m1_hotel") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10623.log")
L 06/23/2021 - 2394: [SM] Unable to load extension "geoipcity.ext": Failed to open: C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\configs\geoip\G eoIPCity.dat
L 06/23/2021 - 2395: [SM] Exception reported: Could not load the "CGetFov" gamedata signature.
L 06/23/2021 - 2395: [SM] Blaming: l4d2_zoom_level.smx
L 06/23/2021 - 2395: [SM] Call stack trace:
L 06/23/2021 - 2395: [SM] [0] SetFailState
L 06/23/2021 - 2395: [SM] [1] Line 49, C:\Users\BHaType\Desktop\l4d2_zoom_level.sp:: OnPluginStart
L 06/23/2021 - 2395: [SM] Unable to load plugin "l4d2_zoom_level.smx": Error detected in plugin startup (see error logs)


~thats with the file from Cravenge~

Last edited by sonic155; 06-24-2021 at 02:40.
sonic155 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:55.


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