Major Server Update Released (April 25)

rww

  • VC:MP Beta Tester
  • LU-DM Team
  • Posts: 391

Join to LU-DM Team Discord: https://discord.gg/PFwem6J

EK.IceFlake

  • Hero Member
  • "We are the champions my fellahs" - Sufyan/VK.SuFy
  • Posts: 1,761

Thijn

  • VC:MP Beta Tester
  • Posts: 1,689

Stormeus

  • VC:MP Developer
  • oh god how did i get here im not good w computer
  • Posts: 1,128
Re: Major Server Update Released (April 25)
« Reply #78, on April 28th, 2016, 10:43 PM »
Quote from Thijn on April 28th, 2016, 06:34 PM
Quote from ext-d.CrystalBlue on April 28th, 2016, 06:08 PM
@Thijn please update the plugins on your website for 04rel004, I'm having that glibc 2.14 issue again.
The plugins haven't been updated in git.
* Thijn prods @Stormeus and @maxorator
https://bitbucket.org/stormeus/0.4-squirrel/commits/a0c82a4a8b914bde4635e7ffdd151d7d8191ea2b

https://bitbucket.org/stormeus/0.4-squirrel/src/a0c82a4a8b914bde4635e7ffdd151d7d8191ea2b/VCMP.h

KAKAN

  • Wiki Contributor
  • Posts: 3,346
Re: Major Server Update Released (April 25)
« Reply #79, on April 30th, 2016, 11:09 AM »
Quote from vito on April 30th, 2016, 11:08 AM
I just started to test it, but It's not working for me

\store\scripts\main.nut
Code: [Select]
function Player::PlayerShoot(player, weapon, hitEntity, hitPosition){
Console.Print("test");
}
Any errors?
Well, try this:
Code: [Select]
function Player::PlayerShoot(player, weapon, hitEntity, hitPosition){
::Console.Print("test");
}
You can contact me using Discord, at Developers.CPP( check off-board to find the invite link )
Github: https://github.com/theKAKAN

karan20000000000

  • Jr. Member
  • KP
  • Posts: 66
With regards,
KP
------------------------------------------

KAKAN

  • Wiki Contributor
  • Posts: 3,346
You can contact me using Discord, at Developers.CPP( check off-board to find the invite link )
Github: https://github.com/theKAKAN

Pun1sh3r

  • Wiki Contributor
  • Posts: 15

maxorator

  • VC:MP Developer
  • Posts: 153
Re: Major Server Update Released (April 25)
« Reply #83, on May 1st, 2016, 09:55 PM »
Quote from Pun1sh3r on May 1st, 2016, 07:32 PM
Vehicle.ID is not working on Server side, does anyone know why?
There's this IRC channel which has good explanations for various keywords. For example doesn't work has the following explanation:
Quote
useless. Tell us what it is, what you want it to do, and what it is doing. Consider showing some code and any errors.

Doom_Kill3R

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,107
Re: Major Server Update Released (April 25)
« Reply #85, on May 2nd, 2016, 12:57 PM »Last edited on May 2nd, 2016, 01:08 PM
What about the important bugs damn...

Edit: talking about onCheckpointExit event not working with spheres...

Pun1sh3r

  • Wiki Contributor
  • Posts: 15
Re: Major Server Update Released (April 25)
« Reply #86, on May 2nd, 2016, 09:19 PM »Last edited on May 2nd, 2016, 09:21 PM
Quote from maxorator on May 1st, 2016, 09:55 PM
Quote from Pun1sh3r on May 1st, 2016, 07:32 PM
Vehicle.ID is not working on Server side, does anyone know why?
There's this IRC channel which has good explanations for various keywords. For example doesn't work has the following explanation:
Quote
useless. Tell us what it is, what you want it to do, and what it is doing. Consider showing some code and any errors.
My Code:
Code: [Select]
player.Vehicle = CreateVehicle(vID, 0, player.Pos.x, player.Pos.y, player.Pos.z+2, player.Angle, random(0, 94), random (0, 94));
Stats[player.ID].Vehicle = player.Vehicle.ID;//This is needed to store the Vehicle ID so the Vehicle can be deleted at disconnect or if player spawns a new Vehicle

I have tested it with removing the "player.Vehicle.ID" and set some random number instead of the Vehicle ID and it was working but I need the vehicle.ID

Error:
Code: [Select]
AN ERROR HAS OCCURED [the index 'ID' does not exist]

CALLSTACK
*FUNCTION [CarSpawner()] scripts/Main.nut line [443]
*FUNCTION [onPlayerCommand()] scripts/Main.nut line [388]

LOCALS
[vID] 141
[player] INSTANCE
[this] TABLE
[dbHandle] USERPOINTER
[idx] 141
[text] "inf"
[cmd] "v"
[arguments] "inf"
[command] "v"
[player] INSTANCE
[this] TABLE

Exact the same code above was working fine in 003, since 004 it doesnt work anymore.

maxorator

  • VC:MP Developer
  • Posts: 153

ysc3839

  • VC:MP Beta Tester
  • Posts: 620
Re: Major Server Update Released (April 25)
« Reply #88, on May 3rd, 2016, 10:47 AM »
Quote from Pun1sh3r on May 2nd, 2016, 09:19 PM
Quote from maxorator on May 1st, 2016, 09:55 PM
Quote from Pun1sh3r on May 1st, 2016, 07:32 PM
Vehicle.ID is not working on Server side, does anyone know why?
There's this IRC channel which has good explanations for various keywords. For example doesn't work has the following explanation:
Quote
useless. Tell us what it is, what you want it to do, and what it is doing. Consider showing some code and any errors.
My Code:
Code: [Select]
player.Vehicle = CreateVehicle(vID, 0, player.Pos.x, player.Pos.y, player.Pos.z+2, player.Angle, random(0, 94), random (0, 94));
Stats[player.ID].Vehicle = player.Vehicle.ID;//This is needed to store the Vehicle ID so the Vehicle can be deleted at disconnect or if player spawns a new Vehicle

I have tested it with removing the "player.Vehicle.ID" and set some random number instead of the Vehicle ID and it was working but I need the vehicle.ID

Error:
Code: [Select]
AN ERROR HAS OCCURED [the index 'ID' does not exist]

CALLSTACK
*FUNCTION [CarSpawner()] scripts/Main.nut line [443]
*FUNCTION [onPlayerCommand()] scripts/Main.nut line [388]

LOCALS
[vID] 141
[player] INSTANCE
[this] TABLE
[dbHandle] USERPOINTER
[idx] 141
[text] "inf"
[cmd] "v"
[arguments] "inf"
[command] "v"
[player] INSTANCE
[this] TABLE

Exact the same code above was working fine in 003, since 004 it doesnt work anymore.
Try this.
local veh = CreateVehicle
Stats[player.ID].Vehicle = veh.ID;
player.Vehicle = veh;

leftspace

  • Newbie
  • Posts: 4