The map isn't loaded.. -
Negrosoo - 02.08.2009
I have a lot of custom maps, I put the PWN code in OnFilterLoad () but when I enter the game only the first custom maps are loaded and not the other..
There is a way to load all the maps?
Sorry for my english
Re: The map isn't loaded.. -
xCoder - 02.08.2009
the 0bject limit is 150 you need a streamer
Re: The map isn't loaded.. -
Negrosoo - 02.08.2009
IT DOSN'T WORKKKKKKKKK ARGHH
I tried to use MidoStream.
I put the inc in includes,
I compiled the pwn
I wrote MidoStream in server.cfg
And the server log says
Код:
----------
Loaded log file: "server_log.txt".
----------
SA:MP Dedicated Server
----------------------
v0.2X, ©2005-2008 SA:MP Team
[22:56:49]
[22:56:49] Server Plugins
[22:56:49] --------------
[22:56:49] Loaded 0 plugins.
[22:56:49]
[22:56:49] Filter Scripts
[22:56:49] ---------------
[22:56:49] Loading filter script 'MidoStream.amx'...
[22:56:49] Loading filter script 'mappe1.amx'...
[22:56:49] Loaded 2 filter scripts.
[22:56:49]
----------------------------------
[22:56:49] Mappe
[22:56:49] ----------------------------------
[22:57:20] Incomming connection: 127.0.0.1:1515
[22:57:20] [join] Guglio has joined the server (0:127.0.0.1)
[22:57:46] [part] Guglio has left the server (0:1)
The code of mappe1.amx is
Код:
#include <a_samp>
#include <MidoStream>
#define COLOR_RED 0xAA3333AA
#define COLOR_BLUE 0x33AAFFFF
#define COLOR_LIGHTBLUE 0x33AAFFFF
#if defined FILTERSCRIPT
forward AnnounceMSG();
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Mappe caricate");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Mappe caricate");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
// MOD
CreateStreamObject(8171, 66.667175, 2579.032959, 25.315647, 0.0000, 329.9197, 90.0000, 500);
CreateStreamObject(8171, 202.009659, 2579.020996, 25.306795, 0.0000, 329.9197, 90.0000, 500);
CreateStreamObject(8171, 337.927185, 2579.069580, 25.287834, 0.0000, 329.9197, 90.0000, 500);
CreateStreamObject(8171, 475.110565, 2579.068359, 25.329439, 0.0000, 329.9197, 90.0000, 500);
CreateStreamObject(4867, 323.924866, 2687.851318, 35.347015, 0.0000, 0.0000, 0.0000, 500);
CreateStreamObject(4867, 114.912338, 2687.892578, 35.316605, 0.0000, 0.0000, 0.0000, 500);
// EXC EXC
// EXC EXC
// EXC EXC
// MOD
return 1;
}
public OnPlayerDisconnect(playerid,reason)
{
MidoStreamDisconnect(playerid);
}
Re: The map isn't loaded.. -
BP13 - 02.08.2009
Midostream never worked for me seach "Y_Streamer" or "Double-O-Stream"
Re: The map isn't loaded.. -
Negrosoo - 02.08.2009
Is there any converter for double o stream?
Because I recive a lot of warnings and it dosn't work...
Sorry for my english
Re: The map isn't loaded.. -
BP13 - 02.08.2009
CreateStreamObject(ID,X,Y,Z,R1,R2,R3,Viewdistance, Interior);
Example:
CreateStreamObject(18289, 1814.255859, 3316.707275, 33.502274, 0.0000, 0.0000, 326.2500,250,0);
Just press ctrl + H in pawno.
Re: The map isn't loaded.. -
Negrosoo - 03.08.2009
And now where's the error....
The maps aren't loaded...
I put the scripts .inc in pawn/include.
The config is this:
Код:
echo Executing Server Config...
gamemode0 lvdm 1
lanmode 0
maxplayers 200
announce 0
anticheat 0
port 7777
hostname (Ї`·._.·[Guglio SaMp]·._.·ґЇ)
weburl
rcon_password ******
filterscripts mappe1
mapname Guglio Map
password
The GM is the standard GM lvdm with no edits.
This is the mappe1 pwn..
When i compile it I recive about 2000 warnings "number of arguments does not match definition"
But I follow the post of BP13
Код:
#include <a_samp>
#include <Double-O-Stream>
#define COLOR_RED 0xAA3333AA
#define COLOR_BLUE 0x33AAFFFF
#define COLOR_LIGHTBLUE 0x33AAFFFF
#if defined FILTERSCRIPT
forward AnnounceMSG();
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Mappe caricate");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Mappe caricate");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
DOS_OnGameModeInit();
CreateStreamObject(8171, 66.667175, 2579.032959, 25.315647, 0.0000, 329.9197, 90.0000);
CreateStreamObject(8171, 202.009659, 2579.020996, 25.306795, 0.0000, 329.9197, 90.0000);
CreateStreamObject(8171, 337.927185, 2579.069580, 25.287834, 0.0000, 329.9197, 90.0000);
CreateStreamObject(8171, 475.110565, 2579.068359, 25.329439, 0.0000, 329.9197, 90.0000);
//Exc exc exc....
//Exc exc exc....
//Exc exc exc....
//Exc exc exc....
return 1;
}
public OnPlayerConnect(playerid)
{
DOS_OnPlayerConnect(playerid);
return 1;
}
public OnPlayerDisconnect(playerid,reason)
{
DOS_OnPlayerDisconnect(playerid);
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if( !strcmp(cmdtext,"/ammazza_moto",true ))
{
SetPlayerPos(playerid, -1531.171875,320.364563,53.121315);
SendClientMessage(playerid,COLOR_RED,"Benvenuto!");
ResetPlayerWeapons(playerid);
return 1;
}
if (strcmp("/comandi", cmdtext, true, 10) == 0) {
SendClientMessage(playerid,COLOR_BLUE,"/ammazza_moto /guglio1 /guglio2 /guglio3 /Chilliad /LSS /EBA /MJ /Desertairport /Desertstunt /LVA /chiama");
ResetPlayerWeapons(playerid);
return 1;
}
return 1;
}
Re: The map isn't loaded.. -
BP13 - 03.08.2009
because you used the wrong format. I even posted a example and you still managed not to follow it.
Re: The map isn't loaded.. -
Negrosoo - 03.08.2009
asd..
I'm n00b in pwn...
I found this:
(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ)
CreateObject(18449, -773.759033, -2773.517578, 111.189949, 0.0000, 47.2690, 277.7349);
(ID,X,Y,Z,R1,R2,R3,Viewdistance,Interior);
CreateStreamObject(18449, -773.759033, -2773.517578, 111.189949, 0.0000, 47.2690, 277.7349, 250, 0);
Isn't this true?
I edited the code, there aren't warnings or errors.
All perfect but the maps dosn't load...
Re: The map isn't loaded.. -
Negrosoo - 03.08.2009
I can't edit the last post...
Now i'm using Einsteins Object Stream
But the problem is the same..
Are loaded only the maps in ground after a few of seconds and not the others...