Author Topic: Need Help? Ask it here!  (Read 92349 times)

0 Members and 1 Guest are viewing this topic.

Offline NiGHTM4RE

  • SA-MP Retirees
  • *
  • *
  • Posts: 1015
  • Bow down or draw your sawns...
    • Awards
Re: Need Help? Ask it here!
« Reply #30 on: November 26, 2010, 11:01:06 PM »
Ohh thanks, that worked. :)
NiGHTM4RE's YouTube Channel
Find me in The Real World crypto investing campus.

Offline Bikerr

  • SA-MP Retirees
  • *
  • *****
  • Posts: 237
  • Get busy living, or get busy dying.
    • Awards
Re: Need Help? Ask it here!
« Reply #31 on: February 01, 2012, 02:31:07 PM »
Hey guy's, I'm trying to gain some scripting knowledge, but I've runned into a wall already.

First thing tut's say me to do, is creating a testing server. So ive configured my SFG file (filled in the hostname, pass, and the gamemode), started up pawno, clicked on New File, saved it to gamemodes... and then there's a prob.

When i click the compile button for the first time, it asks where to save it, so i save it to gamemodes. Right after clicking ok, it starts up sa:mp. Sa:mp cant connect to the server (port :7777), so i close it, then i notice that the compile window from pawno is empty (u know, that pop up window when u hit Compile). My saved file hasn't been compiled to an AMX file apparently. So, I click compile again, just compile, not compile and run, but it starts up samp again. Same problem, cant connect... Checked my SFG file again, made sure the gamemode was named after my new saved gamemode, and tried a few more times. Just won't work :/

I think it's my fault somehow, but can't figure what I did wrong.


please help! My goal is to eventually help develop LW, but I'm failing allrdy -.-


Greetz,
Bikerr

  Click signature to enlarge and admire!

Quote
"plzz notify me when entering dejo" -sebi.RADIO



Offline [eVo]PvtBenny

  • SA-MP Donator
  • *
  • Posts: 690
    • Awards
Re: Need Help? Ask it here!
« Reply #32 on: February 01, 2012, 02:33:56 PM »
You need to openup a port in your router i think ? Correct me if im wrong though.

Offline Bikerr

  • SA-MP Retirees
  • *
  • *****
  • Posts: 237
  • Get busy living, or get busy dying.
    • Awards
Re: Need Help? Ask it here!
« Reply #33 on: February 01, 2012, 02:39:14 PM »
Why do they alway's leave importand info out of tut's I wonder o.-

Thanks Wild, I'll check it

  Click signature to enlarge and admire!

Quote
"plzz notify me when entering dejo" -sebi.RADIO



Offline Habdel

  • SA-MP Server Admin
  • SA-MP Developer
  • *
  • *
  • Posts: 302
    • Awards
Re: Need Help? Ask it here!
« Reply #34 on: February 01, 2012, 03:46:28 PM »
Hey guy's, I'm trying to gain some scripting knowledge, but I've runned into a wall already.

First thing tut's say me to do, is creating a testing server. So ive configured my SFG file (filled in the hostname, pass, and the gamemode), started up pawno, clicked on New File, saved it to gamemodes... and then there's a prob.

When i click the compile button for the first time, it asks where to save it, so i save it to gamemodes. Right after clicking ok, it starts up sa:mp. Sa:mp cant connect to the server (port :7777), so i close it, then i notice that the compile window from pawno is empty (u know, that pop up window when u hit Compile). My saved file hasn't been compiled to an AMX file apparently. So, I click compile again, just compile, not compile and run, but it starts up samp again. Same problem, cant connect... Checked my SFG file again, made sure the gamemode was named after my new saved gamemode, and tried a few more times. Just won't work :/

I think it's my fault somehow, but can't figure what I did wrong.


please help! My goal is to eventually help develop LW, but I'm failing allrdy -.-


Greetz,
Bikerr
maybe you havent closed the line with a "}" or a "return 1;" or a "return 0;"

Offline Bikerr

  • SA-MP Retirees
  • *
  • *****
  • Posts: 237
  • Get busy living, or get busy dying.
    • Awards
Re: Need Help? Ask it here!
« Reply #35 on: February 01, 2012, 05:04:16 PM »
Well I haven't wrote any script yet, just the default u get when u click on 'New File' in Pawno. But that's basicly an empty server right? It should work :/

  Click signature to enlarge and admire!

Quote
"plzz notify me when entering dejo" -sebi.RADIO



Offline Faraday

  • The Scranton Strangler
  • SA-MP Retirees
  • *
  • *
  • *
  • Posts: 2599
  • Super[M]unkey
    • Awards
