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

[L4D & L4D2] Mission and Weapons - Info Editor (1.25) [25-Oct-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 12-06-2019 , 15:56   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #41

when you start the server from the lobby, the server console receives this announcement

/srcds_run:line 312: 21510 Segment violation $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Server restart in 10 seconds
BlackSabbarh is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-11-2019 , 06:56   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #42

Quote:
Originally Posted by BlackSabbarh View Post
when you start the server from the lobby, the server console receives this announcement

/srcds_run:line 312: 21510 Segment violation $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Server restart in 10 seconds
I can only assume you have bad adjustments in the config(s). No one else has reported this since and the plugins been used for a while now.
__________________
Silvers is offline
mathilde
Member
Join Date: Jan 2020
Location: samedi et dimanche
Old 01-16-2020 , 04:22   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #43

Hi silvers.

1. Can I just use/copy-paste l4d_info_editor_mission.cfg without the weapons config? I just want the boomettes & varying tanks

2. "no_female_boomers" is set to "0". Is that enabled?
2.1 It says no audio support. Does she already have audio in most missions?
2.2 Is boomette enabled in every game mode?

3. I play mostly realism. Can I add:
"modes/realism/1/TankVariant"
"modes/realism/2/TankVariant"
(etc.)

4. Which set of survivors should be used. 1=L4D1, 2=L4D2 ("survivor_set" is set to "1")
Does it mean you L4D1 survivor set will only show? Should it be "both"?

Thanks a lot!

Last edited by mathilde; 01-16-2020 at 04:29.
mathilde is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-16-2020 , 16:05   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #44

Quote:
Originally Posted by mathilde View Post
1. Can I just use/copy-paste l4d_info_editor_mission.cfg without the weapons config? I just want the boomettes & varying tanks
Yes, plugin works without requiring either config to be present.

Quote:
Originally Posted by mathilde View Post
2. "no_female_boomers" is set to "0". Is that enabled?
2.1 It says no audio support. Does she already have audio in most missions?
2.2 Is boomette enabled in every game mode?
"0" enables female boomer. I don't know about the audio stuff, I guess another plugin would need to cache the audio files or something. Every gamemode sure, if she's been enabled, don't see why the mode would make a difference.

Quote:
Originally Posted by mathilde View Post
3. I play mostly realism. Can I add:
"modes/realism/1/TankVariant"
"modes/realism/2/TankVariant"
(etc.)
Probably, please try and let me know. The game might use "coop" for realism too I don't know.

Quote:
Originally Posted by mathilde View Post
4. Which set of survivors should be used. 1=L4D1, 2=L4D2 ("survivor_set" is set to "1")
Does it mean you L4D1 survivor set will only show? Should it be "both"?
This is the default set of survivors which spawn in-game, setting "1" would spawn the L4D1 survivors instead of a maps default L4D2 survivors. Can't remember how it works anymore and might require additional plugins to work correctly.
__________________
Silvers is offline
mathilde
Member
Join Date: Jan 2020
Location: samedi et dimanche
Old 01-17-2020 , 01:46   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #45

Quote:
This is the default set of survivors which spawn in-game, setting "1" would spawn the L4D1 survivors instead of a maps default L4D2 survivors. Can't remember how it works anymore and might require additional plugins to work correctly.
"Works but shows incorrect names above head. Use Lux's Character Manager"
Can L4D 1 & 2 survivors randomize/intermingle in-game with each other?(character manager plugin)
i.e. Bill, Rochelle, Ellis, Coach/ Zoey, Nick, Louis, Francis, so on, so forth
mathilde is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-31-2020 , 09:44   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #46

Can this plugin modify resource translations, like: "\left4dead\resource\left4dead_russian.tx t" ?

Or can such feature be requested?

I tried edit it on server, but such file is not applied to client.
I don't think it is client sided only, since long time ago I noticed similar phrases replacement when I joined someonce's server.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-31-2020 , 12:44   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #47

Quote:
Originally Posted by Dragokas View Post
Can this plugin modify resource translations, like: "\left4dead\resource\left4dead_russian.tx t" ?
No.

Quote:
Originally Posted by Dragokas View Post
Or can such feature be requested?

I tried edit it on server, but such file is not applied to client.
I don't think it is client sided only, since long time ago I noticed similar phrases replacement when I joined someonce's server.
As another plugin, but if you already modified the files and the modification is not sent then that seems suspicious and the method cannot work. If you're sure it works, they might of used another method to transmit changes, e.g. hooking where the message is sent and modifying that way. But as far as I know messages are sent like "#Cstrike_TitlesTXT_Game_disconnected" and that string is matched and replaced with the clients string for that message in their language. So I don't see how it could work.
__________________
Silvers is offline
Momodo303
Junior Member
Join Date: Jul 2017
Old 02-06-2020 , 16:15   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #48

L 02/07/2020 - 07:44:08: [SM] Exception reported: Failed to find "CTerrorGameRules::GetMissionInfo" signature.
L 02/07/2020 - 07:44:08: [SM] Blaming: l4d_info_editor.smx
L 02/07/2020 - 07:44:08: [SM] Call stack trace:
L 02/07/2020 - 07:44:08: [SM] [0] SetFailState
L 02/07/2020 - 07:44:08: [SM] [1] Line 211, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_info_editor.sp::OnPluginStart
L 02/07/2020 - 07:44:08: [SM] Unable to load plugin "l4d_info_editor.smx": Error detected in plugin startup (see error logs)
Momodo303 is offline
Vit_amin
Senior Member
Join Date: Dec 2015
Location: Russian Federation
Old 02-06-2020 , 16:31   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #49

Why doesn't read cs weapon ?
PHP Code:
public void OnPluginStart()
{
    
GameData hGameData LoadGameConfigFile("l4d2_gamedata");
    if (
hGameData == null)
    {
        
delete hGameData;
        
SetFailState("Failed to load 'l4d2_gamedata.txt' gamedata");
    }
    
    
// ======================================================================================
    // Weapon Info
    // ======================================================================================
    
Handle hDetour DHookCreateFromConf(hGameData"CTerrorWeaponInfo::Parse");
    if (
hDetour == null)
    {
        
delete hGameData;
        
SetFailState("Error finding the 'CTerrorWeaponInfo::Parse' function.");
    }
    
    
// ======================================================================================
    
if (!DHookEnableDetour(hDetourfalseDHookCallback_GetWeaponInfo))
    {
        
delete hGameData;
        
SetFailState("Failed to detour 'CTerrorWeaponInfo::Parse'.");
    }
    
    
// ======================================================================================
    
SetCommandFlags("weapon_reparse_server"GetCommandFlags("weapon_reparse_server") & ~FCVAR_CHEAT);
    
AddCommandListener(CommandListener_Callback"weapon_reparse_server");
    
    
ServerCommand("weapon_reparse_server");
}

// ======================================================================================

public Action CommandListener_Callback(int iClient, const char[] szCommandint iArgs)
{
    if (
iClient == 0)
    {
        return 
Plugin_Continue;
    }
    
    return 
Plugin_Handled;
}

// ======================================================================================

public MRESReturn DHookCallback_GetWeaponInfo(Handle hReturnHandle hParams)
{
    
WeaponInfoFunction(hParams);
    
    return 
MRES_Ignored;
}

void WeaponInfoFunction(Handle hParams)
{
    
// Weapon name
    
char szClassname[32];
    
DHookGetParamString(hParams2szClassnamesizeof szClassname);
    
    
PrintToServer("szClassname: %s"szClassname);

Console Output:
Code:
szClassname: weapon_melee
szClassname: weapon_tank_claw
szClassname: weapon_smg
szClassname: weapon_spitter_claw
szClassname: weapon_hunting_rifle
szClassname: weapon_sniper_military
szClassname: weapon_smoker_claw
szClassname: weapon_smg_silenced
szClassname: weapon_shotgun_spas
szClassname: weapon_shotgun_chrome
szClassname: weapon_rifle_m60
szClassname: weapon_rifle_desert
szClassname: weapon_rifle_ak47
szClassname: weapon_pumpshotgun
szClassname: weapon_propanetank
szClassname: weapon_pistol_magnum
szClassname: weapon_pistol
szClassname: weapon_pipe_bomb
szClassname: weapon_pain_pills
szClassname: weapon_oxygentank
szClassname: weapon_molotov
szClassname: weapon_jockey_claw
szClassname: weapon_vomitjar
szClassname: weapon_upgradepack_incendiary
szClassname: weapon_upgradepack_explosive
szClassname: weapon_defibrillator
szClassname: weapon_adrenaline
szClassname: weapon_hunter_claw
szClassname: weapon_grenade_launcher
szClassname: weapon_gnome
szClassname: weapon_gascan
szClassname: weapon_first_aid_kit
szClassname: weapon_fireworkcrate
szClassname: weapon_cola_bottles
szClassname: weapon_charger_claw
szClassname: weapon_chainsaw
szClassname: weapon_boomer_claw
szClassname: weapon_autoshotgun
szClassname: weapon_rifle
Vit_amin is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-06-2020 , 22:42   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.2) [17-Sep-2019]
Reply With Quote #50

Quote:
Originally Posted by Momodo303 View Post
L 02/07/2020 - 07:44:08: [SM] Exception reported: Failed to find "CTerrorGameRules::GetMissionInfo" signature.
Missing gamedata .txt from gamedata folder? Conflict with another plugin detouring the same function? (I don't know of any that do). Signature hasn't changed.


Quote:
Originally Posted by Vit_amin View Post
Why doesn't read cs weapon ?
You have them enabled? Maybe the game reads from somewhere else.
__________________
Silvers 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 12:15.


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