Help needed urgently.
#1

Sorry guys but this is abit of an emergency lol.. I ain't a expert and ectera but I''m in need of help as you can see.


Account\Desktop\West Coast Gaming\pawno\include\md5.inc(397) : warning 219: local variable "b" shadows a variable at a preceding level


Код:
               	a = buf[0],
(this one ->)	b = buf[1],
	        	c = buf[2],
		        d = buf[3];
Reply
#2

''b'' is already defined
Reply
#3

Hmm, I don't see it defined already.
Reply
#4

You may be using a include that has already defined 'b'.
Reply
#5

The point is I don't.. I believe so anyway.
Reply
#6

Then change it q or something. I've ran into dozens of these anomalies, best way to deal with it is just rework it, and get over it. Don't get me wrong though, it's always good to go dig into it and see what's up, but it's just a lot easier if your just get over it.
Reply
#7

Eh Silent thanks.. Everyday is a school day lol.
Reply
#8

Quote:

C:\Users\Online Account\Desktop\West Coast Gaming\pawno\include\md5.inc(397) : warning 219: local variable "b" shadows a variable at a preceding level
C:\Users\Online Account\Desktop\West Coast Gaming\gamemodes\wcg.pwn(40692) : warning 217: loose indentation
C:\Users\Online Account\Desktop\West Coast Gaming\gamemodes\wcg.pwn(41777) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 9432 bytes
Code size: 1664000 bytes
Data size: 7744944 bytes
Stack/heap size: 16384 bytes; estimated max. usage=7299 cells (29196 bytes)
Total requirements: 9434760 bytes

3 Warnings.

xD wow thats gay!!
Reply
#9

how to turn on these on compile:
Код:
Header size: 9432 bytes
Code size: 1664000 bytes
Data size: 7744944 bytes
Stack/heap size: 16384 bytes; estimated max. usage=7299 cells (29196 bytes)
Total requirements: 9434760 bytes
huh?
Reply
#10

Quote:
Originally Posted by Universal
Посмотреть сообщение
how to turn on these on compile:
Код:
Header size: 9432 bytes
Code size: 1664000 bytes
Data size: 7744944 bytes
Stack/heap size: 16384 bytes; estimated max. usage=7299 cells (29196 bytes)
Total requirements: 9434760 bytes
huh?
Reduce the memory usage in your script.

Don't use strings like
pawn Код:
new string[256];
GetPlayerIp(playerid, string, sizeof(string));
because the IP can be a maximum of 15 characters + null at the end = 16 in total.
So the right code should be:
pawn Код:
new string[16];
GetPlayerIp(playerid, string, sizeof(string));
This is just an example though.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)