SA-MP Forums Archive
getting pwn from AMX. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: getting pwn from AMX. (/showthread.php?tid=305146)



getting pwn from AMX. - Azzeto - 21.12.2011

Hey, I started scripting a gamemode off of iNortons Rp base.. But the problem is I took a break from it, came back and started scripting again, compiled, and I got 19 errors ( probably from a missing bracket that I cant find, idk ) and I never made a backup of the .pwn Just the AMX thats uploaded to the host, so how can I get the pwn from the amx?


Re: getting pwn from AMX. - Infinity - 21.12.2011

You can't.


Re: getting pwn from AMX. - Hoborific - 21.12.2011

Recently I have been trying protection methods and such, so I have become very .. well lets use the term experienced with decompiling my own scripts, and with the fact that variables are not named, and text replacements are gone and such, Including comments, decompiling your .AMX ( Even if that is your real reasoning behind it ) Wont gain you anything but a semi-unreadable code, it'll work but is never as good as the actual .pwn

In short, You should have backed up, Not anyone here should be telling you how to decompile them, try ****** if you really must.


Re: getting pwn from AMX. - Azzeto - 21.12.2011

Mabye you can help me with my errors then?

Код:
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(234) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(235) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(287) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(291) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(554) : error 025: function heading differs from prototype
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(559) : error 025: function heading differs from prototype
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(564) : error 025: function heading differs from prototype
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(589) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(594) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(604) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(609) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(614) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(619) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(624) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(635) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(662) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(690) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(694) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(702) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(775) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(782) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(790) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(902) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(1364) : error 017: undefined symbol "Create3DTextLabel"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(1364) : warning 213: tag mismatch
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(1365) : error 017: undefined symbol "Attach3DTextLabelToPlayer"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(1375) : error 017: undefined symbol "Delete3DTextLabel"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(1480) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(1513) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(1886) : error 017: undefined symbol "YSI_gSCharacter"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(1886) : error 017: undefined symbol "YSI_gACharacter"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(1886) : warning 215: expression has no effect
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(1886) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Customer\Desktop\BaseNorton V2\gamemodes\Gamemode.pwn(1886) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


22 Errors.



Re: getting pwn from AMX. - Hoborific - 21.12.2011

You haven't closed something properly lol, from the looks of things.


Re: getting pwn from AMX. - Azzeto - 21.12.2011

Thats what I'm guessing, i'v used a bracket finder but it says everything is fine


Re: getting pwn from AMX. - §с†¶e®РµРe - 21.12.2011

DeAMX with EasyDeAMX
Search on *******.]

This forum requires that you wait 120 seconds between posts. Please try again in 80 seconds.
:S


Re: getting pwn from AMX. - mistergta - 21.12.2011

im seeing quite a few errors use the number here (604) to find your errors as these are the lines they are located, look for out fo place code


Re: getting pwn from AMX. - Thresholdold - 21.12.2011

lolol have you even included a_samp? xD


Re: getting pwn from AMX. - Azzeto - 21.12.2011

@Threshold, Yes I have include <a_samp> ..


Re: getting pwn from AMX. - Thresholdold - 21.12.2011

Show the first lines of your script... like includes.
P.S.: It was a joke btw xD


Re: getting pwn from AMX. - Azzeto - 21.12.2011

pawn Код:
#include <a_samp>
#include <YSI\y_ini>
#include <zcmd>
#include <sscanf2>
#include <irc>
#include <foreach>



Re: getting pwn from AMX. - Thresholdold - 21.12.2011

Can't explain this really... can you pastebin your script and send the link to me, so I can look at it?


Re: getting pwn from AMX. - Azzeto - 21.12.2011

You can get on my teamspeak,

ts10.bargainvoice.com:7325

Then we could go on teamviewer, even though i'm getting these errors I don't want to release what i'v scripted so far..


Re: getting pwn from AMX. - Thresholdold - 21.12.2011

I understand what you mean, although my mic is broken, so can you please PM me your ID and Pass for teamviewer?


Re: getting pwn from AMX. - Azzeto - 21.12.2011

You know what? I'm just going to redownload the iNorton RP base, and copy & paste everything i'v scripting in the current one, thanks for the help though


Re: getting pwn from AMX. - kizla - 21.12.2011

in your script is something what you didnt close... a barack, so you get this errors


Re: getting pwn from AMX. - Thresholdold - 21.12.2011

lol I just finished downloading the new TS client xD okay den xD


Re: getting pwn from AMX. - T0pAz - 21.12.2011

Get my application, paste your script and hit search. And post here the log.


Re: getting pwn from AMX. - spedico - 21.12.2011

Try updating your server files, if you have outdated ones it will give few errors.