Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				I think I will remove from HMS mod the total swap of backpacks (19-82 slots at once), it creates some bugs: all okay, I switch a lot between heroes, then later in game, sometimes it says backpack full, but is not; then when searching with erm, there are empty slots, probably conflict, no clue why.  I will add instead this swap, alt+click, like in HD mod.
			 
			
			
			
		 |  
	 
 | 
	| 30.03.2015 23:47 | 
	
		
	 | 
	
		
		igrik 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2821 
	
		
	 | 
	
		
 | 
	| 30.03.2015 23:51 | 
	
		
	 | 
	
		
		Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				But for faster switch of backpacks, maybe a better idea would be shift+right/left-click directly from backpack when backpack open, what you think? You did the backpack script, do you think such thing could be possible? 
			 
			
			
			
				
(This post was last modified: 31.03.2015 00:41 by Valery.)
 
			 
		 |  
	 
 | 
	| 31.03.2015 00:41 | 
	
		
	 | 
	
		
		Berserker 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 16788 
	
		
	 | 
	
		
 | 
	| 31.03.2015 00:42 | 
	
		
	 | 
	
		
		Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				We used your code to delete artifacts from equipped slots. I used my script  for deleting all artifacts from hero x backpack and transfer them all to hero y. As it worked okay, we didn't check if your function is necessary also for backpack, but after testing several games, I get sometimes message "backpack full" (only when trying to discard an equipped artifact) while is not. But I don't know what causes it and can't reproduce the error.  
Last part of the script (deleting adding artis):      
			 
			
			
			
				
(This post was last modified: 31.03.2015 00:56 by Valery.)
 
			 
		 |  
	 
 | 
	| 31.03.2015 00:51 | 
	
		
	 | 
	
		
		Berserker 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 16788 
	
		
	 | 
	
		
 | 
	| 31.03.2015 01:39 | 
	
		
	 | 
	
		
		feanor 
 
 
		
		
		
			
			
			 
			
Posts: 624 
	
		
	 | 
	
		
			
			 
			
				из структуры героя 
Code: 
 _Artifact_ doll_art[19]; // +301 
 _byte_ free_add_slots; // +453 
 _byte_ locked_slot[14]; // +454 
 _Artifact_ backpack_art[64]; // +468 
 _byte_ backpack_arts_count; // +980
  
может быть, что-то с эим?
			  
			
			
			
		 |  
	 
 | 
	| 31.03.2015 01:42 | 
	
		
	 | 
	
		
		Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				Up to date storage is checked when CM3 trigger: 
			 
			
			
			
				
(This post was last modified: 31.03.2015 01:49 by Valery.)
 
			 
		 |  
	 
 | 
	| 31.03.2015 01:46 | 
	
		
	 | 
	
		
		gamecreator 
 
 
		
		
		
			
			
			
 
 
			
Posts: 7107 
	
		
	 | 
	
		
 | 
	| 31.03.2015 02:42 | 
	
		
	 | 
	
		
		Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				igrik, done, works ok. 
 Ybackpack.erm
There is a last problem and I don't know how to solve or if it is solvable. 
 
All works well, but if I have two of same artifacts consecutive in backpack, it deletes the previous one when clicking on second (if left to right). This is because the erm code is searching for first artifact of that kind in backpack. Result is correct but visually is weird. Don't know a solution.
			  
			
			
			
				
(This post was last modified: 31.03.2015 15:44 by Valery.)
 
			 
		 |  
	 
 | 
	| 31.03.2015 15:32 | 
	
		
	 | 
	
		
		igrik 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2821 
	
		
	 | 
	
		
 | 
	| 31.03.2015 16:05 | 
	
		
	 | 
	
		
		Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				No, I don't think so, I had a double click (can be heard) and left hero had more than 5 gloves. Result is correct, but it looks weird. erm code is searching from left to right.
			 
			
			
			
		 |  
	 
 | 
	| 31.03.2015 16:07 | 
	
		
	 | 
	
		
		Berserker 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 16788 
	
		
	 | 
	
		
 | 
	| 31.03.2015 23:55 | 
	
		
	 | 
	
		
		Algor 
 
 
		
		
		
			
			
 
 
			
 
 
			
Posts: 3883 
	
		
	 | 
	
		
			
			 
			
				 (17.03.2015 17:06)Дьякон Wrote:  Через UN:C забиваешь для всех уровней некромантии 0, соответственно воскрешаться никто не будет.
  
 
Не те адреса, похоже. Есть верные для установки своих значений (не обнуления)?
			  
			
			
  
			
		 |  
	 
 | 
	| 03.04.2015 01:13 | 
	
		
	 | 
	
		
		feanor 
 
 
		
		
		
			
			
			 
			
Posts: 624 
	
		
	 | 
	
		
 | 
	| 03.04.2015 02:34 | 
	
		
	 |