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

[TF2] Custom Weapons 3 (Beta 2)


Post New Thread Reply   
 
Thread Tools Display Modes
trbz_
Junior Member
Join Date: May 2018
Old 06-18-2020 , 01:02   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #231

Quote:
Originally Posted by nosoop View Post
The Custom Attribute Starter Pack

This post will also serve as an informal announcement...

<cut for space>
I'm trying to use this with the cw3 adapter, and I've installed all the stuff w/ the dependencies, all latest versions, but I keep getting these errors every time I start the server:

Code:
L 06/18/2020 - 00:55:53: [SM] Unable to load plugin "custom-attr-starter-pack\cloak_debuff_time_scale.smx": Required extension "Source Scramble" file("sourcescramble.ext") not running
- 06/18/2020 - 00:55:55: [custom-attr-starter-pack\custom_lunchbox_effect.smx] offsetof(CTFPlayer, m_iTauntAttack) == 0x1F98
L 06/18/2020 - 00:55:58: [SM] Unable to load plugin "custom-attr-starter-pack\generate_rage_on_dmg_patch.smx": Required extension "Source Scramble" file("sourcescramble.ext") not running
L 06/18/2020 - 00:56:01: [SM] Exception reported: Invalid Handle 0
L 06/18/2020 - 00:56:01: [SM] Blaming: custom-attr-starter-pack\keep_disguise_on_attack.smx
L 06/18/2020 - 00:56:01: [SM] Call stack trace:
L 06/18/2020 - 00:56:01: [SM]   [0] DHookEnableDetour
L 06/18/2020 - 00:56:01: [SM]   [1] Line 19, scripting\keep_disguise_on_attack.sp::OnPluginStart
L 06/18/2020 - 00:56:01: [SM] Unable to load plugin "custom-attr-starter-pack\keep_disguise_on_attack.smx": Error detected in plugin startup (see error logs)
L 06/18/2020 - 00:56:02: [SM] Unable to load plugin "custom-attr-starter-pack\lunchbox_override_pickup_type.smx": Required extension "Source Scramble" file("sourcescramble.ext") not running
L 06/18/2020 - 00:56:14: [SM] Unable to load plugin "sourcescramble_manager.smx": Required extension "Source Scramble" file("sourcescramble.ext") not running
L 06/18/2020 - 00:56:14: [SM] Exception reported: Could not initialize call to CTFPlayer::AddCustomAttribute
L 06/18/2020 - 00:56:14: [SM] Blaming: tf2attributes.smx
L 06/18/2020 - 00:56:14: [SM] Call stack trace:
L 06/18/2020 - 00:56:14: [SM]   [0] SetFailState
L 06/18/2020 - 00:56:14: [SM]   [1] Line 193, tf2attributes.sp::OnPluginStart
L 06/18/2020 - 00:56:14: [SM] Unable to load plugin "tf2attributes.smx": Error detected in plugin startup (see error logs)
L 06/18/2020 - 00:56:14: [SM] Error parsing gameconfig file "c:\users\ethan\desktop\steamcmd\tf2\tf\addons\sourcemod\gamedata\tf2.wearables.txt":
L 06/18/2020 - 00:56:14: [SM] Error 1 on line 0, col 0: Stream failed to open
L 06/18/2020 - 00:56:14: [SM] Exception reported: Unable to open tf2.wearables: File could not be opened: The system cannot find the file specified.

L 06/18/2020 - 00:56:14: [SM] Blaming: tf2wearables.smx
L 06/18/2020 - 00:56:14: [SM] Call stack trace:
L 06/18/2020 - 00:56:14: [SM]   [0] LoadGameConfigFile
L 06/18/2020 - 00:56:14: [SM]   [1] Line 81, tf2wearables.sp::OnPluginStart
L 06/18/2020 - 00:56:14: [SM] Unable to load plugin "tf2wearables.smx": Error detected in plugin startup (see error logs)
L 06/18/2020 - 00:56:14: [SM] Unable to load plugin "tf_custom_attributes.smx": Could not find required plugin "tf2attributes"
L 06/18/2020 - 00:56:14: [SM] Error parsing gameconfig file "c:\users\ethan\desktop\steamcmd\tf2\tf\addons\sourcemod\gamedata\tf2.econ_data.txt":
L 06/18/2020 - 00:56:14: [SM] Error 1 on line 0, col 0: Stream failed to open
L 06/18/2020 - 00:56:14: [SM] Exception reported: Unable to open tf2.econ_data: File could not be opened: The system cannot find the file specified.

