Search found 960 matches

by T.M.
13 Jan 2014, 15:16
Forum: Modding forum
Topic: IF logic .scr files
Replies: 24
Views: 56163

Re: IF logic .scr files

Its a bug in miss2 compiler. I angried my blood with that too, once: http://gtamp.com/forum/viewtopic.php?p=5335#p5335 There you can see how i fixed it. If you want to make scripts, tip: dont use ELSE's, unless its really never going to be nested. There should not be any reason why these nested ELSE...
by T.M.
12 Jan 2014, 10:55
Forum: Modding forum
Topic: Why some scripts do not compile?
Replies: 7
Views: 13334

Re: Why some scripts do not compile?

Well its been 2 years since i read the docs, and even then i just copypasted the code :D So no wonder if i didnt remember that command. If its in the docs i probably tried it once then. Is it really same? Usually do-while loops execute the stuff before while check, and while loops check before execu...
by T.M.
11 Jan 2014, 15:18
Forum: Modding forum
Topic: Why some scripts do not compile?
Replies: 7
Views: 13334

Re: Why some scripts do not compile?

There is such a command as DO-WHILE_TRUE ? Didnt know. I cant find that in my decompiler sources either. Probably because its implemented by the GOTO commands? I wonder if those can be decompiled at all, by the GOTO structures. SET command is so useless waste of typing... wish we could have the mis2...
by T.M.
30 Dec 2013, 19:28
Forum: Modding forum
Topic: IF logic .scr files
Replies: 24
Views: 56163

Re: IF logic .scr files

From scr_functions.h: [mis]//TWO_PARAMS_LAYOUT(GOTO, sprintf_str("GOTO"); // correct struct, but format not figured out yet; probably not visible in code at all and used only in while loops etc.[/mis] and: [mis]struct SCR_CMD_HEADER { // copied to every function. Uint16 cmd_this; // curren...
by T.M.
23 Dec 2013, 16:13
Forum: Offtopic
Topic: Deleting All Board Cookies
Replies: 3
Views: 12054

Re: Deleting All Board Cookies

Sigh. Don't be mad to the guy who doesn't speak your language. By googling "delete all board cookies", I found this: https://www.phpbb.com/community/viewtopic.php?f=64&t=1812595 I have never even seen that button anywhere. And I don't care what it does. Probably some useless feature an...
by T.M.
16 Dec 2013, 10:39
Forum: Offtopic
Topic: Deleting All Board Cookies
Replies: 3
Views: 12054

Re: Deleting All Board Cookies

How many "board cookies" are there? I dont think there are more than one; your login cookie. Just press the Image Logout button to delete it.
by T.M.
16 Dec 2013, 10:38
Forum: Maps
Topic: Quarter To Death
Replies: 41
Views: 85629

Re: Quarter To Death

Oh, that explains everything.
by T.M.
14 Dec 2013, 14:14
Forum: Modding forum
Topic: Epic GTA2 Map Editor (0.6.6602) Beta
Replies: 996
Views: 1431999

Re: Epic GTA2 Map Editor (0.6.6.6) Beta

