PDA

View Full Version : Home server and hosted server


Emil123
02/05/2012, 09:25 PM
Why in my home server the all dialog's are working and on my hosted server they aren't working what is the problem what plugin/include do i needed or?????? please help me i'll give you 5 reps if you help me

Mark_Weston
02/05/2012, 09:29 PM
1.You need to use the newer plugins.
If its a windows server use .dll extention if its a linux server use .so extention.

ikey07
02/05/2012, 09:29 PM
You probably use some FS which isnt loaded on the localhost or some dialog have return 1; or dialog IDs is messed up

Emil123
03/05/2012, 08:52 AM
1.You need to use the newer plugins.
If its a windows server use .dll extention if its a linux server use .so extention.


Ok what plugins do i need for dialogs???

$$inSane
03/05/2012, 09:24 AM
u need 0.3d compatible plugins

Emil123
03/05/2012, 06:06 PM
ok but it's still not working

TzAkS.
03/05/2012, 06:07 PM
All dialogs is not working?
Or just a few?
Maybe you have a FS with same id dialog from GM.

Emil123
03/05/2012, 06:31 PM
ok but wait where to put the includes the plugins in the plugins folder and the includes?????? because it's hosted server and there is not pawno/ibclude ... in my GamePanel

Emil123
03/05/2012, 06:34 PM
All dialogs is not working?
Or just a few?
Maybe you have a FS with same id dialog from GM.
Few are working vut why on my Home server are working and in the hosted aren't ???? what is the problem? i will give the Dialog command too which i made

TzAkS.
03/05/2012, 07:28 PM
The includes is for your pc,in pawno and then compile it.
Look at server.cfg from Host and be sure that you don`t have other FilterScripts like you have in pc.
If some dialogs works and other not then you are using same dialog id`s and in gamemode and in one filterscript.

TheArcher
03/05/2012, 07:52 PM
Maybe your FS(es) aren't included on your server.cfg

E.g


echo Executing Server Config...
lanmode 0
rcon_password lolz
maxplayers 32
port 7777
hostname Myname
gamemode0 default 1
filterscripts cameditor dialog
announce 1
query 1
weburl None
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 5
logtimeformat [%H:%M:%S]
plugins mysql streamer whirlpool sscanf

remember that's the example so edit filterscripts field to your own.

Emil123
04/05/2012, 09:49 AM
the are included but where to put the include in which folder? because i have a hosted server and there is no pawno/include folder

Derek_Westbrook
04/05/2012, 09:52 AM
the are included but where to put the include in which folder? because i have a hosted server and there is no pawno/include folder

In the includes folder buddy.If its not work well I don't know..

