AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   I can't install War3Mod.I tried War3Mod.sma files but it doesn't work. (https://forums.alliedmods.net/showthread.php?t=334078)

elementoos 08-27-2021 07:30

I can't install War3Mod.I tried War3Mod.sma files but it doesn't work.
 
Hello friends,

I rented a server from a site called csduragi. The provider does not allow me to upload AMXX file, it just states that you can trade with SMA. I want W3 mod. If anyone has an SMA file, can they share it with me? And I'm getting some errors after installation, can you support me?

Quote:

AMX Mod X Compiler 1.10.0.5392
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

include/uwc3_defs.inc(38 ): warning 201: redefinition of constant/macro (symbol "MAX_PLAYERS")
include/uwc3_defs.inc(241) : warning 201: redefinition of constant/macro (symbol "MAX_NAME_LENGTH")
include/uwc3_utility.inc(134) : warning 233: symbol "strbreak" is marked as deprecated: Use argbreak() instead
include/uwc3_utility.inc(477) : warning 225: unreachable code
include/uwc3_storage.inc(41) : warning 233: symbol "get_customdir" is marked as deprecated: The concept of a custom directory no longer exists in AMXX. Do not use.
include/uwc3_items.inc(974) : warning 225: unreachable code
uwc3.sma(425) : warning 233: symbol "get_customdir" is marked as deprecated: The concept of a custom directory no longer exists in AMXX. Do not use.
uwc3.sma(450) : warning 233: symbol "plugin_modules" is marked as deprecated: Module dependency is now automatically handled by the compiler. This forward is no longer called.
uwc3.sma(452) : warning 233: symbol "require_module" is marked as deprecated: Module dependency is now automatically handled by the compiler. This native has no effect.
uwc3.sma(453) : warning 233: symbol "require_module" is marked as deprecated: Module dependency is now automatically handled by the compiler. This native has no effect.
uwc3.sma(454) : warning 233: symbol "require_module" is marked as deprecated: Module dependency is now automatically handled by the compiler. This native has no effect.
uwc3.sma(455) : warning 233: symbol "require_module" is marked as deprecated: Module dependency is now automatically handled by the compiler. This native has no effect.
uwc3.sma(800) : warning 233: symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead.
Header size: 8260 bytes
Code size: 477188 bytes
Data size: 382508 bytes
Stack/heap size: 262144 bytes
Total requirements: 1130100 bytes

13 Warnings.
Done.

elementoos 08-27-2021 09:07

Re: I can't install War3Mod.I tried War3Mod.sma files but it doesn't work.
 
I opened "addons/amxmodx/scripting/include" folder via web FTP.
I uploaded the inc files to the include folder for war3 mod but now it gave this error string.

fysiks 08-27-2021 21:51

Re: I can't install War3Mod.I tried War3Mod.sma files but it doesn't work.
 
Include and .sma files do not doing anything when put on a server. Only the .amxx file is needed to run a plugin (in addition to any other files that the plugin itself has as a dependency.

The output that you posted is from the compiler. This generates the .amxx file from the .sma and include files. The compiler was actually successful without any errors. All but one of the warning you see there are simply because you are compiling it in a newer version of AMX Mod X (which is just fine). The only one that might affect functionality is the unreachable code but without the source code, it cannot be determined if that would actually be the case.

HamletEagle 08-29-2021 08:05

Re: I can't install War3Mod.I tried War3Mod.sma files but it doesn't work.
 
You must upload the amxx file, otherwise, you can not install any plugins. Maybe your host has some kind of system which automatically compiles all sma files once they are added? If they have, this is kinda stupid.


All times are GMT -4. The time now is 02:30.

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