View Full Version : Gangzones

22/11/2011, 12:01 PM
Hey everybody,

I have built an island in my script, and now I want to make the roads visible on the radar with the help of transition zones.

However, I get in some places a client crash.

I get the following message is output:

SA-MP 0.3d-RC9-2
Exception At Address: 0x007278ED

EAX: 0x00C80488 EBX: ECX 0x0000000E: 0x0028FBC0 EDX: 0x481880C6
ESI: 0x472A6988 EDI: 0x00000000 EBP: 0x00000080 ESP: 0x0028FB10
EFLAGS: 0x00010216

+0000: 0x0000000A 0x0000000E 0x0000000C 0x0E5C9954
+0010: 0x005856D3 0x0000000A 0x0028FC34 0x0028FBB4
+0020: 0x00000001 0x00000000 0x0000000C 0x472A6988
+0030: 0x00000001 0x000003D9 0x40EDD48E 0xC1CBF8C0
+0040: 0x3B3B3EE7 0xBFFB7B21 0xBFF1AD02 0x40A807B8
+0050: 0x40A85157 0x40AA9A0C 0x40A5B8C9 0xBFF131D0
+0060: 0x456F1589 0xBFFC0F3C 0xC51956E7 0x4586EFE2
+0070: 0x45510B05 0xC4F4843B 0x456ECAF9 0xC4B6EFC6
+0080: 0xC4F2FFC4 0x45868DD9 0xC4F2FFC5 0x456ECAF9
+0090: 0xC4B6EFC6 0x455000BF 0xC4F51959 0x456F1589
+00 A0: 0xC51956E7 0x48A2F78D 0x481880C6 0x488D8B18
+00 B0: 0x4585943A 0x47DA8030 0xC50E5201 0xC4FA0000
+00 C0: 0x457A0000 0x457A0000 0xC4FA0000 0xC4FA0000
+00 D0: 0x457A0000 0xC4FA0000 0x455AC000 0xC4FA0000
+00 E0: 0x457A0000 0x3F800000 0xBF800000 0x3F800000
+00 F0: 0x3F800000 0xBF800000 0x3F800000 0xBF800000
+0100: 0xBF6EB432 0x3F736230 0x3F800000 0xBF800000
+0110: 0x3F800000 0xBF800000 0xBF800000 0x3F800000
+0120: 0x44761800 0xBF800000 0x43AFE000 0x43AFE000
+0130: 0x44499000 0x44499000 0x42D20000 0x42D20000
+0140: 0x44499000 0x42D20000 0x447496E4 0x43ACD5B9
+0150: 0x44499000 0x44761800 0x42D20000 0x43AFE000
+0160: 0x44761800 0x472A6988 0x472A6988 0xC7A97BCB
+0170: 0xC78A7FAA 0x03F21D39 0x0E5AD430 0xFF000000
+0180: 0x0000000A 0x0000000A 0x0000000D 0x03FB4607
+0190: 0x0000000C 0x0000000D 0x0000000E 0x0028FCBC
+01 A0: 0x00000001 0x00000001 0x005869C4 0x843B65A8
+01 B0: 0x00000000 0x0000000E 0x0000000A 0x0000000D
+01 C0: 0x0000000A 0x0000000C 0x0000000A 0x0000000E
+01 D0: 0x00000009 0x00000009 0x0000000C 0x0000000D
+01 E0: 0x00000009 0x00000000 0x0000001A 0x7678F9B0
+01 F0: 0x00000000 0x0000001A 0xC4F4CECA 0x412C8EA1
+0200: 0x44823136 0x00000001 0x00000000 0x0000001A
+0210: 0x00000007 0x00000001 0x00000009 0x0058A387
+0220: 0x00000000 0x00000018 0x00000000 0x0058A38F
+0230: 0x00000000 0x0000005D 0x00600F7D 0x006819EE
+0240: 0x00540910 0x00000000 0x00000000 0x0B8A9100
+0250: 0x0000001A 0x0053E504 0x0058FC29 0x0058FC58
+0260: 0x00000001 0x00000001 0x7678F9B0 0x0028FD90
+0270: 0x00000000 0x80002101 0x00B6F028 0x03FC3EB1

SCM Op: 0x2BF, lDbg: 0

