Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				+1 
Era is for H3 what fire invention was to humanity!
 
I would never have worked so much for 3.58. 
 
Pouah! Start map, find erm error turn 145, restart map, find error turn 245, restart.   
			 
			
			
			
				
(This post was last modified: 25.08.2014 23:29 by Valery.)
 
			 
		 |  
	 
 | 
	| 25.08.2014 23:23 | 
	
		
	 | 
	
		
		Berserker 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 16788 
	
		
	 | 
	
		
			
			 
			
				totkotoriy, спасибо за добрый отзыв. В свою очередь хочу передать благодарность ZVS, MoP, Sav-у, Bes-у, SyDr-у, Валерию и ещё доброй д.жине людей, благодаря которым стало возможным сделать то, что было сделано.
 Valery, don't even remind that hell! Btw, I used DEE program to upload scripts to existing game at those times   
			 
			
			
  
Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов 
Поддержать проект 
			
		 |  
	 
 | 
	| 25.08.2014 23:57 | 
	
		
	 | 
	
		
		gamecreator 
 
 
		
		
		
			
			
			
 
 
			
Posts: 7107 
	
		
	 | 
	
		
 | 
	| 06.09.2014 23:50 | 
	
		
	 | 
	
		
		Berserker 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 16788 
	
		
	 | 
	
		
 | 
	| 07.09.2014 00:49 | 
	
		
	 | 
	
		
		gamecreator 
 
 
		
		
		
			
			
			
 
 
			
Posts: 7107 
	
		
	 | 
	
		
 | 
	| 07.09.2014 01:35 | 
	
		
	 | 
	
		
		gamecreator 
 
 
		
		
		
			
			
			
 
 
			
Posts: 7107 
	
		
	 | 
	
		
 | 
	| 07.09.2014 13:03 | 
	
		
	 | 
	
		
		gamecreator 
 
 
		
		
		
			
			
			
 
 
			
Posts: 7107 
	
		
	 | 
	
		
 | 
	| 07.09.2014 13:25 | 
	
		
	 | 
	
		
		Berserker 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 16788 
	
		
	 | 
	
		
 | 
	| 07.09.2014 18:53 | 
	
		
	 | 
	
		
		gamecreator 
 
 
		
		
		
			
			
			
 
 
			
Posts: 7107 
	
		
	 | 
	
		
 | 
	| 08.09.2014 22:31 | 
	
		
	 | 
	
		
		Berserker 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 16788 
	
		
	 | 
	
		
			
			 
			
				Знаю, но в настоящий момент никак. Ну то бишь нужно написать несложную функцию. Добавлять подстроки с 2.46 стало легко:
 
Code: 
 [+] Added new modifier syntax for SN command parameters: 
  SN:X$ (without &), SN:M#/$, SN:M#/#/$, SN:W#/$. 
  Traditional "d" adds 0 or empty string, d[...] is equivalent to d+. 
  d+, d-, d*, d:, d& (string concatenation). 
  Example: !!SN:W^Gold^/y1 W^Gold^/d-500 W^Gold^/d*11 W^Gold^/d:10; Gold = y1 -500 * 1.1
  
Код для копирования длинной строки в другую длинную ниже:
 Quote:!?FU(array item to item copy); 
; x1 - array 1 ID (source) 
; x2 - array 1 index (source) 
; x3 - array 2 ID (destination) 
; x4 - array 2 index (destination) 
!!SN:Mx1/?y1/x2 Ky1/?y2; y1 - source] string address, y2 - string length 
 
!!if&y2=0:;     !!SN:Mx3/x4/^^; zero length string 
!!el:;     !!VRy3:Sy2 :4 +1; y3 - length of buffer in integers     !!SN:M-1/y3/0/0; allocate temporal array     !!VRy4:Sv1; y4 - temporal array     !!SN:My4/?y5/0; y5 - temporal buffer address     !!SN:Ky2/y1/y5; copy source string to temporal buffer     !!VRy6:Sy5+y2; y6 - address of terminating byte     !!UN:Cy6/1/0; write terminating byte     что за ерунду я пишу? ) 
!!en:; 
			 
			
			
  
Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов 
Поддержать проект 
			
		 |  
	 
 | 
	| 09.09.2014 00:31 | 
	
		
	 | 
	
		
		igrik 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2821 
	
		
	 | 
	
		
 | 
	| 09.09.2014 00:45 | 
	
		
	 | 
	
		
		gamecreator 
 
 
		
		
		
			
			
			
 
 
			
Posts: 7107 
	
		
	 | 
	
		
 | 
	| 09.09.2014 01:17 | 
	
		
	 | 
	
		
		gamecreator 
 
 
		
		
		
			
			
			
 
 
			
Posts: 7107 
	
		
	 | 
	
		
 | 
	| 13.09.2014 19:58 | 
	
		
	 | 
	
		
		gamecreator 
 
 
		
		
		
			
			
			
 
 
			
Posts: 7107 
	
		
	 | 
	
		
 | 
	| 13.09.2014 20:44 | 
	
		
	 |