Дёрганое перемещение мяча

Сообщения
12
Реакции
-1
Ошибка
Мяч перемещается с подёргиваниями
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.5271 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Jun 24 2020 13:53:30
Built from: https://github.com/alliedmodders/amxmodx/commit/5eea3e5
Build ID: 5271:5eea3e5
Core mode: JIT+ASM32
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.698-dev
Build date: 10:14:22 Aug 19 2020 (2321)
Build from: https://github.com/dreamstalker/rehlds/commit/376bc15
ReGamedll
ReGameDLL version: 5.21.0.546-dev
Build date: 15:32:48 Dec 28 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/09a6c61
Версия Metamod
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
Список метамодулей
[ 1] Reunion                RUN   -    reunion_mm_i386.so               v0.1.0.92c       ini  Start Never
[ 2] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 3] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5271 ini Start ANY
[ 4] Revoice RUN - revoice_mm_i386.so v0.1.0.34 ini Start Never
[ 5] Placeholders disabler RUN - plfix_mm_i386.so v0.0.3 ini Start Never
[ 6] Ultimate Unprecacher RUN - ultimate_unprecacher_mm_i386.so v0.3 Alpha ini ANY ANY
[ 7] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 8] hackdetector RUN - hackdetector_amxx_i386.so v0.15.328.lite pl3 ANY ANY
[ 9] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5271 pl3 ANY ANY
[10] MySQL RUN - mysql_amxx_i386.so v1.9.0.5271 pl3 ANY ANY
[11] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5271 pl3 ANY ANY
[12] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5271 pl3 ANY ANY
[13] Engine RUN - engine_amxx_i386.so v1.9.0.5271 pl3 ANY ANY
[14] ReAPI RUN - reapi_amxx_i386.so v5.21.0.252-dev pl3 ANY Never
[15] Fun RUN - fun_amxx_i386.so v1.9.0.5271 pl3 ANY ANY
Список плагинов
[  1] unknown                 unknown     unknown           blockcmd.amxx    running
[ 2] FreshBans 1.3.8b kanagava fresh_bans_for_ running
[ 3] admin_loader 0.4 kanagava admin_loader-18 running
[ 4] Slots Reservation 1.9.0.5271 AMXX Dev Team adminslots.amxx running
[ 5] Menus Front-End 1.9.0.5271 AMXX Dev Team menufront.amxx running
[ 6] Commands Menu 1.9.0.5271 AMXX Dev Team cmdmenu.amxx running
[ 7] Maps Menu 1.9.0.5249 AMXX Dev Team mapsmenu.amxx running
[ 8] Plugin Menu 1.9.0.5271 AMXX Dev Team pluginmenu.amxx running
[ 9] Admin Chat 1.9.0.5249 AMXX Dev Team adminchat.amxx running
[ 10] Admin Votes 1.9.0.5249 AMXX Dev Team adminvote.amxx running
[ 11] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 12] Pause Plugins 1.9.0.5271 AMXX Dev Team pausecfg.amxx running
[ 13] Stats Configuration 1.9.0.5271 AMXX Dev Team statscfg.amxx running
[ 14] RSFSR | Jailbreak Prom 1.0 R.S.F.S.R rsfsr_promo.amx debug
[ 15] Box Creator 1.0 PahanCS JailBoxCreator. debug
[ 16] mute menu 1.0 cheap_suit mutemenu.amxx running
[ 17] unknown unknown unknown JailCsMoneyOff. debug
[ 18] iHOOK 1.0 arttty7 iHOOK.amxx debug
[ 19] [JBE] Core 1.0 Sanlerus jbe_core.amxx debug
[ 20] [JBD] Iron Man 17.02.2018 Dimon4ik JBD_IronMen.amx debug
[ 21] Perfect Camera 0.2.5 Nordic Warrior PerfectCamera.a running
[ 22] JailBreak AIM INFO 1.0 Lacoste jbe_aim_info.am debug
[ 23] Parachute 1.1 Random1, 93()|29 sub_parachute.a debug
[ 24] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 25] ADVENTURE | Account Sy 1.0 /7uBko adv_account_sys debug
[ 26] [JBE] Admin Cmds 1.0 vk/slavajb jbe_admin_cmds. debug
[ 27] [ALL] Color Bubble Gra 1.0 Edit By HOBOSTI color_bubble.am debug
[ 28] Drive Killer 1.0 Lacoste jailbreak_drive running
[ 29] [ADVENTURE] Mafia Game 1.0 vk.com/slavajb jbe_mafia.amxx debug
[ 30] [JBE] Player Prefixes 1.0 vk/slavajb jbe_player_pref debug
[ 31] Players FPS 1.0 Empowers and Adm jbe_show_fps.am running
[ 32] Admin connected 1.0 9 rpamm!? admin_connected running
[ 33] Simon Music Menu 1.0 /7uBko jbe_music_menu. debug
[ 34] JBE Personal Models 1.0 /7uBko jbe_personal_mo debug
[ 35] ADMIN MENU 1.0 Lacoste jailbreak_admin debug
[ 36] [ZP] Extra: Infinitys 1.0 Crock / =) (Popr azp_weapon_infi debug
[ 37] [ZP] Extra: Leader ak4 1.0 Crock / =) (Popr azp_weapon_ak47 debug
[ 38] [ZP] Weapon: AK47 Beas 1.0 | 2018 xUnicorn (t3rkec adv_ak47_beast. debug
[ 39] ZP Extraitem: AKM Balr 1.0 Base: Batcon & x adv_akmbb.amxx debug
[ 40] Map Spawns Editor 1.0.16 iG_os Map_Spawns_Edit debug
[ 41] Magic Marker 3.1 stupok69 magic_marker.am running
[ 42] [JBD] Vampir Menu 1.0 Dimon4ik JBD_VampirMenu. debug
[ 43] Pumpkin Bomb 1.0 Exodus Dex_Pumpkin.amx debug
[ 44] Admin Fire 1.0.0 f117bomb amx_fire.amxx debug
[ 45] New-Plugin 0.0.0.1 Andrei jbe_dm_galaxy.a running
[ 46] [JBE_DM] BAW 1.1 BANTYP jbs_dm_baw.amxx running
[ 47] [JBE_DM] Ringolevio 1.1 Freedo.m jbe_dm_ringolev debug
[ 48] [JBE_DM] BAW 1.1 BANTYP jbe_dm_gangs.am debug
[ 49] [JBE_DM] Birth Day 1.1 Freedo.m jbe_dm_birthday debug
[ 50] [JBE] Nemises 2.0 semisem+freddom jbe_dm_nemises. debug
[ 51] [JBE_DM] Bouncers 1.0 R.S.F.S.R jbe_dm_bouncer. debug
[ 52] [JBE_DM] Sparta 1.1 Freedo.m jbe_dm_sparta.a debug
[ 53] Advanced Client Checke 0.3.6 Mistrick cmdchecker.amxx debug
[ 54] Spray ID 1.5 Cheesy Peteza | sprayid.amxx debug
[ 55] World Model Group 1.1 w0w world_model_gro debug
[ 56] Entity Remover 0.4 Exolent entity_remover. debug
[ 57] Potti 1.40 p3tsin potti.amxx debug
Автор плагина
fredoo.m
Версия плагина
1.0
Исходный код
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <reapi>
#include <fakemeta>
#include <hamsandwich>

public plugin_init() {

register_think("ball", "FakeMeta_BallThink");
}

public FakeMeta_BallThink(iEntity) {

if( pev_valid(iEntity) ) {

if ( g_iSoccerBallOwner ) {

new Float:vecVelocity[3];

get_entvar(g_iSoccerBallOwner, var_velocity, vecVelocity);

if ( vector_length(vecVelocity) != 0.0 ) {

new Float:fAngles[3];

vector_to_angle(vecVelocity, fAngles);
fAngles[0] = 0.0;
set_entvar(g_iSoccerBall, var_angles, fAngles);
set_entvar(g_iSoccerBall, var_sequence, 1);
}
else set_entvar(g_iSoccerBall, var_sequence, 0);

new Float:vAngles[3], Float:vReturn[3], Float:vOwnerOrigin[3];

new const Float:vVelocity[3] = {1.0, 1.0, 0.0};

new fOrigin[3]; get_user_origin(g_iSoccerBallOwner, fOrigin);

get_entvar(g_iSoccerBallOwner, var_origin, vOwnerOrigin);
get_entvar(g_iSoccerBallOwner, var_angles, vAngles);

vReturn[0] = (floatcos(vAngles[1], degrees) * 43.0) + vOwnerOrigin[0];
vReturn[1] = (floatsin(vAngles[1], degrees) * 43.0) + vOwnerOrigin[1];
vReturn[2] = vOwnerOrigin[2];
vReturn[2] -= (entity_get_int(g_iSoccerBallOwner, EV_INT_flags) & FL_DUCKING) ? 10 : 35;

set_entvar(g_iSoccerBall, var_velocity, vVelocity);
engfunc(EngFunc_SetOrigin, g_iSoccerBall, vReturn);

}
}
Проверял на локальном сервере, но все модули/плагины и т.д 1 в 1, как на основе. Очень раздражает это дёрганье мяча, когда бежишь в стороны. Буду благодарен, если найдётся решение этой проблемы.

 

Вложения

Сообщения
1,576
Реакции
658
Помог
5 раз(а)
отставание можно исправить если ловить move и там изменять velocity, ну и cl_cmdrate и cl_updaterate нада максимальные
1 Май 2022
но это не точно
 
Сообщения
3,593
Реакции
1,576
Помог
141 раз(а)
LacosteOne, до конца не получится избавиться от этого
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу