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

[TF2] False Messages 3.1 (21/03)


Post New Thread Reply   
 
Thread Tools Display Modes
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 03-09-2011 , 02:44   Re: [TF2] False Messages 3.1 (21/03)
Reply With Quote #171

Quote:
Originally Posted by That Guy In The Corner View Post
Works great, thanks ;)
Only problem is all yellow text (crafts, etc) shows up black for me :S
Someone has to actually find or craft an item first before it will show up. Then all following messages will be yellow.

Edit My servers crash if someone uses sm_fakegift

Last edited by Snaggle; 03-09-2011 at 03:08.
Snaggle is offline
That Guy In The Corner
Junior Member
Join Date: Jul 2010
Old 03-09-2011 , 19:00   Re: [TF2] False Messages 3.1 (21/03)
Reply With Quote #172

One more thing:
it would be great if this could detect eh words "Unusual" and "Genuine" to change the colours to purple, etc
That Guy In The Corner is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 03-09-2011 , 22:35   Re: [TF2] False Messages 3.1 (21/03)
Reply With Quote #173

Fake item colors are dependent on whatever REAL item was found last. So probably not.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit 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
byteframe
Member
Join Date: Jul 2011
Location: Pitcairn Island
Old 08-31-2011 , 19:32   Re: [TF2] False Messages 3.1 (21/03)
Reply With Quote #174

Quote:
Originally Posted by FlaminSarge View Post
Fake item colors are dependent on whatever REAL item was found last. So probably not.
Is that fixable with this plugin?

edit: Hmmm

I would have just used 'fake_items'; it doesn't print the black names, but for some reason is only faking Bats for me.

I'm (might) be able to work around this black name bug in 'falsemessages', by running fake_items (modified to have a differant command name), and then using it once to give someone a bat. From there, falsemessages uses the right color. I'm not sure this works yet, as sometimes the black text mode might not always appear.

I like using falsemessages incase I ever have to craft dog poop.

edit2:

Ok this works, but I didn't realize that this impacts the client, such that if they disconnect and/or restart tf2, upon reentry, they will see the black text again. I use this/these plugins to make one of my achievement bots look like he's crafting scrap metal every 4000 frames. I quess I'll also have to give a bat to one of them. Shit, I'll have to learn how to script to fix this or to make it look like bot1 crafts the scrap, gifts it to bot2, and then bot2 crafts a bat...

Last edited by byteframe; 08-31-2011 at 20:51.
byteframe is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 09-08-2011 , 06:13   Re: [TF2] False Messages 3.1 (21/03)
Reply With Quote #175

For what it's worth; I wrote a version of this that lets you print fake items with various qualities.
I'll see about releasing it after I tweak a few things.
__________________
DarthNinja is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 09-11-2011 , 22:01   Re: [TF2] False Messages 3.1 (21/03)
Reply With Quote #176

https://forums.alliedmods.net/showthread.php?p=1553366
__________________
DarthNinja is offline
DanK.
oink oink oink >:|
Join Date: Sep 2011
Location: Phoenix AZ
Old 02-06-2012 , 19:35   Re: [TF2] False Messages 3.1 (21/03)
Reply With Quote #177

Code:
L 02/04/2012 - 14:35:50: SourceMod error session started
L 02/04/2012 - 14:35:50: Info (map "vsh_stream_platform") (file "errors_20120204.log")
L 02/04/2012 - 14:35:50: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 02/04/2012 - 14:35:50: [SM] Native "ReplyToCommand" reported: Language phrase "More than one client matched" not found
L 02/04/2012 - 14:35:50: [SM] Displaying call stack trace for plugin "falsemessages.smx":
L 02/04/2012 - 14:35:50: [SM]   [0]  Line 131, C:\Users\Oli\Documents\TF2\KJTF2\sourcemod-1.3.1-hg2917\addons\sourcemod\scripting\include\commandfilters.inc::ReplyToTargetError()
L 02/04/2012 - 14:35:50: [SM]   [1]  Line 202, C:\Users\Oli\Documents\TF2\KJTF2\sourcemod-1.3.1-hg2917\addons\sourcemod\scripting\falsemessages.sp::Command_FakeLose()
L 02/04/2012 - 14:58:41: Error log file session closed.
DanK. is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-12-2012 , 04:11   Re: [TF2] False Messages 3.1 (21/03)
Reply With Quote #178

