List Suggestions - Client - Side

Luis_Labarca

  • Sr. Member
  • Hello :D
  • Posts: 300
List Suggestions - Client - Side
« on June 23rd, 2017, 03:16 AM »Last edited on June 25th, 2017, 03:58 PM
Player

Write functions

Code: [Select]
.SetAnim
.SetCameraPos
.SetWantedLevel
Hud.SetPos(HUD_FLAG_CASH,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_CLOCK,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_HEALTH,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_WEAPON,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_WANTED ,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_RADAR,VectorScreen( 0,0 ) )
Othes Funtions Player
Code: [Select]
Player::EnterVehicle
Player::ExitVehicle
Player::VehicleMove
Player::WeaponChange

Functions to read

Code: [Select]
.Cash
.WantedLevel
.World

Global Player

Code: [Select]
function Player::PlayerDeath( player , reason )

Object

Functions to read
Code: [Select]
World::FindObject(id)
.Model
.Pos
.Rotation
.World

Write functions
Code: [Select]
.MoveTo
.Pos
.Rotation
My server ...:: RPG ::...
IP: 149.56.143.129:8195

Shadow

  • Beta Tester Emeritus
  • Posts: 176
Re: Suggestions - Client - Side
« Reply #1, on June 23rd, 2017, 05:16 PM »
Setting animations client-side is the recipe for ultimate desync. Also, why is this topic locked?
Quote
PS:is trash is ur home language??

vito1

  • Guest
Re: Suggestions - Client - Side
« Reply #2, on June 23rd, 2017, 05:45 PM »
Quote from Shadow on June 23rd, 2017, 05:16 PM
Setting animations client-side is the recipe for ultimate desync. Also, why is this topic locked?
desynced animation it's not so bad as:
Quote
.World
Worlds concept is totally serverside.

EK.IceFlake

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

Luis_Labarca

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

.

  • VC:MP Beta Tester
  • .
  • Posts: 1,804
Re: Suggestions - Client - Side
« Reply #5, on June 23rd, 2017, 09:22 PM »
Quote from Luis_Labarca on June 23rd, 2017, 03:16 AM
My Suggestions is to add the following functions to the Client - Side

Player

Code: [Select]
.SetAnim
.SetCameraPos
.SetWantedLevel
.WantedLevel
.World

Global Player

Code: [Select]
function Player::PlayerDeath( player , reason )

Object
Code: [Select]
World::FindObject(id)
.Model
.MoveTo
.Pos
.Rotation
.World
.Cash ? Is that read only or write as well? In fact. Do any of these support write? Because I can get really nasty with it in that case.
.

vito1

  • Guest
Re: Suggestions - Client - Side
« Reply #6, on June 23rd, 2017, 09:27 PM »
well client-side objects would be awesome to avoid to transfer tons of data from server in some specific cases.
client-side camera for player would be good as well as client side markers and playsound, but its not so important as .Angle and well-synced .Health.

Luis_Labarca

  • Sr. Member
  • Hello :D
  • Posts: 300
Re: Suggestions - Client - Side
« Reply #7, on June 23rd, 2017, 09:40 PM »
Quote from . on June 23rd, 2017, 09:22 PM
.Cash ? Is that read only or write as well? In fact. Do any of these support write? Because I can get really nasty with it in that case.
If it would be okay just to read to see what cash etc has every player
Re: Suggestions - Client - Side
« Reply #8, on June 23rd, 2017, 09:41 PM »
Quote from vito1 on June 23rd, 2017, 09:27 PM
well client-side objects would be awesome to avoid to transfer tons of data from server in some specific cases.
client-side camera for player would be good as well as client side markers and playsound, but its not so important as .Angle and well-synced .Health.
I agree with you ;)
My server ...:: RPG ::...
IP: 149.56.143.129:8195

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

Milos

  • Jr. Member
  • Posts: 83

Luis_Labarca

  • Sr. Member
  • Hello :D
  • Posts: 300
Re: Suggestions - Client - Side
« Reply #11, on June 25th, 2017, 03:54 PM »Last edited on June 25th, 2017, 03:59 PM
New Suggestion

Player

Code: [Select]
Hud.SetPos(HUD_FLAG_CASH,VectorScreen( 0,0 ))
Hud.SetPos(HUD_FLAG_CLOCK,VectorScreen( 0,0 ))
Hud.SetPos(HUD_FLAG_HEALTH,VectorScreen( 0,0 ))
Hud.SetPos(HUD_FLAG_WEAPON,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_WANTED ,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_RADAR,VectorScreen( 0,0 ) )
My server ...:: RPG ::...
IP: 149.56.143.129:8195

vito1

  • Guest
Re: Suggestions - Client - Side
« Reply #12, on June 25th, 2017, 03:58 PM »
Quote from Luis_Labarca on June 25th, 2017, 03:54 PM
New Suggestion
Code: [Select]
Hud.SetPos(HUD_FLAG_CASH,VectorScreen( 0,0 ))
Hud.SetPos(HUD_FLAG_CLOCK,VectorScreen( 0,0 ))
Hud.SetPos(HUD_FLAG_HEALTH,VectorScreen( 0,0 ))
Hud.SetPos(HUD_FLAG_WEAPON,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_WANTED ,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_RADAR,VectorScreen( 0,0 ) )
is it really so important? you able to make your-own elements for that (exculding radar since we unable to cut elements by mask)

Luis_Labarca

  • Sr. Member
  • Hello :D
  • Posts: 300
Re: List Suggestions - Client - Side
« Reply #13, on June 25th, 2017, 04:02 PM »
Quote from vito1 on June 25th, 2017, 03:58 PM
Quote from Luis_Labarca on June 25th, 2017, 03:54 PM
New Suggestion
Code: [Select]
Hud.SetPos(HUD_FLAG_CASH,VectorScreen( 0,0 ))
Hud.SetPos(HUD_FLAG_CLOCK,VectorScreen( 0,0 ))
Hud.SetPos(HUD_FLAG_HEALTH,VectorScreen( 0,0 ))
Hud.SetPos(HUD_FLAG_WEAPON,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_WANTED ,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_RADAR,VectorScreen( 0,0 ) )
is it really so important? you able to make your-own elements for that (exculding radar since we unable to cut elements by mask)
The idea is to be able to move the hud good too that I think I just give my ideas
My server ...:: RPG ::...
IP: 149.56.143.129:8195

vito1

  • Guest
Re: List Suggestions - Client - Side
« Reply #14, on June 25th, 2017, 04:05 PM »
Yes, it's a good idea, but some stuff is really more important as clientside .Angle and .Health