In other news: Phasing out 0.3 and its masterlist (http://forum.vc-mp.org/?topic=448.0)
This update largely serves as a rollup of fixes and feature implementations aimed at getting closer to a release we can mark as "final." Please note that some issues may still pop up, and though these changes were tested locally on a development environment, these changes may introduce new issues that will be fixed incrementally.
Client RC2 Update Released- Sprites and textdraws can now be relatively positioned
- Relatively positioned sprites and textdraws use a 1024x768 display as the baseline. Their position is scaled up or down according to each player's resolution.
- Ghost vehicles now using collision filtering instead of broken game flags
- Tank turrets, firetruck hoses, and Predator cannons are now synced
- Fixed the Cuban Cafe using LOD models
- Shifted some skins to fix a previously available ped being unusable
- The "Using all keyboards" functionality from the END key has been rebound to the PAUSE key
The update will automatically download and install upon launching the browser or joining an up-to-date 0.4 server.
If you don't have a browser, go to the downloads section of http://www.vc-mp.org to get one.
Server RC2 Update Released- Linux servers now handle Ctrl+C (SIGINT) and other signals gracefully, allowing it to exit properly
- Fixed a potential exploit that would allow sync packets from unjoined players
- Added a new plugin calls:
- ShutdownServer for shutting down the server with plugins
- GetPlayerWantedLevel for getting a player's wanted level. (previously write-only)
- SetTextdrawRelativity and SetSpriteRelativity for setting if either is relative
- GetVehicleTurretRotation for tanks
- ToggleOnlyShowTeamMarkers for emulating ShowOnRadar 2 from the 0.3 Squirrel server. If this is enabled and ToggleShowMarkers is also enabled, players will only be able to see markers of teammates.
- Modified CreateSprite and CreateTextdraw to require a bIsRelative parameter
- OnEntityPoolChange is now called for blips, radio stations, sprites, and textdraws
- Significantly updated the plugin API to reflect new features; old plugins may not run as expected
Windows Server (x86) (http://v04.maxorator.com/files/VCMP04_server_v10_win32.zip)
Windows Server (x64) (http://v04.maxorator.com/files/VCMP04_server_v10_win64.zip)
Linux Server (x86) (http://v04.maxorator.com/files/VCMP04_server_v10_linux32.zip)
Linux Server (x64) (http://v04.maxorator.com/files/VCMP04_server_v10_linux64.zip)
Plugins for RC2 ReleasedAll official plugins for 0.4 have been updated due to major, potentially breaking SDK changes. Any third-party plugins for 0.4 should also be updated to use the new SDK to avoid crashes or unexpected behavior.
The updated SDK can be found here:
https://bitbucket.org/stormeus/0.4-squirrel/src/348a85ace1b4062f4f93ae9b5838ab9214e12ae8/VCMP.h?at=master
On top of the SDK update, the following plugins have received additional updates:
Squirrel- Player.WantedLevel is now available and can be used for getting and setting wanted levels.
- Sprite.SetRelativeForAll/Player and Textdraw.SetRelativeForAll/Player have been added
- Vehicle.TurretRotation is available and acts as a Vector with a constantly-zero Z element.
- ShutdownServer(), SetShowOnlyTeamMarkers(bool) and GetShowOnlyTeamMarkers() are now available.
- Various incremental fixes from the community. (Special thanks to @Gudio, @Thijn and @S.L.C)
- Added Player.PutInVehicleSlot
- Fixed issues with onPlayerCrouchChange
- Fixed GetVehicleModelFromName not including the Taxi and not returning correct values for some vehicles
- Fixed GetWeaponDataValue returning bools
- Fixed Vehicle.Rotation returning malformed quaternions
- Fixed GetPickupCount returning vehicle counts instead of pickup counts
- Added GetObjectCount
- Added constants for keys and missing functions from some objects
- Added GetSkinID
server.conf Loader- <ShowOnRadar>2</ShowOnRadar>, like 0.3 Squirrel, is a valid setting now. This will show markers for teammates, but no one else.
Updated binaries are available on each plugin's respective download page.
https://bitbucket.org/stormeus/0.4-announce/downloads
https://bitbucket.org/stormeus/0.4-confloader/downloads
https://bitbucket.org/stormeus/0.4-hashing-algorithms/downloads
https://bitbucket.org/stormeus/0.4-iniparser/downloads
https://bitbucket.org/stormeus/0.4-mysql/downloads
https://bitbucket.org/stormeus/0.4-sockets/downloads
https://bitbucket.org/stormeus/0.4-sqlite/downloads
https://bitbucket.org/stormeus/0.4-squirrel/downloads
Plugin packages are also available for compact downloading and updating.
Windows (x86) Package (http://v04.maxorator.com/files/plugins/mp04rc2_plugins32_windows.zip)
Windows (x64) Package (http://v04.maxorator.com/files/plugins/mp04rc2_plugins64_windows.zip)
Linux (x86) Package (http://v04.maxorator.com/files/plugins/mp04rc2_plugins32_linux.zip)
Linux (x64) Package (http://v04.maxorator.com/files/plugins/mp04rc2_plugins64_linux.zip)
Never expected this much amazing & huge helpful updates, alot of things can now be done and implemented, specially i was surprised to see relative positioning is here.
Downloading the updates right now.
[After updating]: I have noticed that after updating the plugins, when i started the server, the plugin couldn't recognize the .RotateTo parameter for objects and it also crashed.
Trying to find out why is it crashing or maybe that error is crashing the server.
Edit: I would like to know the updated format for relative position of CreateSprite and CreateTextdraw cuz i can't understand on the source.
Okay, no matter what do i do, when i removed all my objects.RotateTo for testing purposes it now gives an error "ConnectSQL" does not exist, even tho i loaded all the necessary plugins + updated them.
Fixed, as stormeus said there was no updated server.exe :D
Quote from: Doom_Killer on Apr 11, 2015, 12:14 PMEdit: I would like to know the updated format for relative position of CreateSprite and CreateTextdraw cuz i can't understand on the source.
There isn't really an updated format for relative positioning. Create a sprite and use Sprite.SetRelativeForAll/Player to make it relative. There's a maximum resolution of 1024x768 which is then scaled for different displays, so just accommodate that resolution.
Post has been updated to include the download links for the new server. Sorry about that.
Linux binaries compiled with asan again. :P
All (unsure) original SkinID's are now +1 digit (example skin id 124 is now 125)
Quote from: Gudio on Apr 11, 2015, 12:49 PMLinux binaries compiled with asan again. :P
Damn it. I'm not home right now, fixed builds may have to wait.
Oops, you've found a dead link.
Use the links at the top to get back.
While downloading sqlite04rel32.so
Quote from: soulshaker on Apr 11, 2015, 05:19 PMOops, you've found a dead link.
Use the links at the top to get back.
While downloading sqlite04rel32.so
Try downloading the module pack, It includes all of the updated modules :)
And a problem with Linux server (x86) file..When I use ./mpsvrrel32 it gives this - "error while loading shared libraries: libasan.so.0: cannot open shared object file: No such file or directory"
Same with me. I guess This is the reason?
Quote from: stormeus on Apr 11, 2015, 03:47 PMQuote from: Gudio on Apr 11, 2015, 12:49 PMLinux binaries compiled with asan again. :P
Damn it. I'm not home right now, fixed builds may have to wait.
Yes, wait for stormeus. He will compile the server without Address Sanitizer.
Quote from: Gulk on Apr 11, 2015, 01:09 PMAll (unsure) original SkinID's are now +1 digit (example skin id 124 is now 125)
107 skin ID is Diaz now. Other skins with ID >107 needs to be increased by 1. :P
Quote from: Gudio on Apr 12, 2015, 07:46 AMQuote from: Gulk on Apr 11, 2015, 01:09 PMAll (unsure) original SkinID's are now +1 digit (example skin id 124 is now 125)
107 skin ID is Diaz now. Other skins with ID >107 needs to be increased by 1. :P
I later figured it would have been like so, but didnt test it. Gj! What skin was added?
The Linux downloads have been updated to use an asan-less build.
Linux Server (x86) (http://v04.maxorator.com/files/VCMP04_server_v10_linux32.zip)
Linux Server (x64) (http://v04.maxorator.com/files/VCMP04_server_v10_linux64.zip)
I can't download plugin sqlite . Cen you fix it ?
Oops, you've found a dead link.
Use the links at the top to get back.
Link of the plugin "sqlite04rel32.so" is dead.
Kindly reupload the plugin please.
Thank You.
Quote from: Drake on Apr 14, 2015, 11:39 AMLink of the plugin "sqlite04rel32.so" is dead.
Kindly reupload the plugin please.
Thank You.
You can download there:
Linux (x86) Package (http://v04.thijn.ovh/files/plugins/mp04rc2_plugins32_linux.zip)
what is this :/ :-[ :-[ help me pls tell me what is this and how to set this problem
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FQnNTY7d.jpg&hash=b428c343476ffc709ac5d94794e3b7442dd8765f)
Please download and manually install vcredist_x86.exe. (http://www.microsoft.com/en-us/download/details.aspx?id=40784)
bro but i can't know how to connect for 0.4 game u have video ? pls send me 1 video pls Gudio any bady
Quote from: Danish on Apr 16, 2015, 09:16 AMbro but i can't know how to connect for 0.4 game u have video ? pls send me 1 video pls Gudio any bady
Well for Win Xp make sure that you are using Sp3 it may also work in sp2
First google and install windows installer 3.1
Then google Visual C++ 2013 or use Gudio's link
Then try to join 0.4 server
Or
Kindly change your OS to vista or win7
yeah SP 2
Quote from: Beztone on Apr 16, 2015, 10:53 AM Kindly change your OS to vista or win7
It's the same process :-\ You still have to install the redistributable libraries no matter the OS.
Quote from: S.L.C on Apr 16, 2015, 01:17 PMQuote from: Beztone on Apr 16, 2015, 10:53 AM Kindly change your OS to vista or win7
It's the same process :-\ You still have to install the redistributable libraries no matter the OS.
Yea @S.L.C but many files like wininstaller 3.1 are preinstalled in win7 it just need visual c++ 2013
Actually i've played vcmp0.4 many months ago on Xp so i wasnt sure that what files xp need to run 0.4 on sp2 because when i was using xp after the fresh installition of windows i've install these file
NetFX 2.0 (sp1 and sp2 ) 3.5, 4.0
Windows installer 3.1
Visual c++ 2008, 2010 2013
Then i run vcmp 0.4
Donno why after updating the plugins and mpsvrrel32 the server is continuesly restarting :/
Quote from: Beztone on Apr 16, 2015, 02:09 PMNetFX 2.0 (sp1 and sp2 ) 3.5, 4.0
Windows installer 3.1
I have my own modified version of XP which comes with .Net 1.x through 4.x, DirectX June 2010, Windows Installer, Drivers and all the hotfixes and crap that you can think about. Basically I just create and select the partitions then I go and do something else for about ~2 hours. After that I come back and start using a clean, ready XP. So I didn't knew you have to install all that crap. All I need to do is re-install the C++ redistributable libraries and that's it.
Quote from: Danish on Apr 16, 2015, 01:16 PMyeah SP 2
Update to SP3. We don't support SP2.
okay sir
How to get your position in game like in 0.3 we use /s for it and our position or our car position stores in our pc.....but in 0.4 itx not working is it changed if so whats now...?
Its not a good place to ask..Try printing player's pos. print( "> " + player.Pos ); or other way you can use send them to irc channel . Make a command for it.