Vice City Multiplayer
General Discussion => General Discussion => Topic started by: mrockxkingbutt on February 05, 2014, 05:39:06 pm
-
BugList
Bugs:
Lots of "Access violation" pop-ups after closing the official browser (Vista/Win7). But you can use the VRocker Unofficial Browser. [1]) -> for 64bit version use this -> [2])
If closed "normally" (through the esc menu), the pop-up with some error will appear and the exiting player will be considered timeouted.
Duplication of pings/scores of the other people in F5.
Features:
Small blip size for vehicles of the same height.
Not-so-good vehicle sync.
No free cookies. None. Anywhere.
Bugs:
SetPlayerColor() doesn't work (not implemented).
GetTickCount() doesn't work.
SetMaxPlayers(maxplayers) doesn't work.
SetWorldTime(hour) doesn't work.
GetPlayerWeapon(playerid) doesn't work.
GivePlayerMoney(playerid,money) doesn't work. (can be replaced)
SetPlayerAnimation(playerid, anim) doesn't work.
SetPlayerFacingAngle(playerid,Float:ang) doesn't work.
GetPlayerState(playerid) doesn't work. (can be replaced)
SetWantedLevel(playerid,level) doesn't work.
CreateVehicle(vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay) doesn't work.
ChangeVehicleColor(vehicleid, color1, color2) doesn't work.
SetVehicleDoorsStatus(vehicleid,bool) doesn't work.
SendRconEvent(const format[], {Float,_}:...) doesn't work.
SendRconCommand(const format[], {Float,_}:...) doesn't work.
Extra/missing warnings because of the old pawn compiler.
Features:
Missing functions for manipulating objects.
Useless "/c" prefix for all commands.
Original CMDS
VC:MP Embedded Commands
Admin Commands
Name Usage Description
Logging in as an admin. /admin <Password> Allows you to log in as an administrator of the server.
Bringing a player. /bring <PlayerID> Teleports a player to you.
Teleporting to a player. /goto <PlayerID> Teleports you to a player.
Setting weapons for a player. /setwep <PlayerID> <WeaponID> Allows you to give a weapon to another player.
Kicking a player. /kick <PlayerID> Kicks a player out of the game. Player disconnects from the server but can rejoin.
Getting the IP of a player. /getip <PlayerID> Gets the IP adress of a specific player.
Banning a player. /ban <PlayerIPaddress> Bans a player from the server. Player disconnects from the server and can't rejoin.
Changing HP ammount. /sethp <PlayerID> <HPAmmount> Changes the life (HP) of a specific player.
Setting location for a player /setloc <PlayerID> <X> <Y> <Z> <Interior ID> Teleports a player to the specified coordinates.
Freezing people. /setcon 0/1 Disables controls for a player. He cannot move, only speak on the chat. Use /setcon 0 to lock him, use /setcon 1 to unlock him.
Changing money ammount. /setmon <PlayerID> <Amount> This allows you to change a specific player's money amount.
Changing armour ammount. /setarm <PlayerID> <Amount> Changes the armour of a specific player.
Changing the hour. /sethr <Amount> Changes the hour of server.
Changing the minute. /setmin <Amount> Changes the minute of server.
Changing the time rate. /settimerate <Amount> Changes the time rate of server. (The clock can be started)
Set the weather /setweather <weatherID> You can change the weather as you like.
Set more stuff /set <CommandID> <Arguments> You can change/add more with this command. -> Commands IDs
Player Commands
Name Usage Description
Animation HANDSUP /handsup When the cops come , put your hands up .
Animation SIT /sit You can sit now in bar with your friends .
Animation STAND /stand If you want to get up after /sit , type /stand .
Animation AIM /aim You can straighten gun at someone without problems now .
Animation FALL /fall You can fall if you want.
Animation SELL /sell You can "take/put" something where you want .
Animation BUY /buy Is like a "Talk Animation"
Animation WAVE /wave You are asking for a taxi .
Animation LOOK /look You are just looking .
Animation SPIKE /spike If the server have allowed the spikes, you can release it like the cops .
Animation DO /do [animation id] Simple animation are allowed for all players .
Private Message /msg [playerid] [text] Send an Private Message to an specified player .
Announce something /me [text] Send an Message to all with your name specified at the beginning.
Auto-Kill /kill Set your Health 0. Auto-Kill.
Useless Commands ( not work, but exist. Maybe these commands were used by developers while working on new versions )
Credits goes to [Saint] for the full list .
Name Usage Description
Debug command /debug There is but nothing happens .
Actor command /actor There is but nothing happens .
Actor OFF command /actoroff There is but nothing happens .
Z command /z There is but nothing happens .
Gencomp command /gencomp There is but nothing happens .
Build command /build Spawn you in game. Note: Works just in Build Mode .
Set skins command /skin There is but nothing happens. Note: In Build Mode, get client crash !
Vehicle command /vehicle There is but nothing happens .
Short form of vehicle command /v There is but nothing happens .
Basics
Once you've joined a vc-mp server, you can either enter the spectation mode by pressing the TAB - button or select a skin with left and right arrow buttons.
Choose your skin and press LMB to spawn. Now your character will spawn to a location defined by the server.
If you have no experience on playing Vice City, it would be good to learn the movement basics first.
All the buttons can be edited, but the most common setup for moving is WASD.
Usually, you sprint by pressing Left shift and crouch by pressing C.
Jump by pressing the spacebar, change weapons with the mouse scroll.
You can enter or exit a vehicle by pressing F.
In case you want to enter the vehicle as a passenger, press TAB.
(Only in R2) Also, you can pick up weapons from the ground with TAB.
Server Info
Windows Server
Installation
1. Download the server at http://vicecitymultiplayer.com/downloads/03z_r2/server0.3zr2(pawn)(win)(updated2).zip
2. Unzip the file and double click on "server0.3zr2(pawn)(updated2).exe" .
3. At "Destination Folder" must to select the folder where You want to install the server .
Example: "C:\Grand Theft Auto Vice City\Server"
4. After selecting, click on "Install" .
5. After about max. 5 seconds, you can see that the installation is "Completed".
You can press on "Show Details" to see more details about the installation.
6. Now you can press on "Close" for end the installation.
7. In the specified folder, you will see 3 files (announce.exe , server.cfg , vcmp-svr.exe) and 1 folder (gamemodes)
Setting Up The Server
1. Click on "server.cfg" .
2. Set your own settings :
echo Executing Server Config...
friendlyfire [1/0]
lanmode [1/0]
maxplayers [max_players]
port [server_port]
hostname [hostname]
gamemode0 [gamemode]
rcon_password [rcon_passwor]
3. If you want to lock your server with password, add this after "rcon_password" :
server_password [password]
4. If you want to add filterscripts to your servers add this :
filterscripts [filterscript 1], [filterscript 2], [filterscript 3]
5. Open the "vcmp-svr.exe" and your server is opened.
OPTIONAL
If you want to add/delete stuff (like commands,messages) You need to know "Pawn Language".
You can ask for help at http://forum.vicecitymultiplayer.com/ in "VC:MP » mIRC/pawn Scripting » ShowRoom (pawn)"
Linux Server
1. Browse to the directory you want the server to be at
cd /home/vcmp/
2. Download the server at http://vicecitymultiplayer.com/downloads/03z_r2/vc-mp-server0.3zr2(pawn)(linux)(updated2).zip
wget http://vicecitymultiplayer.com/downloads/03z_r2/vc-mp-server0.3zr2(pawn)(linux)(updated2).zip -O server.zip
3. Unzip the file
unzip server.zip
4. Open server.cfg and change the settings you want. Below you can find a list of Config Values.
nano server.cfg
5. Start vcmp-svr and your server is running!
./vcmp.bin
Quick Command
Steps 2 and 5 can all be done using this one command:
wget http://vicecitymultiplayer.com/dl.php?f=15 -O server.zip && unzip server.zip && nano server.cfg && ./vcmp.bin
Keeping your server running
Your server will quit once you close your SSH session, so you might want to detach it so it keeps running:
nohup ./vcmp.bin > /dev/null &
Config Settings
hostname [server_name]
port [server_port]
password [server_pass]
maxplayers [max_players]
friendlyfire [0/1]
lanmode [0/1]
rcon_password [rcon_pass]
rcon_max_users [rcon_users]
rcon_port [rcon_port]
bind [port]
gamemode0-9 [modename]
filterscripts [fs1] [fs2] [fs3]
Client
VC:MP Client
Install and Run
1. Download the client at http://vicecitymultiplayer.com/downloads/03z_r2/vcmpclient0.3zr2(patch2).zip
If you using Windows Vista or Windows 7 use this -> [1]) -> (for 64bit version use this -> [2]) )
It requires the .net framework 3.5 so if you dont have that, grab it [3]) or run a windows update.
2. Install it to your Vice City directory (e.g. "C:\Program Files\Rockstar\GTA - Vice City").
3. Open vc-mp.exe and specify the path to gta-vc.exe.
4. Open "Internet" tab.
5. Select the server you like most and double-click it.
6. Click "Connect" and enjoy!
Troubleshooting
1. Singleplayer starts instead of connecting to a server.
Reinstall VC-MP, ensuring that you installed it in VC dir (vc-mp.flt should be in mss folder).
2. Client freezes when trying to connect to a server, showing only "connecting to..." message.
Ensure your Vice City is version 1.0 (replace your gta-vc.exe with this -> [4]).
Ensure you have the latest VC-MP version (download link at the top).
Also make sure the server you are trying to connect to is online.
2. Error message pops-up, saying something like "checksum failed data/default.ide".
Remove all the mods you might have installed or reinstall Vice City.
If your Vice City is initially modded (like Vice City Deluxe) you need to get a new, "classic" Vice City.
3. Game freezes at VC-MP loading screen (the one with progress bar at the bottom).
You are running few instances of Vice City. Close all of them and try to connect again
Limits
VC:MP 0.3zR2 Limits
Players Limit: 50 <----------> I suggest you to use 48 for a better stability
Pickups Limit: 336
Vehicles Limit: 179 <----------> VC:MP Vehicles starts with 0
Vehicle's Models Limit: 50
VCMP
VC-MP is a multiplayer modification, allowing to play Vice City with your friends (or foes).
Developers' Blog: http://vcmpdev.wordpress.com/
Project site: http://vicecitymultiplayer.com/
Project forum: http://forum.vicecitymultiplayer.com/
Project IRC: http://en.irc2go.com/webchat/?net=GTANet&room=vc-mp
Scripting
Scripting in VC-MP is done via the means of Pawn scripting language.
There are one much editor (Squirrel) availiable and an old editor (Mirc) unavailiable, but Pawno is the official editor for VC:MP.
To start scripting, you need to get VC:MP Pawno : http://www.solidfiles.com/d/01fe/download
If you want to learn Pawn scripting, the following links can help you:
http://www.compuphase.com/pawn/pawn.htm#DOWNLOAD_DOCS - Official Pawn documentation.
http://wiki.sa-mp.com/wiki/Category:Scripting_Documentation - Scripting documentation for SA-MP (some of it can be applied to VC-MP).
http://forum.vicecitymultiplayer.com/index.php?board=29.0 - Script sources which you can use for learning.
http://forum.vicecitymultiplayer.com/index.php?topic=2708.0 - The Absolute Beginner's Guide to Pawn (by stormeus)
Here are the lists of VC-MP's callbacks/functions with their description:
Callbacks : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/Callbacks
Functions : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/Functions
Also you might need different IDs for skins/vehicles/weapons/pickups/colors. Get them from:
Radar Markers ID Listing : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/RadarMarkers
Skin ID Listing : thijn.vrocker-hosting.co.uk/VCWiki/index.php/SkinIds
Vehicle ID Listing : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/VehicleIDs
Weapon ID Listing : thijn.vrocker-hosting.co.uk/VCWiki/index.php/WeaponIDs
Model ID Listing : thijn.vrocker-hosting.co.uk/VCWiki/index.php/ModelIDs
Car Colors : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/CarColors
Team Colors : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/TeamColors
Game Text Codes : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/GameTextCodes
CallBacks
Callbacks
OnGameModeInit()
OnGameModeExit()
OnFilterScriptInit()
OnFilterScriptExit()
OnPlayerConnect(playerid)
OnPlayerDisconnect(playerid, reason)
OnPlayerSpawn(playerid, classid)
OnPlayerPrivmsg (playerid, receiverid, message)
OnPlayerDeath(playerid, killerid, reason, bodypart)
OnPlayerText(playerid, text[])
OnPlayerCommandText(playerid, cmdtext[])
OnPlayerRequestClass(playerid, classid)
OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
OnPlayerExitVehicle(playerid, vehicleid)
OnPickedUp(pickupid, playerid)
OnRconCommand(cmd[])
OnPlayerVersion (playerid,version)
Important Note
When using these callbacks in a filterscript, make sure you return 1, so it's available in other filterscripts too. When you don't return a value or return 0, other callbacks in filterscripts loaded at a later time aren't executed.
Returning a value doesn't matter in OnFilterScriptInit and OnFilterScriptExit.
OnPlayerCommandText uses the opposite: 1 is indicating "command found" to all scripts, 0 will show "Unknown Command".
Functions
This page contains a list of Functions available Vice City Multiplayer.
All functions have received their own page with extended information about the function, the required parameters and possible usage.
Util
print(const string[])
printf(const format[], {Float,_}:...)
format(output[], len, const format[], {Float,_}:...)
SendClientMessage(playerid, color, const format[])
SendClientMessageToAll(color, const format[])
SendDeathMessage(killed,weapon,killer,type,bodypart)
SetDeathMessage(bool)
GameTextForAll(const string[])
GameTextForPlayer(playerid,const string[])
GameTextForAllBottom(const string[])
GameTextForPlayerBottom(playerid,const string[])
SetTimer(funcname[], interval, repeating)
KillTimer(timerid)
GetMaxPlayers()
Game
SetGameModeText(const string[])
SetTeamCount(count)
AddPlayerClass(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
AddPlayerClassEx(teamid, modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2)
AddStaticPickup(id,type,Float:X,Float:Y,Float:Z)
SetWorldBounds(Float:x_max,Float:x_min,Float:y_max,Float:y_min)
ShowPlayerMarkers(show)
GameModeExit()
SetWorldTime(hour) - BUGGED
GetWeaponName(weaponid, const weapon[], len)
SetGravity(Gravity)
ResetNormalGravity()
SetGamespeed(Gamespeed)
ResetNormalGamespeed()
ToggleWhiteScanlinesForAll(set)
ToggleWhiteScanlinesForPlayer(playerid, set)
ToggleGreenScanlinesForAll(set)
ToggleGreenScanlinesForPlayer(playerid, set)
ToggleWidescreenForAll(set)
ToggleWidescreenForPlayer(playerid, set)
SetWaterLevel(Float:L)
Admin
IsPlayerAdmin(playerid)
Kick(playerid)
Ban(playerid)
Player
SetPlayerStartPos(Float:x, Float:y, Float:z)
SetPlayerTeam(playerid, teamid)
SetPlayerFriendlyFire(ff)
GetPlayerTeam(playerid)
SetPlayerSkin(playerid, skinid)
SetPlayerScore(playerid,score)
GetPlayerScore(playerid)
GetPlayerPos(playerid, &Float:x, &Float:y, &Float:z)
SetPlayerPos(playerid, Float:x, Float:y, Float:z, Float:r, inter)
GetPlayerHealth(playerid, &Float:health)
SetPlayerHealth(playerid, Float:health)
GetPlayerArmour(playerid, &Float:armour)
SetPlayerArmour(playerid, Float:armour)
SetPlayerWeapon(playerid, weaponid, ammo)
PutPlayerInVehicle(playerid, vehicleid)
RemovePlayerFromVehicle(playerid)
IsPlayerInVehicle(playerid, vehicleid)
IsPlayerInAnyVehicle(playerid)
IsPlayerDriver_Passanger(playerid)
GetPlayerName(playerid, const name[], len)
GetPlayerVehicleID(playerid)
SetCameraPos(Float:x, Float:y, Float:z)
SetCameraLookAt(Float:x, Float:y, Float:z)
TogglePlayerControllable(playerid, toggle)
SetPlayerDrunk(playerid, visuals, handling)
GivePlayerMoney(playerid,money)
SetPlayerMoney(playerid,amount)
GetPlayerFacingAngle(playerid,&Float:ang)
GetPlayerMoney(playerid)
ResetPlayerMoney(playerid)
IsPlayerConnected(playerid)
GetPlayerState(playerid)
ResetPlayerWeapons(playerid)
GivePlayerWeapon(playerid, weaponid, ammo)
GetPlayerIp(playerid, const name[], len)
GetPlayerPing(playerid)
GetPlayerIDFromName(const name[])
SetPlayerDriveOnWater(set)
SetWeaponDamage(weaponid,damage)
SetSpikes(playerid,bool)
RemovePlayerMarker(playerid)
SetPlayerMarker(playerid,colour)
DisableDriveby(playerid,bool)
PerfectHandling(bool)
Flyingcars(bool)
Taxiboostjump(bool)
FastSwitch(bool)
Jumpswitch(bool)
Syncframelimiter(bool)
EnableStuntBike(playerid,bool)
EnableShootInAir(playerid,bool)
Vehicle
DeleteVehicle (vehicleid)
GetVehiclePos(vehicleid, &Float:x, &Float:y, &Float:z)
SetVehiclePos(vehicleid, Float:x, Float:y, Float:z,Float:rot)
SetVehicleHealth(vehicleid, Float:health)
GetVehicleHealth(vehicleid, &Float:health)
SetVehicleToRespawn(vehicleid)
SetVehicleDoorsStatus(vehicleid,bool)
SetVehicleTyre(vehicleid,bool)
KillVehicleEngine(vehicleid)
PutDirectlyInVehicle(playerid,vehicleid)
SetVehicleAlarm(vehicleid,bool)
SetVehicleLights(vehicleid,bool)
VCMP IRC Channel
http://en.irc2go.com/webchat/?net=GTANet&room=vc-mp
Thanks
~s~Stormeus!!!~x~
-
What bullshit is this? I request this topic to be locked and/or moved since it is clearly in the wrong section.
-
#vc-mp on LUNet is the preferred IRC channel, and not GTANet.
Bad vehicle sync isn't a bug.
What the hell is "no free cookies?"
-
#vc-mp on LUNet is the preferred IRC channel, and not GTANet.
Bad vehicle sync isn't a bug.
What the hell is "no free cookies?"
Sir I Just Shown All Features That Vrocker Has Wirtten On Official Site Of Him!!
-
All this is copy pasted from my wiki at http://thijn.vrocker-hosting.co.uk/VCWiki/index.php
-
Yes Thijn Sir!!
+
Sticky Please/?
-
lol
-
lol
-
Can we get this removed?
-
Damn idiot...
-
Why you didn't paste every function's information ? That might be usefull for someone.
So... why would you copy/paste something that already exists in the VC:MP Pawn Wiki ? (how thijn already said)
We already have a topic about this:
http://forum.vicecitymultiplayer.com/index.php?topic=5144.0
All bugs/crashes/error/etc you just copy/pasted, are already known, and much part of them are already fixed in 0.4
Can we get this removed?
+1
#vc-mp on LUNet is the preferred IRC channel, and not GTANet.
Good point.
I added the second (but more used) irc channel.
Check it: http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/Vcmp
-
Sticky Please/?
lolno, you copied and pasted this from another source that did a better job at organizing this info than this thread.
Locked.