Data Realms Fan Forums
http://45.55.195.193/

Really odd weapon system problem
http://45.55.195.193/viewtopic.php?f=75&t=19723
Page 1 of 1

Author:  blargiefarg [ Sat Sep 11, 2010 8:45 am ]
Post subject:  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 162 times

Author:  Grif [ Sat Sep 11, 2010 9:07 pm ]
Post subject:  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.

Author:  blargiefarg [ Sat Sep 11, 2010 9:46 pm ]
Post subject:  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

Author:  Grif [ Sun Sep 12, 2010 12:48 am ]
Post subject:  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.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/