| StasPV   
 Posts: 130
 
 | 
			| 
 
				XEPOMAHT, нашел подходящий экзешник СОД-а с NoCD, плагин с расширением asi работает.
 
Через HEX editor скопировал тот участок что ты указал с экзешника Хоты в Содовский, только начиная с 00239BF4,где объявлена переменная с именем файла. Но в итоге ничего не заработало. Через Олли Дебаггер вроде идентично все в двух экзешниках, а ИДА показывает отличия, вроде как тип переменной отличается, если в Хоте это char, то в том что я правил - dword   Хотя сделал просто копи-паст. Застрял на этом моменте.
 
Хотовский exe:
 
Code:
 text:00639BF4 ; CHAR aHota_dll[9].text:00639BF4 aHota_dll       db 'hota.dll',0         ; DATA XREF: starto
 .text:00639BFD                 align 10h
 .text:00639C00
 .text:00639C00 ; =============== S U B R O U T I N E =======================================
 .text:00639C00
 .text:00639C00
 .text:00639C00                 public start
 .text:00639C00 start           proc near
 .text:00639C00                 push    offset aHota_dll ; "hota.dll"
 .text:00639C05                 call    ds:LoadLibraryA
 .text:00639C0B                 push    offset aMainproc ; "MainProc"
 .text:00639C10                 push    eax             ; hModule
 .text:00639C11                 call    ds:GetProcAddress
 .text:00639C17                 call    eax
 .text:00639C19                 jmp     sub_61A884
 .text:00639C19 start           endp
 
Правленый exe:
 
Code:
 text:00639BF4 dword_639BF4    dd 61746F68h, 6C6C642Eh, 0 ; DATA XREF: .text:00639C00o.text:00639C00 ; ---------------------------------------------------------------------------
 .text:00639C00                 push    offset dword_639BF4
 .text:00639C05                 call    ds:LoadLibraryA
 .text:00639C0B                 push    offset aMainproc ; "MainProc"
 .text:00639C10                 push    eax
 .text:00639C11                 call    ds:GetProcAddress
 .text:00639C17                 call    eax
 .text:00639C19                 jmp     start
 |  | 
	| 30.04.2021 13:08 |  | 
	
		| Archer30   
   
   Posts: 1192
 
 |  | 
	| 31.05.2021 20:28 |  | 
	
		| Berserker   
   
   Posts: 16785
 
 |  | 
	| 31.05.2021 20:41 |  | 
	
		| Archer30   
   
   Posts: 1192
 
 | 
			| 
 
				Hmm, thanks Berserker . Looks like some improvements are needed    
You know some "big" mods like  ACM/TUM disable some of the options as those interfere with the gameplay more than the mod author expected. It could be good if options can be hidden so players don't get confused. 
 
I'm getting daily questions of "Why Enhanced Artifact doesn't work in TUM" ))))
			
 Latest ERA mods and scripts in development -  My GitHub
 
				
(This post was last modified: 31.05.2021 23:05 by Archer30.)
 |  | 
	| 31.05.2021 23:02 |  | 
	
		| Berserker   
   
   Posts: 16785
 
 |  | 
	| 31.05.2021 23:31 |  | 
	
		| Berserker   
   
   Posts: 16785
 
 |  | 
	| 08.06.2021 10:31 |  | 
	
		| Panda   
   
   Posts: 1039
 
 | 
			| 
 
 Тот, кто просыпается рано - жаворонок, поздно - сова. А тот, кто плохо спит и ходит с черными кругами под глазами - панда!
 |  | 
	| 08.06.2021 11:30 |  | 
	
		| Berserker   
   
   Posts: 16785
 
 |  | 
	| 08.06.2021 12:52 |  | 
	
		| Elmore   
 Posts: 663
 
 | 
			| 
 
				V_Maiko, Inside the GEM mod, there should be a description of how to add buttons. Apparently he forgot to add it.
			 
 
   
				
(This post was last modified: 08.06.2021 14:35 by Elmore.)
 |  | 
	| 08.06.2021 13:22 |  | 
	
		| Archer30   
   
   Posts: 1192
 
 | 
			| 
 
				Hi! Is it possible to prevent a hero from losing a battle after losing all his armies and commander? 
The plan is to count henchman as part of the army    When henchman is alive, the hero should win the battle, not losing
			
 Latest ERA mods and scripts in development -  My GitHub
 
				
(This post was last modified: 13.06.2021 15:20 by Archer30.)
 |  | 
	| 13.06.2021 15:08 |  | 
	
		| Berserker   
   
   Posts: 16785
 
 |  | 
	| 13.06.2021 17:36 |  | 
	
		| XEPOMAHT   
   
   Posts: 2481
 
 | 
			| 
 
				 (15.06.2021 00:53)Raistlin Wrote:  Подскажите, пожалуйста, как можно порвать связи между зданиями? Орды существ, например, перекрывают собой жилища - как можно это отключить? 
Сложно, т.к. это часть движка игры, я с этим связываться не стал. Слоты зданий, дающие прирост, автоматически заменят здания, прирост которых они увеличивают. Одновременный рендер смогли сделать только в HoA там, где они добавили Урну в Сопряжение, скорее всего там весь код рендера экрана города заменён полностью. На ERA такую штуку никто не делал.    |  | 
	| 15.06.2021 01:20 |  |