Raised This Month: $ Target: $400
 0% 

[STOPPED][TF2] Custom Achievement Manager With MYSQL (V1.1)


Post New Thread Reply   
 
Thread Tools Display Modes
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 11-25-2009 , 05:55   Re: [TF2][BETA] Custom Achievement Kill Manager With MYSQL (0.5)
Reply With Quote #61

You might want to stick this in the headers of your php files:

PHP Code:
<?php
header
'Content-Type: text/html; charset=UTF-8' );
?>
It will fix nonstandard names looking 'strange'.


Also how would I configure an achievement where SteamID 123 kills player X, and player X gets the achievement?
I tried it every way I could think of and couldn't get it working.

~Darth
__________________
DarthNinja is offline
Pfsm999
Senior Member
Join Date: Sep 2009
Old 11-25-2009 , 06:43   Re: [TF2][BETA] Custom Achievement Kill Manager With MYSQL (0.5)
Reply With Quote #62

Quote:
Originally Posted by DarthNinja View Post
You might want to stick this in the headers of your php files:

PHP Code:
<?php
header
'Content-Type: text/html; charset=UTF-8' );
?>
It will fix nonstandard names looking 'strange'.
Good idea : I will include this on V0.6 of interface (BIG CHANGE)

Quote:
Originally Posted by DarthNinja View Post
Also how would I configure an achievement where SteamID 123 kills player X, and player X gets the achievement?
I tried it every way I could think of and couldn't get it working.

~Darth
An achievement is for all player not for a specific player :
The correct achievement is :

player X was killed 123 time by SteamID player
And for that, enter :

"victim"
"123" on amount"
SteamID on steamid player
__________________
Pfsm999 is offline
Phobos777
Junior Member
Join Date: Oct 2009
Old 11-25-2009 , 08:38   Re: [TF2][BETA] Custom Achievement Kill Manager With MYSQL (0.5)
Reply With Quote #63

Well, backstabs register correctly now.

But the combination of dying to a crit and getting dominated at the same time is broken again.

I tried to make two achievements involving suicide. One is dying to the sawblades, the other getting shot by your own sentry. But I can't get them to work. For both I toggled suicide and addded prop_physics for the sawblades in the first achievement and obj_sentrygun in the second. I also tried to obj_sentrygun1, to see if it triggers with a lvl 1 sentry. That didn't help either.
Phobos777 is offline
Pfsm999
Senior Member
Join Date: Sep 2009
Old 11-25-2009 , 10:06   Re: [TF2][BETA] Custom Achievement Kill Manager With MYSQL (0.5)
Reply With Quote #64

Quote:
Originally Posted by Phobos777 View Post
Well, backstabs register correctly now. .
Good

Quote:
Originally Posted by Phobos777 View Post
But the combination of dying to a crit and getting dominated at the same time is broken again.
Bad
I think i understand why : When you assist a man to kill someone and you dominate the dead man : That was not a domination but a assist domination ! And i include on the next correction of plugin this rules :

A domination = A domination and a assist domination
A revenge = A revenge and a assist revenge

Quote:
Originally Posted by Phobos777 View Post
I tried to make two achievements involving suicide. One is dying to the sawblades, the other getting shot by your own sentry. But I can't get them to work. For both I toggled suicide and addded prop_physics for the sawblades in the first achievement and obj_sentrygun in the second. I also tried to obj_sentrygun1, to see if it triggers with a lvl 1 sentry. That didn't help either.
I don't try this and i will try when i have time to try this ! But when you will be kill by your own sentry, that was not a suicide ! ... I think ... it's a error or engineer

And for the first .... i don't know ... i will test tonight !
Can you give me your steam community on a PM ? I will add you for more quickly testing !

And the version 0.6 will be big ...
__________________
Pfsm999 is offline
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 11-25-2009 , 14:45   Re: [TF2][BETA] Custom Achievement Kill Manager With MYSQL (0.5)
Reply With Quote #65

