I've been in the process of making a few edits for an up and coming majormud sensation lol. I came across an interesting problem and was wondering if anyone else had experienced it or knew of anyway to fix it. The first I had been making an npc to give witchunters abilities. The first thing i wanted to do was make witchunters gain +1 crits and +1 max damage every 10 levels. I created a speech set and then made this textblock for the abilities.
class 2:minlevel 10:failability 190:giveability 190 1:checkability 190 1:testability 190 1:giveability 58 1:giveability 4 1:giveability 190 2:message 8637
class 2:minlevel 20:checkability 190 2:testability 190 2:addability 58 1:addability 4 1:giveability 190 3:message 8637
class 2:minlevel 30:check 190 3:testability 190 3:addability 139 10:message 8638:addability 58 1:addability 4 1:giveability 190 4:message 8637
class 2:minlevel 40:checkability 190 4:testability 190 4:addability 58 1:addability 4 1:giveability 190 5:message 8637
class 2:minlevel 50:checkability 190 5:testability 190 5:addability 139 10:message 8638:addability 58 1:addability 4 1:giveability 190 6:message 8637
class 2:minlevel 60:checkability 190 6:testability 190 6:addability 58 1:addability 4 1:giveability 190 7:message 8637
class 2:minlevel 70:checkability 190 7:test ability:addability 139 10:message 8638:addability 58 1:addability 4 1:giveability 190 8:message 8637
class 2:minlevel 80:checkability 190 8:testability 190 8:addability 58 1:addability 4 1:giveability 190 9:message 8637
class 2:minlevel 90:checkability 190 9:testability 190 9:addability 58 1:addability 4 1:giveability 190 10:message 8637
class 2:minlevel 100 8639:checkability 190 10:testability 190 10:addability 58 1:addability 4 1:giveability 190 11:message 8637
In the above case i had made ability 190 the witchunters training ability. Message 8637 says something about gaining combat abilities. message 8638 says something about gaining magical resistances. and message 8639 says you need to train more before asking me about this. I compiled the update and tested it out. The text part worked perfectly and the abilities appeared to work correctly. I had made a level 30 witchhunter to test it out. I received the first 3 benefits then I chked the user editor to make sure I had everything as i should. It worked correctly. I left the realm and looked back at the user editor and critsand max damage had disappeared. Ability 139 and ability 190 were still there. I deleted the witchunter quest ability from my character and tried again. After careful testing I found that the ability stayed on the character until I moved from the current room or exited the realm. I tried this many times. I determined that it also happened when I simply assigned the ability to the witchunter. I tried assigning crits to a mystic as well and after moving or exiting the realm the ability was removed. I was annoyed. I would like to know what is happening so i can fix the problem. If anyone has any information I would be very thankful.
DeathCow
Ability 58 disappearing
Re: Ability 58 disappearing
After some additional testing I have found that the ability crits does not disappear if you have the ability 131 3 . Im getting the idea that there is something demonic in the air. It smells like lance. Actually, I now find I can only enter the value 1 for ability 58 and only if the character as the ability 131 3. The value must be 3 or ability 58 disappears. Btw the ability max damage disappears even with 131 3 although id imagine ill get the same results if i add in which ever quest it is that give max damage.
-
cynsyn
Re: Ability 58 disappearing
i tried giving abilities through quests on my board , i gave up on it cause they've all disappeared. Its todo with DLL checks from i've gathered. and from my previous post that was answered by syntax.
Re: Ability 58 disappearing
After some additional testing I have found that the ability crits does not disappear if you have the ability 131 3 . Im getting the idea that there is something demonic in the air. It smells like lance. Actually, I now find I can only enter the value 1 for ability 58 and only if the character as the ability 131 3. The value must be 3 or ability 58 disappears. Btw the ability max damage disappears even with 131 3 although id imagine ill get the same results if i add in which ever quest it is that give max damage.
this is good info though on trying to pinpoint where the checks are. keep up the hunting. i think necrosaro did some research on this before: http://www.forumshq.com/showthread.php?t=5348&highlight=ability ... maybe you can hit him up for some clues. post your findings here though!
this is good info though on trying to pinpoint where the checks are. keep up the hunting. i think necrosaro did some research on this before: http://www.forumshq.com/showthread.php?t=5348&highlight=ability ... maybe you can hit him up for some clues. post your findings here though!
Re: Ability 58 disappearing
Well I kinda understand what is happening with the critical hit ability disappearing. This is all based on assumptions however I believe them to be based on solid facts. The dragon quest is varible 131. When you touch the ruby you are given the value 3 for ability 131. In addition to 131 3 your also given 58 1 . I believe coding was put in in order to stop people from repeating the dragon quest and getting +1 crits a second time. So if for any reason you do not have the ability 131 with the value 3 ability 58disappears. I did some toying around with 131 and i discovered that if you have ability 131 2 when you enter the realm you get a notice saying you have been striped for the 35,000,000 experience from the Dragon Quest and it will have to be repeated. It goes on to ask you to exit and reenter the realm to varify your stats. It now while I had the ability 131 2 the ability 58 did not disappear. However the value 131 2 disappeared just as ability 58 had been. As soon as 131 2 disappeared 58 did as well. I tested values 0 1 and 4 as well for ability 131. It turns out that these values do not cause ability 131 to disappears but they also do not allow you to have ability 58. So back to the original theory. Wcc must have thought that there might be some way to abuse the dragon quest and possibly attain the +1 crits multiple times. Because of this they must have added some coding disallowing ability 58 with any value greater 1. and makeing ability crits only able to be present with 131 3.
Re: Ability 58 disappearing
my theory has always been that something happened in the background when a textblock adds an ability to your character as opposed to you actually putting it on there by editing the character. i had the assumption that it set some flag on the character somewhere. maybe the default abilities/rewards are hard coded into the dll and it checks them when you change rooms or exit/enter the realm. have you done any testing on adding the abilities in the different ways?
Re: Ability 58 disappearing
Yes i have. First my original text block added the ability 58 and it was removed after moving or exiting the realm. I had made a level 30 witchunter to test it and I could receive addability 58 1 up to 3 times. After each time i chkd to see if the orignal ability was there. It was there until I exited and reentered. So i over a short persiod of time had 58 1 then 58 2 then 58 3. After any movements or exiting the ability was removed. Then I made my hunter level 250 and killed the adult red dragon and touched the gem. I attempted to change ability 58 from value 1 to value 2 but it kept changing it back to 1. So i tried tinkering with ability 131 could have any value except 2. when it was set at 2 it gave a message that your 35 million exp has been removed. Shortly after that ability 131 2 disappeared. In all cases where ability 131 was not valued at 3 ability 58 no matter what its value disappeared. On another character, a mystic this time, I gave the ability 131 3 manually. I was testing to see if ability 58 would appear on its own. It did not. However when I applied ability 58 to the mystic it did not delete.
Re: Ability 58 disappearing
Im not familar with how to access the "flags" present on a character. Is there a way to do this. And is the way of doing this worth dealing with. I did work around it by simply making the npc that was suppose to train you to get the +1 crits and +1 max damage give them an item with a spell on it. I didnt want to do it that way, but its all i knew how to do. Thanks
Re: Ability 58 disappearing
Im not familar with how to access the "flags" present on a character. Is there a way to do this.
there isn't a specific area for the flags, i just meant there could be a byte set from 0 to 1 or something anywhere in the characters record.
And is the way of doing this worth dealing with. I did work around it by simply making the npc that was suppose to train you to get the +1 crits and +1 max damage give them an item with a spell on it. I didnt want to do it that way, but its all i knew how to do. Thanks
this is what everyone else does too.
there isn't a specific area for the flags, i just meant there could be a byte set from 0 to 1 or something anywhere in the characters record.
And is the way of doing this worth dealing with. I did work around it by simply making the npc that was suppose to train you to get the +1 crits and +1 max damage give them an item with a spell on it. I didnt want to do it that way, but its all i knew how to do. Thanks
this is what everyone else does too.
-
Necrosaro420
- Posts: 0
- Joined: Mon Jan 22, 2001 6:00 am
Re: Ability 58 disappearing
this is good info though on trying to pinpoint where the checks are. keep up the hunting. i think necrosaro did some research on this before: http://www.forumshq.com/showthread.php?t=5348&highlight=ability ... maybe you can hit him up for some clues. post your findings here though!
Yes I did. I tryed pretty much everything I could think of. I could get the abilitys above 190 to stay, but if I ran an offline recovery, then any ability above that would get erased. I would say its either in the DLL or there is something in the offline recovery of mud that checks for it. But I never figured it out after ummmmmmmm hours and hours of testing.
Yes I did. I tryed pretty much everything I could think of. I could get the abilitys above 190 to stay, but if I ran an offline recovery, then any ability above that would get erased. I would say its either in the DLL or there is something in the offline recovery of mud that checks for it. But I never figured it out after ummmmmmmm hours and hours of testing.