Re: Need Help? Ask it here!
« Reply #36 on: February 01, 2012, 05:09:36 PM »
Try starting the server with a script that comes with the server bundle. I don't know what the new.pwn file gives when you click "new" since I don't use pawno to write code.
There's a few basic stuff like main{ } that your script needs to contain in order for the compiler to properly compile it.

Offline PawnFox

  • SA-MP
  • SA-MP Retirees
  • *
  • Posts: 1998
  • 187 Co.
    • Awards
Re: Need Help? Ask it here!
« Reply #37 on: February 01, 2012, 05:39:01 PM »
ohai  ;D

there is new.pwn
Code: [Select]
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}

public OnPlayerConnect(playerid)
{
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}

public OnPlayerUpdate(playerid)
{
return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}

If you want run new.pwn as an gamemode, just delete al codes from #if defined FILTERSCRIPT to #endif and compile it ...

Offline Bikerr

  • SA-MP Retirees
  • *
  • *****
  • Posts: 237
  • Get busy living, or get busy dying.
    • Awards
Re: Need Help? Ask it here!
« Reply #38 on: February 01, 2012, 06:06:00 PM »
Hmm, I think my problems are caused by an error in the pawno program. It says "unable to compile" everytime.
Even when I delete what Pawnfox just said.

btw, I should save it in the gamemode map that's in the server package right? not somewhere in the GTA SA map?


Code: [Select]
echo Executing Server Config...
lanmode 0
rcon_password 11211
maxplayers 32
port 7777
hostname SA-MP 0.3 Bikerr's Sandbox
gamemode0 Test 1
filterscripts baseaf gl_actions gl_property gl_realtime gl_mapicon ls_elevator
announce 0
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]

Code: [Select]
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}

public OnPlayerConnect(playerid)
{
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}

public OnPlayerUpdate(playerid)
{
return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}

This is what I've got...

  Click signature to enlarge and admire!

Quote
"plzz notify me when entering dejo" -sebi.RADIO



Offline PawnFox

  • SA-MP
  • SA-MP Retirees
  • *
  • Posts: 1998
  • 187 Co.
    • Awards
Re: Need Help? Ask it here!
« Reply #39 on: February 01, 2012, 06:29:53 PM »
For exemple.

Save that code in Server Folder/Gamemodes as test.pwn, then run the server ...

Offline Bikerr

  • SA-MP Retirees
  • *
  • *****
  • Posts: 237
  • Get busy living, or get busy dying.
    • Awards
Re: Need Help? Ask it here!
« Reply #40 on: February 01, 2012, 06:45:26 PM »
Doesn't work either, and btw it needs to be an AMX file right? otherwise it won't load.

Btw, do u need to start the script through Pawno, or with the samp-server.exe file..? When I try samp-server.exe, a pop up shows for les then a second, and disappears again. :/

please check if my SFG file is ok, posted in the previous post.

Man, hate it when things don't work as they should:/


Thanks for all your help and hints so far guys, appreciate :)

  Click signature to enlarge and admire!

Quote
"plzz notify me when entering dejo" -sebi.RADIO



Offline PawnFox

  • SA-MP
  • SA-MP Retirees
  • *
  • Posts: 1998
  • 187 Co.
    • Awards
Re: Need Help? Ask it here!
« Reply #41 on: February 01, 2012, 06:55:42 PM »
Well, in the SA-MP Server Folder its a doccument called server_log, show us what is it in.

Offline Bikerr

  • SA-MP Retirees
  • *
  • *****
  • Posts: 237
  • Get busy living, or get busy dying.
    • Awards
Re: Need Help? Ask it here!
« Reply #42 on: February 01, 2012, 07:16:54 PM »
Code: [Select]
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:01:13] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:10:54]
[14:10:54] Server Plugins
[14:10:54] --------------
[14:10:54]  Loaded 0 plugins.

[14:10:54]
[14:10:54] Filterscripts
[14:10:54] ---------------
[14:10:54]   Loading filterscript 'baseaf.amx'...
[14:10:54]
--Base FS loaded.

[14:10:54]   Loading filterscript 'gl_actions.amx'...
[14:10:54]   Loading filterscript 'gl_property.amx'...
[14:10:54]
-----------------------------------
[14:10:54] Grand Larceny Property Filterscript
[14:10:54] -----------------------------------

[14:10:54]   Loading filterscript 'gl_realtime.amx'...
[14:10:54]   Loading filterscript 'gl_mapicon.amx'...
[14:10:54]   Loading filterscript 'ls_elevator.amx'...
[14:10:54]   Loaded 6 filterscripts.

