Raised This Month: $32 Target: $400
 8% 

[TF2] tNoUnlocksPls v0.4.8 (2013-02-10)


Post New Thread Reply   
 
Thread Tools Display Modes
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 11-03-2010 , 10:03   Re: [TF2] tNoUnlocksPls v0.0.4 (2010-11-01)
Reply With Quote #21

did you download the zip or just the plugin?
what is the content of your configs/weapons.cfg?
post the content pls, then replace it with the one i attached, then retry and tell me if it worked. thanks.

edit: actually the new cfg should work. only post the content of your weapons.cfg if it does not.
Attached Files
File Type: cfg weapons.cfg (2.0 KB, 348 views)
__________________
einmal mit profis arbeiten. einmal.

Last edited by Thrawn2; 11-03-2010 at 10:17.
Thrawn2 is offline
disposable
Junior Member
Join Date: Apr 2010
Old 11-21-2010 , 14:43   Re: [TF2] tNoUnlocksPls v0.0.4 (2010-11-01)
Reply With Quote #22

Alright then, so I can't get this plugin to behave correctly. I've installed your updated zip as of yesterday, after changing maps and restarting the server "sm plugins list" still shows tNoUnlocksPls v0.0.3. On top of that the actual plugin doesn't seem to be working. My console is being spammed on every map change relevant log entries follow.


L 11/21/2010 - 133:09: [tNoUnlocksPls.smx] Found 58 items in your config. 0 of them are allowed.
L 11/21/2010 - 133:09: [tNoUnlocksPls.smx] By default all items are blocked

KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/weapons.cfg

I'll actually be following the thread if anyone can help me fix this.

edit: While the message says that 0 items are allowed, there should be 57 items allowed.

Last edited by disposable; 11-21-2010 at 14:47. Reason: addendum
disposable is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 11-21-2010 , 21:48   Re: [TF2] tNoUnlocksPls v0.0.4 (2010-11-01)
Reply With Quote #23

It looks like you're missing a bracket somewhere... Check your bracket setup ({})
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
disposable
Junior Member
Join Date: Apr 2010
Old 11-21-2010 , 21:56   Re: [TF2] tNoUnlocksPls v0.0.4 (2010-11-01)
Reply With Quote #24

Quote:
Originally Posted by FlaminSarge View Post
It looks like you're missing a bracket somewhere... Check your bracket setup ({})
Well that's one of the first things I tried. Unless the file in the zip is wrong mine isn't either.

"WeaponNames"
{
"35" "TF_UNIQUE_ACHIEVEMENT_MEDIGUN1"
"36" "TF_UNIQUE_ACHIEVEMENT_SYRINGEGUN1"
"37" "TF_UNIQUE_ACHIEVEMENT_BONESAW1"
"38" "TF_UNIQUE_ACHIEVEMENT_FIREAXE1"
"39" "TF_UNIQUE_ACHIEVEMENT_FLAREGUN"
"40" "TF_UNIQUE_ACHIEVEMENT_FLAMETHROWER"
"41" "TF_UNIQUE_ACHIEVEMENT_MINIGUN"
"42" "TF_UNIQUE_ACHIEVEMENT_LUNCHBOX"
"43" "TF_UNIQUE_ACHIEVEMENT_FISTS"
"44" "TF_UNIQUE_ACHIEVEMENT_BAT"
"45" "TF_UNIQUE_ACHIEVEMENT_SCATTERGUN_DOUBLE"
"46" "TF_UNIQUE_ACHIEVEMENT_ENERGYDRINK"
"56" "TF_UNIQUE_ACHIEVEMENT_COMPOUNDBOW"
"57" "TF_UNIQUE_BACKSTAB_SHIELD"
"58" "TF_UNIQUE_ACHIEVEMENT_JAR"
"59" "TF_UNIQUE_ACHIEVEMENT_FEIGNWATCH"
"60" "TF_UNIQUE_ACHIEVEMENT_CLOAKWATCH"
"61" "TF_UNIQUE_ACHIEVEMENT_REVOLVER"
"127" "TF_UNIQUE_ACHIEVEMENT_ROCKETLAUNCHER"
"128" "TF_UNIQUE_ACHIEVEMENT_PICKAXE"
"129" "TF_UNIQUE_ACHIEVEMENT_SOLDIERBUFF"
"130" "TF_UNIQUE_ACHIEVEMENT_STICKYLAUNCHER"
"131" "TF_UNIQUE_ACHIEVEMENT_SHIELD"
"132" "TF_UNIQUE_ACHIEVEMENT_SWORD"
"133" "TF_UNIQUE_BLAST_BOOTS"
"140" "TF_UNIQUE_ACHIEVEMENT_LASER_POINTER"
"141" "TF_UNIQUE_SENTRY_SHOTGUN"
"142" "TF_UNIQUE_ROBOT_ARM"
"153" "TF_UNIQUE_SLEDGEHAMMER"
"154" "TF_UNIQUE_MAKESHIFTCLUB"
"155" "TF_UNIQUE_COMBAT_WRENCH"
"159" "TF_UNIQUE_LUNCHBOX_CHOCOLATE"
"160" "TF_TTG_MAXGUN"
"161" "TF_TTG_SAMREVOLVER"
"163" "TF_UNIQUE_ENERGYDRINK_CRITCOLA"
"169" "TF_UNIQUE_GOLDEN_WRENCH"
"171" "TF_UNIQUE_TRIBALMANKUKRI"
"172" "TF_UNIQUE_BATTLEAXE"
"173" "TF_UNIQUE_BATTLESAW"
"214" "TF_THEPOWERJACK"
"215" "TF_THEDEGREASER"
"220" "TF_THESHORTSTOP"
"221" "TF_THEHOLYMACKEREL"
"222" "TF_MADMILK"
"224" "TF_LETRANGER"
"225" "TF_ETERNALREWARD"
"226" "TF_THEBATTALIONSBACKUP"
"228" "TF_THEBLACKBOX"
"230" "TF_SYDNEYSLEEPER"
"231" "TF_DARWINSDANGERSHIELD"
"232" "TF_THEBUSHWACKA"
"237" "TF_WEAPON_ROCKETLAUNCHER_JUMP"
"239" "TF_UNIQUE_GLOVES_OF_RUNNING_URGENTLY"
"264" "TF_UNIQUE_FRYINGPAN"
"265" "TF_WEAPON_STICKYBOMB_JUMP"
"266" "TF_HALLOWEENBOSS_AXE"
}

