Raised This Month: $ Target: $400
 0% 

plugin crashes linux but not windows servers


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 04-30-2012 , 05:51   plugin crashes linux but not windows servers
Reply With Quote #1

Hey,

I was about to release my knifemod plugin but before i did that i wanted to see if it gave any porblems on my rented server,
wich it does...

My linux server keeps crashing with this plugin.
This happens only when i try to run my knifemodplugin on the linux server, but when i run the same plugin on my dedicated server (from steam tools) then the plugin loads without a single warning or error (even the compiler doesnt give me a warning), I also put debug after the plugin but it still didnt tell me anything. my dedicated sevrer never crashes with the plugin :s


Does anyone know what might be causing this?
I really need some help on this one.

EDIT:

I have been told that the only diffrence between a local dedicated server and the servers from my host is that dedicated is windows and my host linux.

Is there anything specific in my or any plugin that can only run on windows servers and not on linux?
Attached Files
File Type: sma Get Plugin or Get Source (KM-Shop1.5.sma - 566 views - 78.4 KB)

Last edited by striker07; 05-12-2012 at 13:27.
striker07 is offline
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 04-30-2012 , 14:49   Re: Knifemod
Reply With Quote #2

If it helps, I run that plugin on servers from verygames.
the server console also gives me this:
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
Is steam not up to date a possible cause of my plugin not working?

are there many diffrent things in the server itself when hosting with a rented server or dedicated server using steam tool dedicated server.

the principle should remain the same right? so what works on dedicated server tool should also work on a rented server or am i wrong?

Last edited by striker07; 04-30-2012 at 14:57.
striker07 is offline
Old 05-04-2012, 14:50
striker07
This message has been deleted by striker07.
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 05-11-2012 , 06:41   Re: plugin crashes linux but not windows servers
Reply With Quote #3

Can anyone help me with this problem pls?

Is it possible that this native from the fakemeta could cause this?
my server is linux and im not sure if linux diff is correct in the native
PHP Code:
#define m_flNextPrimaryAttack 46 
#define m_flNextSecondaryAttack 47 
#define OFFSET_LINUX_WEAPONS 4 
 
 
  
Primary get_pdata_float(entm_flNextPrimaryAttackOFFSET_LINUX_WEAPONS) * Speed;
  
Secondary get_pdata_float(entm_flNextSecondaryAttackOFFSET_LINUX_WEAPONS) * Speed

Last edited by striker07; 05-12-2012 at 13:25.
striker07 is offline
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 05-13-2012 , 14:09   Re: plugin crashes linux but not windows servers
Reply With Quote #4

I still do not know what was causing my server to crash but it was defenitly not in my plugins,
the problem had to be on my host side becous i started a new server reloaded everything on it for this knifemod and it worked perfectly.
so long story short: Knife mod plugin works and i will submit it tonight.
striker07 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode