Pomoc oko Voice Chat/a

Saiyan Započeo Saiyan
pre 5 godina
1,292
pregleda
14
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
Saiyan
Wheel Man
pre 5 godina
Problem(error/warning): kako da ubacim voice chat u svoj server i dali mogu testirat na kucnom serveru
Dio skripte: [ pawn ]vaš odgovor[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

filterscripts = ""  (string)

Server Plugins
--------------
Loading plugin: sampvoice
[sv:dbg:network:init] : module initializing...
[dbg:raknet:init] : module initializing...
[dbg:raknet:init] : installed hook to 'GetRakServerInterface' function (ptr:0044FAD0)
[dbg:raknet:init] : installed hook to 'OnPlayerDisconnect' function (ptr:0046D970)
[dbg:raknet:init] : module initialized
[sv:dbg:network:init] : module initialized
-------------------------------------------
  ___                __  __    _
  / __| __ _ _ __  _ _\ \ / /__ (_) __ ___
  \__ \/ _` | '  \| '_ \  / _ \| |/ _/ -_)
  |___/\__,_|_|_|_| .__/\_/\___/|_|\__\___|
                  |_|
-------------------------------------------
          SampVoice by MOR loaded
-------------------------------------------
  Loaded.
Loaded 1 plugins.

Started server on port: 7777, with maxplayers: 32 lanmode is ON.

Filterscripts
---------------
  Loaded 0 filterscripts.[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): https://imgur.com/mpidImI
AmexScript
Enforcer
pre 5 godina
bruda moj de popuni formular fino pa onda voice chat ubacuj  😉
ZmajkoPawno2k13
Shot Caller
pre 5 godina
ne znam...
ukoliko ima .dll tj windows verziju mozes...
Exnas.pwn
Godfather
pre 5 godina
Ovo je problem do samp voice-a, mislim da bi ti najbolje bilo da koristis filterskriptu


#include
#include

new SV_GSTREAM:gstream;
new SV_LSTREAM:lstream = { SV_NULL, ... };

public SV_VOID:OnPlayerActivationKeyPress(
SV_UINT:playerid,
SV_UINT:keyid
){
if (keyid == 0x42 && lstream) SvAttachSpeakerToStream(lstream, playerid);
if(IsPlayerAdmin(playerid))
{
if (keyid == 0x5A && gstream) SvAttachSpeakerToStream(gstream, playerid);
}
}

public SV_VOID:OnPlayerActivationKeyRelease(
SV_UINT:playerid,
SV_UINT:keyid
) {
if (keyid == 0x42 && lstream) SvDetachSpeakerFromStream(lstream, playerid);
if(IsPlayerAdmin(playerid))
{
if (keyid == 0x5A && gstream) SvDetachSpeakerFromStream(gstream, playerid);
}
}
public OnPlayerConnect(playerid) {

if (!SvGetVersion(playerid))
{
SendClientMessage(playerid,-1,"Instaliraj sampvoice dodatak!");
}
else if (!SvHasMicro(playerid))
{
SendClientMessage(playerid,-1,"Nije otkriven mikrofon!");
}
else if (lstream = SvCreateDLStreamAtPlayer(40.0, SV_INFINITY, playerid, 0xff0000ff, "L"))
{
SendClientMessage(playerid,-1,"Glasovni chat je ucitan!");
if (gstream) SvAttachListenerToStream(gstream, playerid);
SvAddKey(playerid, 0x42);
SvAddKey(playerid, 0x5A);
}
return 1;

}
public OnPlayerDisconnect(playerid, reason) {

if (lstream) {
SvDeleteStream(lstream);
lstream = SV_NULL;
}

return 1;

}
public OnFilterScriptInit()
{
gstream = SvCreateGStream(0xffff0000, "G"); // blue color
return 1;
}

Ovaj warring mora da bude nzm ni ja zasto
Saiyan
Wheel Man
pre 5 godina
evo server_log sve okej al InGame https://imgur.com/mpidImI mikrofona nema...

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[03:39:13] filterscripts = ""  (string)
[03:39:13]
[03:39:13] Server Plugins
[03:39:13] --------------
[03:39:13]  Loading plugin: sampvoice.dll
[03:39:13] [sv:dbg:network:init] : module initializing...
[03:39:13] [dbg:raknet:init] : module initializing...
[03:39:13] [dbg:raknet:init] : installed hook to 'GetRakServerInterface' function (ptr:0044FAD0)
[03:39:13] [dbg:raknet:init] : installed hook to 'OnPlayerDisconnect' function (ptr:0046D970)
[03:39:13] [dbg:raknet:init] : module initialized
[03:39:13] [sv:dbg:network:init] : module initialized
[03:39:13]  -------------------------------------------   
[03:39:13]    ___                __  __    _             
[03:39:13]  / __| __ _ _ __  _ _\ \ / /__ (_) __ ___   
[03:39:13]  \__ \/ _` | '  \| '_ \  / _ \| |/ _/ -_)
[03:39:13]  |___/\__,_|_|_|_| .__/\_/\___/|_|\__\___|
[03:39:13]                  |_|                         
[03:39:13]  -------------------------------------------   
[03:39:13]            SampVoice by MOR loaded             
[03:39:13]  -------------------------------------------   
[03:39:13]  Loaded.
[03:39:13]  Loaded 1 plugins.

