Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - vito
General Discussion / Need info about limits.
« on April 21st, 2017, 07:00 AM »
What is the limit of time in:

object.MoveTo( Vector pos, int time );
object.RotateTo( rotation, time )

I'm asking because I saw in some cases objects moving too fast (unexpected).
General Discussion / Question about player.ID
« on April 12th, 2017, 07:18 AM »
I've important question to devs, if I will set SetMaxPlayers(12) is it technically possible some player will join with ID 12/13 or more due any reason?
Videos & Screenshots / SkyNet MultiModes
« on February 24th, 2017, 10:19 AM »
I think multimode is a good idea (and fresh for vc-mp).

@Luis_Labarca cool server
Support / async database
« on December 29th, 2016, 09:36 AM »

Is it any plugins to make async connection to database to work without lags for vc-mp server (even if database is on another server)?

General Discussion / poll (game's control)
« on December 27th, 2016, 07:30 AM »
Since some users of this forum is playing vc-mp I want to make a small poll here.

What keys do you use to move in game:

1) Letters [ A ] [ W ] [ D ] [ S ]
2) Arrows  [ ← ]  [ ↑ ]  [ → ]  [ ↓ ]
3) Both (different for on foot and in vehicle for example)
General Discussion / is it any copyright in masterlist?
« on December 20th, 2016, 12:40 PM »
I have questions to admins of masterlist, if you aren't - ignore it.

1) If someone will make a copy of server's gameplay (unique for vc-mp, but not unique for other games) he will be banned in masterlist or not?
2) If someone will make a copy of unique maps (created using "custom objects" from SA and native from VC) he will be banned in masterlist or not? (don't tell me _mem part, it's useless in fact, it's only copyright question)

General Discussion / Suggestion to detect laggers
« on December 6th, 2016, 08:47 AM »
Add stats of player's connection to server (let server read it as player.Ping or player.FPS) - total discarded bytes, total resent bytes, current packet loss, total packet loss and so on.
Scripting and Server Management / Few connections to database
« on November 18th, 2016, 01:59 AM »
Hello. I m going to use one account system for few servers on linux vps. So how to do it correctly? Also how to make connection/bridge between few servers at one host? (to show who online at other servers, for example)
Snippet Showroom / Spawn player in nearest position
« on September 10th, 2016, 03:22 PM »
There is a very tiny trick to help to you spawn player in nearest safe position in the city (not in water/inside building and so on):

Code: [Select]
function SpawnInNearestPos(x, y){
return Vector(x, y, -99999);

// Example to use:
FindPlayer(0).Pos = SpawnInNearestPos(12345,6789);
FindPlayer(0).Pos = SpawnInNearestPos(-9876,-54321);

Vice city is using it even for singleplayer to respawn player if he fall under the map.

Since EC implemented it I decided to share it for public.

Actually it has at least one bug with wrong spawn location near north point mall, but I think you can fix it yourself in your own script.
General Discussion / Is Custom Files Ready?
« on August 4th, 2016, 10:58 PM »
Hello, is it possible to check has player downloaded all custom files or he is still downloading?
Snippet Showroom / join / array to string
« on July 4th, 2016, 07:47 PM »
I noticed no join method for arrays in squirrel so I made it:
Code: [Select]
function join_array(arr,sep){
local i = 0;local l = arr.len();local r = "";
if(l == 0){return "";} else if(l == 1){return arr[0].tostring();} else {r=arr[0].tostring();i=1;while(i < arr.len()){r = r + sep + arr[i].tostring();i++;}return r;};

Code: [Select]
"hello, world, true" == join_array(["hello", "world", true], ", ")
General Discussion / lags at my PC.
« on June 20th, 2016, 03:19 PM »
I don't know what to do.
Today my PC started to lag in vc-mp, FPS is normal as usual it's about network only.
I have one router and two PC connected with "ethernet cables" to router. The router using one connection to my ISP. Only my PC is lagging and only today, another PC is fine. I have lags at every server (excluding local). My ping is normal too (at last it shows as normal).

I can't see anything wrong showed in the task manager, I've no installed/runned any new software last time. I've swapped cables in router's sockets, but only my PC still lagging.

How SLC did it?

In javascript we can:
Code: [Select]
<type>.prototype.mycoolmethod = function (){ }
Can we do same in squirrel for "player" type?
General Discussion / Client-side suggestions
« on May 5th, 2016, 07:32 PM »
I want to use announce style 0 - but I need a method to hide player's chat for show it normal.
General Discussion / A Great Idea
« on April 30th, 2016, 03:42 PM »
Is it possible to add function to make remote screenshots of the game? This is will be useful to detect txd mods like no-leafs generic.txd