Emil123
04/05/2012, 07:14 PM
it's not for the dialog id's i think... but i mean ,,few dialogs are working'' i think with the login... but no they aren't working the others ...
Please give me the plugins and includes what i need (because i putet some plugins but it's still not working) and say me where to put the include on my HOSTED server... not on my home server..,\

Emil123
05/05/2012, 06:44 PM
no help ? :( please help me
see my last comment what i commented have... please

SuperViper
05/05/2012, 06:52 PM
If you're using dialogs in a filterscript, you must have return 0; instead of return 1; at the bottom of your gamemode's OnDialogResponse.

Emil123
06/05/2012, 12:04 PM
no.. it's in my gamemode... and it's good but on my home server are working and on the hosted no that is the problem :(

Emil123
07/05/2012, 01:25 PM
please help me what should i gave to see or what should i make? please :( :'(

Emil123
07/05/2012, 02:28 PM
[15:32:27] *** Streamer Plugin: Include file version (0) does not match plugin version (0x26002) (script needs to be recompiled with the latest include file)
[15:32:27] *** Streamer Plugin: Obsolete or invalid native found (script needs to be recompiled with the latest include file)

Here is my server log when i start the hosted server

Jstylezzz
07/05/2012, 02:30 PM
[15:32:27] *** Streamer Plugin: Include file version (0) does not match plugin version (0x26002) (script needs to be recompiled with the latest include file)
[15:32:27] *** Streamer Plugin: Obsolete or invalid native found (script needs to be recompiled with the latest include file)

Here is my server log when i start the hosted server

Well, it basically tells you what to do...

Download the Plugin AND the includes, extract them, put your includes in your pawno>includes folrder, and then recompile it.

TzAkS.
07/05/2012, 02:32 PM
Your streamer.so is not mathing with streamer.inc
Download this streamer and compile the GM with the new streamer.inc and copy the streamer.so if is linux to plugins folder.

http://forum.sa-mp.com/showthread.php?t=102865

Emil123
07/05/2012, 04:13 PM
I downloaded the newest version and it's still having this error
[17:20:20] *** Streamer Plugin: Include file version (0) does not match plugin version (0x26002) (script needs to be recompiled with the latest include file)
[17:20:20] *** Streamer Plugin: Obsolete or invalid native found (script needs to be recompiled with the latest include file)

:'(

TzAkS.
07/05/2012, 04:17 PM
You didn`t compile it with the new include.
Copy the include to pawno/include replace the old one.
Go back,double click to pawno.exe select file,open, select your gm and compile it.

Emil123
07/05/2012, 04:20 PM
but i have a hosted server and there in the FTP i can't open .pwn files ....
I can only delete and put files and i deleted and puted the Gamemode and it still not work (:((:(:(:

TzAkS.
07/05/2012, 04:21 PM
:|
Download the pwn file to your pc,compile it and put the amx.
btw,your server is runing with .amx file not with pwn

Emil123
07/05/2012, 04:44 PM
it's not working :S :( i don't know what is the problem

dannyk0ed
07/05/2012, 05:24 PM
Same goes for me, The dialog works on local, not VoltHost.

Emil123
07/05/2012, 07:09 PM
Same goes for me, The dialog works on local, not VoltHost.

ohh :(

Emil123
09/05/2012, 11:40 AM
i know i'm spamming but i need help and dannyk0ed too

Think
09/05/2012, 12:07 PM
Try the dialogs with a new script, with just a dialog in it.

If it doesnt work, contact your host about this problem because it is probably their server.
If it does work, try checking all your dialog script or post everything here for us to find the glitch.

Emil123
09/05/2012, 03:24 PM
i maked it as a Filterscripts and it;s not working :(

Here is my porting dialog


at the top..
#define gotodialog1 2713
#define gotodialog2 2714

in the command
//==========================gotokomanda============= ===============
if (strcmp("/teleport", cmdtext, true, 10) == 0 || strcmp("/tp", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, gotodialog1, DIALOG_STYLE_LIST, "Izberete {33FF33}Lokacija{FFFFFF}","Los santos\nSan Fierro\nLas Venturas\nAerodrom\nBurg\nCrash\nOstrov\nDeathMatc h Sala\nNrg Trka\nAvion\nZgrada\nKafic\n{FF0000}Sledna Strana{FFFFFF}", "Teleportiraj", "Otkazi");
return 1;
}



and OnDialogResponse..
if(dialogid == gotodialog1)
{
if(response)
{
if(listitem == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3); // Los Santos
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 1529.6,-1691.2,13.3);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste !");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda !");
}
}
}
if(listitem == 1)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, -1417.0,-295.8,14.1); // San Fierro
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, -1417.0,-295.8,14.1);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 2)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1699.2, 1435.1, 10.7); // Las Venturas
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 1699.2, 1435.1, 10.7);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 3)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1888.7731,-2637.9573,13.5469); // Aerodrom
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 1888.7731,-2637.9573,13.5469);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 4)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1177.7841,-911.4261,43.2801); // Burg
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 1177.7841,-911.4261,43.2801);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 5)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, -1197.0713,-940.0720,129.2188); // Crash
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, -1197.0713,-940.0720,129.2188);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 6)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1455.3378,-1065.7596,213.3828); // Zgrada
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 1455.3378,-1065.7596,213.3828);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 7)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 497.8030,-1842.3256,4.7003); // Kafic
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 497.8030,-1842.3256,4.7003);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 12)
{
ShowPlayerDialog(playerid, gotodialog2, DIALOG_STYLE_LIST, "Izberete {33FF33}Lokacija{FFFFFF}","Banka\nAmmunation\nCivili\nPlaza\nSudarni Kolicki\nObelezi Mesto\nIdi do obelezanoto mesto\nKosarka", "Teleportiraj", "Otkazi");

return 1;

}
}
}

if(dialogid == gotodialog2)
{
if(response)
{
if(listitem == 0)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1460.3458,-1023.0000,23.8281); // Banka
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 1460.3458,-1023.0000,23.8281);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste !");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda !");
}
}
}
if(listitem == 1)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1366.2125,-1279.6920,13.5469); //Ammunation
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 1366.2125,-1279.6920,13.5469);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste !");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda !");
}
}
}
if(listitem == 2)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 892.8662,-1638.0681,14.9476); // Civili
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 892.8662,-1638.0681,14.9476);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 3)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 253.7473,-1833.8433,3.6516); // Plaza
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 253.7473,-1833.8433,3.6516);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 4)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1910.5071,-1808.0359,13.5469); // Sudarni Kolicki
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 1910.5071,-1808.0359,13.5469);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 5)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 3)
{
GetPlayerPos(playerid, TeleportDest[playerid][0],TeleportDest[playerid][1],TeleportDest[playerid][2]);
SendClientMessage(playerid, COLOR_WHITE, " Uspesno obelezavte mesto");
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 6)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 3)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, TeleportDest[playerid][0],TeleportDest[playerid][1],TeleportDest[playerid][2]);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, TeleportDest[playerid][0],TeleportDest[playerid][1],TeleportDest[playerid][2]);
}
SendClientMessage(playerid, COLOR_INFO, "INFO{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
}
if(listitem == 7)
{

if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 2782.3555,-2008.9862,13.5547); // Kosarka
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 2782.3555,-2008.9862,13.5547);
}
SendClientMessage(playerid, COLOR_INFO, "INFO:{FFFFFF} Teleportirani ste");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:{FFFFFF} Ne ste ovlasteni za ova komanda!");
}
}
return 1;

}
}
}