Raised This Month: $ Target: $400
 0% 

[TF2] Player credits and rewards


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Sexual Harassment Panda
Veteran Member
Join Date: Dec 2008
Location: San Diego, CA
Old 07-05-2009 , 01:37   Re: [TF2] Player credits and rewards
#61

Quote:
Originally Posted by Neo Cool Dude View Post
I would really like it if you could add the following:
1. Add more rewards, especially GOOD ONES
2. Make cvars to control those rewards so people don't have to use the .txt file
3. Still include the .txt file that way if people wanted to add more they could. (or remove it altogther I don't really care.)

I know some of these have been suggested but still.
1) what is a good reward? that's a rather obscure and offensive comment if you ask me, be specific.
2)also seems rather offensive, and yes, has been mentioned
3)why say it sucks and then suggest to keep it? honestly have some respect when posting.

Also, @lufa givenameditem works? i thought the offsets were obsolete
__________________

Last edited by Sexual Harassment Panda; 07-05-2009 at 01:48.
Sexual Harassment Panda is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 07-05-2009 , 03:36   Re: [TF2] Player credits and rewards
#62

I love you. You are my favorite Sourcemod coder of all time, I want you to know that. Lufa, how'd you get givenameditems working? And one request. Could you make it so you could do something like, buy something like slay a player? They could choose someone in a menu. Last thing:

This plugin doesn't seem to work for me. The cvars are there, I can change them via sm_cvar, but it doesn't generate plugins.candy or whatever in the configs directory, and typing !buy doesn't work. Please help. Is a server restart required? I've added it to databases.cfg, reloaded it, but it won't create that file. What should I do?

Last edited by noodleboy347; 07-05-2009 at 05:09.
noodleboy347 is offline
Gachl
BANNED
Join Date: Feb 2009
Old 07-05-2009 , 05:45   Re: [TF2] Player credits and rewards
#63

Quote:
Originally Posted by noodleboy347 View Post
I love you. You are my favorite Sourcemod coder of all time, I want you to know that.
Wow, I started coding plugins about two weeks ago and now I'm someone's favourite coder

I'll make a list with all suggestions and bugs you all posted and try to implement / fix them as fast as possible. I think that could take about 6 more hours.
Thanks for you posts, thanks for the +Karma and thanks for voting , I appreciate that!
Gachl is offline
Sexual Harassment Panda
Veteran Member
Join Date: Dec 2008
Location: San Diego, CA
Old 07-05-2009 , 06:26   Re: [TF2] Player credits and rewards
#64

2 weeks ago? really? quick learner.

Edit: @noodleboy: Assuming you have the databases file setup properly, and all the files are in the right place, it requires at least a map change to work properly.
__________________

Last edited by Sexual Harassment Panda; 07-05-2009 at 06:55.
Sexual Harassment Panda is offline
Gachl
BANNED
Join Date: Feb 2009
Old 07-05-2009 , 06:56   Re: [TF2] Player credits and rewards
#65

New version up!
Code:
v0.1.8 2009/07/05
*	Fixed Client index 0 is invalid
+	Added automated checks for sm_candy_database and auto reconnect if changed
+	Added custom chat triggers (2 each trigger)
+	Added user stats (current credits / lifetime credits) without menu
+	Added cvar to define how many kills are needed to receive candy
-	Removed sm_candy_reload_db (not needed anymore)
You may have to delete the config file (plugin.candyscript.cfg) in order to create a new one automatically.
Gachl is offline
Gachl
BANNED
Join Date: Feb 2009
Old 07-05-2009 , 06:59   Re: [TF2] Player credits and rewards
#66

Quote:
Originally Posted by noodleboy347 View Post
but it doesn't generate plugins.candy or whatever in the configs directory
tf/cfg/sourcemod/plugins.candyscript.cfg, recheck that file please

Quote:
Originally Posted by noodleboy347 View Post
and typing !buy doesn't work. Please help. Is a server restart required? I've added it to databases.cfg, reloaded it, but it won't create that file. What should I do?
if you have changed your databases.cfg you have to restart sourcemod (better the whole server).
Gachl is offline
Sexual Harassment Panda
Veteran Member
Join Date: Dec 2008
Location: San Diego, CA
Old 07-05-2009 , 07:07   Re: [TF2] Player credits and rewards
#67

for your configurable trigger messages, sm_candy_chat_stats1 works, but sm_candy_chat_stats2 does not exist. Also, a request that the "Tag for messages printed to the chat" could the tag itself be green?

Edit: Sorry to say, but chat triggers are not working at all now. Checked error logs, and nothing there, when typing sm_candy_get and my userid though, it told me how many credits i have, so plugin is still running.
__________________

Last edited by Sexual Harassment Panda; 07-05-2009 at 07:16.
Sexual Harassment Panda is offline
Gachl
BANNED
Join Date: Feb 2009
Old 07-05-2009 , 07:15   Re: [TF2] Player credits and rewards
#68

Ooops sorry
New version up
Code:
v0.1.9 2009/07/05
*	Hotfixed sm_candy_chat_stats2
I don't know if this would work but try
Code:
sm_candy_chat_tag "\0x04candy\0x01"
If this doesnt work I'll add a cvar so you can enable/disable a gree tag.
Gachl is offline
Neo Cool Dude
Member
Join Date: Apr 2008
Old 07-05-2009 , 09:35   Re: [TF2] Player credits and rewards
#69

Quote:
Originally Posted by Sexual Harassment Panda View Post
1) what is a good reward? that's a rather obscure and offensive comment if you ask me, be specific.
2)also seems rather offensive, and yes, has been mentioned
3)why say it sucks and then suggest to keep it? honestly have some respect when posting.

Also, @lufa givenameditem works? i thought the offsets were obsolete
How the fuck was I being rude? I wasn't screaming or swearing and I never said that it sucks. Which makes sense considering I asked him to keep it. As for good rewards, that's pretty much common sense and he already listed some in a previous post, so you sir need to take a seat.
I may have been a little blunt with the "make good ones" but it doesn't make any sense to just have all bad ones, why would people try to get candy then?

Also other plugins have used givenameditem and are still working, like the Instagib mod.

Good job so far Gachl.

Last edited by Neo Cool Dude; 07-05-2009 at 09:36. Reason: add
Neo Cool Dude is offline
Gachl
BANNED
Join Date: Feb 2009
Old 07-05-2009 , 09:52   Re: [TF2] Player credits and rewards
#70

thanks neo.

I added to the OP a -- Things you can buy -- to the todo list. I hope these get done soon.
Gachl is offline
Closed Thread



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:39.


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