Game Version: EU 1.0

State Information: Ped Context: 0
P0 (0,0) P1 (0,0) P2 (0.0)

Please help me :(

Sorry for the Bad English

22/11/2011, 04:26 PM
Please Help me :( Thats not funny with the Crash :(

22/11/2011, 04:59 PM
Contact the SA-MP team, i doubt someone will help you with this kind of problem...

23/11/2011, 02:46 PM
Iīve Send Kalcor a PM.
Maybe he Answer

Whith 0.3c itīs the Same :( Crash

23/11/2011, 02:47 PM
What about the Crashdetect plugin (http://forum.sa-mp.com/showthread.php?t=262796) ?

23/11/2011, 03:32 PM
The Client Crash. Not the Server

25/11/2011, 09:08 AM
Have you tested it without that script?
Are you sure you haven't go over the gangzone limit?

Also, why don't you post this in 0.3d discussion?
If you post this here it has lower chance to attract the dev team's attention.

25/11/2011, 09:57 AM
I have a problem with 0.3d rc9-3

I use sscanf..
why when I put a command exmple:

/prison <ID> <reason>

Appear with:
ID Invalid

25/11/2011, 11:34 AM

This Gangzones:

new gangzone1=GangZoneCreate(2914.5857,-2030.5685,6420.6782,-1902.7234);
new gangzone2=GangZoneCreate(3991.2480,-1940.0410,4123.2749,-1834.9346);
new gangzone3=GangZoneCreate(3728.8047,-1739.1803,4350.4360,-630.6320);
new gangzone4=GangZoneCreate(4377.5571,-1485.8971,4728.3813,-1736.5459);
new gangzone5=GangZoneCreate(5259.0752,-1900.9342,6469.3403,-1006.0729);
new gangzone6=GangZoneCreate(5525.6768,-941.0804,6030.2285,-595.2981);
new gangzone7=GangZoneCreate(5525.6768,-941.0804,6030.2285,-595.2981);
new gangzone8=GangZoneCreate(4470.5298,-1404.6305,5274.8477,-1278.8346);
new gangzone9=GangZoneCreate(4781.4404,-1290.8239,5010.3496,-1004.4277);

new gangzone20=GangZoneCreate(2869.4209,-1943.9927,6424.2847,-1983.9586);

new gangzone21=GangZoneCreate(5439.0513,-1945.4288,6418.0679,-1943.9927);
new gangzone22=GangZoneCreate(5329.7900,-1736.4734,6033.1846,-1755.3612);

This defines:

#define GRAU2 0xAAAAAAFF
#define GELB 0xFFFF00FF
#define SCHWARZ 0x000000FF

I have tested whith my Selfmade Reallife Script AND with a blank Script.

everybody can Check the Coordinates.

Start at LS Stadium.
Whith a Boat go along the Black "Street".

This Problem is not only in 0.3d
Samp 0.3c Crash too :(

25/11/2011, 11:36 AM
I have a problem with 0.3d rc9-3

I use sscanf..
why when I put a command exmple:

/prison <ID> <reason>

Appear with:
ID Invalid

Make your Own Thread. here are Problems whith Gangzones. Not with sscanf...

25/11/2011, 12:34 PM
I mean, do you crash if you comment out (or remove) those gangzones?

25/11/2011, 01:04 PM
No, only if the transition zones are installed.

Without the transition zones of the mapped street driving without problems.

As I said, a building the transition zones, and moving the black line along with a boat for 1-2 minutes (starts in LS on Stadium) And moving the mouse. (look around)

(c) by ****** Translator :D

25/11/2011, 03:41 PM
It could be the problem of setting gangzones out of ordinary SA area (+-3000,+-3000). I will test it if I have time.

25/11/2011, 03:56 PM
BUT, look This: http://www.forum.convoytrucking.net/index.php?topic=5014.0

No Crashes, No Problems on This Server.

25/11/2011, 04:40 PM
LOL! Sorry
I don't know why I post here

25/11/2011, 05:51 PM
update your client version to 0.3D-RC9-3
it is the best advice in that moment

25/11/2011, 06:04 PM
At the Moment i use RC9-3. Self Problem

01/12/2011, 11:17 AM
Tested with 0.3d FINAL... Self Crash :( Not funny :'(