[14:10:54] Loaded 3 vehicles from: vehicles/trains.txt
[14:10:54] Loaded 3 vehicles from: vehicles/pilots.txt
[14:10:54] Loaded 15 vehicles from: vehicles/lv_law.txt
[14:10:54] Loaded 39 vehicles from: vehicles/lv_airport.txt
[14:10:54] Loaded 255 vehicles from: vehicles/lv_gen.txt
[14:10:54] Loaded 38 vehicles from: vehicles/sf_law.txt
[14:10:54] Loaded 35 vehicles from: vehicles/sf_airport.txt
[14:10:54] Loaded 353 vehicles from: vehicles/sf_gen.txt
[14:10:54] Loaded 24 vehicles from: vehicles/ls_law.txt
[14:10:54] Loaded 37 vehicles from: vehicles/ls_airport.txt
[14:10:54] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt
[14:10:54] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt
[14:10:54] Loaded 71 vehicles from: vehicles/whetstone.txt
[14:10:54] Loaded 168 vehicles from: vehicles/bone.txt
[14:10:54] Loaded 61 vehicles from: vehicles/flint.txt
[14:10:54] Loaded 96 vehicles from: vehicles/tierra.txt
[14:10:54] Loaded 96 vehicles from: vehicles/red_county.txt
[14:10:54] Total vehicles from files: 1781
[14:10:54] Reading File: blank
[14:10:54] Reading File: properties/houses.txt
[14:10:54] Reading File: properties/businesses.txt
[14:10:54] Reading File: properties/banks.txt
[14:10:54] Reading File: properties/police.txt
[14:10:54]
---------------------------------------
[14:10:54] Running Grand Larceny - by the SA-MP team

[14:10:54] ---------------------------------------

[14:10:54] Number of vehicle models: 173
[14:11:33] --- Server Shutting Down.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:19:12]
[14:19:12] Server Plugins
[14:19:12] --------------
[14:19:12]  Loaded 0 plugins.

[14:19:12] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:19:12] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:19:16]
[14:19:16] Server Plugins
[14:19:16] --------------
[14:19:16]  Loaded 0 plugins.

[14:19:17] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:19:17] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:19:17]
[14:19:17] Server Plugins
[14:19:17] --------------
[14:19:17]  Loaded 0 plugins.

[14:19:17] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:19:17] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:19:19]
[14:19:19] Server Plugins
[14:19:19] --------------
[14:19:19]  Loaded 0 plugins.

[14:19:19] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:19:19] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:19:28]
[14:19:28] Server Plugins
[14:19:28] --------------
[14:19:28]  Loaded 0 plugins.

[14:19:28] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:19:28] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:28:45]
[14:28:45] Server Plugins
[14:28:45] --------------
[14:28:45]  Loaded 0 plugins.

[14:28:45]
[14:28:45] Filterscripts
[14:28:45] ---------------
[14:28:45]   Loading filterscript 'baseaf.amx'...
[14:28:45]
--Base FS loaded.

[14:28:45]   Loading filterscript 'gl_actions.amx'...
[14:28:45]   Loading filterscript 'gl_property.amx'...
[14:28:45]
-----------------------------------
[14:28:45] Grand Larceny Property Filterscript
[14:28:45] -----------------------------------

[14:28:45]   Loading filterscript 'gl_realtime.amx'...
[14:28:45]   Loading filterscript 'gl_mapicon.amx'...
[14:28:45]   Loading filterscript 'ls_elevator.amx'...
[14:28:45]   Loaded 6 filterscripts.

[14:28:45] Reading File: blank
[14:28:45] Reading File: properties/houses.txt
[14:28:45] Reading File: properties/businesses.txt
[14:28:45] Reading File: properties/banks.txt
[14:28:45] Reading File: properties/police.txt
[14:28:45]
----------------------------------
[14:28:45]   Running LVDM ~MoneyGrub

[14:28:45]          Coded By
[14:28:45]             Jax
[14:28:45] ----------------------------------

[14:28:45] Number of vehicle models: 48
[14:29:10] --- Server Shutting Down.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:40:27]
[14:40:27] Server Plugins
[14:40:27] --------------
[14:40:27]  Loaded 0 plugins.

[14:40:27] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:40:27] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:40:29]
[14:40:29] Server Plugins
[14:40:29] --------------
[14:40:29]  Loaded 0 plugins.

[14:40:29] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:40:29] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:40:36]
[14:40:36] Server Plugins
[14:40:36] --------------
[14:40:36]  Loaded 0 plugins.

[14:40:36] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:40:36] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:40:37]
[14:40:37] Server Plugins
[14:40:37] --------------
[14:40:37]  Loaded 0 plugins.

[14:40:37] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:40:37] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:40:39]
[14:40:39] Server Plugins
[14:40:39] --------------
[14:40:39]  Loaded 0 plugins.

[14:40:39] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:40:39] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:41:55]
[14:41:55] Server Plugins
[14:41:55] --------------
[14:41:55]  Loaded 0 plugins.

