Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				Yeah, this plugin freezes game after mage guild spells display. Thanks anyway.  
 
I wanted to get rid of the impossibility to see spells if the hero has no book or no gold and click on guild.
			 
			
			
			
		 |  
	 
 | 
	| 12.06.2016 12:42 | 
	
		
	 | 
	
		
		igrik 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2821 
	
		
	 | 
	
		
 | 
	| 12.06.2016 17:36 | 
	
		
	 | 
	
		
		Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				Thanks but I got crash after answering "no" to "want to buy magic book" 
 
EIP = {0x005D084A},  Attempt to execute an invalid instruction. 
    The Latest Executed ERM Receiver: 
 
CM:I?v2 F?v3 S?v4; 
 
!?CM1&v3=0/v4=13; 
!!SN:L^Era.dll^/?y1 Ay1/^GetButtonID^/?y2 Ey2/0/^Cri.Button^ 
 
Then I disabled all mods except wog and this time log was: 
 
EIP = {0x005D084A},  Attempt to execute an invalid instruction. 
    The Latest Executed ERM Receiver: 
 
VRz-2:S^ ^; 
!!VRz3&z3=z-2:Sz135055; (If no spells, set to "(none)") 
 
!!FU8163&-10:P2; 
 
I placed the plugin in After Wog folder, is this right?
			 
			
			
			
				
(This post was last modified: 12.06.2016 19:00 by Valery.)
 
			 
		 |  
	 
 | 
	| 12.06.2016 18:57 | 
	
		
	 | 
	
		
		igrik 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2821 
	
		
	 | 
	
		
 | 
	| 12.06.2016 20:13 | 
	
		
	 | 
	
		
		igrik 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2821 
	
		
	 | 
	
		
 | 
	| 12.06.2016 21:51 | 
	
		
	 | 
	
		
		gamecreator 
 
 
		
		
		
			
			
			
 
 
			
Posts: 7107 
	
		
	 | 
	
		
 | 
	| 22.06.2016 10:07 | 
	
		
	 | 
	
		
		Valery 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2196 
	
		
	 | 
	
		
			
			 
			
				Great, gonna test it, thanks.
			 
			
			
			
		 |  
	 
 | 
	| 22.06.2016 10:13 | 
	
		
	 | 
	
		
		igrik 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2821 
	
		
	 | 
	
		
			
			 
			
				gamecreator Wrote:You can modify experience in !?BA post-battle triggers. 
А если получение опыта происходит после открытия ящика пандоры или от дерева? !?BA триггер же этого не учитывает.
			  
			
			
  
game bug fixes extended.dll  ||  My Plugins  ||  My GitHub
			
		 |  
	 
 | 
	| 22.06.2016 16:47 | 
	
		
	 | 
	
		
		igrik 
 
 
		
		
		
			
			
			
 
 
			
Posts: 2821 
	
		
	 | 
	
		
			
			 
			
				А как ограничить уровень? 
̶x̶ ̶=̶ ̶M̶a̶i̶n̶_̶S̶t̶r̶u̶c̶t̶u̶r̶e̶-̶>̶M̶a̶p̶.̶M̶a̶x̶H̶e̶r̶o̶L̶e̶v̶e̶l̶;̶ ̶[̶0̶x̶0̶0̶6̶9̶9̶5̶3̶8̶+̶0̶B̶h̶]̶ ̶(̶c̶h̶a̶r̶)̶ ̶ч̶ё̶т̶о̶ ̶у̶ ̶м̶е̶н̶я̶ ̶н̶е̶ ̶с̶р̶а̶б̶о̶т̶а̶л̶о̶.̶ 
Ага, разобрался.
 
Вариант 2 (уже не актуален, но пусть останется тут)
 
			 
			
			
  
game bug fixes extended.dll  ||  My Plugins  ||  My GitHub
			
		 |  
	 
 | 
	| 22.06.2016 19:16 | 
	
		
	 | 
	
		
		gamecreator 
 
 
		
		
		
			
			
			
 
 
			
Posts: 7107 
	
		
	 | 
	
		
 | 
	| 22.06.2016 20:05 | 
	
		
	 |