0.3.7 "update" GameModeInit stopped working -
AliveBG - 01.05.2015
After I updated to 0.3.7 my server, OnGameModeInit stopped working for my VPS linux hosting. I started the gamemode under my PC at windows 8, it does work. I checked if it's from a plugin. Reinstalled all of them (sscanf, streamer, dns). Still it doesn't read "Mode" is Unknown. DisableInteriorEnterExits(); as well
My server.cfg
PHP код:
echo Executing Server Config...
lanmode 0
rcon_password lalalala123
maxplayers 200
port 7777
hostname ServerName
gamemode0 sed 1
filterscripts anims ACrash VehicleModProtection
announce 1
query 1
weburl sedbg.info
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
plugins streamer.so sscanf.so dns.so
logtimeformat [%H:%M:%S]
rcon 0
language Bulgarian
The server VPS is debian
Re: 0.3.7 "update" GameModeInit stopped working -
LMaxCo - 01.05.2015
Show us your change logs
Re: 0.3.7 "update" GameModeInit stopped working -
AliveBG - 01.05.2015
PHP код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[14:49:02]
[14:49:02] Server Plugins
[14:49:02] --------------
[14:49:02] Loading plugin: streamer.so
[14:49:02]
*** Streamer Plugin v2.7.5.2 by Incognito loaded ***
[14:49:02] Loaded.
[14:49:02] Loading plugin: sscanf.so
[14:49:02]
[14:49:02] ===============================
[14:49:02] sscanf plugin loaded.
[14:49:02] Version: 2.8.1
[14:49:02] (c) 2012 Alex "******" Cole
[14:49:02] ===============================
[14:49:02] Loaded.
[14:49:02] Loading plugin: dns.so
[14:49:02]
*** DNS Plugin v2.4 by Incognito loaded ***
[14:49:02] Loaded.
[14:49:02] Loaded 3 plugins.
[14:49:02]
[14:49:02] Ban list
[14:49:02] --------
[14:49:02] Loaded: samp.ban
[14:49:02]
[14:49:02]
[14:49:02] Filterscripts
[14:49:02] ---------------
[14:49:02] Loading filterscript 'anims.amx'...
[14:49:02] Loading filterscript 'ACrash.amx'...
[14:49:02]
--------------------------------------
[14:49:02] Loaded Small protection (v2.0) against Exception 0xC0000005 at 0x7F120E
[14:49:02] --------------------------------------
[14:49:02] Loading filterscript 'VehicleModProtection.amx'...
[14:49:02]
--------------------------------------
[14:49:02] Vehicle Mod Protection by Jameskmonger and JernejL
[14:49:02] --------------------------------------
[14:49:02] Loaded 3 filterscripts.
[14:49:02]
[14:49:02]
[14:49:02]
[14:49:02] =======================================
[14:49:02] | |
[14:49:02] | YSI version 3.09.0684 |
[14:49:02] | By Alex "******" Cole |
[14:49:02] | |
[14:49:02] =======================================
[14:49:02]
[14:49:02]
[14:49:02]
[14:49:02] .:: Street Energy Drift ::.
[14:49:02] Number of vehicle models: 3
Re: 0.3.7 "update" GameModeInit stopped working -
Luis- - 01.05.2015
My gamemode is working and is using 0.3.7 so it isn't the new versions problem, it's on your end.
Re: 0.3.7 "update" GameModeInit stopped working -
Battlezone - 01.05.2015
Check inside your gamemode if there are outdated callbacks/functions and update it with new 0.3.7 functions
Re: 0.3.7 "update" GameModeInit stopped working -
AliveBG - 01.05.2015
Yea, right it's from the gamemode, but why it's working under Windows, but it doesn't under linux.
PHP код:
#include <a_samp>
#include <Dini>
#include <YSI\y_ini>
#include <streamer>
#include <GetVehicleColor>
#include <fuckCleo>
#include <GPDID>
#include <foreach>
#include <sscanf2>
#include <dns>
#include <moneyprotect>
#pragma dynamic 20000000
In the begin of my gamemode
Re: 0.3.7 "update" GameModeInit stopped working -
Luis- - 01.05.2015
You sure you have the main() { } in your gamemode?
Re: 0.3.7 "update" GameModeInit stopped working -
AliveBG - 01.05.2015
I do
Re: 0.3.7 "update" GameModeInit stopped working -
TakeiT - 01.05.2015
How do you know OnGameModeInit is not being called? Are you sure it isnt something else?
Put a printf statement under ongamemodeinit at the very top to see if it is being called.
EDIT: I just re-read that you said unknown gamemode. Have you tried another gamemode to see?
Re: 0.3.7 "update" GameModeInit stopped working -
AliveBG - 01.05.2015
one thing I mind it's from the folders of the files.
PHP код:
#define House_File "House/%d.ini"
#define FILE_FOR_PLAYER "House/Player/%s.ini"
The questioned house files are in /scriptfiles/House
The reason I think so at windows it's fully working, at the VPS hosting (Linux) is not.