[ANY] tAttributes v0.1.1 (2010-04-05)
3 Attachment(s)
tAttributes
is a plugin providing a basic interface for developers to integrate some sort of rpg-like attribute system in their gameplay modifications - it is designed with modularity in mind and doesnt make use of any game-specific features. Everything which only works on certain games is split into seperate plugins. Leaving the core as it is and just developing "attributes" is very easy, i'll provide an example later on. A guide to install this on your server can be found on it's wiki at github, where the newest code (changelog, rss) can be found too. If you want to contribute to this project, please do so =D , send me your attribute-code or other stuff using the attributes include. If you've found any issues/bugs whatsoever, please post those either at the issues tab on the github page or here. Currently available Attributes: Team Fortress 2 Quote:
Quote:
Because you like screenshots so much... http://thrawn.einfachonline.net/imag...8_13_46_56.jpgDownload: The latest source-code can be found here, the version posted in this thread wont be updated very regular. Same goes for the packaged versions. Grab them from the Downloads Section at github, to get the latest versions. Update 2010-05-04: * Added link to cvar list. * A lot of fixes, for a full changelog take a look at the commit history here. * If you've installed tAttributes on your server, update now. |
Re: [ANY] tAttributes v0.1.0
2 Attachment(s)
Pre-Packaged Binaries
You dont want the hassle of selecting/installing attributes yourself and just want to play this? Use these pre-compiled packages (they contain levelmod too). |
Re: [ANY] tAttributes v0.1.0
1 Attachment(s)
Developer Examples
1. Implementing your own attribute (please share it with us) This is the most simple attribute i could think of explaining the natives you'll need. It basically just prints your attribute-level on spawn. PHP Code:
|
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
1 Attachment(s)
If you are using the Basic Donator Interface toazron1 wrote, you can use this plugin to give Donators 2 Attribute Points for leveling up. (The normal attributes.bridge.levelmod is still needed.)
|
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Thanks, sounds interesting!
Will look into this further later! |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Getting this spam in logs:
Code:
L 03/28/2010 - 13:03:32: [SM] Plugin encountered error 15: Array index is out ofIs there a cmd to reset attributes for a player? |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Yeah, getting a lot of those messages in the console as well. (Using the TF2 bundle version.)
Also, the in-game menu doesn't seem to work. I've tried using !att, but it doesn't do anything. Quote:
Granted, it didn't seem to remember that I got to level two, and it's telling me that I have 0 points to spend. Console spam died, at least. |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
I still have console spam, also, players get experience from blowing up their teammates with rockets or grenades even though it does no damage.
|
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
updated. hopefully fixes your problems.
a plugin to reset someones attributes will be coming soon. |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
levelmod notify spamming my console about player death. Rolf.
I want to set xp more than 10 but it won't go further. what command to see attribute points?. maybe i wrong does attribute given after level up or after several exp gained? |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
levelmod notify spamming my console about player death. Rolf.
I want to set xp more than 10 but it won't go further. what command to see attribute points?. maybe i wrong does attribute given after level up or after several exp gained? L4d2 |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
whats it spamming?
|
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Quote:
|
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Well, these plugins are all nice! BUT
i got one big problem... i dont really know (because there are so much plugins in that 3 theards) what to install now can someone upload a RAR file with everything in it? the cosmetic levelmod with permanent levels (or the core version of this) tAttributes included and everything else needed for really having everything... pls i had to delete a lot of plugins because i installed the same plugin 3 times or i dont know what happend... would be great if someone uploads a full Rar with all this fun :D |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
second post of this thread: Pre-Packaged Binaries
thats all you need for a quick setup |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
I posted this in your other thread but I think this thread is more appropriate.
We are still losing our attribution points. I log off and on randomly and everything was fine today. Then all of a sudden, my last log off I lost all my attributes. However, my levels were still there. EVERYONE in my community loves it (almost 150 people) and will be running and testing the SH** out of this. Our number one concern is being able to keep the levels after logging. SUGGESTIONS: 1. I took out the "EXAMPLE" attribute because it doesnt seem to do anything and gives you an annoying message constantly about "wasting (number) amount of points". Everyone complained about it. Is there going to be another attribute set there in the future? 2. Lifeforce needs a buff. Maybe make it a 100 point buff at max attribute with a longer duration. I will personally test this out. 3. The leveling hud blinks. Not a big deal, but just thought I would mention it. Again thanks for all your hard work! If we get all the bugs about saving the levels worked out, expect a donation! You can PM me for my server IP so you can check it out. |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
1 Attachment(s)
I attached a new version of the clientprefs plugin, it contains some fixes which might solve the losing of points problem. I'd appreciate it if you could test this version. Hopefully it fixes the problems you've encountered. The changes to the source can be found here, the full source here. |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
You are a GOD amongst mere mortals!
I will test this tonight and get back to you. About the lifeforce...is there a way to make it buff more at least? Just asking. I get SO MANY questions I even started a LEVEL MOD FAQ on my forums at zombiegun.us. If you need a server to do some personal test, let me know, you can use mine. ;) |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Quote:
sm_att_lifeforce_healthplus, Health grows by this value every attribute point; default is 2, but you could turn it up. Quote:
|
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
PERFECT!
Installing the plug in now... Will report back to you tomorrow with my community feedback. |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
1 Attachment(s)
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. |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
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. |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
1 Attachment(s)
Quote:
Quote:
Quote:
Quote:
|
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
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. |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
*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? |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
3 Attachment(s)
could you try it again with the attached plugins? (sry for the inconvenience)
Quote:
Quote:
|
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
Quote:
Quote:
I have had over 300 individual Steam accounts visit my server last night. This is why I can produce results in a short time. |
Re: [ANY] tAttributes v0.1.0 (2010-03-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! |
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
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.
|
Re: [ANY] tAttributes v0.1.0 (2010-03-28)
2 Attachment(s)
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. :up: 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. |
Re: [ANY] tAttributes v0.1.1 (2010-04-05)
Where do I put the .inc file again? (forgot)
I deleted the clientprefs-sqlite.sq3 file. I will test the r3 release today again. Will report back to you asap. I merged these 2 files with the r3 package in the first post. |
Re: [ANY] tAttributes v0.1.1 (2010-04-05)
you need the .inc only if you want to compile it yourself - then it goes into your scripting/include folder.
no need to merge anything. just install r3 (dont forget to remove plugins/features you don't want ;) ) |
Re: [ANY] tAttributes v0.1.1 (2010-04-05)
Quote:
|
Re: [ANY] tAttributes v0.1.1 (2010-04-05)
BUG: People are losing their attribute points when logging off then logging back on to the server.
BUG: People are putting attributes in but they are not showing (however, they are still working). I am thinking it has something to do with the graphical attribute HUB? BUG: Two peoples levels and attributes were cut in half after server restart. One was level 8 with 8 attributes and after the server restart he was level 4 with 4 attributes. Another was level 4 with 4 attributes and after the server restart he was level 2 with 2 attributes. Another was level 2 ect ect... BUG: Put a point in an attribute and was at level 6 but said I only crit chance at 5. After map change it seemed to fix itself. This happened to 2 different people. |
Re: [ANY] tAttributes v0.1.1 (2010-04-05)
could you please pm me your server-log?
it should contain lines like this: [...] on map start: |
Re: [ANY] tAttributes v0.1.1 (2010-04-05)
Quote:
Also, did you get that PM here I sent you? *Edit Is there a way to lower the attribute cap? Right now its 20 and I want to lower it to 10. Reason being is the crits are a little over powered and I cannot lower the crits value lower than .01 so I thought lowering the attribute cap would be a good way to do this. Thanks. Our whole community is behind you on this! |
Re: [ANY] tAttributes v0.1.1 (2010-04-05)
2 Attachment(s)
Quote:
it seems there is indeed some racing going on, as sometimes not all attributes are registered when a client disconnects (e.g. right after a map has started). you wont notice this behaviour on servers with high performance as often. another try at fixing your problems - a bit more io is needed as its writing attribute points on change, not only when a client disconnects. additionally i turned the logging up quite a bit - if you still encouter problems, attach the log right away ;) |
Re: [ANY] tAttributes v0.1.1 (2010-04-05)
*edit
Bugs still exist. Pretty much all the same ones. Seems less though. Sent my logs. |
Re: [ANY] tAttributes v0.1.1 (2010-04-05)
2 Attachment(s)
I noticed Tanks became very weak with this plugin (around 200 hp) and so i took a closer look.
I quickly hacked together a fix; new max health iscalculated differently if the client is a tank. |
Re: [ANY] tAttributes v0.1.1 (2010-04-05)
I was wondering if there is a different version of tf2_advanced.inc. When i try to compile the file i recieve;
SourcePawn Compiler 1.3.1 Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(451) : error 017: undefined symbol "TFClass_Scout" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(452) : error 017: undefined symbol "TFClass_Soldier" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(453) : error 017: undefined symbol "TFClass_DemoMan" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(454) : error 017: undefined symbol "TFClass_Medic" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(455) : error 017: undefined symbol "TFClass_Pyro" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(456) : error 017: undefined symbol "TFClass_Spy" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(457) : error 017: undefined symbol "TFClass_Engineer" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(458) : error 017: undefined symbol "TFClass_Sniper" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(459) : error 017: undefined symbol "TFClass_Heavy" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(485) : warning 217: loose indentation C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(490) : error 017: undefined symbol "TF2_GetPlayerClass" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(494) : error 017: undefined symbol "TF2_GetPlayerClass" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(498) : error 017: undefined symbol "TF2_GetPlayerClass" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(502) : error 017: undefined symbol "TF2_GetPlayerClass" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(506) : error 017: undefined symbol "TF2_GetPlayerClass" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(510) : error 017: undefined symbol "GetPlayerWeaponSlot" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(518) : error 017: undefined symbol "TF2_GetPlayerClass" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(522) : error 017: undefined symbol "TF2_GetPlayerClass" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(526) : error 017: undefined symbol "TF2_GetPlayerClass" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(530) : error 017: undefined symbol "TF2_GetPlayerClass" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(540) : error 017: undefined symbol "TF2_GetPlayerClass" C:\HLserver\orangebox\tf\addons\sourcemod\scr ipting\include\tf2_advanced.inc(925) : error 017: undefined symbol "GetPlayerWeaponSlot" 21 Errors. Compilation Time: 0.58 sec Thanks in advance. Bone |
| All times are GMT -4. The time now is 18:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.