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

[CS:GO] TTT - Trouble in Terrorist Town


Post New Thread Reply   
 
Thread Tools Display Modes
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 11-18-2015 , 10:47   Re: [CS:GO] TTT - Trouble in Terrorist Town [2.0.6]
Reply With Quote #151

ttt_update_client_model or so.
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
cam0
Senior Member
Join Date: Feb 2015
Old 11-18-2015 , 11:51   Re: [CS:GO] TTT - Trouble in Terrorist Town [2.0.6]
Reply With Quote #152

Why is no configuration file generated in the release versions?
cam0 is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 11-18-2015 , 12:31   Re: [CS:GO] TTT - Trouble in Terrorist Town [2.0.6]
Reply With Quote #153

what we should do that we wouldn't need to update config each time you add new cvar?
iGANGNAM is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 11-18-2015 , 13:02   Re: [CS:GO] TTT - Trouble in Terrorist Town [2.0.6]
Reply With Quote #154

I've added in the current git Version a new config with AutoAdd.
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
cam0
Senior Member
Join Date: Feb 2015
Old 11-18-2015 , 13:08   Re: [CS:GO] TTT - Trouble in Terrorist Town [2.0.6]
Reply With Quote #155

If an item's shop price is less than 0 (or just 0), why isn't it removed from the menu?



Edit: Looks like this might be implemented already in the git version, just not the stable.
http://git.tf/TTT/Plugin/blob/master...g/ttt.sp#L2412

Last edited by cam0; 11-18-2015 at 13:15.
cam0 is offline
Aphexes
Junior Member
Join Date: Mar 2011
Old 11-18-2015 , 13:11   Re: [CS:GO] TTT - Trouble in Terrorist Town [2.0.6]
Reply With Quote #156

L 11/18/2015 - 10:10:23: [SM] Plugin encountered error 25: Call was aborted
L 11/18/2015 - 10:10:23: [SM] Native "SetFailState" reported: Please use the new config file! Open addons\sourcemod\configs\ttt\config.cfg and set "ttt_new_config" to 1
L 11/18/2015 - 10:10:23: [SM] Displaying call stack trace for plugin "ttt.smx":
L 11/18/2015 - 10:10:23: [SM] [0] Line 483, C:\Users\Tobias\Desktop\TTT\Plugin\addons\sou rcemod\scripting\ttt.sp::OnPluginStart()

Getting an error with the latest version from Git.

Edit: Fixed this. After going into the new config generated upon server restart, ttt_new_config must be changed to 1 or plugin won't start.

Last edited by Aphexes; 11-18-2015 at 13:14.
Aphexes is offline
cam0
Senior Member
Join Date: Feb 2015
Old 11-18-2015 , 13:12   Re: [CS:GO] TTT - Trouble in Terrorist Town [2.0.6]
Reply With Quote #157

Quote:
Originally Posted by Aphexes View Post
L 11/18/2015 - 10:10:23: [SM] Plugin encountered error 25: Call was aborted
L 11/18/2015 - 10:10:23: [SM] Native "SetFailState" reported: Please use the new config file! Open addons\sourcemod\configs\ttt\config.cfg and set "ttt_new_config" to 1
L 11/18/2015 - 10:10:23: [SM] Displaying call stack trace for plugin "ttt.smx":
L 11/18/2015 - 10:10:23: [SM] [0] Line 483, C:\Users\Tobias\Desktop\TTT\Plugin\addons\sou rcemod\scripting\ttt.sp::OnPluginStart()

Getting an error with the latest version from Git.
Then use the stable version?
cam0 is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 11-18-2015 , 13:16   Re: [CS:GO] TTT - Trouble in Terrorist Town [2.0.6]
Reply With Quote #158

Quote:
Originally Posted by cam0 View Post
Then use the stable version?
no it's just person can't read what is written...

Btw, can you add some forward when person gains credits?
iGANGNAM is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 11-18-2015 , 13:16   Re: [CS:GO] TTT - Trouble in Terrorist Town [2.0.6]
Reply With Quote #159

@cam0 already fixed in git Version

@Aphexes read error message

@iGANGAM api is planned until 2.1.0
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.

Last edited by Bara; 11-18-2015 at 13:17.
Bara is offline
cam0
Senior Member
Join Date: Feb 2015
Old 11-20-2015 , 02:27   Re: [CS:GO] TTT - Trouble in Terrorist Town [2.0.6]
Reply With Quote #160

I submitted a merge request on Git.tf that adds the ability for developers to create new plugins that add shop items to the menu.

View natives/forwards added:
http://git.tf/whocodes/Plugin/commit...870f02aa154e3c

Actual plugin code added:
http://git.tf/whocodes/Plugin/commit...810384a1789c86


Also extends the "command" feature of the new rules system to add a "fakecommand" option (which uses FakeClientCommand instead of ClientCommand).
cam0 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 23:16.


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