Author |
Message |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 11/23/2009 01:44:03
|
Szlat
Wicked Sick!
Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline
|
We are trying out a new "L" stats menu, that paves the way for subclasses. In the past, each ability has had its limit built in, so it was almost impossible to buy something that was not permissible.
With the subclasses, each ability has to be a lot more open, and it relies on the subclass stats menu to restrict who can buy what.
So, if you get the old stats menu, and it does give you options to buy things, please do not exploit the bug by purchasing skills you are not supposed to have. Instead, please report to me how you managed to get the wrong stats menu up so I can fix it.
Two points to note:
If you have purchased an ability that you are not supposed to have, next time you reconnect it will remove it, and credit you back with the points
It also logs that you have had this incorrect skill. What Druid will decide to do to frequent offenders is at his discretion.
|
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 11/23/2009 13:46:50
|
synchronyze
![[Avatar]](/dcforum/images/avatar/9da187a7a191431db943a9a5a6fec6f4.jpg)
Joined: 11/07/2009 21:24:11
Messages: 27
Location: Colorado
Offline
|
When you reset a character all the options appear to become available that you meet stat requirements for. At first I figured with the new subclass system coming in that maybe if you don't choose a class at all you could buy a large variety of abilities from all the classes but limited to low levels. But after seeing this thread it appears to have been a bug.
Details:
Name: Rorschach
I made a new character, bought medic class and loaded medic, then put the rest of the points into stats. Then decided to reset. Upon doing so I found that many options were now available that I hadn't noticed before. It looked more or less like everything could be bought. So I bought loaded weapons, loaded medic, and loaded artifacts. The medic weapon maker wouldn't work on any gun, saying something to the effect of "You cannot convert this type of weapon." I had a critical error at some point around this time, but didn't think anything of it since it happens to from time to time normally. Upon reconnecting someone else that was playing at the time also had the same issue of not being able to use the medic weapon maker (I'm not sure if this was related to what I was doing). The map then ended. Next map I clicked reset again. (I didn't notice or look to see if the bugged abilities had been reset automatically beforehand like you said they should.) Then bought loaded weapons, loaded medic, then eng. class. Then leveled and bought loaded engineer and shield healing(w/e the abil. is to get inf. eng. link?). Upon leveling, the options would lock again and I could only buy what I was supposed to.
I spawned with one of each weapon as expected and the eng. link and constructions worked fine too. This time I could also make medic weapons, however the medic weapon I made wouldn't heal at all no matter how low on health a person was. So it was essentially a vanilla inf. weapon. After the second map I changed characters.
After reading this thread I logged back on. His abilities have not been reset. He still is an eng. class with loaded weapons and loaded medic. I won't play him like this now that I know it's a bug. But I'll leave him as is for now if it's useful as a coding reference or whatnot.
Hopefully this was helpful.
|
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 11/23/2009 17:00:25
|
Szlat
Wicked Sick!
Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline
|
Thanks synchronyze. I will investigate.
|
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 11/23/2009 21:23:26
|
greg11
Wicked Sick!
Joined: 02/10/2008 20:00:40
Messages: 526
Location: Hood River, OR
Offline
|
Szlat, back with druids200, it was possible to edit the stats file and add abilities. It would make the log entry, but nothing would be removed automatically. Was something added since then to remove the abilities?
|
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 11/23/2009 23:33:12
|
Szlat
Wicked Sick!
Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline
|
greg11 wrote:
Szlat, back with druids200, it was possible to edit the stats file and add abilities. It would make the log entry, but nothing would be removed automatically. Was something added since then to remove the abilities?
Yes. The SubClass configuration is allowed to be dynamic, where server admins can change the configuration in the ini file. So, if an admin decides that this subclass shouldn't have this ability, or should have it to a lower level, then when the player joins, it checks, and fixes it.
Obviously the reset bypasses that somehow, but I will sort that out.
|
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 11/24/2009 13:24:24
|
Szlat
Wicked Sick!
Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline
|
Ok. I have now got a fix for the reset stats problem. UT2004RPG wasn't re-initialising everything correctly, and so the correct list of abilities was not getting limited.
Also put in more checks to sort out invalid data, including checking for multiple classes.
Should be in the next build - whenever that is.
|
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 11/25/2009 21:03:13
|
cribbage
Killing Spree
![[Avatar]](/dcforum/images/avatar/cc1aa436277138f61cda703991069eaf.jpg)
Joined: 03/07/2008 11:38:57
Messages: 55
Location: Oregon
Offline
|
I was looking at my L stats and noticed that I had countershove and retaliation that were at level 0.
I thought that it was some kind of bug so I shrugged and re-maxed them seeing as I have a ton of points to burn.
The changes stayed upon reconnecting.
If I should not have that level of cs and retal, please knock me back down.
Thanks,
-Crib
EDIT:
Ok, so I don't keep up on all the threads like I should. I just saw the thread dealing with this. I wonder if I could then make one request - that the countershove on my account be reset to 0. I hate it.
|
---------
31 for 2 |
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 11/28/2009 06:07:24
|
Ratar_Killer
Godlike
![[Avatar]](/dcforum/images/avatar/ba2fd310dcaa8781a9a652a31baf3c68.jpg)
Joined: 02/12/2006 13:46:09
Messages: 413
Location: New York City
Offline
|
After using all my lifes in in an "assult" game, all items were avail. for purchase.
|
There are 10 types of people in the world: Those who understand binary, and those who don't. |
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 11/28/2009 08:57:25
|
Flak Monkey
Wicked Sick!
![[Avatar]](/dcforum/images/avatar/7f1171a78ce0780a2142a6eb7bc4f3c8.jpg)
Joined: 08/24/2006 12:21:41
Messages: 1098
Location: Land of great Cheese and Beer
Offline
|
While at the end of a map, waiting during voting...I went into my stats and found Hording available to me....but at the beginning of the next map, it was gone.
|
My current skin After several other skins, I have reverted back to Bender.
Flak Monkey -> Berserker ( 818 )
Flak Junkie -> AM (60)
Monkey Wrench -> Engineer (27)
Favorite quotes:
"It puts the lotion on it's skin, or else it gets the hose again."
"Every morning is the dawn of a new error"
"But why is the rum gone?"
"The brain is a wonderful organ. It starts working the moment you get up in the morning and doesn't stop until you get to the office." - Robert Frost
"Beer has some Food value, but Food has no Beer value." |
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 12/03/2009 15:09:02
|
Clone-Engineer
Killing Spree
Joined: 07/17/2009 23:40:06
Messages: 106
Location: Jersey City, New Jersey
Offline
|
That could be a bug. I've seen hoarding on other servers and they allow you to gather items-much like a lucky weapon in this server the ability could've been removed-and it may come back once in a whiel as a temporary bug
|
Hi!! Nice to meet you. Online, I will mainly play as Clone-Engineer. Please be sure to check on my other posts!
Clone-Engineer-Level 72
Clone Weaponary-Level ?
Clone-Medic-Level ?
Clone-Junkie-Level ?
Clone--Level ? ( General )
***WARNING***
Republic Scouts have found the location of the monster house. Apparently the monsters teamed up with the droids and come together to attack us. So the Republic and DC has teamed up to fight them!!! |
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 12/03/2009 17:18:55
|
greg11
Wicked Sick!
Joined: 02/10/2008 20:00:40
Messages: 526
Location: Hood River, OR
Offline
|
Szlat, after taking a quick look at 2.21, and the 600+ lines of abilityconfigs in SubClass. Does the list of abilities need to be removed from the ut2004RPG config file?
Would that at least prevent users from buying abilities they shouldn't have?
|
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 12/03/2009 23:31:41
|
Szlat
Wicked Sick!
Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline
|
greg11 wrote:
Szlat, after taking a quick look at 2.21, and the 600+ lines of abilityconfigs in SubClass. Does the list of abilities need to be removed from the ut2004RPG config file?
Would that at least prevent users from buying abilities they shouldn't have?
I don't think I can. The UT2004RPG code still needs to read it into the RPGStatsInv and do its own checks. I haven't checked recently, so it might not be needed anymore in the main list.
A lot of the subclass code is getting the config to replicate to the client. It takes too long to replicate everything, so it just replicates what it thinks it needs.
EDIT: It looks like the list of abilties is just used by the StatsMenu. I thought it was used by the code checking what skills a person had already bought - I didn't want the check to not find the ability and hence give the person the points to spend. But as you say, it looks like the list isn't used by core UT2004RPG code.
However, at the moment to keep the size of the SubClass configuration down, I am not configuring all abilities into the SubClass code. The idea is you can buy any ability to its maximum, unless the SubClass code limits it. So abilities like Iron Legs are just left as defaults. Having to put all the abilities into the subclass configuration would up it by about ten more entries per subclass. So the list is still used by the new SubClass configuration code.
Perhaps I should turn the configuration on its head, and say you can't buy anything unless it is configured in the SubClass config. Have a new section of the config which lists all the abilities and what their global availability is - so I wouldn't have to repeat Iron Legs for each subclass.
Then I wouldn't need anything in the UT2004RPG available abilities list.
(I would also need to change the Class purchasing part of the code. Again that still uses the UT2004RPG list of abilities)
|
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 12/08/2009 07:44:46
|
Grimelark
Joined: 08/16/2009 20:51:04
Messages: 7
Offline
|
Grimelark MD, somehow I got into the L screen after I died. I was the highest level on at the time and it was on the 2nd of Dec. When I got into that screen it had hoarding as well as several other things I don't think my medic shoudl have been able to use.
Also didn't exp healing use to have 10 levels?
|
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 12/08/2009 09:13:45
|
Szlat
Wicked Sick!
Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline
|
Grimelark wrote:
Also didn't exp healing use to have 10 levels?
9
|
|
 |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 12/11/2009 00:18:44
|
greg11
Wicked Sick!
Joined: 02/10/2008 20:00:40
Messages: 526
Location: Hood River, OR
Offline
|
Szlat wrote:
However, at the moment to keep the size of the SubClass configuration down, I am not configuring all abilities into the SubClass code. The idea is you can buy any ability to its maximum, unless the SubClass code limits it. So abilities like Iron Legs are just left as defaults. Having to put all the abilities into the subclass configuration would up it by about ten more entries per subclass. So the list is still used by the new SubClass configuration code.
I keep seeing the configuration, and I keep thinking that there must be a better way.
At +76k, the subclass code is about 10% of all of the code. Although it should compress well.
Can a string be used as an array:
Code:
AbilityConfigs(0)=(AvailableSubClasses="0,3,6,12",AvailableAbility=Class'DruidsRPG221.DruidSomeAbility',MaxLevel="5,15,15,10")
"0,3,6,12" are the indexes for the subclasses array with the corresponding maxlevels.
I just don't know if parsing strings like this would be possible.
|
|
 |
|