[03:39:13]
[03:39:13] Filterscripts
[03:39:13] ---------------
[03:39:13]  Loaded 0 filterscripts.

[03:39:13] [sv:dbg:main:AmxLoad] : net game pointer (value:02479C1😎 received
[03:39:13] [sv:dbg:network:bind] : voice server running on port 53573
[03:39:13] Number of vehicle models: 0
Exnas.pwn
Godfather
pre 5 godina
Nisu ti dobri fajlovi u gta folderu
Saiyan
Wheel Man
pre 5 godina
//>> Vedran wrote on June 7, 2020, 1:17 pm:
Nisu ti dobri fajlovi u gta folderu


Hvala.
mislis od VoiceChat GTA ili SA:MP
Saiyan
Wheel Man
pre 5 godina
ovako stvari stoje sad na kucnom serveru radi voice chat ubacim na host ne radi

[21:20:42] Filterscripts
[21:20:42] ---------------
[21:20:42]  Loading filterscript 'UltraHost.amx'...
[21:20:42] [sv:dbg:main:AmxLoad] : net game pointer (value:0x8201c00) received
[21:20:42] [sv:dbg:network:bind] : voice server running on port 57556
[21:20:42]  Loading filterscript 'JVVC.amx'...
[21:20:42] [sv:dbg:main:AmxLoad] : failed to bind voice server
[21:20:42]  Loading filterscript 'dynamicaktor.amx'...
[21:20:42] [sv:dbg:main:AmxLoad] : failed to bind voice server
[21:20:42]

dali je moguce do hosta?
Exnas.pwn
Godfather
pre 5 godina
Naravno da je moguce, samp server mora da otvori port na masini
Saiyan
Wheel Man
pre 5 godina
//>> Vedran wrote on June 7, 2020, 8:43 pm:
Naravno da je moguce, samp server mora da otvori port na masini


Hvala na informaci.
Garadooo
Forum Don
pre 5 godina
Loading filterscript 'UltraHost.amx'...

UltraHost ne dozvoljava rp skripte jer trose previse resursa.
Saiyan
Wheel Man
pre 5 godina
danas sam uzo host i imam problem
[16:54:55]  Loading plugin: sampvoice.so
[16:54:55]  Failed (/lib/libc.so.6: version `GLIBC_2.17' not found (required by plugins/sampvoice.so))
[16:54:55]  Loaded 5 plugins.

[16:54:55]
[16:54:55] Filterscripts
[16:54:55] ---------------
[16:54:55]  Loading filterscript 'JVVC.amx'...
[16:54:55] Run time error 19: "File or function is not found"
[16:54:55]   SvAttachSpeakerToStream
[16:54:55]   SvDetachSpeakerFromStream
[16:54:55]   SvGetVersion
[16:54:55]   SvHasMicro
[16:54:55]   SvCreateDLStreamAtPlayer
[16:54:55]   SvAddKey
[16:54:55]   SvDeleteStream
[16:54:55]  Loaded 1 filterscripts.
musoviich
Hustler
pre 5 godina
Hosting kod kojeg si uzeo server, javi se supportu nek instaliraju taj libc koji fali, to nije do tebe 😉
Saiyan
Wheel Man
pre 5 godina
HVALA PUNO SVIMA RESENO <3  😎

LOCK

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava