Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Saiyan poslato Jun 06, 2020, 15:03:11 POSLE PODNE

Naslov: Pomoc oko Voice Chat/a
Poruka od: Saiyan poslato Jun 06, 2020, 15:03:11 POSLE PODNE
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
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: Kamberovic poslato Jun 06, 2020, 16:34:24 POSLE PODNE
bruda moj de popuni formular fino pa onda voice chat ubacuj  ;)
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: ZmajkoPawno poslato Jun 06, 2020, 17:36:00 POSLE PODNE
ne znam...
ukoliko ima .dll tj windows verziju mozes...
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: __vedran.xyz77 poslato Jun 06, 2020, 21:25:35 POSLE PODNE
Ovo je problem do samp voice-a, mislim da bi ti najbolje bilo da koristis filterskriptu
[pawn]

#include <a_samp>
#include <sampvoice>




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




public SV_VOID:OnPlayerActivationKeyPress(
   SV_UINT:playerid,
   SV_UINT:keyid
){
   if (keyid == 0x42 && lstream[playerid]) SvAttachSpeakerToStream(lstream[playerid], 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[playerid]) SvDetachSpeakerFromStream(lstream[playerid], 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[playerid] = 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[playerid]) {
      SvDeleteStream(lstream[playerid]);
      lstream[playerid] = SV_NULL;
   }


   return 1;


}
public OnFilterScriptInit()
{
   gstream = SvCreateGStream(0xffff0000, "G"); // blue color
   return 1;   
}[/pawn]
Ovaj warring mora da bude nzm ni ja zasto
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: Saiyan poslato Jun 07, 2020, 03:46:33 PRE PODNE
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:02479C18) received
[03:39:13] [sv:dbg:network:bind] : voice server running on port 53573
[03:39:13] Number of vehicle models: 0
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: __vedran.xyz77 poslato Jun 07, 2020, 15:17:26 POSLE PODNE
Nisu ti dobri fajlovi u gta folderu
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: Saiyan poslato Jun 07, 2020, 16:01:35 POSLE PODNE
Citat: //>> Vedran poslato Jun 07, 2020, 15:17:26 POSLE PODNE
Nisu ti dobri fajlovi u gta folderu


Hvala.
mislis od VoiceChat GTA ili SA:MP
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: Saiyan poslato Jun 07, 2020, 21:36:50 POSLE PODNE
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?
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: __vedran.xyz77 poslato Jun 07, 2020, 22:43:29 POSLE PODNE
Naravno da je moguce, samp server mora da otvori port na masini
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: Saiyan poslato Jun 07, 2020, 23:13:43 POSLE PODNE
Citat: //>> Vedran poslato Jun 07, 2020, 22:43:29 POSLE PODNE
Naravno da je moguce, samp server mora da otvori port na masini


Hvala na informaci.
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: Galardo poslato Jun 08, 2020, 00:47:07 PRE PODNE
 Loading filterscript 'UltraHost.amx'...

UltraHost ne dozvoljava rp skripte jer trose previse resursa.
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: Saiyan poslato Jun 08, 2020, 22:56:15 POSLE PODNE
danas sam uzo host i imam problem


[pawn][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] [debug] Run time error 19: "File or function is not found"
[16:54:55] [debug]  SvAttachSpeakerToStream
[16:54:55] [debug]  SvDetachSpeakerFromStream
[16:54:55] [debug]  SvGetVersion
[16:54:55] [debug]  SvHasMicro
[16:54:55] [debug]  SvCreateDLStreamAtPlayer
[16:54:55] [debug]  SvAddKey
[16:54:55] [debug]  SvDeleteStream
[16:54:55]   Loaded 1 filterscripts.
[/pawn]
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: musoviich poslato Jun 09, 2020, 14:16:14 POSLE PODNE
Hosting kod kojeg si uzeo server, javi se supportu nek instaliraju taj libc koji fali, to nije do tebe ;)
Naslov: Odg: Pomoc oko Voice Chat/a
Poruka od: Saiyan poslato Jun 10, 2020, 21:00:55 POSLE PODNE
HVALA PUNO SVIMA RESENO <3  8)



LOCK