SA-MP Forums Archive
Error, please help! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Error, please help! (/showthread.php?tid=92979)



Error, please help! - mars550 - 22.08.2009

My server console is being spammed with this: Please help me fix it so I can open up my gamemode and community. *stop deleting my posts*

[16:53:44] Pickups Max = 204, Current Pickups = 85
[16:53:44] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:53:44] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:53:44] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:53:44] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:53:56] Pickups Max = 204, Current Pickups = 85
[16:53:56] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:53:56] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:53:56] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:53:56] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:54:08] Pickups Max = 204, Current Pickups = 85
[16:54:08] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:54:08] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:54:08] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:54:08] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:54:20] Pickups Max = 204, Current Pickups = 85
[16:54:20] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:54:20] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:54:20] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[16:54:20] SCRIPT: Bad parameter count (Count is 4, Should be 1):


Re: Error, please help! - ronyx69 - 22.08.2009

I think these aren't sa-mp server errors. It comes from a filterscript or an include. Investigate the filterscripts and includes you have and search for:
Код:
print("SCRIPT: Bad parameter count.........")
or something like that


Re: Error, please help! - mars550 - 22.08.2009

Can I give you my code and you can look at it? Everything I use came from the sa-mp official server thing, I have the 2 default filters, and these are my includes

#include <a_samp>
#include <core>
#include <float>
#include <time>
#include <file>
#include <utils>
#include <morphinc>

--
I don't know much about coding and my community needs a coder. But until than I need to fix this issue so I can open up server.


Re: Error, please help! - ronyx69 - 22.08.2009

I think it comes from utils or morphinc, because i don't have them. Just go to folder where Pawno is located and open up includes folder. Then open morphinc or utils and search for the error.


Re: Error, please help! - mars550 - 22.08.2009

Nope, neither one of them had that.


Re: Error, please help! - Memoryz - 22.08.2009

Is anyone connected to the server when that happens?


If so, there might be a bug in your script.

Which script is it?


Re: Error, please help! - mars550 - 22.08.2009

There is no one in it, the 2nd I restart and start it up etc it starts spamming that every 3-4 seconds. It isnt a script that is public it was working last night but I think I am doing something wrong I am not the best scripter. But I know the code itself isnt wrong, maybe my pawno or something is messed up.


Re: Error, please help! - mars550 - 22.08.2009

I looked through everything, I can't find it. If anyone knows help would be appreciated.


Re: Error, please help! - ronyx69 - 22.08.2009

Copy your gamemode code and (if you have any) filterscripts codes HERE(clicky-clickidy-doo)

And give us the links, so we can check it.


Re: Error, please help! - mars550 - 22.08.2009

Okay, it is 35k lines of code i tried to paste it there and my browser crashed