Major Server Update Released (April 25)

maxorator

  • VC:MP Developer
  • Posts: 153

Doom_Kill3R

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,105
Re: Major Server Update Released (April 25)
« Reply #106, on May 8th, 2016, 02:38 PM »
Can you please add all the events available server-side to the client-side because its becoming a pain in the ass to stream things for client which are on events like spawn etc. The whole callbacks which send/receive streams is getting f*ed up and looks ugly now. There aren't many callbacks either so I guess it won't be a big deal.

Murdock

  • LU Beta Tester
  • Posts: 236
Re: Major Server Update Released (April 25)
« Reply #107, on May 8th, 2016, 02:48 PM »
I have added some custom vehicles to the 04rel004 server and named the 7z files as follows "v12040_t0_p1_yardielobo.7z", but the server keeps saying "[VEHICLEMODELS] Filename 'vehicles/v12040_t0_p1_mrdoge.7z' not in valid format for MVL vehicle file."

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 918
Re: Major Server Update Released (April 25)
« Reply #108, on May 8th, 2016, 04:25 PM »
Quote from Murdock on May 8th, 2016, 02:48 PM
I have added some custom vehicles to the 04rel004 server and named the 7z files as follows "v12040_t0_p1_yardielobo.7z", but the server keeps saying "[VEHICLEMODELS] Filename 'vehicles/v12040_t0_p1_mrdoge.7z' not in valid format for MVL vehicle file."
Don't use IDs different than 6400->6499. (yet)
They have been switched to 12000, but you still call them by old IDs. It's some trick done by maxorator, to not make us change all archives' names.

KAKAN

  • Wiki Contributor
  • Posts: 3,346
Re: Major Server Update Released (April 25)
« Reply #109, on May 8th, 2016, 05:35 PM »
Quote from Doom_Kill3R on May 8th, 2016, 02:38 PM
Can you please add all the events available server-side to the client-side because its becoming a pain in the ass to stream things for client which are on events like spawn etc. The whole callbacks which send/receive streams is getting f*ed up and looks ugly now. There aren't many callbacks either so I guess it won't be a big deal.
I said the same somewhere. Callbacks client-side would be a better idea ofc.
For ex: onVehicleMove. If we use it client-side, then the latency would not cause problems, but if we use it through streams, then what would be the difference between client-side scripting and server-side scripting if we make a speedometer( in this case )
You can contact me using Discord, at Developers.CPP( check off-board to find the invite link )
Github: https://github.com/theKAKAN

maxorator

  • VC:MP Developer
  • Posts: 153
Re: Major Server Update Released (April 25)
« Reply #110, on May 8th, 2016, 07:30 PM »
Quote from KAKAN on May 8th, 2016, 05:35 PM
Quote from Doom_Kill3R on May 8th, 2016, 02:38 PM
Can you please add all the events available server-side to the client-side because its becoming a pain in the ass to stream things for client which are on events like spawn etc. The whole callbacks which send/receive streams is getting f*ed up and looks ugly now. There aren't many callbacks either so I guess it won't be a big deal.
I said the same somewhere. Callbacks client-side would be a better idea ofc.
For ex: onVehicleMove. If we use it client-side, then the latency would not cause problems, but if we use it through streams, then what would be the difference between client-side scripting and server-side scripting if we make a speedometer( in this case )
onVehicleMove actually makes no sense at all. It is highly unlikely that a vehicle doesn't move in a frame if a player is driving it. You'd get this callback every frame, so you might as well process it in every frame anyway.

ysc3839

  • VC:MP Beta Tester
  • Posts: 620
Re: Major Server Update Released (April 25)
« Reply #111, on May 9th, 2016, 06:27 AM »
Quote from KAKAN on May 8th, 2016, 05:35 PM
Quote from Doom_Kill3R on May 8th, 2016, 02:38 PM
Can you please add all the events available server-side to the client-side because its becoming a pain in the ass to stream things for client which are on events like spawn etc. The whole callbacks which send/receive streams is getting f*ed up and looks ugly now. There aren't many callbacks either so I guess it won't be a big deal.
I said the same somewhere. Callbacks client-side would be a better idea ofc.
For ex: onVehicleMove. If we use it client-side, then the latency would not cause problems, but if we use it through streams, then what would be the difference between client-side scripting and server-side scripting if we make a speedometer( in this case )
You can make a speedometer by using my client timer. :)
Re: Major Server Update Released (April 25)
« Reply #113, on May 9th, 2016, 06:49 AM »
That's something wrong in the client script document.
Function ReadString()
Return type: float
Reads a string from the stream.

Function WriteByte(value)
Parameter types: int. Return type: void
Writes a single byte to the stream.

Function WriteInt(value)
Parameter types: int. Return type: void
Writes an integer (4 bytes) to the stream.

Function WriteInt(value)
Parameter types: float. Return type: void
Writes a float (4 bytes) to the stream.

Function WriteInt(value)
Parameter types: string. Return type: void
Writes a string to the stream.

NewK

  • VC:MP Beta Tester
  • Posts: 176
Re: Major Server Update Released (April 25)
« Reply #114, on May 9th, 2016, 01:38 PM »Last edited on May 9th, 2016, 02:19 PM
Is it possible for that Player::PlayerDeath(player) event to have a Killer parameter? That would be pretty useful :)

Also, a .Team property for the Player instance would be nice :D

Doom_Kill3R

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,105
Re: Major Server Update Released (April 25)
« Reply #115, on May 9th, 2016, 03:17 PM »
I believe client-side scripting should have most of the functions and properties which are not based on shared instances. I can only imagine that this update came with small callbacks just because everyone furiously waited for GUIs, perhaps most of them will be available in the next update.

P.S: Please, please allow compiled client-scripts to be loaded.

Drake

  • VC:MP Beta Tester
  • Posts: 288
Re: Major Server Update Released (April 25)
« Reply #116, on May 13th, 2016, 02:39 AM »
Quote from Thijn on April 26th, 2016, 09:51 PM
GeoIP linux builds are available at http://thijn.ovh/vcmp/builds/
I can't get the windows builds to work. The GeoLib is horrible. If someone else can get them working be my guest.
Modified SQMain.cpp
(Plugin header can be fetched from the first post)
@Thijn, your build of GeoIP for linux doesn't work.
Code: [Select]
Plugin error >> dlsym() 'plugins/geoip04rel64.so' failed: plugins/geoip04rel64.so: undefined symbol: VcmpPluginInit

Can you please fix it up?

Finch Real

  • Sr. Member
  • Posts: 282
My Snipet Showroom

http://pastebin.com/5KKuU5cg

Athanatos

  • Hero Member
  • Romania Cops N Robbers Lead Developer
  • Posts: 796

Luis_Labarca

  • Sr. Member
  • Hello :D
  • Posts: 298
My server ...:: RPG ::...
IP: 149.56.143.129:8195