Quote:
Originally Posted by DanK. View Post
Code:
L 02/04/2012 - 14:35:50: SourceMod error session started
L 02/04/2012 - 14:35:50: Info (map "vsh_stream_platform") (file "errors_20120204.log")
L 02/04/2012 - 14:35:50: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 02/04/2012 - 14:35:50: [SM] Native "ReplyToCommand" reported: Language phrase "More than one client matched" not found
L 02/04/2012 - 14:35:50: [SM] Displaying call stack trace for plugin "falsemessages.smx":
L 02/04/2012 - 14:35:50: [SM]   [0]  Line 131, C:\Users\Oli\Documents\TF2\KJTF2\sourcemod-1.3.1-hg2917\addons\sourcemod\scripting\include\commandfilters.inc::ReplyToTargetError()
L 02/04/2012 - 14:35:50: [SM]   [1]  Line 202, C:\Users\Oli\Documents\TF2\KJTF2\sourcemod-1.3.1-hg2917\addons\sourcemod\scripting\falsemessages.sp::Command_FakeLose()
L 02/04/2012 - 14:58:41: Error log file session closed.
Edit source code, add this line and compile
Code:
public OnPluginStart()
{
	LoadTranslations("falsemessages.phrases");
	LoadTranslations("common.phrases");
Bacardi is offline
thecooldude498
Junior Member
Join Date: Sep 2012
Old 09-02-2012 , 16:47   Re: [TF2] False Messages 3.1 (21/03)
Reply With Quote #179

this is a good plugin, but for those whom want to use this and this https://forums.alliedmods.net/showthread.php?p=1553366 together with out it doing it twice, here i modified it (removing fakeitem/craft)
so now you all can use both with out the interference of the two. as in (overlapping each other) the only other thing it does is just the achievement effect (with no sound) the sm_fakeach still works the way it is suppose to with the sound. and telling players that player achieved something.

Edit: forgot the source whoops thanks DarthNinja, ( i was in a hurry to go and do something, well everyone makes a mistake, i just may make more than others though.) if you see anything wrong in my coding in future please do tell, since coding is not exactly what i like to do.

falsemessages.smx source code here : falsemessages.sp

Last edited by thecooldude498; 09-15-2012 at 18:44. Reason: added source code
thecooldude498 is offline
Exportforce
Junior Member
Join Date: Oct 2010
Old 06-27-2013 , 17:09   Re: [TF2] False Messages 3.1 (21/03)
Reply With Quote #180

Code:
] rcon sm_fakecraft "bloodpatches.net" "Itemname"
L 06/27/2013 - 23:05:13: [SM] Native "GetUserFlagBits" reported: Client index 0 is invalid
L 06/27/2013 - 23:05:13: [SM] Displaying call stack trace for plugin "falsemessages.smx":
L 06/27/2013 - 23:05:13: [SM]   [0]  Line 590, C:\Users\Oli\Documents\TF2\KJTF2\sourcemod-1.3.1-hg2917\addons\sourcemod\scripting\falsemessages.sp::IsClientAllowed()
L 06/27/2013 - 23:05:13: [SM]   [1]  Line 235, C:\Users\Oli\Documents\TF2\KJTF2\sourcemod-1.3.1-hg2917\addons\sourcemod\scripting\falsemessages.sp::Command_FakeCraft()
When I work outside the console with /sm_fakecraft it works.
Does anyone know what could be the cause ?
Exportforce 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 01:32.


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