Total 1579 users (not IP's) for this editor now, according to logs. Germans and Russians seem to be the most enthusiastic downloaders. http://i.minus.com/jbrbLezoXHZpFo.png (world map of most users per country for this editor) I wonder if Sektor has made similar stats about GTA2 players? Would be ni...
by T.M.
14 Dec 2013, 13:37
Forum: Maps
Topic: Quarter To Death
Replies: 41
Views: 85629

Re: Quarter To Death

And why I troll myself? We use this network with our neighbor. This is common network. Indeed. You both seem to speak almost identical english too... same style of writing i mean. Maybe its a trait of Turkish people then too? Also the delay between your messages are suspiciously short; 40 to 120 se...
by T.M.
13 Dec 2013, 15:15
Forum: Maps
Topic: Quarter To Death
Replies: 41
Views: 85629

Re: Quarter To Death

Sektor wrote:My investigations only revealed they are both from Turkey, same ISP and at some point they have used the same IP but not uncommon in Turkey.
So he is trolling himself?
by T.M.
12 Dec 2013, 17:29
Forum: Maps
Topic: Quarter To Death
Replies: 41
Views: 85629

Re: Quarter To Death

This argument can be ended by simply uploading your files that does indeed show creation/modification dates before his. Then we know who did it first. However, he was whining about the sty file, and i see no sty files in the map... So i guess he is just lonely troll who is in great need of attention...
by T.M.
11 Dec 2013, 16:15
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 313506

Re: GTA2 memory addresses

Uh oh, I've been attemping C/C++. Some addresses that I might use for statistics and leaderboards. LPVOID fraglimit_addr = (void*)0x005EC4AC; LPVOID p1kills_addr = (void*)0x005EC4BA; LPVOID p2kills_addr = (void*)0x005EC4C4; ... Nice! I tried some of them in CheatEngine and they work. p1kills_addr e...
by T.M.
06 Dec 2013, 09:26
Forum: Modding forum
Topic: A couple of modding questions
Replies: 7
Views: 15501

Re: A couple of modding questions

1. No. No.
2. Possibly need to add traffic arrows for medics in those roads.
by T.M.
15 Nov 2013, 12:30
Forum: Modding forum
Topic: Long time no see!
Replies: 4
Views: 10251

Re: Long time no see!

There is 10 bits reserved for tile_id, that means max 1024 tiles possible to add into GMP, thus also 1024 tiles to STY files. All tiles must be 64x64 pixels, so you cant add more by resizing the tiles either. First tile_id cannot be used, and i think the last 2 tilepages (4*4*2 tiles) cant be used e...
by T.M.
13 Oct 2013, 12:52
Forum: Modding forum
Topic: Epic GTA2 Map Editor (0.6.6602) Beta
Replies: 996
Views: 1431999

Re: Epic GTA2 Map Editor (0.6.6.6) Beta

Gustavob wrote:I think he meant the traffic arrows won't be shown if you double click the .gmp file itself, but will do so if you open the map editor, click Open and then select the .gmp file
That's what i thought.

Now, does that fix the problem? Do i still have to make the traffic arrows in my editor?
by T.M.
02 Oct 2013, 12:40
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 313506

Re: GTA2 memory addresses

Finally! I just found the byte that allows instant gang to get in parked cars or stored cars. Normally they only get in dummy cars. Does it actually allow that on purpose , or is it just a side effect? That said, these kind of hacks might end up very buggy scripts if we adjust something we dont full...
by T.M.
28 Sep 2013, 08:14
Forum: Modding forum
Topic: Epic GTA2 Script Decompiler (AKA SCR Decompiler)
Replies: 156
Views: 389510

Re: Epic GTA2 Script Decompiler (AKA SCR Decompiler)

S might be Signed Integer. Not in this case. Sint32 = Signed Integer (32 bits) It used ID: 86 which is "S_LESS_I" "loop" is string in his own way, but what difference it makes to miss2? Its just variable. I dont get it. Read the source dude... its all there. Just look at the fun...
by T.M.
11 Sep 2013, 12:49
Forum: Modding forum
Topic: Epic GTA2 Map Editor (0.6.6602) Beta
Replies: 996
Views: 1431999

Re: Epic GTA2 Map Editor (0.6.6.6) Beta

Would you consider drawing the traffic light sprite in maps which have defined traffic light zones? The exact logic behind this can get pretty complex due to 'medians' and unequal-sized junctions. Would be super handy to preview them all in the editor instead of going in and out of game, flying aro...
by T.M.
10 Sep 2013, 13:50
Forum: Modding forum
Topic: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
Replies: 361
Views: 513617

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

Err, play any single-player original map? This is a message entirely in the highlight colour: I dont play GTA much... Last time 3 years ago...? If i hear some GTA2 related phrases, its totally cryptic for me. Looks like I am missing 1 color from the list. (which is #337788). Added the color now: ht...
by T.M.
08 Sep 2013, 18:53
Forum: Modding forum
Topic: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)
Replies: 361
Views: 513617

Re: GTA2 Font Topic - TXT2GTA2 (Version 3 Released!)

I edited the first post, had to remove one attachment (saved it on my computer first though), since 5 is the limit. (thats why i rather upload images on imageshack/minus.com rather than use attachments like Sektor prefers). I'll get back to this later and make the changes next week (if i have time &...