jbond

this mod is perfect except for one fatal flaw... after I beat the OG missions there is no phone call to do the Ten Penney missions aka triggering missions. welp I would like to use this mod but unless the author fixes the missions its pretty useless for ppl who want to play the game.

plz fix the problem with the triggering missions. this was a bug in Hot coffee v2 and was fixed in hotcoffe v2.1

that´s my opinion too.

in the last version, the storyline still don´t function, and CNS said he had fixed it, but after playing the same sh*t again(you said it) no phone call.

i think that the storyline funktion in the wrong way, becourse the mission aren´t on the right place (when i playing in normal there are some other missions after the first three missions which wasn´t in you mod,

>>>>>so the phone bug is only the top, the hole storryline running wrong!!!!<<<<<<

P:S: i want to play gta sa with tankmod (skilladjusted by cns) and hotcoffee in one mod so "BACK TO REALITY" is the best reason, but it don´t funktion.

so can please someone put this parts together to an funktional mod with mission????

Juhakos

I downloaded the mod from first post what was supposed be updated. Then i replaced the original files with the ones in the zip(I backupped the old files ofcourse). But in game, i couldn't play my saved games and when filling my tank in gas station, it cost about 1000$.

Something I did wrong?

I tried reading all the posts but all the text got me a headache and I lost my patience

And is it possible to get only the petrol mod? I'm not interested in hot coffee and the others that much.

tomworld10

Hi@jbond: true, the mission are still in storyline and sometimes don't work but please unstick your your finger from shift coz it's very annoying, instead get yourself some patience, and if you really don't have any do it yourself open the main.scm and look for the bug, you'll see how painfull it is to find what going wrong with the code you havn't wrote and you'll probably be more tolerant for the time it's taking. Beside that it's nice to see that people are interessted but please keep away from the caps lock touch, thanks in advance.

@GivingItAllUpInHere: I used to think like you, like having to go to the petrol station everytime you run out, but actually with some time trying i've started to find it really fun and really borring when it's not on. Sometimes it's like :"Suprise your flying at 500 feet and you've got no petrol in your tank!!!!!!!", well it's making the game totaly different, i would compare it to swimming it's different without. Anyway that's my point of view, but you should actually try it might be great fun.

@willingcoyote: I know it could be annoying but it might be usefull to have tow different savegames one with the original main.scm, one with back 2 reality main.scm, because as petrol doesn't work when on mission so instead of experementing bugs play the original when you want to do missions and use the back 2 reality mod the rest of the time. It's not really usefull to do the missions in B2R mod because with each update you'll have to start back to the start.

@factor21: It is a last version on the first page, the new usage, the petrol skills (flystat when on plane, bike on bike, drive on cars,...), the airports tanks, all the markers, the ejector seat (evacution tool), except for all the mission available from the start everything seem to be working fine on the last version on page one. Maybe you should retry.

@Juhakos: everytime you make changes on the main.scm (one of the file in the zip), as small at it's could be you'll have to start a new game anyway, so it's totaly normal that you couldn't play them. The petrol in the game seem to be around $15 a litre (in US it's around $0,25 if i'm not wrong !!!*)so you've actually done nothing wrong but everything good. It's possible to get only the petrol mod the code has been posted on page 3 i think and some after, but you'll need a mission builder to insert it yourself in the main and recompile. It's not hard as it looks. Look for barton waterduck's Mission builder (or another one) and with a little tutorial you'd be going pretty fast and get it done.

*: that make me think maybe it's the price a whole barrel of petrol or some gallons, but who cares, money isn't that hard to find in the game, and if you do get BW's MB you could even change the price yourself!!!!!!

jbond

Hi@jbond: true, the mission are still in storyline and sometimes don't work but please unstick your your finger from shift coz it's very annoying, instead get yourself some patience, and if you really don't have any do it yourself open the main.scm and look for the bug, you'll see how painfull it is to find what going wrong with the code you havn't wrote and you'll probably be more tolerant for the time it's taking. Beside that it's nice to see that people are interessted but please keep away from the caps lock touch, thanks in advance.

ok, but don´t missunderstand me, i like this mod, and that´s the reason why i´am asking so often, i want to play missions with (gas and hot coffee...) this mod.

and maybe wylincoyote is right and it´s only the bug which was in the hotcoffee 2.0, so could be easier to figure out what have to be changed(like in hotcoffee2.1).

and i think cns want that the missions runs(becourse he had make hotcoffee in storyline, so you can´t use it without the function of the missions, and he don´t add it for no-using).

by the way, i tried in vice city often to change the scm, you are right, it´s hard to find a bug!

because if you don't you'd play the mission WITHOUT petrol (the same way as in original game), and if i understand you right you want to play them WITH petrol.

Anyway i didn't come just to tell that I've come to said that i've made something (that's now up, running and working), the only trouble seems to be main.scm size limit !!!!!!As i really love the B2R mod a made somehing that really make you going back in reality, coz when i was playing (or coding) san andreas i usually drink a lot (water when coding....) and it's makes me going so often to the bathroom to have a little pee, and so i got the idea of making CJ having the same trouble, coz i was really jalous about him havn't to go. So now that's been fixed !!!!!Press long on yes conversation while on foot and see CJ having a pee !!!!!!!You've got between 20 and 25 minutes (that's like 20 to 25 HOURS for CJ, try not to piss for this long !!!!! (actually really don't try you'll get little rocks in your pee and others thing that you really don't want to know about, and I decline all responsibilities about you trying to do that!!!!!)) before you got to go, and then 5 to 8 minutes (like 5 to 8 hours in-game (again, don't do it!!!!, even if it's more doable 8h is a bit too much)) you'll see the red property icon (which can be replaced in the HUD.TXD by the bathroom icons i've made) to tell you where the toilets are. The toilets are in your properties in the bathroom (nothing new about that but...). If you don't go to the toilets you'll get one more cop wanted level star than you already got, because the copas don't like people pissing anywhere (it does in reality(taken from my personal experience in many different countries), even if they don't take you to their shop they at least ask for your ID, check if you're drunk, they frisk you to see if you've got anything illegal on you, and check your criminal record on the computer or by phone, and if you're lucky enough, don't have anything illegal with you, are not wanted,are not drunked, and have a face that the copas like, then you've only lost a few minutes, for all other cases i wouldn't like to be (again) in your shoes... ), then if you don't go you'd crap your pants and the same way get a copas star (i can't tell from my personal experience this time never tried!!!) because they might think you're a homeless and as you rpobably know copas often like to piss off homeless people for no reason just because they got nothing better to do (unfortunatly it's too often true in many countries, so even more in San Andreas which is for me a parody of East USA), anyway even if real cops don't at all, i didn't want to let you get away with your craped pants you dirty ass !!!!!!!!!Well i've been talking to much just try it !!!!!!!!!!!!!!

The icons (choose one from the two available): or can be taken with their alphas (if you don't know what it is open HUD.TXD and "click around" and you'll find out) from there :http://tomworld10.fr...A/cj_need_piss/under the names Chiottes01.bmp (Chiottes01a.bmp for the alpha) and Chiottes02.bmp (Chiottes02a.bmp for the alpha)

The icon can be changed using TXDworkshop (or anything which opens San Andreas txd files) in the hud.txd in the folder models of your san andreas.If you using TXDworkshop you'll have to go to properties of the picture and uncheck the compression so it doesn't dodge the picture (maybe has changed from the version i have, but i don't know).

If you're too lazy to do that just take hud.txd and put it in C:\Program Files\Rockstar Games\GTA San Andreas\models\ (don't forget to make backups!!!!)

The screenies:

don't forget:

CODE

004F: create_thread ££CJPISS_10

(on line 984 for the original main.scm if you don't know where to put that) and if SAMB ask you to redefine the memory do it!!!! (like :" Memory beyond the defined range has been accessed. Use DEFINE MEMORY 4xxxx or allocate enough memory. Then recompile.", well go on line 3 and change DEFINE MEMORY 4yyyy to DEFINE MEMORY 4xxxx(what the error told you) and then recompile) and don't try on the B2R mod yet because it won't work(because of the size limit, if you don't know what's that, don't worry you'll find out too soon!!!), try on the original main.scm works really fine. And then, addthe rest of the code just before :

Well as i said before with the B2R mod it doesn't work because of this bloody size llimit of the main.scm, i really tried to make it as short as possible but i can't get it shorter than it has to be, if i take some out i won't have anything left !!!!

But it works really fine on the original main.scm (thanks again to Demarest for advices and encouraging).

because if you don't you'd play the mission WITHOUT petrol (the same way as in original game), and if i understand you right you want to play them WITH petrol.

Anyway i didn't come just to tell that I've come to said that i've made something (that's now up, running and working), the only trouble seems to be main.scm size limit !!!!!!As i really love the B2R mod a made somehing that really make you going back in reality, coz when i was playing (or coding) san andreas i usually drink a lot (water when coding....) and it's makes me going so often to the bathroom to have a little pee, and so i got the idea of making CJ having the same trouble, coz i was really jalous about him havn't to go. So now that's been fixed !!!!!Press long on yes conversation while on foot and see CJ having a pee !!!!!!!You've got between 20 and 25 minutes (that's like 20 to 25 HOURS for CJ, try not to piss for this long !!!!! (actually really don't try you'll get little rocks in your pee and others thing that you really don't want to know about, and I decline all responsibilities about you trying to do that!!!!!)) before you got to go, and then 5 to 8 minutes (like 5 to 8 hours in-game (again, don't do it!!!!, even if it's more doable 8h is a bit too much)) you'll see the red property icon (which can be replaced in the HUD.TXD by the bathroom icons i've made) to tell you where the toilets are. The toilets are in your properties in the bathroom (nothing new about that but...). If you don't go to the toilets you'll get one more cop wanted level star than you already got, because the copas don't like people pissing anywhere (it does in reality(taken from my personal experience in many different countries), even if they don't take you to their shop they at least ask for your ID, check if you're drunk, they frisk you to see if you've got anything illegal on you, and check your criminal record on the computer or by phone, and if you're lucky enough, don't have anything illegal with you, are not wanted,are not drunked, and have a face that the copas like, then you've only lost a few minutes, for all other cases i wouldn't like to be (again) in your shoes... ), then if you don't go you'd crap your pants and the same way get a copas star (i can't tell from my personal experience this time never tried!!!) because they might think you're a homeless and as you rpobably know copas often like to piss off homeless people for no reason just because they got nothing better to do (unfortunatly it's too often true in many countries, so even more in San Andreas which is for me a parody of East USA), anyway even if real cops don't at all, i didn't want to let you get away with your craped pants you dirty ass !!!!!!!!!Well i've been talking to much just try it !!!!!!!!!!!!!!

The icons (choose one from the two available): or can be taken with their alphas (if you don't know what it is open HUD.TXD and "click around" and you'll find out) from there :http://tomworld10.fr...A/cj_need_piss/under the names Chiottes01.bmp (Chiottes01a.bmp for the alpha) and Chiottes02.bmp (Chiottes02a.bmp for the alpha)

The icon can be changed using TXDworkshop (or anything which opens San Andreas txd files) in the hud.txd in the folder models of your san andreas.If you using TXDworkshop you'll have to go to properties of the picture and uncheck the compression so it doesn't dodge the picture (maybe has changed from the version i have, but i don't know).

If you're too lazy to do that just take hud.txd and put it in C:\Program Files\Rockstar Games\GTA San Andreas\models\ (don't forget to make backups!!!!)

The screenies:

don't forget:

CODE

004F: create_thread ££CJPISS_10

(on line 984 for the original main.scm if you don't know where to put that) and if SAMB ask you to redefine the memory do it!!!! (like :" Memory beyond the defined range has been accessed. Use DEFINE MEMORY 4xxxx or allocate enough memory. Then recompile.", well go on line 3 and change DEFINE MEMORY 4yyyy to DEFINE MEMORY 4xxxx(what the error told you) and then recompile) and don't try on the B2R mod yet because it won't work(because of the size limit, if you don't know what's that, don't worry you'll find out too soon!!!), try on the original main.scm works really fine. And then, addthe rest of the code just before :

:CJPISS_300001: wait 200 ms00D6: if 00256: player $2 defined ;; I use that to check if player's been wasted/busted, much better and much working than the swasted or busted check004D: jump_if_false ££FEELBETTERNOW_100D6: if 0801D: NOT @32 > @1;; integer values 004D: jump_if_false ££EMERGENCY_1 008A: $kist00 = @1;; integer values and handles ;; this is useless008A: $kist01 = @2;; integer values and handles ;; this is useless008A: $kist02 = @32;; integer values and handles ;; this is useless04F7: status_text $kist00 0 line 3 'PETMON' ;; this is useless04F7: status_text $kist02 0 line 2 'TANKFU' ;; this is useless04F7: status_text $kist01 0 line 4 'TANKFU' ;; this is useless00D6: if 180DF: NOT actor $3 driving00E1: key_pressed 0 11004D: jump_if_false ££CJPISS_300001: wait 1000 ms ;; to make it as a long press on the touch00D6: if 000E1: key_pressed 0 11004D: jump_if_false ££CJPISS_30

:FEELBETTERNOW_10001: wait 0 ms04EF: release_animation "PAULNMAC"00D6: if 00039: @2 == 1;; integer values004D: jump_if_false ££CJPISS_2003BD: destroy_sphere @10 ;;because you've pissed you don't need to see the markers and the spheres03BD: destroy_sphere @11 ;;because you've pissed you don't need to see the markers and the spheres03BD: destroy_sphere @12 ;;because you've pissed you don't need to see the markers and the spheres03BD: destroy_sphere @13 ;;because you've pissed you don't need to see the markers and the spheres03BD: destroy_sphere @14 ;;because you've pissed you don't need to see the markers and the spheres03BD: destroy_sphere @15 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @20 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @21 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @22 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @23 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @24 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @25 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @26 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @27 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @28 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @29 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @30 ;;because you've pissed you don't need to see the markers and the spheres0002: jump ££CJPISS_20

Well as i said before with the B2R mod it doesn't work because of this bloody size llimit of the main.scm, i really tried to make it as short as possible but i can't get it shorter than it has to be, if i take some out i won't have anything left !!!!

But it works really fine on the original main.scm (thanks again to Demarest for advices and encouraging).

17 june 2005 - release of &quot;hot coffee v2.1&quot;* fixed problem with triggering mission with the &quot;quick action&quot; version <---- this is what your mod needs.* removed limit of one date per day, date as often as you want.

it also changes dating to any time of day but my guess is if you use 2.1 code in replace of your Hot Coffee.other than that your mod is great and would like to use the petrol in my store bought copy of SA. http://grandtheftaut...offee_Mod;44662

Demarest

I've avoided this topic pretty much since the beginning because cns and I got off on the wrong foot. However, tomworld10 has really inspired me to lend a hand where I'm able. I'm very busy these days with much to do. But I understand you guys are frequently hitting the file size limit of MAIN. Thought maybe I could pitch in by streamlining and/or slimming down some of the code. I just hope my brain still functions this way because I've been focused solely on savegame compatibility for almost 2 months now.

wylincoyote

the peeing script sounds cool but I think it would suck to really scramble to the nearest toilet.. why not be able to piss by tree's outside? or maybe just behind any building, like the same area that you can take hookers in your car and make the car move up and down.

Demarest

I'm not trying to embarrass anybody, but I just noticed that in a GLANCE at the pissing code, I can shave off 324 bytes! This post is mostly directed at tomworld10...

Codes travels linearly. So you'll never need

CODE

0002: jump ï¿½ï¿½CJPISS_20

:CJPISS_20

Taking out the jump will still run the next section, so there's 7 bytes saved. For that matter, now you have back to back waits, the first of which is a mystery to have. You can chuck it altogether, or just up the second to 3000. Either way, there's 5 more bytes saved.

Next comes a lesson every bit as cool as thread timers One that will save you 312 bytes! I noticed you have

...and I couldn't help but notice that the coords are identical. Well guess what? See the 0 () in those conditionals? That's a beautiful thing that's been there since GTA3. If you change that 0 to 1 (in MB, that also adds in-sphere between the parentheses), a sphere is generated at those coords as large as the largest radius you're sniffing for. This is a rarity (a conditional that is also a command). By changing the 0's in your conditionals there to 1's, you will not need to create or destroy spheres; they're built into the conditionals Not only does this save you 312 bytes, but it frees up 6 local vars assuming they're not used elsewhere. There's only one downside: if the wait you use between running of the conditionals is too large, the spheres will appear to flicker. If this happens, tone down the wait amount a bit and it should appear fluent. Pretty cool, huh?

tomworld10

Hi @maxmoretensen: I was talking to jbond about the petrol (look page 3 or 5 or 7 of the topic i can't remeber) thread not the cj piss thread i posted. The cj piss thread will be on even while on mission, that's probably why you can't find it. But the same way as the petrol thread if you don't want it to happend while your on mission put that

because if you don't you'd play the mission WITHOUT petrol (the same way as in original game), and if i understand you right you want to play them WITH petrol.

I know i've written a lot but you might should a better read of the message.

@Demarest: I/We can't blame you for that because savegame compatibily (Darkpact, for those who don't know yet) is that cool that i couldn't even believe it was possible, I've seen the website you've done for it, and thanks to make it as if any newbi could do it him(her, less likely to happened but i'm still hoping.... )self. Everytime i think of it i'm still having trouble to believe it !!!!!!

@wylincoyote: Try it !!!!!!! First you don't have to go to the toilets you can piss anywhere BUT you'd get one star, well one little star isn't that hard to get away from. Second i actually thought of that but then two problems occured:First i don't know how to know if a copas is looking at you or nearby (I think that's what you meant), (actaully i do know how to make that but it will make the thread much longer, using 0320 and some other code, and i thought that on little star was less painful than all this code, and by the way when your wanted level is over 2 it doesn't had anymore stars.)Second, like i said in another topic it would made much longer (at least 3 to 5 line if i counted right, and as it already over the limit in B2R mod, i don't think i'd bothered adding it).But thanks for posting your comment, i like to hear feedback. You really should try it, i've explained how to do it and if you still have trouble just ask.

tomworld10

Thanks Demarest !!!!!!I'm a f*uckwit !!!!!!I actually knew about the 1 or the 0 in the if actor near point !!!!!!! (and actually since a bloody while ago!!!)But as i just thought of that i now remember why i've done the whole part of creating and destroying the spheres, it's because i wanted the sphere to appear only when it's an urgence (first 1200 to 1500 seconds no sphere, then when it tells you that you really need to go it shows the icons and the spheres, and then you've got 5 to 8 mins...)

But actually i've never noticed that it's actually both a command and a conditionals all together it didn't bothered me it seemed so logical for me to have the sphere by putting the 1, you're right that's pretty cool.

But as I just tested it's not enough to make it work in the B2R mod (still 221 bytes over, better than 491 over like it was before but not enough yet ).

:CJPISS_300001: wait 10 ms00D6: if 00256: player $2 defined ;; I use that to check if player's been wasted/busted, much better and much working than the swasted or busted check004D: jump_if_false ï¿½ï¿½FEELBETTERNOW_100D6: if 0801D: NOT @32 > @1;; integer values 004D: jump_if_false ï¿½ï¿½EMERGENCY_1 00D6: if 180DF: NOT actor $3 driving00E1: key_pressed 0 11004D: jump_if_false ï¿½ï¿½CJPISS_300001: wait 1000 ms ;; to make it as a long press on the touch00D6: if 000E1: key_pressed 0 11004D: jump_if_false ï¿½ï¿½CJPISS_30

:FEELBETTERNOW_10001: wait 0 ms04EF: release_animation "PAULNMAC"00D6: if 00039: @2 == 1;; integer values004D: jump_if_false ï¿½ï¿½CJPISS_200164: disable_marker @20 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @21 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @22 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @23 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @24 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @25 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @26 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @27 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @28 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @29 ;;because you've pissed you don't need to see the markers and the spheres0164: disable_marker @30 ;;because you've pissed you don't need to see the markers and the spheres0002: jump ï¿½ï¿½CJPISS_20

And it shouldn't be blinky (flicker if it's what you meant) with a wait of 10ms in CJPISS_30

Actually maybe there is some more useless waits or useless crap i've added when it's crashing coz when it happened i always panic and add waits everywhere or delete things that most (all) of the time have noting to do with the bug.

Well thank to the corrector

Have fun

[UPDATE] I had a look on that and many thing that I actually don't like so I made a new version of it

:CJPISS_300001: wait 10 ms00D6: if 00256: player $PLAYER_CHAR defined // I use that to check if player's been wasted/busted, much better and much working than the swasted or busted check004D: jump_if_false @FEELBETTERNOW_100D6: if 0801D: NOT 32@ > 1@ // integer values004D: jump_if_false @EMERGENCY_100D6: if and80DF: NOT actor $PLAYER_ACTOR driving00E1: key_pressed 0 1100E1: key_pressed 0 4004D: jump_if_false @CJPISS_300001: wait 1000 ms // to make it as a long press on the touch00D6: if and00E1: key_pressed 0 1100E1: key_pressed 0 4004D: jump_if_false @CJPISS_30

Now when you crap your pants you'll get 0 respect (on all 6 differents respect -look at Sa documentation topic and look for the stats for respect) until you change your pants.

And there is proper text now :That's mean you got to go have a pee.

When you piss anywhere you'll get that messageIt's mean that the pigs don't like you to piss anywhere they'll piss you off now !!!

When you crap your pants you dirty ass will get that text :Same as before the copas don't like dirty people like you having dirty pants. Your respects are trun to zero until you change your pants again.

And to start pissing you have to press both "action" and "yes" at the same time.

Demarest

Taking a look at it now for continuity. Will write out my thoughts here as they come to me...

Right off the bat, your if player defined check jumps to code that has an unneeded wait, releases an animation that's not loaded, and disables markers not set. I understand what you're saying about waits, but understanding when and how to use them is a beautiful thing. MOSTLY in just loops.

Just noticed that you have this set to make have to piss every 2 to 2.5 minutes. That would grow old instantly. I could see maybe every 20-25 minutes instead. Changing from/to

CODE

0209: @1 = random_int 120 1500012: @1 *= 1000

CODE

0209: @1 = random_int 1200000 1500000

...saves 3 bytes. Or you could just use 120000 and 150000 if you REALLY wanted 2-2.5 minutes. Still saves 3.

CODE

00D6: if 180DF: NOT actor $3 driving00E1: key_pressed 0 11004D: jump_if_false ££CJPISS_300001: wait 1000 ms ;; to make it as a long press on the touch00D6: if 000E1: key_pressed 0 11004D: jump_if_false ££CJPISS_30

...is not the right way to check for key holding. Unfortunately, the right way is more byte heavy:

:KEYPRESSLOOP0001: wait 100 ms ;; to make it as a long press on the touch00D6: if 080DF: NOT actor $3 driving00E1: key_pressed 0 11004D: jump_if_false ££CJPISS_3000D6: if 00019: @33 > 1000;; integer values004D: jump_if_false ££CJPISS_30

...which sadly adds 30 bytes.

Put the load animation command in the section before the if loaded check. That's not a command you need to/should be looping.

PISSNG_1 has nothing referencing it, so it's a wasted label. Label headings weigh nothing though. The wait there however comes RIGHT after a wait from the loop. Not needed. There's 4 more bytes for you.

There's not really a need to store your weapon and switch back to it. If you were to remove that feature, you'd also remove any usefulness (which isn't much to begin with) having a wait 6000 and wait 5000 back to back. Removing those 3 lines frees up 21 bytes. Likewise, I DO believe that since your code has no 0618 (which it doesn't need), you do not need 0615 or 0616. Try removing them and seeing if it behaves the same. If so, there's another 10 bytes freed up. Also, after the wait 6000 is where the release animation should be. You're done with it there.

This next bit is very large. As of right now, your code doesn't actually use @2. Not to mention that this entire routine is almost senseless unless not pissing regularly had side effects. Like if @2 were to make it to 2, you'd have pissed your pants and your respect and sex appeal are temporarily down to 0 until you change clothes and even then, your respect could be slightly dented afterwards. That's a lot of code and until you add such negative consequences, differentiating between emergency and not is very weighty and takes up tons of locals for the radar. To cut out all of :EMERGENCY_1 :CRAPASS_1 and :FEELBETTERNOW_1 (yes I realize this would me repointing several jumps) as well as the initial @2 = 0, you're talking about freeing up 443 bytes. Granted that that includes 18 bytes for the release animation code that MUST remain, but still.

If you insist on keeping emergency status, then again, the random commands can be changed from/to

CODE

0209: @1 = random_int 30 480012: @1 *= 1000

CODE

0209: @1 = random_int 30000 48000

...saves only 2 bytes.

The last cleanup I have requires you to understand if check inverting. For details, check this post which just happens to use your if as an example. Now that I'm actually looking at your code, it's more useful than I thought. Your code sections are kind of jumbled up. That doesn't effect performance really since you're jumping where you need to go. But if you instead arrange the blocks to flow from one to the next, you can free up jumps which are normally 7 bytes each. Here we can remove 2 by inverting your if check and reording the sections like so (your wait 0 in COPAS_1 was also removed for another 4 bytes free)

jbond

one other question: something is wrong with my hotcoffeemod, i played btr amoment and go to girlfriend( all normnal) but after the blo.w-job, the f.u.xking is on warpspeed, i meant they action of the scene is very fast( many bangs per minute), so it isn´t funny anymore.

i don´t understand, the first times it runs in normal time, i only change some graficsettings and i have a new gamepad, but i can´t believe that that is the reason.

does anybody know what is going on?? maybe someone with same problem???

problem found: it´s the frame limiter, i have to put it on for hotcoffee.

@demarest: can you make the btr- missions function? you pretend to be a good modder

jbond

so could please someone take a look for the mission problem(i think it´s same problem which was on hotcoffee 2.0, 2.1 was in function), so the problem could figured out between the to version and the reason could be used for b2r.

tomworld10

[UPDATED] : The old code had some bugs that made the game crash they've been fixedand again the same day...

HiAs the B2R topic is cooling down, i want to burn it up a bit by extinguishing fires before it gets cold meat !!!!!!

Let say that now in the State of San Andreas every car must have in it a fire extinguisher (it's really a law in many countries, you end up with a USELESS 2kg extinguisher which doesn't allow to put much fire out but.....), just that doesn't seem too exiciting, but if this fire extinguisher allows you to put out the fire on your car that you were driving and then keep going (carefully) on your way !!!!!!!!!!!!!!!!!!!!!!!!!!Sounds more usefull now!!!!!!!!!!!!!!!!!!!!So let me explain clearly what it does, WHILE your driving (only when driving) when your car gets on fire you get out (as usual for not suicide candidates) and it gives you a fire extinguisher automatically (of course it will replace the weapon which was in the fire extinguisher slot) with 60 ammos (that's not much but its enough to get you going and it refers to the obligatory 2kg fire extinguisher you get in reality), don't waste your ammos, you might need it, and then you put fire out, you got 25s to do it, and then get back in the car. And because you weren't watching or because some ped stolen his license , you've crashed again your car and because you don't want it to blow up (because you spent time modding it or whatever reason) you do the same put the fire out, but this time it won't give you more fire extinguisher ammos (you can extinguish one fire with only about 20 ammos, so you should be fine with 2x30), and your car won't be working no more !!!!!!!!!!!Yeah of course it doesn't work!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!, this time your car is totally f*cked !!!!!!!!!!!!!!, and in reality cars don't go no more after 2 fires (usualy one is enough but....), you just have to call the towtruck to come and get your car (I've nearly done that but it's not handling the car mods, isn't been test with passenger mod, some little bugs and still to crashy for a release yet, but coming soon !!!!!!!!!!!!!!!!). If you got your car fixed it will do as if it's brand new (for example it works very well with HESOYAM cheat code.....) and regives you a chance to get where you wanted to go.

Some screenies"Oh sh*t, I got to extinguish this fire !!!!!"

"you think a little fire like you is gonna scares me !!!!!!!!!"

"That's it, I can keep going now....."

Looks really cool on kart and bikes

I love this picture

As you've probably seen on this picture there is a little known bug (it's not really a bug) with cars with the engine a the back (i think the picture is self-explaining), the fire don't come right because the fires always come at the same place of the car (front right), acutally i finally found it usefull because at least you don't have to look for it, you'll know where it is whatever car your driving.

This time it's really not a hudge piece of code i was actually surprised that it is so short !!!!!!!!!!!!!

Here is a funny screenshot i've done while working on this project, it doesn't work of course (and yes even in reality you can't switch most fires off by peeing on it....particulary when it's an oil, fuel and plastic fire!!!!!!!) but i was rolling on the ground laughing....

I've to split the message because i've gone mad with the screenshots....

tomworld10

While i'm on screenies here are some to make you drool a bit until my next message (that sounds really really pretentious...) here some of the future "get a tow" mod-part (not a full mod just a piece of a mod.....)

"-Hello, I've f*cked my car come and get it towed to the next garage.""-Yes sir we're coming right away"

"-I hope you didn't rush on my account!!!!!!!!!! Bloody hell, you took a while!!!!!, i've got business to mind"

"-Well she's right there""-you've done your job well, it's totally f*cked right, i'll tow her to the garage and see if we can do something about it....""-Hope so, with the price i'm paying you"

"-He's finally gone, I thought he'd be talking forever!!!"

"-They've got a nice shop with nice cars it's a shame they don't work and i can't steal them!!!!"

"-Oh crap they're not very friendly when they're aimed or shooted, or even if i shoot those breakdown cars!!!!!!!!!!!, this time they might keep my car as a refund !!!!!!!!!!!!!!!!!

Well i didn't think writting all that but was fun making this little comic, but do not worry it's about 80% done so you shouldn't have to wait too long to have it released.COMING SOON Sorry it will be in a long time.....

tomworld10

@BogdanR : If your talking about releasing a complete, compile, finished, main.scm and dependencies, well i've got absolutly no-idea if it will even happened...Due to non-working stuffs, game crashes, troubles with point compiler, lack of time, and mainly beging getting too close or way over the main limit, and i don't really want to post a stripped main.scm from missions and external scripts because it will be No Fun At All...But you still can copy and paste the code i've post and have plenty of fun, it could be pretty cool too to darkpact'it so you play your savegames, because "fire on car" and "CJ need to piss" are working and ready to install.About "get a tow" I will send the code i've been writting but it's messy and i havn't touch it for a pretty big while and it's missing a part that you can find on the savegarage creation topic, and then with some work done you'll have a pre-alpha version v0.0 of the mod-piece, and then i authorize you and even recommand you to post it there because i probably won't be doing anything to it for a while (well actually i don't know really, i'll try to find some time for it, like i do now but it's very rare i get freetime now...).

Well girls and guys i don't post much anything those days but i'm around watching

Are you still alive ?????Sorry again for the length it does but well you'll probably find some stuffs you like in it....

Well i've nearly forgot to say heaps things, first this CANNOT be just copy and past to main.scm, this still need work to get done, actaully it would need to be remelted down to remove many of the repetitions it does, it doesn't work with the modificated cars (does nothing in the present state) but you can see savegarage creations topic http://www.gtaforums...c=200033&st=220 and carmods topic to see what can help you to get working what you want.What else to say, maybe that you might have to try on a stripped main.scm because you might get over the limit but i havn't try it at all. and i remeber i got lot of trouble sending the guy the right place i want him to say.Well for anything i'm around to enlight the obscure coding i've done.

Well that's it now you got to f*ck up your car to "get a tow" !!!!!!People, this should give you some fun but if it doesn't

Neko Raven

Hi...I am reading this post for some time now and did not find something about so...Is not the phone missions working on this mod?I finally started a new game to play it, but I cannot get Cesar's and C.R.A.S.H's missions...

tomworld10

Hi...I am reading this post for some time now and did not find something about so...Is not the phone missions working on this mod?I finally started a new game to play it, but I cannot get Cesar's and C.R.A.S.H's missions...

Maybe you've change your phone number and now people who try to get in touch with you can't anymore, have you check the phone battery you might be running out of battery and make the mobile go mad....Are you sure you are under network coverage, there is many parts in SA that the mobile doesn't find the network it's supposed to and so people can't get in touch with you. It' might depends if your mobile is unlocked because somethimes they just connect to the liberty city network and don't on the SA network.If after all this checklist your phone still doesn't get phonecalls just go check to your local vodange-oraphone-network shop, and ask for a technical engineer to shove the phone up your rear in confined area to see if it can catch the network better than before... If after all this you still don't get phonecalls it's probably means that you have NO FRIENDS, I'm sorry to tell you that but someone has to because if no-one don't you'll live all your life with the hope of having friends and it'll be very hard for you to realize....Have you thought of taking a shower maybe it could be a part of the explainnation......

And there is something else, i could just remind you that this is a mod that brings you back to reality and as you probably notice in reality sh*t HAPPENED, so the not-calling part is just done on purpose to make it more realistic !!!!!!!!

OK, then after all this joking, of course it's not on purpose, and of course the in-game mobile doesn't get network trouble or any kind of trouble but was just so fun finding all the reasons it doesn't work in reality and noticing that not any of those happened in-game. This actually gives me the idea of making a script that' would do that but it'd be more annoying than fun just as you've noticed...As i'm being serious for a bit this trouble has already been discovered if i remember well, but the time i tried it, i think it actually WORKED for me, so you might want to try with the last version posted and if it still does you will have to wait to the time me or cns or anyone else including YOU, take the bull by the horns (get working seriously on it) and fix the problem.In other words wait or work.

I'm sorry it always turns up that way lately but as i said before there is many trouble in putting the mod all together and other things, but in fact time is actually the only real barrier but a hugde one... By the way if someone knows a shop where we can buy some time tell me (fell like déjà-vu...) i'll save up some cash to get a truckload!!!!!!!

Neko Raven

After some hours looking at the codes, I don't know if I can say that I found the problem, but I took some guesses and the game is running with most of the mod and it is working fine... I tested it and got all the calls, up to Cesar's...