Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.

  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

1 blad w kompilacji diablo


  • Zamknięty Temat jest zamknięty
7 odpowiedzi w tym temacie

#1 bocian_pl

    Życzliwy

  • Użytkownik

Reputacja: 0
zer0.

  • Postów:24
  • Imię:Grzegorz
  • Lokalizacja:Gdańsk
Offline

Napisano 04.04.2011 19:12

Blad w kompilacji mam 1 blad:

diablomod.sma(270) : error 018: initialization data exceeds declared size

Wiem ze cos zle w lini 270 juz ja podaje:

new CTSkins[4][]={"sas","gsg9","urban","gign"}
new TSkins[4][]={"arctic","leet","guerilla","terror"}
new SWORD_VIEW[]         = "models/diablomod/v_knife.mdl" 
new SWORD_PLAYER[]       = "models/diablomod/p_knife.mdl" 
new KNIFE_VIEW[] 	= "models/v_knife.mdl"
new KNIFE_PLAYER[] 	= "models/p_knife.mdl"
new C4_VIEW[] 		= "models/v_c4.mdl"
new C4_PLAYER[] 	= "models/p_c4.mdl"
new HE_VIEW[] = "models/v_hegrenade.mdl"
new HE_PLAYER[] = "models/p_hegrenade.mdl"
new FL_VIEW[] = "models/v_flashbang.mdl"
new FL_PLAYER[] = "models/p_flashbang.mdl"
new SE_VIEW[] = "models/v_smokegrenade.mdl"
new SE_PLAYER[] = "models/p_smokegrenade.mdl"

new cbow_VIEW[]  = "models/diablomod/v_crossbow.mdl" 
new cvow_PLAYER[]= "models/diablomod/p_crossbow.mdl" 
new cbow_bolt[]  = "models/diablomod/Crossbow_bolt.mdl"

new LeaderCT = -1
new LeaderT = -1

new JumpsLeft[33]
new JumpsMax[33]

new loaded_xp[33]
new sqlstart = 30 // Tyle prob jest na mape na poprawne polaczenie - bo cos sie zapetla gdy wylancza sie serwer (zmiena mapy?)
new asked_sql[33]
new asked_klass[33]
new olny_one_time=0

enum { NONE = 0, Mag, Mnich, Paladyn, Zabojca, Nekromanta, Barbarzynca, Ninja, Hunter, Killer, Zombie, Master }
new Race[12][18] = { "None","Mag","Mnich","Paladyn","Zabojca","Nekromanta","Barbarzynca","Ninja","Lowca","Destruktor (Premium)","Imothep (Premium)","Smok (Premium)" }
new race_heal[12] = { 100,170,190,190,190,180,190,220,150,200,300,500 }

