Feedback
Open
Disable fizzles above 75%
Trev
·
Disable fizzles above 75% spellpower. Fizzles are terrible, and they seem to be worse in certain parts of maps. Getting 4 fizzles in a row during PVP with faction, robes and a very high spell % is a major bummer.
Discussion 59
Sign in to join the discussion.
Not sure about this, honestly.
When dealing with offensive spells and damage-dealing spells in particular, there’s no way to dodge them so either they fizzle and “miss” or they hit 100% of the time, every cast. That’s extremely powerful. It may be frustrating to have them fizzle at a key moment, but that’s also the one wildcard that makes pvp matches interesting.
With spells like buffs, weapon enchants, etc, that’s different. It’s just plain stupid and annoying to cast reveal 5 times and tank a ton of mana and vigor because of fizzles.
Enchantment spells like Reveal never fizzle and will go off 100% of the time - if using mouselook as long as you don’t have any viable targets other than the weapon in your line of sight. So make sure you are staring at a cornerwith mouselook
This is exactly why they exist ~ good feedback
Yeah but surely it was not designed so that you often fizzle 5x in a row during a fight in certain zones.
I’m thinking of times during PvP when I have spammed blind or FB on somebody and have fizzled 5x+ times in a row. There are certain scenarios in the game when you get a crazy amount of fizzles and I don’t think it was designed to be that way.
A fizzle or two per 10? Makes sense. 5 in a row at 99% power and robes? No ma’am
The fizzle code is almost certainly bugged.
I’ve had 7 in a row at maximum spell power. The code makes it seem like the chance at a fizzle at max power is in the neighborhood of 4 percent. (equation is: num = ((100-iRequisiteStat)*iSpellpower/100) + iRequisiteStat)
That number is modified by jala spells and the distance to the target and bound 5-95
then a random number 0-100 is chosen and if it is greater than the key number the spell fizzles
The problem is - even conservatively using 90 spellpower and 35 in the stat: 100-(35 myst)*90/100 + 35 = 93.5 % success chance
so (1-.935)^7 is a very very small number ( 5/1 billion). Small enough that there is likely something else going on.
Sorry to hijack thread - I disagree that we need to do away with fizzles but I would like to make them less streaky. Perhaps tip the scales a little after the second consecutive fizzle to make them increasingly less likely.
100%. Fizzles are important to the game, but judging from your numbers they aren’t popping correctly. I don’t know if this is something easily identifiable in the code, but it seems like adding a +% for each cast after the first failure could help balance out the fizzle streaks
Now 5x is pretty bad, I’ll agree
Are you sure you weren’t dealing with any negative spellpower affecters, such as a scim in the hand, dement debuff, etc?
No, it will happen sometimes and it can be really frustrating. Feels like being on uneven ground can make it worse, IE if you are trying to fireball somebody and they are on a plane above or below you. Or if they are in a safe spot.
I was attacking somebody at Avar Village for example and they were down in the pit and I was up on the ledge, and as they ran up that ramp to try and make it towards the hut I fizzled blind on them 5x easy, and its 90+%, robes, Duke
Hey! I think that was with me! I know the toon I ran off the side survived. I was trying to LOS when running. Didn’t know it was fizzles. 🙂
I vaguely recall there being a range penalty for spellpower? I could be wrong though
Aah there is, Coolmike’s post above
Still, that does suck
In this scenario they were close - running right by me up the hill while I fizzle, wait for the timer so I can cast again, fizzle, repeat x3
Burn through half of my mana watching them just run right past me.
And re fizzles being the balance to missing with WC, WC is way cheaper and does not burn mana. I don’t think its designed to make you fizzle a bunch in PVP to balance out your hit/miss ratio so that it equals WC.
I think that random dice roll is important but there seems to be too high of a chance to fizzle based on weird X factors that are just bad or make no sense .. I don’t think there should be no chance to fizzle but it should be a lot less
it’s meant to be like rolling a natural 1 on a 20 sider .. nobody rolls four 1’s in a row so obviously there’s a problem with the diceroll
Here is a log from today. I don’t think I am at maximum spellpower here but I can’t be much below 60% spellpower either (75% enfeeble, no armor or weapon on, duke aligned, at night time) Notably I have no robe or orc shield on at this time. You were unsuccessful in casting enfeeble.
You were unsuccessful in casting enfeeble.
You were unsuccessful in casting enfeeble.
You were unsuccessful in casting enfeeble.
You were unsuccessful in casting enfeeble.
You were unsuccessful in casting enfeeble.
All hail DEvIL who has returned a demon skull token to the Meridian Council.
You were unsuccessful in casting enfeeble.
You were unsuccessful in casting enfeeble.
You were unsuccessful in casting enfeeble.
You were unsuccessful in casting enfeeble.
You were unsuccessful in casting enfeeble.
You sense an unsavory presence.
Unless my understanding is way off this is an event that should be laughably unlikely.
It’s really hard to tell what’s going on from a log like this.
Lots of fizzles.
yeah - my intention wasn’t to complain or troubleshoot but to show that we are missing something. If the fizzle equation is what I typed above than the log would be virtually impossible.
It can be really tough to describe each variable that goes into each individual case of fizzling. all the +/- gear, faction, where in the zone and what direction you’re facing and what the targets +/- were and what direction they were moving and so on and so on. It’s something that requires a lot of play testing and a spread sheet full of variable calculation and process of elimination to determine everything that causes it. I think this is why it’s still a problem. It’s a lot of work.
Fizzles need to be removed from the game and reintroduced with some kind of mechanisms that make sense.
An occasional stream of “unsuccessful” happens to everyone. I’ve thought it strange on occasion, but it doesn’t happen often enough to concern me.
If your car broke down on you occasionally would you just ignore it or would you maybe see if someone can fix it?
it happens a lot more in pvp
Are you saying the game engine knows when you’re PvPing and gives you more unsuccessful casts at those times?
I personally have not noticed a difference in “unsuccessful” rates when practicing against a mule vs just practicing spells. Sometimes you just get strings of “unsuccessful” regardless of context.
No I’m saying there’s more variables in play and it’s a guessing game for the most part as far as what triggers more or less fizzles. Different zones for instance. Walls being close like in BOB, standing near a door, standing on one side of a zone and casting to another, is a target moving or is it not, is it day or night and so on. I think the more you actually engage in pvp combat the more you notice it happening in weird places.
PC added Line of Sight code in the early NDS days that essentially guarantees that you fizzle if the game thinks you can’t see your target. Unfortunately, that code was quite iffy, as there are lots of unseen lines and divides in sectors in .roo’s. I myself remember one time being completely unable to cast on someone in the first Jungle room soon after that code was added. I think it was refined once or twice, but never fully fixed on 101
It is absolutely related to being on or near walls, height changes, anything that is ‘like’ a wall of any height or length interferes, even the steps around fams and tos fountain
Very interesting, that makes a lot of sense and seems to explain a lot of what we experience when we play the game.
Yes, its possible that is what I ran into as well. Incidentally, what do we know about the server’s built in random function? Is it a simple c function like rand()?
Steps around fams. Do you mean the elevated curb separating the road from the sidewalk?
Makes sense to me. I have always found that being at unequal heights seems to make casting more difficult. After years of Pking people I’ve developed the habit of trying to get on the same plane before casting.
Gar’s point is complex stuff. We are testing line of site inside a while loop in room.kod. The test involves a method that lives in roomdata.c and other places. The test for line of site is essentially: Can the player or monster move from point a to point b? The route doesn’t seem to have to be direct as we are incrementing our testing point in the neighborhood of the mover until the mover has a direct and clear path to the movee. This seems to fail because the loop increments in a way that doesn’t guarantee that two contiguous parts of the map will return true for line of site. The code that I’ve seen here is pretty complex and way beyond my ability to manipulate but I think Gar is on to something.
Its also worth noting that there are two lineofsite routines - a new one and an old one. There is a server setting to determine which one to use. Right now it seems we are using the old version of this code.
One strange thing: Presumably the server uses other methods to determine if the victim is in the field of view of the attacker becuase the victims are correctly displayed by the client. Is there a way to just check if the client can see the victim? This would cause issues with significant lag but I’m not sure that is worse.
We’ve all had the experience when swinging a sword at an avar chief and it says “You can’t see your select target” when you are looking right at them.
The line of site code is interesting. It steps the doer/mover in whichever direction is furthest on a grid of rows and columns. If they are further away on the column then we step one column towards the victim. If they are further away on the rows then we step one row towards the victim. If any of these steps are blocked by an impediment we return false. Baring that, at some point the rows and columns will be equidistant. At this point the game defaults to increment by column so we step across one column.
The result of this is that if we are apart from our target by 1 diagonal grid space and there is the corner of a wall on the row next to us both then we will return true for line of site. If instead, we are 1 diagonal grid space apart but there is the corner of a wall terminating in the column between us we will return false.
A good way to test this is likely in the badlands screen. There are lots of ‘steps’ that are just barely larger than our characters ability to step up and so we can test to see if fireballs or attacks work across those steps. I haven’t dug in to see which spells and actions actually call for line of site - I’m just sort of digging around so hopefully you guys don’t mind the spam.
How big are the maps in terms of major Row and Columns? Right now we are testing one possible path of many. The formula for number of paths between two objects on a grid, assuming we disallow any retracing of steps or any steps that increase the relative distance of the two objects is: (row distance + col distance)! / [(Row distance!)*(col distance)! ]
If we are 5 columns and 6 rows away there are 462 paths. The number of paths does get problematically large if the grids are big. For example, 12 columns and 10 rows would be more than 646,000 paths.
Note that I don’t think we need to test all the paths. We can probably just randomly generate 10-20 unique paths and return true if any path succeeds. The number of times that would fail un-necessarily would be small and even if it did end up in a false negative it would only be for one reqAttack cycle at which point the game would test 10-20 different unique paths.
I am a little nervous about doing anything like this in a while loop though!
So a big part of the problem has to do with safe spots, strangely enough. Safe spots exist because the movement check from point A to point B is not granular enough. A monster doesn’t attack you because it thinks it can’t reach you.
That’s the same thing happening with line of sight code when you’re near a wall. The game thinks you can’t reach your target because it’s looking at a bigger block than just your individual point. Therefore it thinks you’re casting through a wall.
I’m pretty sure open source made the LOS check more granular, thereby ‘fixing it’, i’ll look for that code
The code to use the finer granularity for line of sight already exists on the server and is toggled off by server settings. I’m not sure when or why that was done but it at least reads like it should work fine.
I’ve been thinking that a better option would be to make line of site directionless and reciprocated. That is if either object a passes the LOS check to object B OR if object b passes the check to object a (or both) then LOS returns true. This way if a player is on a ledge the LOS is true in both directions. Then the only false negatives would be if there is a huge valley between the players (like the players are on either side of the notch in the jungle screen for example). This means that we only have to double up the existing LOS routine and switch the objects.
I would add that messing with safe spots requires a gentle hand. There are some character builds and some rooms that will have to change dramatically if we remove safe spots. I’m not saying we shouldn’t do it I’m just saying we should be cautious and thoughtful.
i like safe spots personally, i wouldn’t remove those. There’s some code somewhere to handle sectors in a far faster and more modern manner, i’ll look for that, just using those functions would solve this whole thing i’m pretty sure
line of sight fizzles would essentially stop being a thing unless you’re cheating and trying to cast through walls
we should also put text feedback on a LOS fizzle - “Your obstructed line of sight makes casting difficult!” so people know when it’s happening
Meridian without safe spots would be…kind of hellish due to how aggro happens.