Crash when entering tutorial
#1

So, this happened when I entered the tutorial. My client crashed.

Crash log:
Код:
SA-MP 0.3x-R1-2
Exception At Address: 0x00727B45
Base: 0x03CE0000

Registers:
EAX: 0xFFFFFF3F	EBX: 0x0F600001	ECX: 0x00C71AD0	EDX: 0x00C6C4E0
ESI: 0x0F607D69	EDI: 0x0F60D105	EBP: 0x0F60D105	ESP: 0x0028F9AC
EFLAGS: 0x00010286

Stack:
+0000: 0x00719867   0x0F600001   0x00000000   0x00719C84
+0010: 0x0063C0E2   0x4396AB6E   0x0F607D69   0x00000000
+0020: 0x00719F48   0x0F60D105   0x0F60D108   0x0F607D69
+0030: 0x0F607D00   0xFFFFFFFF   0x00000001   0x0071A3DD
+0040: 0x4352A000   0x43960000   0x00000001   0xFFFFFFFF
+0050: 0x00000000   0x4352A000   0x43960000   0x756A6C30
+0060: 0x0F607D69   0x79000000   0x43D34332   0x4352A000
+0070: 0x00000001   0x43D87665   0x0000000B   0x43960000
+0080: 0x43D34332   0x00000000   0xFFFFFFFF   0x00000000
+0090: 0x00000000   0x00000000   0x00000000   0x00000000
+00A0: 0x00000000   0x00000000   0x00000000   0x00000000
+00B0: 0x00000000   0x00000000   0x00000000   0x00000000
+00C0: 0x00000000   0x00000000   0x00000000   0x00000000
+00D0: 0x00000000   0x00000000   0x00000000   0x00000000
+00E0: 0x00000000   0x00000000   0x00000000   0x00000000
+00F0: 0x00000000   0x00000000   0x00000000   0x00000000
+0100: 0x00000000   0x00000000   0x00000000   0x00000000
+0110: 0x00000000   0x00000000   0x00000000   0x00000000
+0120: 0x00000000   0x00000000   0x00000000   0x00000000
+0130: 0x00000000   0x00000000   0x00000000   0x00000000
+0140: 0x00000000   0x00000000   0x00000000   0x00000000
+0150: 0x00000000   0x00000000   0x00000000   0x00000000
+0160: 0x00000000   0x00000000   0x00000000   0x00000000
+0170: 0x00000000   0x00000000   0x00000000   0x00000000
+0180: 0x00000000   0x00000000   0x00000000   0x00000000
+0190: 0x0071A807   0x00000001   0x4352A000   0x43960000
+01A0: 0x0F607D69   0x0F607D69   0x0F607968   0x00000000
+01B0: 0x00000000   0x00000000   0x00000000   0x00000000
+01C0: 0x03D52ECE   0x4352A000   0x43960000   0x0F607D69
+01D0: 0x0F607D69   0x0F607D69   0xFFFFFFFF   0xFFFFFFFF
+01E0: 0xFFFFFFFF   0xFFFFFFFF   0xFFFFFFFF   0xFFFFFFFF
+01F0: 0x0F607D69   0x00000002   0x0F5B55F0   0x00000002
+0200: 0x4352A000   0x43960000   0x44C80000   0x3ACCCCCD
+0210: 0x44C80000   0x3B124925   0x03CF8916   0x00000000
+0220: 0x00000000   0x03D458AB   0x0028FBF0   0x68782E7C
+0230: 0x008E2EC0   0x00000040   0x00B5DCA0   0x0028FC00
+0240: 0x00822A23   0x00B5DCA0   0xFFFFFFFF   0x0028FC9C
+0250: 0x0028FC9C   0x0028FD4C   0x004D395E   0x00B5DCA0
+0260: 0x0028FC9C   0x000004EE   0x00B7358C   0x00B735BC
+0270: 0x0028FC74   0x779B004A   0x7652EEAE   0xFFFFFFFF

SCM Op: 0x248, lDbg: 0 LastRendObj: 0

Game Version: EU 1.0

State Information: Ped Context: 0
I get no errors with the code. Here is my code:
pawn Код:
strcat(pInfo[playerid][Accent], inputtext);
SetPlayerCameraPos(playerid, 657.0831, 2353.6143, 85.1300);
SetPlayerCameraLookAt(playerid, 657.5923, 2352.7556, 84.9950);
TD_SendMessage(playerid, "Welcome to ~y~GameWarfare Roleplay~w~.~n~This roleplay server is set ~g~after~w~you fly~n~into ~y~Los Santos~w~~n~. When you roleplay, you try to act like you would in real life.~n~But that depends, on what type of person you are roleplaying.~n~A civillian would act ~y~normal~w~. Gang Members and people who ~n~break the law, well, break the law.", "~y~GameWarfare Roleplay~", 12500); //This function is with an include.
SetTimerEx("Tut2", 12500, false, "i", playerid);
Reply
#2

pawn Код:
"~y~GameWarfare Roleplay~"
You cannot use ~ character UNLESS it's ~special_letter_here~

Those two are also important:

Quote:
Originally Posted by SA-MP Wiki
Important Notes:

• Maximum length of textdraw is 800 characters. Longer text will crash the client.

• If you use color codes (such as ~R~ ~G~) beyond 255th character the client will crash trying to display the textdraw.
Reply
#3

There is ~w~ after that second ~ you mentioned in the [pawn].

Also, the second one in the quote might be the answer.
Reply
#4

I didn't mean the second parameter but the third.

pawn Код:
TD_SendMessage(playerid, "Welcome ... law.", "~y~GameWarfare Roleplay~", 12500);
// Roleplay~", 12500);
Reply
#5

Also it has to do something with the TD_SendMessage in the code I said in the first message.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)