reapi on LAN?

Сообщения
146
Реакции
29
Hi guys, is there a chance of using reapi on LAN server? I guess ReHLDS and ReGameDLL is needed to be installed, i tried to install them, here is the verions list:

rehlds (newsest): 3.13.0.788
regamedll (newest): 5.26.0.668
reapi (newest): 5.24.0.300

AMX Mod X: 1.9.0.5294
some random plugin test function:
Код:
#include <amxmodx>
#include <reapi>

public plugin_init()
{
    register_plugin("test it", "1.0", "testy");

    register_clcmd( "say /test", "test" )
}
public test( id )
    rg_join_team( id, TEAM_CT )
error which i get in LAN is:
L 02/02/2024 - 18:37:45: [ReAPI] ReGameDll: isn't available
L 02/02/2024 - 18:37:45: [AMXX] Displaying debug trace (plugin "test.amxx", version "1.0")
L 02/02/2024 - 18:37:45: [AMXX] Run time error 10: native error (native "rg_join_team")
L 02/02/2024 - 18:37:45: [AMXX] [0] tracer.sma::test (line 12)
So the question is, is it possible at all to use it on lan server? I have no clue what is causing this, is it regamell, is it rehlds etc..? Windows OS

Any solution is welcomed, thanks in advance.
 
Последнее редактирование:
Сообщения
649
Реакции
556
Помог
9 раз(а)
Я использую реапи+регейм на листен сервере с момента появления реапи. Думаю проблем не должно возникать.

Ну и вообще на новом клиенте который разрабатывает сайлент был включён рехлдс апи и теперь запускается все модули плагины.
 
Сообщения
146
Реакции
29
Maybe problem starts from Regamedll, because I cant go on lan with option: "game version". But im not sure why that, because there is nothing special with installing regamedll, just move/replace files

EDIT: Interestingly, "is_regamedll()" is giving 0, meaning atleast something works from reapi :)
 
Сообщения
146
Реакции
29
jocasrb I had a problem when I opened it via New Game server. Opening via Half Life Dedicated Server helped me.
thank you for the reply but unfortunately i get the same results...
Код:
[ReAPI] ReGameDll: isn't available
tried with HLDS launcher too, target:
...\common\Half-Life\hlds.exe" -game cstrike -insecure +maxplayers 32 +map de_dust2
comapred to New game or Halflife Dedicated Server - i got ReHLDS server confirmation, but for some reason Regamedll still doesnt work
 

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

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