L 06/18/2020 - 00:56:14: [SM] Blaming: tf_econ_data.smx
L 06/18/2020 - 00:56:14: [SM] Call stack trace:
L 06/18/2020 - 00:56:14: [SM]   [0] LoadGameConfigFile
L 06/18/2020 - 00:56:14: [SM]   [1] Line 127, tf_econ_data.sp::OnPluginStart
L 06/18/2020 - 00:56:14: [SM] Unable to load plugin "tf_econ_data.smx": Error detected in plugin startup (see error logs)
L 06/18/2020 - 00:56:14: [SM] Error parsing gameconfig file "c:\users\ethan\desktop\steamcmd\tf2\tf\addons\sourcemod\gamedata\tf2.ontakedamage.txt":
L 06/18/2020 - 00:56:14: [SM] Error 1 on line 0, col 0: Stream failed to open
L 06/18/2020 - 00:56:14: [SM] Exception reported: Unable to open tf2.ontakedamage: File could not be opened: The system cannot find the file specified.

L 06/18/2020 - 00:56:14: [SM] Blaming: tf_ontakedamage.smx
L 06/18/2020 - 00:56:14: [SM] Call stack trace:
L 06/18/2020 - 00:56:14: [SM]   [0] LoadGameConfigFile
L 06/18/2020 - 00:56:14: [SM]   [1] Line 91, scripting\tf_ontakedamage.sp::OnPluginStart
L 06/18/2020 - 00:56:14: [SM] Unable to load plugin "tf_ontakedamage.smx": Error detected in plugin startup (see error logs)
I have all the correct .smx files and dependencies for the Starter Pack installed. I am running SourceMod 9, and no I didn't install the SM10+ version of DHooks.
trbz_ is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 06-18-2020 , 02:06   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #232

Quote:
Originally Posted by trbz_ View Post
I'm trying to use this with the cw3 adapter, and I've installed all the stuff w/ the dependencies, all latest versions, but I keep getting these errors every time I start the server:

<quotes follow>

I have all the correct .smx files and dependencies for the Starter Pack installed. I am running SourceMod 9, and no I didn't install the SM10+ version of DHooks.
Pardon the brief responses; been extremely burnt out lately.

Quote:
[SM] Unable to load plugin "custom-attr-starter-pack\${multiple_plugins}.smx": Required extension "Source Scramble" file("sourcescramble.ext") not running
Source Scramble isn't running. Either you grabbed the wrong build for your server's platform (.zip only contains Windows binaries, .tar.gz only Linux binaries), or there is a completely different load failure, in which case you should try loading it with sm exts load.

Pretty sure Source Scramble works on both 1.9 and 1.10; it doesn't depend on the IBinTools interface that broke between those versions.

Quote:
[SM] Exception reported: Unable to open tf2.{wearables,econ_data,ontakedamage}: File could not be opened: The system cannot find the file specified.
Self-explanatory; those files are all available in their respective release pages.

Quote:
[SM] Exception reported: Could not initialize call to CTFPlayer::AddCustomAttribute
Gamedata mismatch; I suspect you switched from FlaminSarge's build to mine without installing the gamedata specific to my build. Also available in the release page.

Quote:
L 06/18/2020 - 00:56:01: [SM] Exception reported: Invalid Handle 0
L 06/18/2020 - 00:56:01: [SM] Blaming: custom-attr-starter-pack\keep_disguise_on_attack.smx
Known issue specific to Windows. Currently on the backburner.

If you don't need any of those specific attributes, they can be unloaded. The dependencies do need to be corrected, of course.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 06-18-2020 at 02:26.
nosoop is offline
trbz_
Junior Member
Join Date: May 2018
Old 06-18-2020 , 19:14   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #233

Quote:
Originally Posted by nosoop View Post
Source Scramble isn't running. Either you grabbed the wrong build for your server's platform (.zip only contains Windows binaries, .tar.gz only Linux binaries), or there is a completely different load failure, in which case you should try loading it with sm exts load.

Pretty sure Source Scramble works on both 1.9 and 1.10; it doesn't depend on the IBinTools interface that broke between those versions.
Thanks for the quick response. I've looked into it, and it seems that it is unable to find the ISourceMod interface, which supposedly means that sourcescramble.ext was compiled in SourceMod 1.10 and as a result isn't loading correctly. I have tried compiling sourcescramble_manager.smx with 1.9 but that does not fix the issue, and I don't have the source code to compile sourcescramble.ext in 1.9.

I have fixed all the issues with other missing gamedata files (somehow I just missed those on the release pages like an idiot), but the sourcescramble issue still persists.

Last edited by trbz_; 06-18-2020 at 19:14.
trbz_ is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 06-19-2020 , 11:31   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #234

Quote:
Originally Posted by trbz_ View Post
I've looked into it, and it seems that it is unable to find the ISourceMod interface, which supposedly means that sourcescramble.ext was compiled in SourceMod 1.10 and as a result isn't loading correctly.
Ah. It looks like the 1.10 codebase was checked out on my Windows instance, and that indeed prevents loading on 1.9.
I should probably keep separate repositories checked out for each revision or figure out how to target 1.9.

I've updated the releases with a 1.9-based Windows package.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
trbz_
Junior Member
Join Date: May 2018
Old 06-20-2020 , 20:33   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #235

