Code center > Bug reports

Found Bug Need Stablest Vers 2.37.4

(1/2) > >>

Endy:
Thread moved to bug reports

Think I tracked down the waste bug and presumably the venom bug is similar.
Fortunatly the vers are relativly the same in this area.

In the Ties section dealing with waste theft it talks about adding to pwaste the value of waste stolen, but doesn't check that said waste could in fact be taken.

Now I just need a version's source code to update properly. :)

I'll be at work all tomorrow, so I'll write sometime during the weekend.(please remember I'm about 6 hours back from you guys)

Numsgil:
I actually saw thius bug while I was porting the code, so it's in the VB version of 2.4 as well.

Fixed it for C++ source.

Not terribly huge, but definately a problem none the less.

Endy:

--- Code: --- If .mem(tp + 2) = -4 And .mem(tp + 3) <> 0 Then 'trade waste via ties
          If .mem(tp + 3) > 1000 Then .mem(tp + 3) = 1000
          If .mem(tp + 3) > .Waste Then .mem(tp + 3) = .Waste
          If .mem(tp + 3) < -1000 Then .mem(tp + 3) = -1000
          k = 1
 ...
                End If
                rob(.Ties(k).pnt).Pwaste = rob(.Ties(k).pnt).Pwaste - .mem(tp + 3)
              End If
--- End code ---

Is it that second line and the last line with Pwaste? The second line looks like it was letting in the negative tieval and the last adding that whole value to pwaste.

To fix it would you simply abs the tieval before checking > waste? That's what looks like what happened for venom.

Kind of sad it'll be gone, I messed around and was able to use it as a super defense against TF's. Made leaching look so passe.

Numsgil:
I'll fix it for the C++ port, no terribly anxious to crack open VB for too long.  Feels sort of like putting cosmetics on a corpse, if you know what I mean ;)

Griz:

--- Quote ---I'll fix it for the C++ port, no terribly anxious to crack open VB for too long.  Feels sort of like putting cosmetics on a corpse, if you know what I mean ;)
--- End quote ---
so ....
what .... ?
you going to stop on 2.4 vb now that I almost got it working too?
gggrrrrrrrrrrrrrr!

Navigation

[0] Message Index

[#] Next page

Go to full version