MapAndreas won't load.
#1

Hi.

So here's my problem: I'm using MapAndreas v1.1, both heightmap files are in place (/scriptfiles) and the include and plugin as well. Everything compiles fine. But now when I try to initialize MapAndreas, it won't work, regardless of what mode I use. I can't use the full mode because of the high ram usage which causes lags on my server. Any help is well appreciated.

Cheers
Reply
#2

post your server_log here!
Reply
#3

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

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[22 - 19:38:33] 
[22 - 19:38:33] Server Plugins
[22 - 19:38:33] --------------
[22 - 19:38:33]  Loading plugin: crashdetect.so
[22 - 19:38:33]   Loaded.
[22 - 19:38:33]  Loading plugin: sscanf.so
[22 - 19:38:33] 

[22 - 19:38:33]  ===============================

[22 - 19:38:33]       sscanf plugin loaded.     

[22 - 19:38:33]          Version:  2.8.1        

[22 - 19:38:33]    © 2012 Alex "Y_Less" Cole  

[22 - 19:38:33]  ===============================

[22 - 19:38:33]   Loaded.
[22 - 19:38:33]  Loading plugin: FCNPC.so
[22 - 19:38:33] 
[22 - 19:38:33] -------------------------------------------------
[22 - 19:38:33]      FCNPC - Fully Controllable NPC v0.1 B8 R2
[22 - 19:38:33] 
[22 - 19:38:33] - Author: OrMisicL
[22 - 19:38:33] - Build:  Apr 27 2013 at 04:41:32
[22 - 19:38:33] -------------------------------------------------
[22 - 19:38:33] 
[22 - 19:38:33] Loading ...
[22 - 19:38:33] FCNPC Loaded.
[22 - 19:38:33] 
[22 - 19:38:33]   Loaded.
[22 - 19:38:33]  Loading plugin: nativechecker.so
[22 - 19:38:33]   Loaded.
[22 - 19:38:33]  Loading plugin: streamer.so
[22 - 19:38:33] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[22 - 19:38:33]   Loaded.
[22 - 19:38:33]  Loading plugin: mysql.so
[22 - 19:38:33]  SA:MP MySQL Plugin v2.1.1 Loaded.
[22 - 19:38:33]   Loaded.
[22 - 19:38:33] [MySQL] Thread running. Threadsafe: Yes.
[22 - 19:38:33]  Loading plugin: mapandreas.so
[22 - 19:38:33]   Loaded.
[22 - 19:38:33]  Loaded 7 plugins.

[22 - 19:38:33] 
[22 - 19:38:33] Ban list
[22 - 19:38:33] --------
[22 - 19:38:33]  Loaded: samp.ban
[22 - 19:38:33] 
[22 - 19:38:33] 
[22 - 19:38:33] Filterscripts
[22 - 19:38:33] ---------------
[22 - 19:38:33]   Loading filterscript 'adminspec.amx'...
[22 - 19:38:33] [crashdetect]: filterscripts/adminspec.amx does not contain debug information
[22 - 19:38:33]   Loading filterscript 'objecteditor.amx'...
[22 - 19:38:33] [crashdetect]: filterscripts/objecteditor.amx does not contain debug information
[22 - 19:38:33] -----------------------------------------------------------------------------

[22 - 19:38:33]                          > Drebin's Object Editor <                          
[22 - 19:38:33]                                    v1.0.0                                    
[22 - 19:38:33]                                                                              
[22 - 19:38:33]                                 ©Drebin 2012                                 
[22 - 19:38:33]                                                                              
[22 - 19:38:33] -----------------------------------------------------------------------------

[22 - 19:38:33]   Loading filterscript 'messagetest.amx'...
[22 - 19:38:33] [crashdetect]: filterscripts/messagetest.amx does not contain debug information
[22 - 19:38:33]   Loading filterscript 'title.amx'...
[22 - 19:38:33] [crashdetect]: filterscripts/title.amx does not contain debug information
[22 - 19:38:33]   Loading filterscript 'eventsystem.amx'...
[22 - 19:38:33] [crashdetect]: filterscripts/eventsystem.amx does not contain debug information
[22 - 19:38:33] 
--------------------------------------
[22 - 19:38:33] Event system by [AK]Nazgul
[22 - 19:38:33] --------------------------------------

[22 - 19:38:33]   Loading filterscript 'Cage.amx'...
[22 - 19:38:33] [crashdetect]: filterscripts/Cage.amx does not contain debug information
[22 - 19:38:33]  Cage system by [AK]Nazgul
[22 - 19:38:33]   Loading filterscript 'skinchanger.amx'...
[22 - 19:38:33] [crashdetect]: filterscripts/skinchanger.amx does not contain debug information
[22 - 19:38:33] 
--Admin Player Skin Changer Loaded

[22 - 19:38:33]   Loaded 7 filterscripts.

[22 - 19:38:33] [crashdetect]: gamemodes/mapeskalation.amx does not contain debug information

[22 - 19:38:33]    Error: Function not registered: 'MapAndreas_FindZ_For2DCoord'
[22 - 19:38:33] Running Mauzen's "Explosive Include V1.0"
[22 - 19:38:33] MapAndreas: 0, foreach: 0, Streamer: 1
[22 - 19:38:33] MapAndreas: plugin could not init!
[22 - 19:38:33] MapAndreas: check files and make sure you have enough memory!
[22 - 19:38:33]   Filterscript 'messagetest.amx' load failed.
[22 - 19:38:33] [MySQL] Connected (0) to 'gtaserver3667'@'10.0.0.5 via TCP/IP'.
[22 - 19:38:33] [MySQL] Server Version 5.5.31-0+wheezy1.
[22 - 19:38:33] Number of vehicle models: 20
The problem seems to be here:

[22 - 19:38:33] MapAndreas: plugin could not init!
[22 - 19:38:33] MapAndreas: check files and make sure you have enough memory!


But it makes no sense, I'm using ~50mb of ram and the minimal mode only needs ~9mb, also have I already been using more than 70mb. And I checked if the files are in place twice.
Reply
#4

Quote:
Originally Posted by Gamer_Z
View Post
if this is on a game server hosting the company can be limiting the RAM on per-process or per-user basis (that's totally possible with linux - easy as 123)

Ask your host if there is a RAM limit for your server (50 mb?).
No that's not the case, as I said, I have already been using more than 70mb and ram usage was displayed as 'everything is normal'.
Reply
#5

You might just want to ask them anyways- if you have already set the proper permissions and have everything in place, there's got to be a RAM limit. For the record, which file(s) do you have in the /scriptfiles directory?
Reply
#6

Well ok I'll contact them then.

The files in /scriptfiles:
  • SAfull.jpg
  • SAfull.hmap
  • SAmin.hmap
  • damage_bar.txt
  • YSI.tde
  • y_ini.txt
  • y_classes.txt
  • y_colours.png
  • ysi_readme.txt
Reply
#7

The filesize on "SAfull.hmap" is 72,000,000kb, right?
Reply
#8

Quote:
Originally Posted by RealCop228
View Post
The filesize on "SAfull.hmap" is 72,000,000kb, right?
Yeah well on my PC it's 72mb but when I upload it it's only 68.8mb?
Reply
#9

Bump. I have contacted my Host and they say I'm only using ~10% Memory, so this can't be the problem.
//Edit: I fixed it, removed all files from /scriptfiles and then only put safull.hmap there, works now.
Reply
#10

I am sure the only solution could be upgrade your VPS, so your server lags less then put it on full.

I know you will be spending more, but atleast your maps will run.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)