GTA2Mispad. Just edit COUNTER bot_deaths - assertion failure

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Post Reply
Yoshi08
Ped
Ped
Posts: 4
Joined: 15 Feb 2018, 10:37

GTA2Mispad. Just edit COUNTER bot_deaths - assertion failure

Post by Yoshi08 »

Hello,

over 10 years ago i’ve found the the Bot Tiny Town for one player. It is a really nice battle, also for one player to fight against the five bots (you can find it here http://gtamp.com/maps// , it has created Sektor, incl. .mis-file).

To make the game more interesting, I created different .SCR files (that all bots have flamethrower, electrogun etc. and I wanted to kill the 30 bots with only one life).

And now i play this version: All bots have electro gun - I am not allowed to kill the bots; when the bots wanna kill me and use the electro gun, they recognze themselfes as enemies and try to kill each other. So only they have to kill themself and the police. I’m just the bait.
After a few weekes I've mastered also this challenge.

So I wanna make the thing more difficult, i wanna make two things:

1) I wanna make the bot accounter to 50.

2) I wanna locate the 1st, red bot to another place.


I use he GTA2mispad. But when I wanna compile, it says:

Preprocessing: [...]Bot_TT1p.###
*** FATAL ERROR ***
Error 123 in file.ccp(171)
Assertion failure!
Size of Mainscript: 0 bytes

How can I fix this?
User avatar
Sektor
Boss
Boss
Posts: 1423
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Post by Sektor »

Can you compile the umodified mis file?

Can you post the modified one?
Yoshi08
Ped
Ped
Posts: 4
Joined: 15 Feb 2018, 10:37

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Post by Yoshi08 »

I don't have a backup of the other .mis-files.

This should be the original, except for

COUNTER player_deaths = 3 (Original: 10)
COUNTER bot_deaths = 50 (Original: 30)

When you wanna try to make the .SCR-file for me: All bots should have the electro-gun and the red player should located on another place.

Thank you, Sektor, that you wanna help me, it was your own map.. Actually I thought, I myself could handle this, but after 10 years nothing to to with coding, I have no idea... ;)
Attachments
Bot_TT1p.mis
(25.09 KiB) Downloaded 579 times
User avatar
elypter
Immortal
Posts: 1120
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Post by elypter »

too many dead bots can cause game crashes. you have to try out how far you can go.
yur sa'nok ngeyä
Yoshi08
Ped
Ped
Posts: 4
Joined: 15 Feb 2018, 10:37

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Post by Yoshi08 »

But this is definitely not the reason for the compile Asertion failure. I've tried with the original 30 hits.
User avatar
elypter
Immortal
Posts: 1120
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Post by elypter »

yes, that should work without problems
yur sa'nok ngeyä
Yoshi08
Ped
Ped
Posts: 4
Joined: 15 Feb 2018, 10:37

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Post by Yoshi08 »

I've made it! The problem was, that the programm wasn't allowed to rewrite a previous .SCR-file..
User avatar
elypter
Immortal
Posts: 1120
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Post by elypter »

nice
yur sa'nok ngeyä
Post Reply