Page 1 of 1

GTA2Mispad. Just edit COUNTER bot_deaths - assertion failure

Posted: 15 Feb 2018, 11:01
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?

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Posted: 15 Feb 2018, 11:34
by Sektor
Can you compile the umodified mis file?

Can you post the modified one?

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Posted: 15 Feb 2018, 13:19
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... ;)

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Posted: 15 Feb 2018, 17:22
by elypter
too many dead bots can cause game crashes. you have to try out how far you can go.

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Posted: 15 Feb 2018, 19:57
by Yoshi08
But this is definitely not the reason for the compile Asertion failure. I've tried with the original 30 hits.

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Posted: 15 Feb 2018, 21:48
by elypter
yes, that should work without problems

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Posted: 16 Feb 2018, 14:54
by Yoshi08
I've made it! The problem was, that the programm wasn't allowed to rewrite a previous .SCR-file..

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Posted: 16 Feb 2018, 16:03
by elypter
nice