Jump to content
  • 0

Certainly bug fixed?


HA MeCa

Question

Hi, i fixed bug with frozzen mobs, i comment this lines down and, ok mobs attacking all time but my players complain that monsters have a big damage.

 

with

	if ((dwCurTime - m_dwLastAttackTime) < dwDuration) // 2초 마다 공격해야 한다.
	{
		m_dwStateDuration = MAX(1, (passes_per_sec * (dwDuration - (dwCurTime - m_dwLastAttackTime)) / 1000));
		return;
	}

to

	// if ((dwCurTime - m_dwLastAttackTime) < dwDuration) // 2초 마다 공격해야 한다.
	// {
		// m_dwStateDuration = MAX(1, (passes_per_sec * (dwDuration - (dwCurTime - m_dwLastAttackTime)) / 1000));
		// return;
	// }

 

 

Link to comment

15 answers to this question

Recommended Posts

  • 0

F5

 

I came to the conclusion that monsters are fighting immediately after passing attack and should beat every two seconds, as I removed the contents of this began to occur this problem

Link to comment
  • 0

Yes, I don't know where that is but I assume you basically removed the waiting time between states (Monsters are handled by a state machine with wait, move, attack etc)

Link to comment
  • 0

realy ? what monster ? and are you sure the monster does not have high attack just from the db

cz i test the monster (using GF latest item/mob .txt) mobs and im sure they have a very normal stringht

  • Love 1
Link to comment
  • 0

realy ? what monster ? and are you sure the monster does not have high attack just from the db

cz i test the monster (using GF latest item/mob .txt) mobs and im sure they have a very normal stringht

 

attacking monsters in the beginning did not beat, after a change in the source immediately began to fight should fight every 2 seconds.

mob_proto is original metin2.pl

share/data too..

 

help

Link to comment
  • 0

You already got your answer at #3, we can't tell you how to undo your own changes

These are not my changes it is bugged in the original I just fixed that by removing the @ 1post but now monsters are beating at 0 seconds, and should beat every second ..

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Read our Rules
  • Activity

    1. 0

      Help with quest

    2. 0

      Will anyone modify the mount?Mounts need to be mounted to increase their stats.

    3. 11

      Lock Picking Skill + Missions

    4. 4

      Quest Deleter

    5. 1

      [SOLUTION IN TOPIC]Loading locale_game.txt raises KeyError

    6. 1

      Binary functions: "GetSlotLocalPosition" & "GetSlotGlobalPosition"

    7. 1

      Binary functions: "GetSlotLocalPosition" & "GetSlotGlobalPosition"

    8. 1

      [SOLUTION IN TOPIC]Loading locale_game.txt raises KeyError

    9. 6

      Skill Book Combination System

  • Recently Browsing

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.