Majpr Bug with charm

Started by jim gilmore, August 03, 2013, 08:38:19 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

Charm seems to have a  major quirks. That if you charm a mob and then attack. It will show a message of.
The Mob attacks the Mob. This does not make any sense sunce Char should fall off the creature when you attack it. But to have it attack itself is even stranger.

Quote from: jim gilmore on August 03, 2013, 08:38:19 PM
Charm seems to have a  major quirks. That if you charm a mob and then attack. It will show a message of.
The Mob attacks the Mob. This does not make any sense sunce Char should fall off the creature when you attack it. But to have it attack itself is even stranger.
Suicidal mobs?  Hey, it could happen. ;D


TGS v1.0 (coming soon)

Quote from: Vitoc on August 03, 2013, 08:41:00 PM
Suicidal mobs?  Hey, it could happen. ;D

Actually this is the #1 method of gathering the 10 woodelf heads for the evil 2nd quest.  Go out, charm a few, and just let them kill off all the others in the room and then themselves.

This is also the #1 method of killing Mr Lionheart and collecting a shiny gavel and belt at level 18.


So I got bored tonight and dusted off the GMUD codebase.  I made a first attempt at fixing this.  I've been using LINQ extensions a ton at work with EntityFramework, so it comes second nature anymore.  This is the first time I've used them in GMUD.  Holy crap, this would have saved me some keystrokes years ago, especially in targeting items/cash/players/mobs with commands.

I'm planning on doing at least a small push this weekend.  The first shot at a fix for this bug will likely be part of it.


TGS v1.0 (coming soon)

I told you that you'd like LINQ if you just gave it half a chance :)

Quote from: Gardner Denver on August 14, 2013, 10:48:15 PM
I told you that you'd like LINQ if you just gave it half a chance :)
You also told me I'd like VB.NET, which made me think take anything you said with a grain of salt.  :)


TGS v1.0 (coming soon)

can you increase min dmg while you're at it.. maybe + 0.1 * level mindmg so it scales as you level ? adjust from that ?

Quote from: Vitoc on August 14, 2013, 11:33:55 PM
You also told me I'd like VB.NET, which made me think take anything you said with a grain of salt.  :)

You would like it if you gave it half a chance :)

Quote from: Gardner Denver on August 15, 2013, 07:48:26 AM
You would like it if you gave it half a chance :)
Honestly, I did give it a chance.  When I first got started in .NET back in beta 1.0, I had to decide between C# and VB.NET.  I chose C# for a variety of reasons, and that was after coming from a VBA background in Access.  If anything, VB.NET had the advantage going into my research.

As for LINQ, remember I wrote most of the targeting code in GMUD before LINQ hit the scene.  Furthermore, I don't use the standard LINQ syntax; I use the extensions which came even later and feel more natural from a programming standpoint.


TGS v1.0 (coming soon)

VBA sucks.  Even though I was forced to use it for several projects, I always hated it.  I was so happy to see that VB.NET decided to make a clean break from that format.

Quote from: Gardner Denver on August 15, 2013, 10:16:27 PM
VBA sucks.  Even though I was forced to use it for several projects, I always hated it.  I was so happy to see that VB.NET decided to make a clean break from that format.
I don't like writing essays when I code, thanks.  ;D

Anywho, back on topic.  This bug should be fixed and will be deployed later this weekend.  I also plan to do some work on GMUD tomorrow and/or Sunday.


TGS v1.0 (coming soon)

August 19, 2013, 03:47:00 PM #13 Last Edit: August 19, 2013, 04:30:49 PM by jim gilmore
so charm will now break when u attack a mob??
That's good....even THough I
dumped the bard and went back to a warlock.
Also charmed creatures seem to follow very slowly..

You can still charm with a warlock, they get enslave.