Quantcast

Jump to content

» «
Photo

Add more than 5 objects

3 replies to this topic
tothbence
  • tothbence

    Bence Toth

  • Members
  • Joined: 23 Aug 2011

#1

Posted 27 January 2013 - 10:40 AM Edited by tothbence, 27 January 2013 - 11:13 AM.

Hi!

I working on a mod, but i have a problem. I adding 5 new objects to the game, and the game start without any error, but when i adding a 6th object, the game is crashing. I try the SA Limit Adjuster, but the game crash.

I have 3 files:
CODE
IMG DATA\MAPS\BENCE\BENCE.IMG
IDE DATA\MAPS\bence\bence.IDE
IPL DATA\MAPS\bence\bence.IPL


bence.img:
CODE
door_ctrl.dff
garage.dff
garage.txd
garage_li.dff
garage_dk.dff
garage_d.dff
coll_buildings.col
garage_dka.dff


bence.ide:
CODE
#Item Definition File created by MapEditor
objs
18631, garage, garage, 299, 4
18632, door_ctrl, garage, 299, 0
18633, garage_d, garage, 299, 0
18634, garage_dk, garage, 299, 0
18635, garage_li, garage, 299, 0
18636, garage_dka, garage, 299, 0
end
tobj
end
2dfx
end


bence.ipl:
CODE
#Item Placement File created by MEd
inst
18631, garage, 0, 1779.81, -2045.06, 12.62, 0, 0, 0.707106312094, 0.707107250279, -1
18632, door_ctrl, 0, 1779.81, -2045.06, 12.62, 0, 0, 0.707106312094, 0.707107250279, -1
18634, garage_dk, 0, 1779.81, -2045.06, 12.62, 0, 0, 0.707106312094, 0.707107250279, -1
end


Loaded with cleo:
CODE
garage_d ->moveing
garage_li ->this is the blinking lamp
garage_dka


The limit adjuster debug:
CODE
GTA:SA Crashed, Debug Info Follows:
GTA Info:
Version: EU 1.0
Last File Loaded: DATA\MAPS\BENCE\BENCE.IMG
Last Library Loaded:
Error: Unknown
Assembly Info:
Exception At Address: 0x00537D12
Exception Code: 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)
Registers:
EAX: 0x00000018 EBX: 0x00000000
ECX: 0x3CB514C1 EDX: 0xBBF3F500
ESI: 0x0C7E3C58 EDI: 0x0028FC4C
EBP: 0x00000178 ESP: 0x0028FBE4


What is wrong? I useing the adjuster incorrectly? Please help, and sorry for my bad english.
Thank you! smile.gif

Video from the mod

Silent
  • Silent

    Moderating Cookie Monster

  • Members
  • Joined: 01 Feb 2010
  • Poland

#2

Posted 27 January 2013 - 11:19 AM

What limit did you increase? That 5-objects-crash is related to collisions limit. Try increasing it.

tothbence
  • tothbence

    Bence Toth

  • Members
  • Joined: 23 Aug 2011

#3

Posted 27 January 2013 - 12:08 PM

QUOTE (SilentPL @ Sunday, Jan 27 2013, 11:19)
What limit did you increase? That 5-objects-crash is related to collisions limit. Try increasing it.

I downloaded the SA Limit Adjuster, comes 4 file: saloader.ini, saweapons.txt, salimits.ini and d3d9.dll
I putting these files in to the san andreas directory.

salimits.ini:
CODE
# HOW TO USE:
# To Activate a Limit Simply Remove the # at the start of it
# To Deactivate Insert a # at the start of a limit


All lines have #, so no limit for all stuff, but the game crashing.

tothbence
  • tothbence

    Bence Toth

  • Members
  • Joined: 23 Aug 2011

#4

Posted 27 January 2013 - 12:13 PM

Ok. Now working. I removed the #, and incrased the limit number.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users