Vice City: Multiplayer

News & Announcements => Client Updates => Topic started by: Stormeus on Apr 19, 2015, 09:17 AM

Title: Major Update for 0.4 Released (19 Apr.)
Post by: Stormeus on Apr 19, 2015, 09:17 AM
This is another update rollup with relatively significant changes. Because some changes alter currently defined behavior, this update bumps the version up to 04rel002.



Server Update Released

Windows Server (x86) (http://v04.maxorator.com/files/VCMP04_server_v11_win32.zip)
Windows Server (x64) (http://v04.maxorator.com/files/VCMP04_server_v11_win64.zip)
Linux Server (x86) (http://v04.maxorator.com/files/VCMP04_server_v11_linux32.zip)
Linux Server (x64) (http://v04.maxorator.com/files/VCMP04_server_v11_linux64.zip)



Client Update Released

The update will automatically download and install upon joining an up-to-date 0.4 server.



Plugins Update Released
The updated SDK can be found here:
https://bitbucket.org/stormeus/0.4-squirrel/src/231e03806f01a2da20c1d83c260c713f39aac409/VCMP.h?at=master

Plugins which will not be using the new server functions do not need to be rebuilt.

On top of the SDK update, the following plugins have received additional updates:

Squirrel

Updated binaries can be found here:
https://bitbucket.org/stormeus/0.4-squirrel/downloads

Sockets

Only Linux users who have been unable to run this plugin should have to update.

Updated binaries can be found here:
https://bitbucket.org/stormeus/0.4-sockets/downloads

SQLite

Only Linux users who have been unable to run this plugin should have to update.

Updated binaries can be found here:
https://bitbucket.org/stormeus/0.4-sqlite/downloads
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Sebastian on Apr 19, 2015, 10:50 AM
Welcome update ! Let's test you !

Quote from: stormeusClients now report when they bump into objects while driving vehicles.

@Doom_Killer :D
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: rww on Apr 19, 2015, 10:56 AM
QuoteFixed the following vehicles not being represented in GetVehicleModelFromName:
Banshee
BF Injection
Bloodra (Bloodring Racer #1)
Bloodrb (Bloodring Racer #2)
Bus
Comet
Hermes
Hotrina (Hotring Racer #2)
Hotrinb (Hotring Racer #3)
Moonbeam
Phoenix
Voodoo

After update missing too:
- Fbi Car
- FBI Rancher
- Pony
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: DizzasTeR on Apr 19, 2015, 11:01 AM
Quote from: sseebbyy on Apr 19, 2015, 10:50 AMWelcome update ! Let's test you !

Quote from: stormeusClients now report when they bump into objects while driving vehicles.

@Doom_Killer :D

To make it more fun it is still useless for me. Because when the object is moving and you bump into it, the event is not triggered, that means it is used only for objects which are not in motion.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Sebastian on Apr 19, 2015, 11:22 AM
Just tested the C-Glitch. DAMN, it looks so good and smooth. This will have a big impact in the gameplay.
/me slaps LW server's player database. :D



Quote from: stormeusRadar blips now appear for unoccupied vehicles around you.

What do you mean by that ? I don't remember to not see the blips of unoccupied vehicles around me...
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Sk on Apr 19, 2015, 11:41 AM
what about
SetCarDamageProof(bool);
+ when no player is in the Vehicle and it should not get any damage like we had it in 0.3.There should be a toggle for that too.
and don't forget
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fs20.postimg.org%2F9l6zm0jkd%2Fscreenshot_16.png&hash=30d9584d5070e6fa1f559171123b0f0e96aa46c8)
+ scores in server tab.
 
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: rww on Apr 19, 2015, 11:47 AM
GetVehicleNameFromModel(veh.Model)
i found small mistake

instead "freeway" is "freeay"
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: . on Apr 19, 2015, 11:47 AM
Quote from: Sk on Apr 19, 2015, 11:41 AMSetCarDamageProof(bool);

Both players (http://forum.vc-mp.org/?topic=451.msg3047#msg3047) and vehicles have immunity flags.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: soulshaker on Apr 19, 2015, 02:32 PM
AN ERROR HAS OCCURED [the index 'ConnectSQL' does not exist]

seriously? ._.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Gulk on Apr 19, 2015, 03:37 PM
The sliding fix is awesome. Thanks. Can now have better, more fair fights.

btw can someone tell me how to disable the wallglitch protection using this new option? >:D
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Gudio on Apr 19, 2015, 04:15 PM
SetWallglitch( true/false );
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: . on Apr 19, 2015, 07:16 PM
Quote from: soulshaker on Apr 19, 2015, 02:32 PMAN ERROR HAS OCCURED [the index 'ConnectSQL' does not exist]

seriously? ._.

There's a new plugin header with a different structure. Obviously the plugins need recompilation.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Thijn on Apr 19, 2015, 07:46 PM
Quote from: S.L.C on Apr 19, 2015, 07:16 PM
Quote from: soulshaker on Apr 19, 2015, 02:32 PMAN ERROR HAS OCCURED [the index 'ConnectSQL' does not exist]

seriously? ._.

There's a new plugin header with a different structure. Obviously the plugins need recompilation.
The changelog says it has been. Are you sure you're using the latest plugin?
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: wacek on Apr 19, 2015, 09:42 PM
Quote from: Thijn on Apr 19, 2015, 07:46 PM
Quote from: S.L.C on Apr 19, 2015, 07:16 PM
Quote from: soulshaker on Apr 19, 2015, 02:32 PMAN ERROR HAS OCCURED [the index 'ConnectSQL' does not exist]

seriously? ._.

There's a new plugin header with a different structure. Obviously the plugins need recompilation.
The changelog says it has been. Are you sure you're using the latest plugin?
I m join. I have this same problem probably with Linux plugin.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Gudio on Apr 19, 2015, 10:11 PM
@soulshaker @wacek
Please try x32 (http://gudio.eu/vcmp/sqlite04rel32.so) or x64 (http://gudio.eu/vcmp/sqlite04rel64.so) and let me know if they worked.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: MacTavish on Apr 19, 2015, 10:54 PM
QuoteSetCarDamageProof(bool);
i made something like that by using player.Vehicle.Immunity yesterday
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Nilz on Apr 20, 2015, 02:40 AM
Is there anyone else having problems with the last update? (04rel002)

The server is not loading server.conf correctly, therefore it is setting default skins and spawn locations. Also, it sometimes doesn't even load the script.nut.

This started to happen since I updated the Server and the plugins to the newest ones.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Finch on Apr 20, 2015, 03:51 AM
i think so u have loaded plugins in two lines
check on server.cfg is their is plugin two times?
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Nilz on Apr 20, 2015, 04:55 AM
I have this on server.cfg

plugins squirrel04rel64 xmlconf04rel64 sqlite04rel64 announce04rel64
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Finch on Apr 20, 2015, 05:17 AM
same problem to me when i load server.config no commands work
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Gudio on Apr 20, 2015, 06:09 AM
Any error in console that looks like: 'Plugin error >> dlopen() 'plugins/pluginname' failed'?
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: soulshaker on Apr 20, 2015, 10:21 AM
Quote from: Gudio on Apr 19, 2015, 10:11 PM@soulshaker @wacek
Please try x32 (http://gudio.eu/vcmp/sqlite04rel32.so) or x64 (http://gudio.eu/vcmp/sqlite04rel64.so) and let me know if they worked.

Working ^
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: . on Apr 20, 2015, 11:38 AM
NOTE: When some plugins/modules are loaded two times then add them before the Squirrel plugin. As an example from @Nilz's line which would become like this:
plugins xmlconf04rel64 sqlite04rel64 announce04rel64 squirrel04rel64
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Nilz on Apr 20, 2015, 12:35 PM
There's not any error on console, even after placing plugins in the way S.L.C suggested.

The scripts aren't loading at all. :/
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: . on Apr 20, 2015, 12:47 PM
Quote from: Nilz on Apr 20, 2015, 12:35 PMThe scripts aren't loading at all. :/

Show us your line that loads the script:
sqgamemode script_name.nut
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Nilz on Apr 20, 2015, 12:50 PM
sqgamemode script.nut
Before posting here I obviously ensured that it was not a problem of my script.

I even replaced my script.nut for another file that only contained onPlayerJoin function and I was only executing this: Message( "Welcome player!" ); And it didn't even work either.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: . on Apr 20, 2015, 01:02 PM
Enable line endings in Notepad++ like this:
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fs29.postimg.org%2Fwdvbwaxtf%2FScreenshot_1.jpg&hash=1260a289e192b8f7a5aac63fe88caa3dbc549ebb) (http://postimg.org/image/wdvbwaxtf/)
And show us a screen-shot with the line endings:
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fs28.postimg.org%2F89ip0ag0p%2FScreenshot_2.jpg&hash=addbcb8f30c871dff7fcc7e2dff462538e1d194c) (http://postimg.org/image/89ip0ag0p/)

Some people had issues with the line endings because the module didn't knew where to stop reading.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Nilz on Apr 20, 2015, 01:07 PM
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F8SvTWI7.jpg&hash=0b7a81deabca94a59bc6c86b3a2aaf07f08d247e)

I temporarily removed announce04rel64 plugin on purpose, because I was testing something. (just telling you so that you won't think I accidently missed to load that plugin)
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: . on Apr 20, 2015, 01:21 PM
Weird, especially when you say that there's no error, no crash, nothing.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Gudio on Apr 20, 2015, 01:56 PM
@Nilz
Windows/Linux?
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Gulk on Apr 20, 2015, 02:23 PM
Try sqgamemode scripts/script.nut ?
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Nilz on Apr 20, 2015, 04:56 PM
Gudio: Linux.

//edit:

I also tried to open the server on my PC (Windows), and this is happening:

(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FO3PUPMI.jpg&hash=84c3a32a46ffa3a4d60826ceedd840925c247ac4)

But anyway, I care more about solving this issue in Linux.



Gulk: That method didn't work either :(
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: karan20000000000 on Apr 20, 2015, 05:28 PM
:O This happened with me too when I was using old plugins with new server or new plugins with old server.
Try redownloading all new files and set up the stuff again.
If that doesn't work then it could be also due to some script error or some timer.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Nilz on Apr 20, 2015, 05:42 PM
I had already re-downloaded all new files (except sockets module since I'm not using it)
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Gudio on Apr 20, 2015, 05:47 PM
@Nilz
Please try this squirrel: x32 (http://gudio.eu/vcmp/squirrel04rel32.so) or x64 (http://gudio.eu/vcmp/squirrel04rel64.so) and let me know if they worked.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Nilz on Apr 20, 2015, 06:08 PM
My problem has been solved.

Thanks everyone who helped me! It is really appreciated :D
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Thijn on Apr 21, 2015, 05:36 AM
Quote from: Nilz on Apr 20, 2015, 06:08 PMMy problem has been solved.

Thanks everyone who helped me! It is really appreciated :D
Please share the problem and solution, so other people can find the solution if they encounter the same.
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Nilz on Apr 21, 2015, 10:20 PM
[15:19] (Monday - 15:19) <Nilz> what did you do
[15:19] (Monday - 15:19) <Nilz> to fix it?
[15:19] (Monday - 15:19) <Murdock> i replaced your modules and executables with mine (some i got from gudio 10 min ago)
[15:20] (Monday - 15:20) <Murdock> i replaced line endings with UNIX in your config and scripts
[15:20] (Monday - 15:20) <Murdock> I added a few parameters to your server.cfg, just like mine
[15:20] (Monday - 15:20) <Murdock> I chmodded all your executables, .so and .db files to 755
[15:20] (Monday - 15:20) <Murdock> and it worked :P
Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: . on Apr 21, 2015, 10:34 PM
@Nilz So basically it was the common problems that you should always check.

Title: Re: Major Update for 0.4 Released (19 Apr.)
Post by: Nilz on Apr 22, 2015, 03:40 AM
When I was having that problem, I deleted plugins and the Server executable file and re-downloaded everything again. I even deleted all files from FTP and re-uploaded them again. I set the permissions to 777, and it didn't work.

But I don't really know about Line-endings, so that might have been the main problem. Throughout the time I've been making scripts in VC:MP, I never set or checked line-endings of anything. :P