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

[ANY] tAttributes v0.1.1 (2010-04-05)


Post New Thread Reply   
 
Thread Tools Display Modes
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 04-03-2010 , 19:26   Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Reply With Quote #21

i've updated the commands plugin, it had some bugs in it and was missing some features.
source can be found on the repository as usual.
also i've written a small list of examples on how to use the commands, read here.
Attached Files
File Type: smx attributes.cmds.smx (5.0 KB, 147 views)
Thrawn2 is offline
Grundy
Member
Join Date: May 2009
Old 04-03-2010 , 20:01   Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Reply With Quote #22

Thanks.

Question though...

I gave someone 20 extra points to spend whos points were not registering and it gave him the 20 points to spend but every time he spent them, it just says it registered 1 and still showed zero in the attribute. Normally it would show "up by 1" "up by 2" ect...

------------------------------------------------------------------------------------
As for the clientprefs plugin...

People are still reporting zeros across the board when they put an attribute in.

They level up and put a point in and the attribute they put it in still shows 0.

*Edit
Just switched maps and one person was level 3 at the time and all his attributes went to 0.

Another person who just joined leveled to level 1 and never even got an attribute point to put in.

*Edit #2
sm_att_set "name" all 0 crashes my server.
__________________

Last edited by Grundy; 04-03-2010 at 22:05.
Grundy is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 04-04-2010 , 07:23   Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Reply With Quote #23

Quote:
Originally Posted by Grundy View Post
I gave someone 20 extra points to spend whos points were not registering and it gave him the 20 points to spend but every time he spent them, it just says it registered 1 and still showed zero in the attribute. Normally it would show "up by 1" "up by 2" ect...
I cant reproduce this - could be a race condition between setting the attribute points value and displaying the menu again. have you tried typing !att again after you've spend a point which didnt appear in the menu? It should be there then.

Quote:
People are still reporting zeros across the board when they put an attribute in.
argh. okay, a more brute force method of loading the attribute points is in the attached plugin (changes).

Quote:
Another person who just joined leveled to level 1 and never even got an attribute point to put in.
uhm, are you sure? there was a problem with saving the available points, so they could have been lost on level transition.

Quote:
sm_att_set "name" all 0 crashes my server.
i'll try to reproduce and fix this. the first parameter is a standard target parameter you can find in almost any sourcemod command.
Attached Files
File Type: smx attributes.permanent.clientprefs.smx (3.8 KB, 141 views)
Thrawn2 is offline
Grundy
Member
Join Date: May 2009
Old 04-04-2010 , 12:53   Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Reply With Quote #24

Thanks for being on top of this. I will test this new plug in right now.

To answer your question, Yes, he tried typing !att over and over again. He also logged off and came back with the same problem.
__________________

Last edited by Grundy; 04-04-2010 at 13:20.
Grundy is offline
Grundy
Member
Join Date: May 2009
Old 04-04-2010 , 13:07   Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Reply With Quote #25

*TESTED

Every time it shows "your attributes have been loaded" it wipes our points out.

Works at level one, but then it wipes from level 2 on.

This was reproduced on 5 different accounts.

Did you look at the code my friend sent you by any chance?
__________________
Grundy is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 04-04-2010 , 14:11   Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Reply With Quote #26

could you try it again with the attached plugins? (sry for the inconvenience)

Quote:
Did you look at the code my friend sent you by any chance?
?!? never got anything

Quote:
Yes, he tried typing !att over and over again.
any idea how i could reproduce this?
Attached Files
File Type: smx attributes.messages.smx (5.3 KB, 150 views)
File Type: smx attributes.permanent.clientprefs.smx (3.8 KB, 136 views)
File Type: smx attributes.cmds.smx (5.2 KB, 159 views)
Thrawn2 is offline
Grundy
Member
Join Date: May 2009
Old 04-04-2010 , 15:07   Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Reply With Quote #27

Quote:
Originally Posted by [AAA] Thrawn View Post
could you try it again with the attached plugins? (sry for the inconvenience)
Not inconvenient at all. I love being part of this process. I am glad I have the community to test it.


Quote:
?!? never got anything


any idea how i could reproduce this?
You just have to wait for someone to get bugged.

I have had over 300 individual Steam accounts visit my server last night. This is why I can produce results in a short time.
__________________
Grundy is offline
Grundy
Member
Join Date: May 2009
Old 04-04-2010 , 16:24   Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Reply With Quote #28

BUG: There is still no point roll over when changing maps and a possible level skip if you don't use your point before level change.

BUG: Just relogged to my server after posting this and all my attributes were wiped.

BUG: Other people have reported that their points are allocated in different attributes when they relog. i.e. He was 10 crit 7 str when he was on the server. Logged off then came back later to 17 dex.

BUG: Logged on and I had my points back but they were all over the place.

BUG: People who just logged on for the first time are at level 0 with random numbers in their attributes.

BUG: If i connect the current game on blu I have more stats than I should (tho all messed up) and if I disconnect and go red I have stats but still have the level

ALSO: I do not know if its related, but the fall damage is reduced and the pryo's flamethrower flame gets stuck on.

p.s Happy Easter!
__________________

Last edited by Grundy; 04-05-2010 at 01:24.
Grundy is offline
RavensBro
Veteran Member
Join Date: Sep 2009
Location: Wisonsin USA
Old 04-04-2010 , 19:45   Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Reply With Quote #29

maybe if you make it set up like the tf2stats plugin it has it's own sq3 file we never loose any points or what not just a thought.
RavensBro is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 04-05-2010 , 07:19   Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Reply With Quote #30

remember: coding at night probably just breaks things.
the issue: points of clients were never set to zero when they left the server, thats why on connect of a new client he had the stats of the old one. and values for someone with an attribute greater than 0 were never loaded. yes i'm serious. facepalm with me.

THANK YOU so much for testing this and providing all that feedback, your bug reports pushed me in the right direction to find what went wrong all along.

try this, it should resolve your issues. (also i've released a new package, see first post for that)

maybe its best to clear out that database of yours beforehand, because otherwise you will keep your botched attributes.
Attached Files
File Type: smx attributes.permanent.clientprefs.smx (4.0 KB, 153 views)
File Type: smx attributes.core.smx (7.5 KB, 143 views)

Last edited by Thrawn2; 04-05-2010 at 07:56.
Thrawn2 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 22:45.


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