Author Topic: "Help" Item Shop Spoiler!!  (Read 583 times)

doctavio

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • Email
"Help" Item Shop Spoiler!!
« on: May 19, 2016, 09:19:00 PM »
I run the wc3 mod on my server and when you use the shop menu to buy items all is fine but if you bind a key in the command prompt to buy and item with a button bound to that code it says in the chat that i bought such an such item to everyone. how to i disable it from displaying this in chat?

iceman

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Re: "Help" Item Shop Spoiler!!
« Reply #1 on: May 20, 2016, 04:26:58 AM »
If i remember correctly use bind key "say /shopmenu"

Grenth

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: "Help" Item Shop Spoiler!!
« Reply #2 on: May 20, 2016, 07:13:53 AM »
no he means when you say an item like boots, claw, health, etc it shows everyone there is a way to hide it just curious to how.

doctavio

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • Email
Re: "Help" Item Shop Spoiler!!
« Reply #3 on: May 20, 2016, 09:13:46 AM »
Grenth is correct I need to hide it so other don't see it chat what everyone bought  otherwise the channel will be spammed with what people have bought via the shop menu

El Diablo

  • Hero Member
  • *****
  • Posts: 1126
    • View Profile
    • War3Evo
Re: "Help" Item Shop Spoiler!!
« Reply #4 on: May 23, 2016, 02:43:04 AM »
You can try adding to war3source.cfg:

war3_command_blocking 1

But that won't stop the chat messages for telling players what they bought.  It should stop letting players see you typed boot, claw, etc.


Nothing short of just editing the source code and recompiling it well help.  I spent the last 30 minutes looking thru the old source code here on my phone.  I could be wrong, but I was looking for chat and print in the source code in obvious locations in the code where I thought it should be.



« Last Edit: May 23, 2016, 02:46:39 AM by El Diablo »

abgar

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Re: "Help" Item Shop Spoiler!!
« Reply #5 on: May 23, 2016, 02:54:38 AM »
You can also use a standalone plugin called HideChatTriggers, which can be found on Alliedmodders

doctavio

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • Email
Re: "Help" Item Shop Spoiler!!
« Reply #6 on: May 23, 2016, 12:44:59 PM »
problems fixed thanks guys :-)

El Diablo

  • Hero Member
  • *****
  • Posts: 1126
    • View Profile
    • War3Evo
Re: "Help" Item Shop Spoiler!!
« Reply #7 on: May 23, 2016, 02:53:55 PM »
problems fixed thanks guys :-)

It would be helpful to others looking for help with the same issue as you have had to tell how you solved your issue.

doctavio

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • Email
Re: "Help" Item Shop Spoiler!!
« Reply #8 on: May 23, 2016, 04:28:30 PM »
Open war3source.cfg In the folder /csgo/cfg If its not there just create one and add this to it 

war3_command_blocking "1"   to it and save :-)