SA-MP Forums Archive
[FS| 0.2.2] TYS [REL: 12 Feb 2008] Test Your Server 1.5 - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FS| 0.2.2] TYS [REL: 12 Feb 2008] Test Your Server 1.5 (/showthread.php?tid=17270)

Pages: 1 2


[FS| 0.2.2] TYS [REL: 12 Feb 2008] Test Your Server 1.5 - [LDT]LuxurY - 16.11.2007

This a simple filterscript which gives information about amount of vehicles, types of vehicles, objects, pickups etc...
But now it gives information about players, has small admin system for ban/kick/heal/armour and changemode functions. Also it detects bots. It could be seen in "player statictic".

So, screens:

Start:


Main statictic:


List of vehicles


Admin section:


Player list:


Changemode section:


Usage:
Just type in console loadfs TYS15
And then only follow instructions.

Downloading:
NEW! Version 1.5
1. SendSpace
2. Pastebin
3. RapidShare
4. GTAscript.ru
5. CrazyHost

Version 1.4
1. SendSpace
2. Pastebin

Version 1.3
1. SendSpace
2. Pastebin

Version 1.2
1. SendSpace
2. Pastebin


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - killer57 - 16.11.2007

Niiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii iiiiiiice goooooooooooooooooooood work !!!!!!!!!!


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - kaisersouse - 16.11.2007

thats awesome. thank you

I just used it and it works great! I have to ask...what did you base your "recomended" values on? I only ask because I'm at 536 vehicles and 61 types...and now I'm slightly worried that I should trim that down a bit.


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - [LDT]LuxurY - 16.11.2007

Quote:
Originally Posted by Seif[CC
]
Very nice! No more time wasting to count vehicle models anymore
Yeah! It's very useful!


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - Christian R. - 16.11.2007

oh yes, thank you :P :P


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - Alejandro - 16.11.2007

very nice. didnt know how many vehicle types i had on my server until i used this. good work.


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - dacads - 16.11.2007

nice piece of work smarty :P


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - mabako - 16.11.2007

the pickup limit is 400 (as seen on the front page)...
Quote:

* Pickup limit increased to 400.

max. textdraws is defined as 1024 as well (in a_samp.inc)

an object count of 1000, as it's a if() statement in your source, is a lot too high, 150 is stable, anything more tends to crash
1000 pickups, 100 vehicle types and 1000 vehicles isn't gonna work as well.


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - IJzerenRita - 16.11.2007

Am I the only one who sees that this script works only if all resource ids are assigned consecutively?
Suppose I have 100 menus and I decide to destroy the menu with id 5, the script will tell me I have 4 menus, while I have 99 then.

You need loop through all ids and check if the id is valid with the IsValid* functions.


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - vatolocomexi - 16.11.2007

Good script


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - Pyrokid - 16.11.2007

Nice one.


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - asteroid - 17.11.2007

Yea really usefull. Shuld be added as sticky i think


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - Amit_B - 17.11.2007

Very nice


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - raptor2003 - 17.11.2007

Very very very Usefull !!!

You can put that in SA-MP Showroom Directory.

Sorry for my english :$


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - RazorBlad3 - 17.11.2007

very, very useful
many thxs


Re: [FS| 0.2.2] TYS | Test Your Server 1.2 - [LDT]LuxurY - 17.11.2007

Quote:
Originally Posted by ******
There is no recommended value for vehicle count, 700 is fine. And I was very interested in how you got the stats, however for the actual display I recommend you read the printf tutorial in my sig, it will save you loads of time.
ok fixed
Quote:
Originally Posted by ******
Instead of calling all the functions repeatedly it will be MUCH faster to call them each once and save the results in the variables. And I seriously mean MUCH faster.
fixed

Quote:
Originally Posted by IJzerenRita
Am I the only one who sees that this script works only if all resource ids are assigned consecutively?
Suppose I have 100 menus and I decide to destroy the menu with id 5, the script will tell me I have 4 menus, while I have 99 then.

You need loop through all ids and check if the id is valid with the IsValid* functions.
fixed

pawn Код:
new Menu:cm = CreateMenu("Test",1,2,3,3,3);
new Menu:cm1 = CreateMenu("Test",1,2,3,3,3);
new Menu:cm2 = CreateMenu("Test",1,2,3,3,3);
new Menu:cm3 = CreateMenu("Test",1,2,3,3,3);
new Menu:cm4 = CreateMenu("Test",1,2,3,3,3);
DestroyMenu(cm3);
DestroyMenu(cm2);
ShowMenuForPlayer(cm,0);
ShowMenuForPlayer(cm1,0);
ShowMenuForPlayer(cm4,0);
output: 3

Quote:
Originally Posted by [NB
mabako ]
the pickup limit is 400 (as seen on the front page)...
Quote:

* Pickup limit increased to 400.

max. textdraws is defined as 1024 as well (in a_samp.inc)

an object count of 1000, as it's a if() statement in your source, is a lot too high, 150 is stable, anything more tends to crash
1000 pickups, 100 vehicle types and 1000 vehicles isn't gonna work as well.
screenshot and script fixed


THX for all =)


Re: [FS| 0.2.2] TYS | Test Your Server 1.3 - [LDT]LuxurY - 19.11.2007

what's about new version?


Re: [FS| 0.2.2] TYS | Test Your Server 1.4 - [LDT]LuxurY - 20.11.2007

Version 1.4 reliased!

+++ System fixes
+++ Vehicle list
+++ Other little additions


Re: [FS| 0.2.2] TYS | Test Your Server 1.4 - kaisersouse - 20.11.2007

AWESOME!

Ever thought about making something like this that admins can run as a command? For us Linux users who don't have a remote console.


Re: [FS| 0.2.2] TYS | Test Your Server 1.4 - [LDT]LuxurY - 20.11.2007

Quote:
Originally Posted by kaisersouse
AWESOME!

Ever thought about making something like this that admins can run as a command? For us Linux users who don't have a remote console.
now i can be done only in console.
i'll try to make something you talking about
May be TextDraw?