Menu

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.

Show posts Menu

Topics - vito

#1
General Discussion / Need info about limits.
Apr 21, 2017, 06: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).
#2
General Discussion / Question about player.ID
Apr 12, 2017, 06: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?
#3
Videos & Screenshots / SkyNet MultiModes
Feb 24, 2017, 10:19 AM
I think multimode is a good idea (and fresh for vc-mp).

https://www.youtube.com/watch?v=G5nZCt05UVU#

@Luis_Labarca cool server
#4
Support / async database
Dec 29, 2016, 09:36 AM
Hi.

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)?

#5
General Discussion / poll (game's control)
Dec 27, 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)
#6
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)

 
#7
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.
#8
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)
#9
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):

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.
#10
General Discussion / Is Custom Files Ready?
Aug 04, 2016, 09:58 PM
Hello, is it possible to check has player downloaded all custom files or he is still downloading?
#11
Snippet Showroom / join / array to string
Jul 04, 2016, 06:47 PM
I noticed no join method for arrays in squirrel so I made it:
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;};
}

Using
"hello, world, true" == join_array(["hello", "world", true], ", ")
#12
General Discussion / lags at my PC.
Jun 20, 2016, 02: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).

http://www.youtube.com/watch?v=A3vWZ3XDY2s

http://www.youtube.com/watch?v=k94sfvUHU4w

http://www.youtube.com/watch?v=ukS1mPsG0qc

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.
#13


How SLC did it?

In javascript we can:
<type>.prototype.mycoolmethod = function (){ }Can we do same in squirrel for "player" type?
#14
General Discussion / Client-side suggestions
May 05, 2016, 06:32 PM
I want to use announce style 0 - http://wiki.vc-mp.org/images/d/dd/TextStyle0.jpg but I need a method to hide player's chat for show it normal.
#15
General Discussion / A Great Idea
Apr 30, 2016, 02: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
#16
Content Type: Map (interiors without furniture)
Original Author: Team of GTAPlace.hu, X-Seti aka. McKay, Kr0Tchy, wantoo, CBool
Source Link: http://www.moddb.com/mods/san-andreas-in-vice-city
Modifications: extracted COL/TXD/DFF files, created XML files to VC-MP format
Modified By: Vito
Authorized By Original Author?: No
Content Screenshots:



Video:

https://youtu.be/FSomuERLUQw

sa_offices_unp.7z (1.72 MB)
objects.xml from <object id="0"> to <object id="36">
sa_offices.xml from <item model="6000" to<item model="6036"

Teleports:
FindPlayer(0).Pos=Vector(355.266, 162.094, 1026.78);
FindPlayer(0).Pos=Vector(245.047, 168.672, 1003.5);
FindPlayer(0).Pos=Vector(246.234, 117.805, 1005.61);
FindPlayer(0).Pos=Vector(246.141, 80.313, 1004.08);

Downlaod: https://www.solidfiles.com/v/82K8pYNN7zrAa
Minror: http://rghost.ru/8DSMYF995