The config checker is based off of my older version, correct?

If so, it was horribly bugged when I first released it, I can probably fix it up on the weekend, or whenever I get time and perhaps implement a bunch of features I had added to the one I was working on for my release.
__________________
Jindo is offline
Pfsm999
Senior Member
Join Date: Sep 2009
Old 11-25-2009 , 15:37   Re: [TF2][BETA] Custom Achievement Kill Manager With MYSQL (0.5)
Reply With Quote #66

Thanks Jindo : I know, your first plugin have some bug but that was perfect for to learn with it !
I go out a other version of my plugin : NOT the 0.6 version but a other correction !

And for your question :

Quote:
I tried to make two achievements involving suicide. One is dying to the sawblades, the other getting shot by your own sentry. But I can't get them to work. For both I toggled suicide and addded prop_physics for the sawblades in the first achievement and obj_sentrygun in the second. I also tried to obj_sentrygun1, to see if it triggers with a lvl 1 sentry. That didn't help either
For add an achievements with sawblades : Mark on weapon field : "saw" without "
For add an achievements with train : Mark on weapon field : "train" without "

But the second achievement work well on my server.
__________________

Last edited by Pfsm999; 11-25-2009 at 15:45.
Pfsm999 is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 11-25-2009 , 16:56   Re: [TF2][BETA] Custom Achievement Kill Manager With MYSQL (0.5)
Reply With Quote #67

Quote:
Originally Posted by Pfsm999 View Post
Good idea : I will include this on V0.6 of interface (BIG CHANGE)



An achievement is for all player not for a specific player :
The correct achievement is :

player X was killed 123 time by SteamID player
And for that, enter :

"victim"
"123" on amount"
SteamID on steamid player
Ok, I put in what you said:
http://screencast.com/t/MWVjZjViYm

Replacing --My Steam ID-- with my id obviously.


I went ingame to test:


I'm trying to create an achievement where if I kill someone, they get the achievement.
__________________
DarthNinja is offline
Pfsm999
Senior Member
Join Date: Sep 2009
Old 11-25-2009 , 18:57   Re: [TF2][BETA] Custom Achievement Kill Manager With MYSQL (0.5)
Reply With Quote #68

OUPSSS

I see on my admin.php a error !
I do a mistake with attacker and victim : i reverse them !

See on my first page the new web interface ! (V0.5B)
Now you can test with the this condition (Just delete the older achievement)

"if I kill someone, they get the achievement. "

Who win the achievement :
Victim
Who are the "reverse of the first" (here victim) : STEAM_....

and i think that still work !
I will do an other tutorial to present the V0.6 !
__________________

Last edited by Pfsm999; 11-25-2009 at 18:59.
Pfsm999 is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 11-25-2009 , 22:22   Re: [TF2][BETA] Custom Achievement Kill Manager With MYSQL (0.5)
Reply With Quote #69

Quote:
Originally Posted by Pfsm999 View Post
OUPSSS

I see on my admin.php a error !
I do a mistake with attacker and victim : i reverse them !

See on my first page the new web interface ! (V0.5B)
Now you can test with the this condition (Just delete the older achievement)

"if I kill someone, they get the achievement. "

Who win the achievement :
Victim
Who are the "reverse of the first" (here victim) : STEAM_....

and i think that still work !
I will do an other tutorial to present the V0.6 !
Thanks, I thought that might be a bug.

By the way, I'm adding support for your plugin here:
http://forums.alliedmods.net/showpos...2&postcount=24
__________________

Last edited by DarthNinja; 11-25-2009 at 22:26.
DarthNinja is offline
chaosms
New Member
Join Date: Sep 2008
Old 11-26-2009 , 01:47   Re: [TF2][BETA] Custom Achievement Kill Manager With MYSQL (0.5)
Reply With Quote #70

Pfsm please add the ability to set the class of killers and victims at the same time
chaosms 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 11:38.


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