igrik 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2821 
	
		
	 | 
	
		
			
			 
			
				Blood, Берсеркер (автор ERA) делал фикс получения отрицательного опыта. Значит фикс не всегда работает.  
Значит это в багрепорты нужно ему отправить. И сейв приложите перед такой битвой (или иным способом ухода опыта в минус)
			 
			
			
  
game bug fixes extended.dll  ||  My Plugins  ||  My GitHub
			
		 |  
	 
 | 
	| 28.05.2021 01:24 | 
	
		
	 | 
	
		
		Berserker 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 16788 
	
		
	 | 
	
		
			
			 
			
				Panda, записал себе. 
Если опыт даёт скрипт, то легко вызвать переполнение. Если не скрипт, то пока не вижу где:
 
Code: 
 function Hook_PostBattle_OnAddCreaturesExp (Context: ApiJack.PHookContext): longbool; stdcall; 
var 
  ExpToAdd: integer; 
  FinalExp: integer; 
 
begin 
  // EAX: Old experience value 
  // EBP - $C: addition 
  ExpToAdd := pinteger(Context.EBP - $C)^; 
 
  if ExpToAdd < 0 then begin 
    ExpToAdd := High(integer); 
  end; 
 
  FinalExp := Math.Max(0, Context.EAX) + ExpToAdd; 
 
  if FinalExp < 0 then begin 
    FinalExp := High(integer); 
  end; 
 
  ppinteger(Context.EBP - 8)^^ := FinalExp; 
 
  Context.RetAddr := Ptr($71922D); 
  result          := false; 
end; // .function Hook_PostBattle_OnAddCreaturesExp
  
			 
			
			
  
Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов 
Поддержать проект 
			
		 |  
	 
 | 
	| 28.05.2021 01:29 | 
	
		
	 | 
	
		
		Blood 
 
 
		
		
		
			
			
			 
			
Posts: 38 
	
		
	 | 
	
		
			
			 
			
				сохранения.
моды все по дефолту, отключен только "смешанные нейтралы".
 
глюк начинается при стеке больше 30к. (у привидений макс экспа 78к).
 
при стеке 60к экспа обнуляется после 30к.
 
разделил стек 60к на 3 по 20к, глюк пропал.
			  
			
			
			
		 |  
	 
 | 
	| 29.05.2021 10:57 | 
	
		
	 | 
	
		
		Berserker 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 16788 
	
		
	 | 
	
		
 | 
	| 30.05.2021 16:26 | 
	
		
	 | 
	
		
		AlexeevAV 
 
 
		
		
		
			
			
			 
			
Posts: 175 
	
		
	 | 
	
		
			
			 
			
				Panda, Привет, а есть ли возможность порешать, что-то с кнопкой Экспертное ожидание, ну она ни к селу, ни к городу, сколько раз раз приходилось переигрывать битвы. Иногда даже просто рядом нажмешь, и все пропускают ход, реально не то место для нее. Конечно Вам боссам виднее, но всё же.
			 
			
			
			
		 |  
	 
 | 
	| 30.05.2021 17:05 | 
	
		
	 | 
	
		
		Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				5.2. RC36 had a serious bug, single split units lost their experience. How is that in RC37?
			 
			
			
			
		 |  
	 
 | 
	| 30.05.2021 21:52 | 
	
		
	 | 
	
		
		Panda 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 1040 
	
		
	 | 
	
		
			
			 
			
				Valery, I don't know, this is a problem for a long time, Dimon has more complete information about it, but he is currently not available, like me. Only Baratorch can solve it, if it is due to the HD mod, more complete tests are needed, including tests without the HD mod.
			 
			
			
  
Тот, кто просыпается рано - жаворонок, поздно - сова. А тот, кто плохо спит и ходит с черными кругами под глазами - панда!
			
		 |  
	 
 | 
	| 30.05.2021 22:04 | 
	
		
	 | 
	
		
		Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				Well no, no tests are necessary - only a fix from Baratorch for single stacks splitting, this has been a bug for a longtime - Glenn streamed maps for months having this bug. I hope Baratorch checks his HD thread so he can see the report.
			 
			
			
			
		 |  
	 
 | 
	| 30.05.2021 22:19 | 
	
		
	 | 
	
		
		Berserker 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 16788 
	
		
	 | 
	
		
 | 
	| 30.05.2021 22:23 | 
	
		
	 | 
	
		
		Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				 (30.05.2021 22:23)Berserker Wrote:  Valery, maybe we can use quick ERM fix for CTRL + click. 
No, I am too lazy for that, I will just install a previous version of HD
 
After reporting the bug of course
			  
			
			
			
		 |  
	 
 | 
	| 30.05.2021 22:39 | 
	
		
	 |