pls edit this *.sma that it doesnt need engine-module
hi
I'm using this plugin for some time now - before the release of amxx 1.60 i was able to use it without the engine-module. I found that script at the amx-forums and just changed the #include to amxmodx. Could someone please look over this code and change the parts which needs the engine-module (if its possible). Code:
/* AMX Mod script. thx |
so its asking for engine correct? well all you would really have to do is remove ;engine.dll er something like that from ur modules.ini and add #include <engine>
Code:
|
Well thx for this fast reply.
BUT (:oops:) - can you modify the script that i DONT NEED the engine-module. Or are there routines which definatly need the engine-module ? I used this script <amxx1.60 and i dont needed the engine module. |
Oh - dammit.
i didnt saw your first line in your post - i'll try. i always thought that i need the modules that are mentioned by the #includes. |
Like i thought - still needs the engine module.
:( |
Just compile original code and install plugin correctly.
Engine not needed. |
Thats what i did multiple times - without the engine-module i got bad load .
|
Try commenting out the include line for engine.
|
Thats what i started with - look at my first post.
The Original *.sma had '#include <amxmod>' - i changed it to '#include <amxmodx>. With older Versions of AmxModX (before the 1.60 - i didnt use 1.55,) i ran the plugin without needing the engine-module. Since i switched to Amxx 1.60 i need that Module - without the Engine-Module i get bad load :? It was user 'Charming' who told me to add this '#include <engine> thing - but it didnt work either. |
What does your AMXX log say about the error?
|
why won't you use engine module :/
|
Yeah i mean why do you care if it uses engine module aslong as it works eh?
|
The engine module runs even when functions in it are not called, thus increasing CPU usage. We may not be talking about a lot of CPU usage but it is there and thus, should be respected.
AssKicR, you know that. |
right brad - thats why i want to disable it.
|
Well - so its not possible to modify this sma that it runs without the engine-module ?
I've search the command which are used in this plugin at funcwiki, but i cannot see why it needs the engine-module. Perhaps there's someone who can point me to the problematical instruction. |
Quote:
|
Quote:
|
@DaSoul, he dosen't want to use the Engine module at all due to increased server lag.
|
Strange!
In my local test-enviroment it works without the engine-module - at least i dont get a bad load. I will check this on the server tommorow morning, when the server is empty. I will tell the results here. |
Quote:
|
Strange - why does it work locally - on the server i get this error:
L 02/04/2006 - 11:12:12: [AMXX] Plugin "all_death_beams.amxx" failed to load: Module "engine" required for plugin. Check modules.ini. ??? |
Its working now.
I recompiled everything and reinstalled amxmodx. Now its working - thanks for your answers ! |
| All times are GMT -4. The time now is 07:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.