Pawno Compiler Crash, 'Er Time. -
dj_william - 22.09.2011
Why yes, I am trying to define vip for 0admin filterscript, how'd you know?
To get to the point, I added the define method for vip, it's below as well as the crash info.
Код:
#define VLevelCheck(%3) \
do{\
if(P_DATA[(%0)][VIP] < (%2)){\
{\
if(S_DATA[TellPlayer])\
{\
return SendClientMessage((%0), Color:ORAN, "SERVER:"W" You must be VIP in to use this command!");\
}else return 0;\
}\
}\
while(False)
Код:
Problem signature:
Problem Event Name: APPCRASH
Application Name: pawncc.exe
Application Version: 3.2.3664.0
Application Timestamp: 4655bfe0
Fault Module Name: PAWNC.dll
Fault Module Version: 3.2.3664.0
Fault Module Timestamp: 4655bfdf
Exception Code: c0000005
Exception Offset: 00005087
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
Re: Pawno Compiler Crash, 'Er Time. -
Tenshi - 22.09.2011
You've posted wrong area, visit here:
http://forum.sa-mp.com/forumdisplay.php?f=12
Since this is more of a coding problem, then server issue. Unless your issue is something new of a bug that crashes a server (which would not be possibly this late in 0.3c RC for something so small)
Re: Pawno Compiler Crash, 'Er Time. -
Vince - 22.09.2011
Why do people try to put a whole function into a single define? Functions are there for a reason ... It's not going to be any faster if you create a define rather than a stock.
Re: Pawno Compiler Crash, 'Er Time. - Guest9328472398472 - 23.09.2011
Try updating your "SCCANF" ( However spelt ) , I had same problem, updated it and it started working fine..
Re: Pawno Compiler Crash, 'Er Time. -
dj_william - 23.09.2011
Quote:
Originally Posted by Tenshi
You've posted wrong area, visit here: http://forum.sa-mp.com/forumdisplay.php?f=12
Since this is more of a coding problem, then server issue. Unless your issue is something new of a bug that crashes a server (which would not be possibly this late in 0.3c RC for something so small)
|
Quote:
Originally Posted by Vince
Why do people try to put a whole function into a single define? Functions are there for a reason ... It's not going to be any faster if you create a define rather than a stock.
|
Quote:
Originally Posted by Brandon Javorsky
Try updating your "SCCANF" ( However spelt ) , I had same problem, updated it and it started working fine..
|
Tenshi, thank you for informing me of my mistake.
Brandon, thank you for your suggestion.
Vince, go fuck yourself with cactus, I don't need anyone bashing me because someone else coded their FS poorly. I'll make my own damned administration filterscript. I cannot stress how useless these forums are, when all everyone does is basically tell everyone they're fucking retarded because they aren't the best god damned coder on the fucking world wide web.
Re: Pawno Compiler Crash, 'Er Time. -
=WoR=G4M3Ov3r - 23.09.2011
Quote:
Originally Posted by dj_william
Tenshi, thank you for informing me of my mistake.
Brandon, thank you for your suggestion.
Vince, go fuck yourself with cactus, I don't need anyone bashing me because someone else coded their FS poorly. I'll make my own damned administration filterscript. I cannot stress how useless these forums are, when all everyone does is basically tell everyone they're fucking retarded because they aren't the best god damned coder on the fucking world wide web.
|
Quote:
Vince, go fuck yourself with cactus
|
Seriously ?, when you get half as good as Vince, then feel free to post, if you were a bit mature, you wouldn't bother replying to his post.
Re: Pawno Compiler Crash, 'Er Time. -
GrimR - 23.09.2011
Opinions are opinions, everyone including the OP is entitled to them. It does not matter how it was done, as long as it is valid and functional.
It is indeed the in-correct section of the forum so you know in the future.
I can't really help much with this, putting \ everywhere alone throws me off (must be some special case for the #define).
Re: Pawno Compiler Crash, 'Er Time. -
KoczkaHUN - 23.09.2011
Код:
#define VLevelCheck(%3) \
do{\
if(P_DATA[(%0)][VIP] < (%2)){\
{\
if(S_DATA[TellPlayer])\
{\
return SendClientMessage((%0), Color:ORAN, "SERVER:"W" You must be VIP in to use this command!");\
}else return 0;\
}\
}\
while(False)
VLevelCheck(%0,%1)
also if(P_DATA[(%0)][VIP] < (%2)){\ where is %1?
Re: Pawno Compiler Crash, 'Er Time. -
dj_william - 24.09.2011
it doesn't matter now, I stopped using 0admin. I get sick of it crashing all of the time, and the glitches, oh the glitches.