AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Disable Spec for Cash (https://forums.alliedmods.net/showthread.php?t=57405)

^BuGs^ 07-04-2007 02:59

Disable Spec for Cash
 
2 Attachment(s)
This plugin disables users from going to spectator then back to their same team for cash. They have to change to a different team for them to get money.

Post all bug reports/ideas here and view current status here. Bug reports/ideas posted on the forums will not be taken. If you do not report bugs, I will not be able to fix it. Use your forum username and password to login to the system!

CREDIT:
  • BAILOPAN - Sourcemod/Help/Issue List And SVN Hosting
REQUIREMENTS:
  • Min. Sourcemod Version: 1.0.0.1033
CVARS:
  • sm_speccash_version - Used for stats tracking only.
FILE STRUCTURE:
  • plugins/
    • spec.smx
CHANGELOG:
  • 1.0.1.0
  • 1.0.0.0 (07/05/07)
    • Public Release (Re-download)

yester64 07-05-2007 14:58

Re: Disable Spec for Cash
 
i use your plugin. thats exactly what i was waiting for. :)))

good job!

^BuGs^ 07-05-2007 15:45

Re: Disable Spec for Cash
 
Does it work? :) I am 99.9% it does, but never seen it in action since bots leave once I go spec.

yester64 07-05-2007 15:59

Re: Disable Spec for Cash
 
i will let you know. have to monitor it.
but thats what mani lagged. it did not have that and i had user what just did this. hop back and fort from spec to team to gain money.

Quote:

Originally Posted by ^BuGs^ (Post 499144)
Does it work? :) I am 99.9% it does, but never seen it in action since bots leave once I go spec.


^BuGs^ 07-05-2007 16:05

Re: Disable Spec for Cash
 
He got money or didn't get money?

yester64 07-05-2007 16:33

Re: Disable Spec for Cash
 
na, that was before sourcemod.
i have to check if your plugin does it. i let you know

geisi 07-07-2007 06:45

Re: Disable Spec for Cash
 
Code:

[SM] Listing 9 plugins:
          01 "Admin File Reader" (1.0.0.1049) by AlliedModders LLC
          02 "Anti-Flood" (1.0.0.1049) by AlliedModders LLC
          03 "Basic Commands" (1.0.0.1049) by AlliedModders LLC
          04 "Reserved Slots" (1.0.0.1049) by AlliedModders LLC
          05 "Basic Chat" (1.5.1) by ferret
          06 "Team Bets" (1.4) by ferret
          07 "HLstatsX Plugin" (1.1) by Tobi17
          08 "Weapon Logging" (1.1) by Tobi17
          09 "Spec for Cash" (1.0.1.0) by Shane A. ^BuGs^ Froebel


Code:

L 07/07/2007 - 12:41:46: [SM] Plugin encountered error 15: Array index is out of bounds
L 07/07/2007 - 12:41:46: [SM] Displaying call stack trace:
L 07/07/2007 - 12:41:46: [SM]  [0]  Line 101, /home/groups/alliedmodders/forums/files/2/7/6/6/9/17774.attach::Event_PlayerTeam()


^BuGs^ 07-07-2007 12:29

Re: Disable Spec for Cash
 
This doesn't say that it's my plug in causing the problem.

:THM: SFG 07-07-2007 14:49

Re: Disable Spec for Cash
 
Hi BuGs,

i think it isn't optimal that your plugin prevents someone who joins specmode to rejoin his previous team.


Perhaps you could change your plugin, that after such a move (CT=>spec=>CT/T=>spec=>T) the previous amount of cash of the player is restored.

So everyone can just go in specmode if he is AFK for some minutes and then rejoin his team without getting a advantage of it.


If you would do it that way, perhaps you could also add the feature, that if someone reconnects to the server cash & kills/death are restored, too.


:THM: SFG

geisi 07-07-2007 16:25

Re: Disable Spec for Cash
 
sorry that was the log before i enabled debug

Code:

L 07/07/2007 - 12:40:17: [SM] Plugin encountered error 15: Array index is out of bounds
L 07/07/2007 - 12:40:17: [SM] Debug mode is not enabled for "spec.smx"
L 07/07/2007 - 12:40:17: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 9 on


^BuGs^ 07-08-2007 05:42

Re: Disable Spec for Cash
 
@ THM: SFG - No way to detirmine the ammount of time spent in spec unless I expand the code much more than it is. Post a request on my issue list so I can think about it.

@ Geisi:- Follow the steps on the issue list to file a proper bug report. All the required information is needed. You will need to turn debuging on for me to see which line is failing. Also before you do, try download 1.0.10. It's the file at the top.

doa 11-27-2007 06:09

Re: Disable Spec for Cash
 
Any luck with this plugin?

I tried it breifly with no success, players could go to spec and back to a team to gain $800.
But I would like a plugin to stop them from that.

Bloodlvst 12-03-2007 01:21

Re: Disable Spec for Cash
 
Quote:

Originally Posted by doa (Post 557370)
Any luck with this plugin?

I tried it breifly with no success, players could go to spec and back to a team to gain $800.
But I would like a plugin to stop them from that.

The "Save Scores" plugin has an option for this if you enable the cvar. I'd give that a try until Bugs has time to fix the issue.

doa 12-03-2007 02:05

Re: Disable Spec for Cash
 
Quote:

Originally Posted by Bloodlvst (Post 559350)
The "Save Scores" plugin has an option for this if you enable the cvar. I'd give that a try until Bugs has time to fix the issue.


Yeah, I found that cvar as well, it seems like it keeps track of your current money, but if you have less then mp_startmoney, you will end up with mp_startmoney when joining.

Bloodlvst 12-03-2007 08:14

Re: Disable Spec for Cash
 
That's something that could be modified easily if you contact the author I think. :)

LocutusH 12-11-2007 05:34

Re: Disable Spec for Cash
 
If i join spect with 1800$, and join back T, i have only 800$ left.
Is that supposed to work this way?

Duchu 01-29-2008 08:06

Re: Disable Spec for Cash
 
Are there any chances to repair this plugin?

Leopard 03-08-2008 06:21

Re: Disable Spec for Cash
 
i'ld like to see this plugin working!

i bet its not working because of the HookEvent_Pre.
Does it mean executed BEFORE the teamswitch happens.
you change from spec into a team and plugin takes 800 away, but the game gives you 800 afterwards.

2nd: the plugin seems a bit complicated.
the event player_team knows the new and old team.
the if clause should be:
if oldteam = 0 (spec) and newteam = 1 or 2, then setcash to 0

right?

Gonz 03-26-2008 14:46

Re: Disable Spec for Cash
 
hm, itīs running
but sadly itīs not working at all :(

Roach 04-03-2008 06:08

Re: Disable Spec for Cash
 
This for some reason seems abandoned...which is sad...

Moved to unapproved for the time being until someone ends up fixing this / the plugin author comes in and fixes it.

FlyingMongoose 06-15-2008 16:08

Re: Disable Spec for Cash
 
This plugin is no longer supported, I've released a similar plugin with multiple options.

http://forums.alliedmods.net/showthread.php?t=72775

TnTSCS 04-23-2011 17:48

Re: Disable Spec for Cash
 
it appears your plugin needs updating FlyingMongoose


All times are GMT -4. The time now is 19:36.

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