Thanks! I've got it working now. Besides the Windows bugs, the only issue I've found is that "mult basegrenade direct radius" does not seem to be working, as in it loads correctly but the radius multiplier is just never applied, direct hits or otherwise. I tested it with arbitrarily large values just to be sure.
trbz_ is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 06-20-2020 , 21:25   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #236

Quote:
Originally Posted by trbz_ View Post
Thanks! I've got it working now. Besides the Windows bugs, the only issue I've found is that "mult basegrenade direct radius" does not seem to be working, as in it loads correctly but the radius multiplier is just never applied, direct hits or otherwise. I tested it with arbitrarily large values just to be sure.
Cool, glad to hear that there are few remaining unknown bugs — we can continue the conversation on that last one on the project's issue tracker to keep things organized and avoid cluttering this one up with support messages. Sounds like you're hitting some cases that I didn't personally test.

(You could also send a private message over the forums instead, but the issue tracker is preferred so other people can see that it's known.)
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 06-20-2020 at 21:28.
nosoop is offline
enderandrew
Senior Member
Join Date: Jun 2020
Old 06-22-2020 , 02:33   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #237

@nosoop

Tried loading your pack. Most of it loads but two plugins didn't.

L 06/22/2020 - 01:15:59: [SM] Exception reported: Invalid Handle 0
L 06/22/2020 - 01:15:59: [SM] Blaming: custom-attr-starter-pack\keep_disguise_on_attack.smx
L 06/22/2020 - 01:15:59: [SM] Call stack trace:
L 06/22/2020 - 01:15:59: [SM] [0] DHookEnableDetour
L 06/22/2020 - 01:15:59: [SM] [1] Line 19, scripting\keep_disguise_on_attack.sp::OnPlugi nStart
L 06/22/2020 - 01:15:59: [SM] Unable to load plugin "custom-attr-starter-pack\keep_disguise_on_attack.smx": Error detected in plugin startup (see error logs)
L 06/22/2020 - 01:16:02: [SM] Exception reported: Invalid Handle 0
L 06/22/2020 - 01:16:02: [SM] Blaming: custom-attr-starter-pack\lunchbox_override_pickup_type.smx
L 06/22/2020 - 01:16:02: [SM] Call stack trace:
L 06/22/2020 - 01:16:02: [SM] [0] DHookEnableDetour
L 06/22/2020 - 01:16:02: [SM] [1] Line 25, scripting\lunchbox_override_pickup_type.sp::O nPluginStart
L 06/22/2020 - 01:16:02: [SM] Unable to load plugin "custom-attr-starter-pack\lunchbox_override_pickup_type.smx": Error detected in plugin startup (see error logs)

I'm using dhooks-2.2.0-detours14-sm110.zip
enderandrew is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 06-22-2020 , 02:47   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #238

Quote:
Originally Posted by enderandrew View Post
@nosoop

Tried loading your pack. Most of it loads but two plugins didn't.

Code:
L 06/22/2020 - 01:15:59: [SM] Exception reported: Invalid Handle 0
L 06/22/2020 - 01:15:59: [SM] Blaming: custom-attr-starter-pack\keep_disguise_on_attack.smx
...
L 06/22/2020 - 01:16:02: [SM] Exception reported: Invalid Handle 0
L 06/22/2020 - 01:16:02: [SM] Blaming: custom-attr-starter-pack\lunchbox_override_pickup_type.smx
I'm using dhooks-2.2.0-detours14-sm110.zip
Known issues on Windows specifically. No time to write fixes, though I did add a note on that second stack trace.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
enderandrew
Senior Member
Join Date: Jun 2020
Old 06-26-2020 , 18:46   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #239

My server crashes the first time someone takes damage if I have tf_ontakedamage loaded.

I downloaded the source for that here:

https://github.com/nosoop/SM-TFOnTakeDamage

And then compiled with SM 1.10.
enderandrew is offline
Old Bill
Junior Member
Join Date: Jun 2020
Old 06-27-2020 , 18:52   custom weapon sounds
Reply With Quote #240

hi, how can i make the custom sounds for weapons work properly for CW3? i made sure i have the requirements (cw2legacy or cw2sounds) and followed the exact same syntax

HTML Code:
	"sound"
	{
		"player"
		{
			"find"		")weapons/revolver_shoot.wav"
			"replace"	"weapons/spygun/revolver_shoot.wav"
			"pitch"		"150"
		}
	}
}
this is for my sleeper agent weapon, what happens is very weird the sound in (find) plays for a very short interval like maybe a slight second or something, then the custom (replace) sound plays. something like that or they play at the same time i cant really tell. even at the beginning i thought it doesnt work but it turns out the original sound is too loud that i couldnt hear the custom one i found that out by putying the mini gun sound just to test and i heard something.
Old Bill is offline
Reply


Thread Tools
Display Modes

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 19:55.


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