|  | 
	| FAQ
		 • Search • Login | 
	| 
 
 
 
	
	
		
			|   | Page 1 of 1 
 | [ 4 posts ] |  |   Really odd weapon system problem 
        
        
            | Author | Message |  
			| blargiefarg 
					Joined: Mon Apr 05, 2010 8:04 am
 Posts: 149
 Location: Under your bed
   |   Really odd weapon system problemAssertion Failed: Stream Suggests Allocating in unallocatable type inAEmitter::Emission::Create!
 
 I'm using a laser eye script I requested, as well as a script I'm deriving from the Coalition Punisher's Justice (with permission of course)
 Kinda new to lua, so hopefully someone can give me an idea as to what is wrong.
 
 
 Attachments: 
			File comment: The problematic inis
		
			
				 inis.rar [3.18 KiB]
			
			Downloaded 212 times |  
			| Sat Sep 11, 2010 8:45 am | 
					
					     |  
		|  |  
			| Grif REAL AMERICAN HERO 
					Joined: Sat Jan 27, 2007 10:25 pm
 Posts: 5655
   |   Re: Really odd weapon system problemThat's not a Lua problem.
 It's an .ini problem, specifically, on line 168 of Mobile Brain.ini.
 
 You have an emission added, but you haven't defined anything about it. So the game is going :shrug: and crashing.
 
 Delete lines 168 and 169 and it should work.
 
 For future reference: Lua scripts will, 100% of the time, not cause crashes while the game is loading. Only .ini files are loaded in a way that errors will cause game crashes on load. Lua scripts will just quietly report errors into the console; it takes egregiously bad Lua code to crash the game due to syntax errors.
 
 
 |  
			| Sat Sep 11, 2010 9:07 pm | 
					
					   |  
		|  |  
			| blargiefarg 
					Joined: Mon Apr 05, 2010 8:04 am
 Posts: 149
 Location: Under your bed
   |   Re: Really odd weapon system problemThanks, (gee I'm so dumb) now everything loads without a hitch, problem is, now it doesn't fire correctly. I can tell the delivery is firing properly because it lags a little when I fire, but the delivery doesn't seem to be actually emitting anything.EDIT: WHOA WRONG FORUM! I thought I posted in lua
 
 
 |  
			| Sat Sep 11, 2010 9:46 pm | 
					
					     |  
		|  |  
			| Grif REAL AMERICAN HERO 
					Joined: Sat Jan 27, 2007 10:25 pm
 Posts: 5655
   |   Re: Really odd weapon system problemI moved your topic after it was in Lua Scripting, since I could recognize that it wasn't a lua problem. 
 
 |  
			| Sun Sep 12, 2010 12:48 am | 
					
					   |  
		|  |  
		|  |  
	
		
			|   | Page 1 of 1 
 | [ 4 posts ] |  |  
 
	
		| Who is online |  
		| Users browsing this forum: No registered users |  
 
	|  | You cannot post new topics in this forum You cannot reply to topics in this forum
 You cannot edit your posts in this forum
 You cannot delete your posts in this forum
 You cannot post attachments in this forum
 
 |  
 |