1. sayfa (Toplam 1 sayfa)

War3 include sorunları

Gönderilme zamanı: Cum Ağu 27, 2021 4:12 pm
gönderen Element
Merhaba arkadaşlar bu kod satırında ki hataları almaktayım. Server'a kur dediğimde oyuna bağlanamıyorum ve çalışmıyor mod. Destek olabilir misiniz? Teşekkür ederim.

Kod: Tümünü seç

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.

War3 include sorunları

Gönderilme zamanı: Cum Ağu 27, 2021 7:17 pm
gönderen Colditz
Biraz ingilizce ile aslında sorunun neden olduğunu ve çözümünü düşünebilirsiniz, şöyle açıklayayım nasıl çözüldüğünü.

Kod: Tümünü seç

-- 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(425.satır) : uyarı 233: "get_customdir" komutu kullanımdan kaldırıldı. Özel dizin kavramı artık AMXX'te kullanılmıyor. Kullanmayın.
Bu komut artık kullanılmadığı için bu komutu değiştirmeniz gerekiyor. get_configsdir

Kod: Tümünü seç

-- 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(450.satır) : uyarı 233: "plugin_modules" komutu kullanımdan kaldırıldı. Modül bağımlılığı artık derleyici tarafından otomatik olarak işleniyor. Bu komut artık çağrılmıyor.
Bu komut otomatik çalıştığı için bu komutu sma dosyasından silin.

Kod: Tümünü seç

uwc3.sma(800) : warning 233: symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead.
viewtopic.php?p=309434#p309434

Kod: Tümünü seç

include/uwc3_utility.inc(134) : warning 233: symbol "strbreak" is marked as deprecated: Use argbreak() instead
viewtopic.php?p=309439#p309439

Kod: Tümünü seç

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")
viewtopic.php?p=309548#p309548