[14:41:55] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:41:55] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:42:12]
[14:42:12] Server Plugins
[14:42:12] --------------
[14:42:12]  Loaded 0 plugins.

[14:42:12] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:42:12] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:42:14]
[14:42:14] Server Plugins
[14:42:14] --------------
[14:42:14]  Loaded 0 plugins.

[14:42:14] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:42:14] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:42:14]
[14:42:14] Server Plugins
[14:42:14] --------------
[14:42:14]  Loaded 0 plugins.

[14:42:14] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:42:14] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:46:01]
[14:46:01] Server Plugins
[14:46:01] --------------
[14:46:01]  Loaded 0 plugins.

[14:46:01] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:46:01] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:46:03]
[14:46:03] Server Plugins
[14:46:03] --------------
[14:46:03]  Loaded 0 plugins.

[14:46:03] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:46:03] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:49:04]
[14:49:04] Server Plugins
[14:49:04] --------------
[14:49:04]  Loaded 0 plugins.

[14:49:04] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:49:04] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[14:49:09]
[14:49:09] Server Plugins
[14:49:09] --------------
[14:49:09]  Loaded 0 plugins.

[14:49:09] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:49:09] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[15:57:01]
[15:57:01] Server Plugins
[15:57:01] --------------
[15:57:01]  Loaded 0 plugins.

[15:57:01] I couldn't load any gamemode scripts. Please verify your server.cfg
[15:57:01] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[15:57:02]
[15:57:02] Server Plugins
[15:57:02] --------------
[15:57:02]  Loaded 0 plugins.

[15:57:02] I couldn't load any gamemode scripts. Please verify your server.cfg
[15:57:02] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[15:57:03]
[15:57:03] Server Plugins
[15:57:03] --------------
[15:57:03]  Loaded 0 plugins.

[15:57:03] I couldn't load any gamemode scripts. Please verify your server.cfg
[15:57:03] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[15:57:03]
[15:57:03] Server Plugins
[15:57:03] --------------
[15:57:03]  Loaded 0 plugins.

[15:57:03] I couldn't load any gamemode scripts. Please verify your server.cfg
[15:57:03] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[15:57:04]
[15:57:04] Server Plugins
[15:57:04] --------------
[15:57:04]  Loaded 0 plugins.

[15:57:04] I couldn't load any gamemode scripts. Please verify your server.cfg
[15:57:04] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[15:57:05]
[15:57:05] Server Plugins
[15:57:05] --------------
[15:57:05]  Loaded 0 plugins.

[15:57:05] I couldn't load any gamemode scripts. Please verify your server.cfg
[15:57:05] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[15:57:05]
[15:57:05] Server Plugins
[15:57:05] --------------
[15:57:05]  Loaded 0 plugins.

[15:57:05] I couldn't load any gamemode scripts. Please verify your server.cfg
[15:57:05] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[15:57:06]
[15:57:06] Server Plugins
[15:57:06] --------------
[15:57:06]  Loaded 0 plugins.

[15:57:07] I couldn't load any gamemode scripts. Please verify your server.cfg
[15:57:07] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[19:40:19]
[19:40:19] Server Plugins
[19:40:19] --------------
[19:40:19]  Loaded 0 plugins.

[19:40:19] I couldn't load any gamemode scripts. Please verify your server.cfg
[19:40:19] It needs a gamemode0 line at the very least.

This is in it, i've tried to save a few times, and deleting some again.

  Click signature to enlarge and admire!

Quote
"plzz notify me when entering dejo" -sebi.RADIO



Offline Bikerr

  • SA-MP Retirees
  • *
  • *****
  • Posts: 237
  • Get busy living, or get busy dying.
    • Awards
Re: Need Help? Ask it here!
« Reply #43 on: February 01, 2012, 07:21:30 PM »
srry for double post, but this has to do with it, according to the server logs:

[19:40:19] I couldn't load any gamemode scripts. Please verify your server.cfg[19:40:19] It needs a gamemode0 line at the very least.

So, I've set 'Test' as gamemode, since that's how i named my blanc test script. But duo to compiling failure it won't be made into an AMX file, and thus won't be recognized s an gamemode?

I can't put my finger on the problem :/

  Click signature to enlarge and admire!

Quote
"plzz notify me when entering dejo" -sebi.RADIO



Offline Habdel

  • SA-MP Server Admin
  • SA-MP Developer
  • *
  • *
  • Posts: 302
    • Awards
Re: Need Help? Ask it here!
« Reply #44 on: February 01, 2012, 07:28:02 PM »
Bikerr just redownload SA-MP 0.3d R2 Windows Server
maybe something is missing in pawno
http://www.sa-mp.com/download.php