Jump to content
MakeWebGames

Recommended Posts

Posted

Ok here is a message from one of my users that explains the bug.

"I'm sure there have been other instances of this possible bug. Didn't see an official thread though. If it was already posted under some other thread, I apologize.

I've noticed that sometimes when attacking a higher level player, I'm winning more often that I probably should be. I've confirmed with one of my targets that their stats were at least double what mine were at the time of the attack so I should not have been winning as much as I was (win 4 out of 5 or so). I have also been on other side of this situation as well.

Has anyone else noticed something like this occurring in the game?"

both players have the same weapons and armor and I have removed the random element meaning it should only be based on stats weapons and armor...

why is the weaker player winning when that should be impossable ?

Posted

Re: Yet another attack problem #1 for me.

@CJ: that can depend on the higher level player stats... just check both, just because someone is on a higher level it doesn't mean their stats are bigger, also, as Dayo referred, it might also have with your own attack script!

Posted

Re: Yet another attack problem #1 for me.

ok this depends alot on how your attack is set up...

i cannot remember what the default attack is :?

however mine works as follows:

There are two ways to train

 

Strength + Agility

Defence + Level

if two players had the defence of

Player A 50 million

Player B 100 million

yet player A was say 25 levels higher he would win...

for strength + Agility would work as follows:

Player A

strength 250 million

agility 10 million

Defence 1 million

Player B

Strength 500 million

Agility 1 million

Defence 5 million

Player A would win as his Agility is higher and gains first hit, his first hit destroys player B's defence in one hit...

hope this helps a bit ;)

Posted

Re: Yet another attack problem #1 for me.

I know that my attack gives the defender a slight advantage, perhaps yours does too, except maybe an equation is a little off? Your best bet is to just dive into the code and look really. Personally, I'm making an entirely new attack system as the basic MC attack system is crap.

Posted

Re: Yet another attack problem #1 for me.

Sorry very stupid of me... The higher level player has double the stats of the lower level player and better weapons and armor so I wondered if anyone knew of something like once you do say 1m+ damage it sees it as to much and resets it to 1 or something along them lines

it's default mccode v2 but it's had a hell of a lot of mods and edits to it.

 

I will take a look at your mod when it comes out Cronus although I do not want a 1hit battle system in my game.

Posted

Re: Yet another attack problem #1 for me.

then probably you have the math on the hit ratios just plain "backwards", the best way for someone to help you out is for you to place the code for people to see it

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...