That's my weapons.cfg unless there are supposed to be more brackets someplace there's another problem. Those brackets appear closed to me.
disposable is offline
mikelat
New Member
Join Date: Oct 2009
Old 12-08-2010 , 17:57   Re: [TF2] tNoUnlocksPls v0.0.4 (2010-11-01)
Reply With Quote #25

I'm having trouble getting this plugin to actually do anything. I didn't modify the files in any way, I just uploaded them to their applicable folders, loaded up tf2items, and tried to get nounlockspls to do things.

Applicable Plugins Loaded:
"[TF2Items] Manager" (1.4.1) by Damizean & Asherkin
"tNoUnlocksPls" (0.0.3) by Thrawn

Having it loaded by default with cvars set to block ALL items (which is what I want) doesn't do anything. I can still equip things like jarate, natasha, FaN, etc.

Attempting to use the menu results in the error mentioned on page 3:
Quote:
L 12/08/2010 - 1726: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 12/08/2010 - 1726: [SM] Native "Format" reported: Language phrase "" not found
L 12/08/2010 - 1726: [SM] Displaying call stack trace for plugin "tNoUnlocksPls.smx":
L 12/08/2010 - 1726: [SM] [0] Line 133, tNoUnlocksPls.sp::BuildUnlockMenu()
L 12/08/2010 - 1726: [SM] [1] Line 116, tNoUnlocksPls.sp::AdminMenu_Unlocks()
By all means this is a vanilla installation. Can you give me any help?
mikelat is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 12-09-2010 , 01:15   Re: [TF2] tNoUnlocksPls v0.0.4 (2010-11-01)
Reply With Quote #26

howdy. i will look into both issues as soon as i have some free time.
in the first case it looks like the weapons.cfg has the wrong encoding.
could be the same issue in mikelat's case.

please replace your weapons.cfg with this one and try again.
Attached Files
File Type: cfg weapons.cfg (2.0 KB, 232 views)
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
disposable
Junior Member
Join Date: Apr 2010
Old 12-09-2010 , 11:12   Re: [TF2] tNoUnlocksPls v0.0.4 (2010-11-01)
Reply With Quote #27

Yeah it was the encoding for me, I had previously grabbed it off your git. Also, I had to compile .4 to get it on my server. Might think about updating that zip file to make it match the current advertised version.
disposable is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 12-18-2010 , 08:06   Re: [TF2] tNoUnlocksPls v0.0.6 (2010-12-18)
Reply With Quote #28

updated to 0.0.6
  • added christmas weapons (a lot of translations missing on valves side, i'll update when they update)
  • updated translations of existing weapons

don't forget to update your tf2items extension.
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
WiKer
Member
Join Date: Apr 2009
Old 12-19-2010 , 06:12   Re: [TF2] tNoUnlocksPls v0.0.6 (2010-12-18)
Reply With Quote #29

if a new weapons will be added - will they be auto-added to "tnounlockspls.cfg" file?
WiKer is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 12-19-2010 , 06:21   Re: [TF2] tNoUnlocksPls v0.0.6 (2010-12-18)
Reply With Quote #30

Quote:
Originally Posted by WiKer View Post
if a new weapons will be added - will they be auto-added to "tnounlockspls.cfg" file?
no. also, tnounlockspls.cfg is the config file that will be generated when you configure something. if you configure a new weapon to be blocked/allowed it will be saved in there.
but first i have to manually update the weapons.cfg which lists all weapons that can be toggled. as this is mostly done by a script updates to this plugin happen shortly after new weapons are introduced.
__________________
einmal mit profis arbeiten. einmal.

Last edited by Thrawn2; 12-19-2010 at 06:40.
Thrawn2 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 21:07.


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