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- Added -appendname as a command line option for server hosts.
- Added the following plugin calls:
- ToggleWallglitch — enables or disables wallglitching for all players on a server
- EnabledWallglitch — returns if the setting above has been enabled
- SetVehicleSiren — enables or disables the siren for a vehicle
- GetVehicleSiren — returns if a vehicle's siren is on or not
- SetVehicleAlarm and GetVehicleAlarm now handle the status of the car alarm, and not the siren.
- Maximum server name length has increased from 64 to 128 characters.
- Default weather changed from cloudy (1) to partly cloudy (0).
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- Radar blips now appear for unoccupied vehicles around you.
- The client now automatically reconnects to servers every three seconds. The amount of times it does this can be configured with game_reconattempts. Setting this to -1 will reconnect indefinitely. Setting this to 0 disables it altogether.
- Added support for configurable wallglitch settings.
- Car alarms and sirens are no longer tied together.
- Fixed siren sounds playing when a vehicle with its siren on has exploded.
- Clients now report when they bump into objects while driving vehicles.
- Fixed rocket launcher and sniper sounds playing twice when shooting.
- The key for entering vehicles as a passenger is now configurable (game_passengerkey), and takes a value of a numeric key code (http://www.mods.com.au/budapi_docs/Virtual%20Key%20Codes.htm).
- Fixed spawning with FIRE key, again.
- Fixed people sliding around while shooting or crouching, again.
- Fixed a hole in the downtown shooting range where interior switching would put you in the main world.
- Fixed rockets launching with weird rotations when using the Hunter.
The update will automatically download and install upon joining an up-to-date 0.4 server.
Plugins Update ReleasedThe 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- Added Vehicle.Siren
- Added Get/SetKillDelay and Get/SetWallglitch
- Fixed skin IDs above 160 having no names for GetSkinName
- Fixed 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
- Attempted to fix an issue where onPlayerHealthChange returns the wrong old health
- Attempted to fix an issue where print() calls with more than 512 characters crash
Updated binaries can be found here:
https://bitbucket.org/stormeus/0.4-squirrel/downloads
Sockets- Statically linked libgcc to reduce dependencies on Linux.
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- Recompiled to fix issues with ConnectSQL being unavailable.
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
Welcome update ! Let's test you !
Quote from: stormeusClients now report when they bump into objects while driving vehicles.
@Doom_Killer :D
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
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.
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...
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.
GetVehicleNameFromModel(veh.Model)
i found small mistake
instead "freeway" is "freeay"
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.
AN ERROR HAS OCCURED [the index 'ConnectSQL' does not exist]
seriously? ._.
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
SetWallglitch( true/false );
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.
Quote from: S.L.C on Apr 19, 2015, 07:16 PMQuote 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?
Quote from: Thijn on Apr 19, 2015, 07:46 PMQuote from: S.L.C on Apr 19, 2015, 07:16 PMQuote 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.
@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.
QuoteSetCarDamageProof(bool);
i made something like that by using player.Vehicle.Immunity yesterday
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.
i think so u have loaded plugins in two lines
check on server.cfg is their is plugin two times?
I have this on server.cfg
plugins squirrel04rel64 xmlconf04rel64 sqlite04rel64 announce04rel64
same problem to me when i load server.config no commands work
Any error in console that looks like: 'Plugin error >> dlopen() 'plugins/pluginname' failed'?
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 ^
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
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. :/
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
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.
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.
(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)
Weird, especially when you say that there's no error, no crash, nothing.
@Nilz
Windows/Linux?
Try sqgamemode scripts/script.nut ?
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 :(
: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.
I had already re-downloaded all new files (except sockets module since I'm not using it)
@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.
My problem has been solved.
Thanks everyone who helped me! It is really appreciated :D
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.
[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
@Nilz So basically it was the common problems that you should always check.
- Proper plugins for the used architecture and OS
- Proper plugins to match the used server release
- Access rights
- Line endings
- ...
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