View unanswered posts | View active topics It is currently Wed Jul 03, 2024 6:33 am



Reply to topic  [ 4 posts ] 
 Really odd weapon system problem 
Author Message
User avatar

Joined: Mon Apr 05, 2010 8:04 am
Posts: 149
Location: Under your bed
Reply with quote
Post Really odd weapon system problem
Assertion Failed: Stream Suggests Allocating in unallocatable type in
AEmitter::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 152 times
Sat Sep 11, 2010 8:45 am
Profile YIM
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Really odd weapon system problem
That'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
Profile
User avatar

Joined: Mon Apr 05, 2010 8:04 am
Posts: 149
Location: Under your bed
Reply with quote
Post Re: Really odd weapon system problem
Thanks, (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
Profile YIM
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Really odd weapon system problem
I 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.042s | 14 Queries | GZIP : Off ]