Raised This Month: $32 Target: $400
 8% 

cstrike Module Not Loading


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gman1255
New Member
Join Date: Jan 2011
Old 07-09-2015 , 23:49   cstrike Module Not Loading
Reply With Quote #1

Hello AlliedModders forums, I am making this forum post because I wanted to use a plugin, https://forums.alliedmods.net/showthread.php?t=63271, for my Sven Coop server for me and my friend and it requires the cstrike module. I said to myself, okay I know what to do. So I added cstrike (And csx because it came with the addon so why not :/) to modules.ini at the bottom and when I start the listen server amxmodx / metamod doesn't detect the cstrike module nor the csx module; I used the command "meta list". I searched the internet for this issue and tried many "solutions" and non of them seems to work.

Here is the console window's output for Amx related things:
Code:
Can't register variable servercfgfile, already defined
Can't register variable lservercfgfile, already defined
Can't register variable mapcyclefile, already defined
Can't register variable motdfile, already defined
No detail texture mapping file: maps/-HL_OpFor_SP_Portal_detail.txt
L 07/09/2015 - 23:36:35: -------- Mapchange to -HL_OpFor_SP_Portal --------
L 07/09/2015 - 23:36:35: [AMXX] Plugin "Hook.amxx" failed to load: Module/Library "cstrike" required for plugin.  Check modules.ini.
couldn't exec static.cfg
[AMXX] Loaded 1 admin from file
Cmd_AddCommand: say already defined
Executing AMX Mod X Configuration File 
Scrolling message displaying frequency: 10:00 minutes
Menu item 17 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 18 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
L 07/09/2015 - 23:36:35: [admin.amxx] Login: "fgt<1><STEAM_0:1:000000000><>" became an admin (account "loopback") (access "abcdefghijklmnopqrstu") (address "loopback")
* Privileges set
Here is the modules.ini, or at least the bottom part:
Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded   ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.                       ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

fun
;engine
fakemeta
;geoip
;sockets
;regex
;nvault
;hamsandwich
cstrike
csx
I am hoping that someone here will know what I am talking about
Gman1255 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-10-2015 , 04:53   Re: cstrike Module Not Loading
Reply With Quote #2

Cstrike module works only in Counter Strike 1.6
__________________
HamletEagle is offline
Gman1255
New Member
Join Date: Jan 2011
Old 07-11-2015 , 01:22   Re: cstrike Module Not Loading
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
Cstrike module works only in Counter Strike 1.6
Is that really why? That's good to know.
But I still want to have a Hook plugin on my server. I've seen some servers running this plugin in Sven, or maybe it's a different one.
Gman1255 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-11-2015 , 01:25   Re: cstrike Module Not Loading
Reply With Quote #4

Quote:
Originally Posted by Gman1255 View Post
Is that really why? That's good to know.
Any module that has a specific HL1 mod in it's name is specific only to that mod: cstrike, dod, tfc, etc.
__________________
fysiks is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-11-2015 , 03:36   Re: cstrike Module Not Loading
Reply With Quote #5

It's because it uses offsets that are only in cs 1.6(for example m_iTeam one). I will look at the hook plugin to see if something can be done.
__________________

Last edited by HamletEagle; 07-11-2015 at 03:37.
HamletEagle is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-11-2015 , 05:38   Re: cstrike Module Not Loading
Reply With Quote #6

Ok, it seems that cstrike is only needed for cs 1.6 stuffs(like vip), you can open the source, remove #include <cstrike> and everything will be fine.
__________________

Last edited by HamletEagle; 07-11-2015 at 05:39.
HamletEagle is offline
Gman1255
New Member
Join Date: Jan 2011
Old 07-11-2015 , 22:52   Re: cstrike Module Not Loading
Reply With Quote #7

Yeah but then when I remove #include <cstrike> then compile I run into an error that I assume requires the cstrike addon

Code:
L 07/11/2015 - 22:47:03: Invalid CVAR pointer
L 07/11/2015 - 22:47:03: [AMXX] Displaying debug trace (plugin "Hook.amxx")
L 07/11/2015 - 22:47:03: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 07/11/2015 - 22:47:03: [AMXX]    [0] Hook.sma::make_hook (line 149)
Unknown command: +hook

Last edited by Gman1255; 07-11-2015 at 22:52.
Gman1255 is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 07-12-2015 , 03:37   Re: cstrike Module Not Loading
Reply With Quote #8

Post the SourceCode of the PLUG-IN.
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Gman1255
New Member
Join Date: Jan 2011
Old 07-13-2015 , 00:01   Re: cstrike Module Not Loading
Reply With Quote #9

https://forums.alliedmods.net/attach...2&d=1196885915 The source
Gman1255 is offline
Lighters
New Member
Join Date: Aug 2015
Old 08-10-2015 , 17:33   Re: cstrike Module Not Loading
Reply With Quote #10

I'm having the same issue with a half life 1 server, can you post what you did to fix this?

[AMXX] Plugin "Hook. Amxx" failed to load: Module / Library "cstrike" required for plugin. Check modules.ini.

I have done what was said in https://forums.alliedmods.net/showth...t=63271&page=6 and its still broken.
Lighters is offline
Reply


Thread Tools
Display Modes

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 20:16.


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