SA-MP Forums Archive
AMX error - 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: AMX error (/showthread.php?tid=362675)



AMX error - xSkullx - 25.07.2012

I open .amx with pawno, i compile it and i receive this:
Код:
C:\Users\ady-kryss\Desktop\RwS Actual\filterscripts\House.amx(1) : error 013: no entry point (no public functions)
How can i solve it?


Re: AMX error - Jstylezzz - 25.07.2012

It means there are no public functions in your script
you should not open the .amx, but the .pwn

Let me explain, the .amx, is for the server to read instructions, it's computer language.
The .pwn, is language that we understand, and what we can program.
When you compile the .pwn, it will be translated to computer language, .amx.

Hope i helped


Re: AMX error - xSkullx - 25.07.2012

I know that..leave it..
Now i receive these error (with nativechecker):
Код:
[13:01:40] [debug] Server crashed while executing House.amx
[13:01:40] [debug] AMX backtrace:
[13:01:40] [debug] #0 native fclose () [004056c0] from samp-server.exe
[13:01:40] [debug] #1 00001f60 in ?? () from House.amx
[13:01:40] [debug] #2 00020ac4 in ?? () from House.amx
[13:01:40] [debug] #3 00003a24 in public Streamer_OnFilterScriptInit () from House.amx
[13:01:40] [debug] #4 native CallLocalFunction () [00472c00] from samp-server.exe
[13:01:40] [debug] #5 000002f0 in public OnFilterScriptInit () from House.amx
[13:01:40] [debug] System backtrace:
[13:01:41] [debug] #0 004056cd in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #1 71d33c32 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\plugins\crashdetect.dll
[13:01:41] [debug] #2 71d36076 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\plugins\crashdetect.dll
[13:01:41] [debug] #3 71d2c05a in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\plugins\crashdetect.dll
[13:01:41] [debug] #4 71d33c5e in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\plugins\crashdetect.dll
[13:01:41] [debug] #5 00472f0e in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #6 004010b6 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #7 71d33c32 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\plugins\crashdetect.dll
[13:01:41] [debug] #8 71d36076 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\plugins\crashdetect.dll
[13:01:41] [debug] #9 71d2c05a in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\plugins\crashdetect.dll
[13:01:41] [debug] #10 71d33c5e in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\plugins\crashdetect.dll
[13:01:41] [debug] #11 0046acd8 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #12 00499359 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #13 004877cb in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #14 8d000011 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #15 11182484 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #16 51500000 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #17 1024948d in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #18 52000001 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #19 0108d5e8 in ?? ()
[13:01:41] [debug] #20 0cc48300 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #21 0c24848d in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #22 50000009 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #23 0c248c8d in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #24 51000001 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #25 621c15ff in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #26 948d004a in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #27 00090c24 in ?? ()
[13:01:41] [debug] #28 0ee85200 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #29 a1000108 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #30 004f237c in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe
[13:01:41] [debug] #31 8504c483 in ?? () from C:\Users\ady-kryss\Desktop\RwS Actual\samp-server.exe



Re: AMX error - Jstylezzz - 25.07.2012

it seems like it crashes on the house system... do you get any errors/warning while compiling House.amx?


Re: AMX error - xSkullx - 25.07.2012

No, just that
Код:
C:\Users\ady-kryss\Desktop\RwS Actual\filterscripts\House.amx(1) : error 013: no entry point (no public functions)



Re: AMX error - Jstylezzz - 25.07.2012

that is the problem...
it means, that there are no functions in the script, so it will crash everything for sure...
what are you opening/editing, the House.pwn, or the House.amx?


Re: AMX error - xSkullx - 25.07.2012

pwn lol, but i open amx and when i compile it give me that eror


Re: AMX error - FUNExtreme - 25.07.2012

Quote:
Originally Posted by xSkullx
Посмотреть сообщение
pwn lol, but i open amx and when i compile it give me that eror
You keep saying you use the pwn and then talk about the amx all the time. Please start making sense