One error
#1

Код:
C:\Program Files (x86)\SAMP Server\gamemodes\estprojekt.pwn(3129) : error 075: input line too long (after substitutions)
Код:
format(namem2rkmik, sizeof(namem2rkmik), "Andmed :: %s", name);
Help?
Reply
#2

help?
Reply
#3

bump (topic was in 4 pages)
Reply
#4

One of your lines is longer then 512 characters
Reply
#5

What you mean?

name = defined into 64 ( new name[64]; )

and namem2rkmik is 256. ( new namem2rkmik[256]; )

in 3130 line is:

Код:
format(string, sizeof(string), "[Vanus: %d] [Sugu: %s][Telefoninumber: %d] [Isikukood: %d] [Kodakondsus: %s] \n [KRaha: %d] [PRaha: %d] [Tase: %d] [Respekt: %d/%d] [Mдngutunnid: %d] \n [Annetajatiitel: %s] [Majavхti: %d] [Firmavхti: %d] [Autovхti(1): %d] [Autovхti(2): %d] [Autovхti(3): %d] \n [Tццkoht: %s] [Tiim: %s] [Orginatsioon: %s] [Aste: %d] \n [Uimastid: %d] [Materjalid: %d] [Suurim kala: %d] [Vдlimus: %d] [Interjццr: %d] [Lokaator: %d]", age, atext, pnumber, isikukood, otext, raha, account, level, exp, expamount, ptime, drank, housekey, bizkey, carkey, carkey2, carkey3, jtext, ttext, ftext, rtext, drugs, mats, bigfish, v2limus, intir, virworld); // Dialog of ShowStats
Reply
#6

Your line 3130 is longer then 512 characters, that's why you get the error.
Just do this:
pawn Код:
format(string, sizeof(string), "[Vanus: %d] [Sugu: %s][Telefoninumber: %d] [Isikukood: %d] [Kodakondsus: %s] \n [KRaha: %d] [PRaha: %d] [Tase: %d] [Respekt: %d/%d] [Mдngutunnid: %d] \n [Annetajatiitel: %s] [Majavхti: %d] [Firmavхti: %d] [Autovхti(1): %d] [Autovхti(2): %d] [Autovхti(3): %d] \n [Tццkoht: %s] [Tiim: %s] [Orginatsioon: %s] [Aste: %d] \n [Uimastid: %d] [Materjalid: %d] [Suurim kala: %d] [Vдlimus: %d] [Interjццr: %d] [Lokaator: %d]",
age, atext, pnumber, isikukood, otext, raha, account, level, exp, expamount, ptime, drank, housekey, bizkey, carkey, carkey2, carkey3, jtext, ttext, ftext, rtext, drugs, mats, bigfish, v2limus, intir, virworld); // Dialog of ShowStats
Reply
#7

Quote:
Originally Posted by dice7
Посмотреть сообщение
Your line 3130 is longer then 512 characters, that's why you get the error.
Just do this:
pawn Код:
format(string, sizeof(string), "[Vanus: %d] [Sugu: %s][Telefoninumber: %d] [Isikukood: %d] [Kodakondsus: %s] \n [KRaha: %d] [PRaha: %d] [Tase: %d] [Respekt: %d/%d] [Mдngutunnid: %d] \n [Annetajatiitel: %s] [Majavхti: %d] [Firmavхti: %d] [Autovхti(1): %d] [Autovхti(2): %d] [Autovхti(3): %d] \n [Tццkoht: %s] [Tiim: %s] [Orginatsioon: %s] [Aste: %d] \n [Uimastid: %d] [Materjalid: %d] [Suurim kala: %d] [Vдlimus: %d] [Interjццr: %d] [Lokaator: %d]",
age, atext, pnumber, isikukood, otext, raha, account, level, exp, expamount, ptime, drank, housekey, bizkey, carkey, carkey2, carkey3, jtext, ttext, ftext, rtext, drugs, mats, bigfish, v2limus, intir, virworld); // Dialog of ShowStats
Thanks, but it compiler has comed another new message:

Код:
Header size:           2996 bytes
Code size:           149312 bytes
Data size:          2252492 bytes
Stack/heap size:      16384 bytes; estimated max. usage=11703 cells (46812 bytes)
Total requirements: 2421184 bytes
What this is? Is that bad or what?
Reply
#8

Quote:
Originally Posted by Typhome
Посмотреть сообщение
Thanks, but it compiler has comed another new message:

Код:
Header size:           2996 bytes
Code size:           149312 bytes
Data size:          2252492 bytes
Stack/heap size:      16384 bytes; estimated max. usage=11703 cells (46812 bytes)
Total requirements: 2421184 bytes
What this is? Is that bad or what?
It means your code is using too much processing power. See ******' thread on optimizing your code.
Reply
#9

Quote:
Originally Posted by (.Aztec);
Посмотреть сообщение
It means your code is using too much processing power. See ******' thread on optimizing your code.
What topic link is?
Reply
#10

2Typhome, https://sampforum.blast.hk/showthread.php?tid=57018
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)