new LevelXP[5002] = {
0,3,12,27,48,75,108,147,192,243,300,363,432,507,588,675,768,867,972,1083,
1200,1323,1452,1587,1728,1875,2028,2187,2352,2523,2700,2883,3072,3267,3468,3675,3888,4107,4332,4563,
4800,5043,5292,5547,5808,6075,6348,6627,6912,7203,7500,7803,8112,8427,8748,9075,9408,9747,10092,10443,
10800,11163,11532,11907,12288,12675,13068,13467,13872,14283,14700,15123,15552,15987,16428,16875,17328,17787,18252,18723,
19200,19683,20172,20667,21168,21675,22188,22707,23232,23763,24300,24843,25392,25947,26508,27075,27648,28227,28812,29403,
30000,30603,31212,31827,32448,33075,33708,34347,34992,35643,36300,36963,37632,38307,38988,39675,40368,41067,41772,42483,
43200,43923,44652,45387,46128,46875,47628,48387,49152,49923,50700,51483,52272,53067,53868,54675,55488,56307,57132,57963,
58800,59643,60492,61347,62208,63075,63948,64827,65712,66603,67500,68403,69312,70227,71148,72075,73008,73947,74892,75843,
76800,77763,78732,79707,80688,81675,82668,83667,84672,85683,86700,87723,88752,89787,90828,91875,92928,93987,95052,96123,
97200,98283,99372,100467,101568,102675,103788,104907,106032,107163,108300,109443,110592,111747,112908,114075,115248,116427,117612,118803,
120000,121203,122412,123627,124848,126075,127308,128547,129792,131043,132300,133563,134832,136107,137388,138675,139968,141267,142572,143883,
145200,146523,147852,149187,150528,151875,153228,154587,155952,157323,158700,160083,161472,162867,164268,165675,167088,168507,169932,171363,
172800,174243,175692,177147,178608,180075,181548,183027,184512,186003,187500,189003,190512,192027,193548,195075,196608,198147,199692,201243,
202800,204363,205932,207507,209088,210675,212268,213867,215472,217083,218700,220323,221952,223587,225228,226875,228528,230187,231852,233523,
235200,236883,238572,240267,241968,243675,245388,247107,248832,250563,252300,254043,255792,257547,259308,261075,262848,264627,266412,268203,
270000,271803,273612,275427,277248,279075,280908,282747,284592,286443,288300,290163,292032,293907,295788,297675,299568,301467,303372,305283,

  • +
  • -
  • 0

#2 FreZZy

    Guru

  • Zbanowany

Reputacja: 210
Profesjonalista

  • Postów:716
  • GG:
  • Imię:Paweł
  • Lokalizacja:Wwa
Offline

Napisano 04.04.2011 19:45

new LevelXP[5002]

zamien na

new LevelXP[]

#3 bocian_pl

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
zer0.

  • Postów:24
  • Imię:Grzegorz
  • Lokalizacja:Gdańsk
Offline

Napisano 04.04.2011 19:55

Niestety dalej to samo i pokazuje ten sam błąd ;/
  • +
  • -
  • 0

#4 FonX

    Zaawansowany

  • Zbanowany

Reputacja: 7
Nowy

  • Postów:100
  • Steam:steam
  • Imię:Łukasz
  • Lokalizacja:Łódź
Offline

Napisano 04.04.2011 20:03

Zamien
new CTSkins[4][]={"sas","gsg9","urban","gign"}
new TSkins[4][]={"arctic","leet","guerilla","terror"}
new SWORD_VIEW[] = "models/diablomod/v_knife.mdl"
new SWORD_PLAYER[] = "models/diablomod/p_knife.mdl"
new KNIFE_VIEW[] = "models/v_knife.mdl"
new KNIFE_PLAYER[] = "models/p_knife.mdl"
new C4_VIEW[] = "models/v_c4.mdl"
new C4_PLAYER[] = "models/p_c4.mdl"
new HE_VIEW[] = "models/v_hegrenade.mdl"
new HE_PLAYER[] = "models/p_hegrenade.mdl"
new FL_VIEW[] = "models/v_flashbang.mdl"
new FL_PLAYER[] = "models/p_flashbang.mdl"
new SE_VIEW[] = "models/v_smokegrenade.mdl"
new SE_PLAYER[] = "models/p_smokegrenade.mdl"

new cbow_VIEW[] = "models/diablomod/v_crossbow.mdl"
new cvow_PLAYER[]= "models/diablomod/p_crossbow.mdl"
new cbow_bolt[] = "models/diablomod/Crossbow_bolt.mdl"

new LeaderCT = -1
new LeaderT = -1

new JumpsLeft[33]
new JumpsMax[33]

new loaded_xp[33]
new sqlstart = 30 // Tyle prob jest na mape na poprawne polaczenie - bo cos sie zapetla gdy wylancza sie serwer (zmiena mapy?)
new asked_sql[33]
new asked_klass[33]
new olny_one_time=0

enum { NONE = 0, Mag, Mnich, Paladyn, Zabojca, Nekromanta, Barbarzynca, Ninja, Hunter, Killer, Zombie, Master }
new Race[12][18] = { "None","Mag","Mnich","Paladyn","Zabojca","Nekromanta","Barbarzynca","Ninja","Lowca","Destruktor (Premium)","Imothep (Premium)","Smok (Premium)" }
new race_heal[12] = { 100,170,190,190,190,180,190,220,150,200,300,500 }

new LevelXP[5002] = {
0,3,12,27,48,75,108,147,192,243,300,363,432,507,588,675,768,867,972,1083,
1200,1323,1452,1587,1728,1875,2028,2187,2352,2523,2700,2883,3072,3267,3468,3675,3888,4107,4332,4563,
4800,5043,5292,5547,5808,6075,6348,6627,6912,7203,7500,7803,8112,8427,8748,9075,9408,9747,10092,10443,
10800,11163,11532,11907,12288,12675,13068,13467,13872,14283,14700,15123,15552,15987,16428,16875,17328,17787,18252,18723,
19200,19683,20172,20667,21168,21675,22188,22707,23232,23763,24300,24843,25392,25947,26508,27075,27648,28227,28812,29403,
30000,30603,31212,31827,32448,33075,33708,34347,34992,35643,36300,36963,37632,38307,38988,39675,40368,41067,41772,42483,
43200,43923,44652,45387,46128,46875,47628,48387,49152,49923,50700,51483,52272,53067,53868,54675,55488,56307,57132,57963,
58800,59643,60492,61347,62208,63075,63948,64827,65712,66603,67500,68403,69312,70227,71148,72075,73008,73947,74892,75843,
76800,77763,78732,79707,80688,81675,82668,83667,84672,85683,86700,87723,88752,89787,90828,91875,92928,93987,95052,96123,
97200,98283,99372,100467,101568,102675,103788,104907,106032,107163,108300,109443,110592,111747,112908,114075,115248,116427,117612,118803,
120000,121203,122412,123627,124848,126075,127308,128547,129792,131043,132300,133563,134832,136107,137388,138675,139968,141267,142572,143883,
145200,146523,147852,149187,150528,151875,153228,154587,155952,157323,158700,160083,161472,162867,164268,165675,167088,168507,169932,171363,
172800,174243,175692,177147,178608,180075,181548,183027,184512,186003,187500,189003,190512,192027,193548,195075,196608,198147,199692,201243,
202800,204363,205932,207507,209088,210675,212268,213867,215472,217083,218700,220323,221952,223587,225228,226875,228528,230187,231852,233523,
235200,236883,238572,240267,241968,243675,245388,247107,248832,250563,252300,254043,255792,257547,259308,261075,262848,264627,266412,268203,
270000,271803,273612,275427,277248,279075,280908,282747,284592,286443,288300,290163,292032,293907,295788,297675,299568,301467,303372,305283,


Na

new CTSkins[4][]={"sas","gsg9","urban","gign"}
new TSkins[4][]={"arctic","leet","guerilla","terror"}
new SWORD_VIEW[] = "models/diablomod/v_knife.mdl"
new SWORD_PLAYER[] = "models/diablomod/p_knife.mdl"
new KNIFE_VIEW[] = "models/v_knife.mdl"
new KNIFE_PLAYER[] = "models/p_knife.mdl"
new C4_VIEW[] = "models/v_c4.mdl"
new C4_PLAYER[] = "models/p_c4.mdl"
new HE_VIEW[] = "models/v_hegrenade.mdl"
new HE_PLAYER[] = "models/p_hegrenade.mdl"
new FL_VIEW[] = "models/v_flashbang.mdl"
new FL_PLAYER[] = "models/p_flashbang.mdl"
new SE_VIEW[] = "models/v_smokegrenade.mdl"
new SE_PLAYER[] = "models/p_smokegrenade.mdl"

new cbow_VIEW[] = "models/diablomod/v_crossbow.mdl"
new cvow_PLAYER[]= "models/diablomod/p_crossbow.mdl"
new cbow_bolt[] = "models/diablomod/Crossbow_bolt.mdl"

new LeaderCT = -1
new LeaderT = -1

new JumpsLeft[33]
new JumpsMax[33]

new loaded_xp[33]
new sqlstart = 30 // Tyle prob jest na mape na poprawne polaczenie - bo cos sie zapetla gdy wylancza sie serwer (zmiena mapy?)
new asked_sql[33]
new asked_klass[33]
new olny_one_time=0

enum { NONE = 0, Mag, Mnich, Paladyn, Zabojca, Nekromanta, Barbarzynca, Ninja, Hunter, Killer, Zombie, Master }
new Race[12][18] = { "None","Mag","Mnich","Paladyn","Zabojca","Nekromanta","Barbarzynca","Ninja","Lowca","Destruktor (Premium)","Imothep (Premium)","Smok (Premium)" }
new race_heal[12] = { 100,170,190,190,190,180,190,220,150,200,300,500 }

new LevelXP[5002] = {
0,3,12,27,48,75,108,147,192,243,300,363,432,507,588,675,768,867,972,1083,
1200,1323,1452,1587,1728,1875,2028,2187,2352,2523,2700,2883,3072,3267,3468,3675,3888,4107,4332,4563,
4800,5043,5292,5547,5808,6075,6348,6627,6912,7203,7500,7803,8112,8427,8748,9075,9408,9747,10092,10443,
10800,11163,11532,11907,12288,12675,13068,13467,13872,14283,14700,15123,15552,15987,16428,16875,17328,17787,18252,18723,
19200,19683,20172,20667,21168,21675,22188,22707,23232,23763,24300,24843,25392,25947,26508,27075,27648,28227,28812,29403,
30000,30603,31212,31827,32448,33075,33708,34347,34992,35643,36300,36963,37632,38307,38988,39675,40368,41067,41772,42483,
43200,43923,44652,45387,46128,46875,47628,48387,49152,49923,50700,51483,52272,53067,53868,54675,55488,56307,57132,57963,
58800,59643,60492,61347,62208,63075,63948,64827,65712,66603,67500,68403,69312,70227,71148,72075,73008,73947,74892,75843,
76800,77763,78732,79707,80688,81675,82668,83667,84672,85683,86700,87723,88752,89787,90828,91875,92928,93987,95052,96123,
97200,98283,99372,100467,101568,102675,103788,104907,106032,107163,108300,109443,110592,111747,112908,114075,115248,116427,117612,118803,
120000,121203,122412,123627,124848,126075,127308,128547,129792,131043,132300,133563,134832,136107,137388,138675,139968,141267,142572,143883,
145200,146523,147852,149187,150528,151875,153228,154587,155952,157323,158700,160083,161472,162867,164268,165675,167088,168507,169932,171363,
172800,174243,175692,177147,178608,180075,181548,183027,184512,186003,187500,189003,190512,192027,193548,195075,196608,198147,199692,201243,
202800,204363,205932,207507,209088,210675,212268,213867,215472,217083,218700,220323,221952,223587,225228,226875,228528,230187,231852,233523,
235200,236883,238572,240267,241968,243675,245388,247107,248832,250563,252300,254043,255792,257547,259308,261075,262848,264627,266412,268203,
270000,271803,273612,275427,277248,279075,280908,282747,284592,286443,288300,290163,292032,293907,295788,297675,299568,301467,303372,305283}

Użytkownik fonx edytował ten post 04.04.2011 20:10


#5 bocian_pl

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
zer0.

  • Postów:24
  • Imię:Grzegorz
  • Lokalizacja:Gdańsk
Offline

Napisano 04.04.2011 20:12

new Race[12][18] = { "None","Mag","Mnich","Paladyn","Zabojca","Nekromanta","Barbarzynca","Ninja","Lowca","Destruktor (Premium)","Imothep (Premium)","Smok (Premium)" }

  • +
  • -
  • 0

#6 FonX

    Zaawansowany

  • Zbanowany

Reputacja: 7
Nowy

  • Postów:100
  • Steam:steam
  • Imię:Łukasz
  • Lokalizacja:Łódź
Offline

Napisano 04.04.2011 20:17

Moze zmien
new Race[12][18] = { "None","Mag","Mnich","Paladyn","Zabojca","Nekromanta","Barbarzynca","Ninja","Lowca","Destruktor (Premium)","Imothep (Premium)","Smok (Premium)" }


Na

new Race[12][13] = { "None","Mag","Mnich","Paladyn","Zabojca","Nekromanta","Barbarzynca","Ninja","Lowca","Destruktor (Premium)","Imothep (Premium)","Smok (Premium)" }

=======================================================================================

Lub
new Race[12][18] = { "None","Mag","Mnich","Paladyn","Zabojca","Nekromanta","Barbarzynca","Ninja","Lowca","Destruktor (Premium)","Imothep (Premium)","Smok (Premium)" }


Na

new Race[12][18] = { "None","Mag","Mnich","Paladyn","Zabojca","Nekromanta","Barbarzynca","Ninja","Lowca","Destruktor(Premium)","Imothep(Premium)","Smok(Premium)" }

Użytkownik fonx edytował ten post 04.04.2011 20:22


#7 bocian_pl

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
zer0.

  • Postów:24
  • Imię:Grzegorz
  • Lokalizacja:Gdańsk
Offline

Napisano 04.04.2011 20:25

Welcome to the AMX Mod X 1.8.1-300 Compiler.  Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team    diablodesired.sma(270) : error 018: initialization data exceeds declared size  diablodesired.sma(290) : error 010: invalid function or declaration  diablodesired.sma(414) : error 010: invalid function or declaration  diablodesired.sma(2423) : warning 217: loose indentation  diablodesired.sma(2425) : warning 217: loose indentation  diablodesired.sma(5124) : warning 217: loose indentation  diablodesired.sma(7903) : warning 204: symbol is assigned a value that is never used: "knifes"    3 Errors.  Could not locate output file diablodesired.amxx (compile failed).

Załączone pliki


  • +
  • -
  • 0

#8 FonX

    Zaawansowany

  • Zbanowany

Reputacja: 7
Nowy

  • Postów:100
  • Steam:steam
  • Imię:Łukasz
  • Lokalizacja:Łódź
Offline

Napisano 04.04.2011 21:12

proszę bardzo w załączniku masz Wszystko działa

Załączone pliki






Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych