Pokaż wiadomości

Ta sekcja pozwala Ci zobaczyć wszystkie wiadomości wysłane przez tego użytkownika. Zwróć uwagę, że możesz widzieć tylko wiadomości wysłane w działach do których masz aktualnie dostęp.


Pokaż wątki - KuX

Strony: [1]
1
Błędy podczas parsowania / Par : Expected "}" (Line 790)
« dnia: 2015-09-06, 12:45 »
Bez zbędnego gadu-gadu. Robiłem sobie TP na farmę Lobarta (Test), wszystko idzie po maśle. Aż tu nagle wyskakuje błąd podany niżej. Dobra. Myślę że coś pominąłem więc usuwam wszystkie zmiany z tego pliku (Contants.d). Ale błąd nadal jest. Wie ktoś może dlaczego? Z góry będę wdzięczny za odpowiedź.
////////////////////////////////////////////////////////////////////////////////
//
// Spells: Fx-/Spell-Klassennamen (Array)
//

const string spellFxInstanceNames[MAX_SPELL] =
{
// Paladin-Runen
"PalLight", // 0 SPL_PalLight
"PalHeal",  // 1 SPL_PalLightHeal
"PalHolyBolt",  // 2 SPL_PalHolyBolt
"PalHeal",  // 3 SPL_PalMediumHeal
"PalRepelEvil", // 4 SPL_PalRepelEvil
"PalHeal",  // 5 SPL_PalFullHeal
"PalDestroyEvil",  // 6 SPL_PalDestroyEvil

// Teleport-Runen
"Teleport",  // 7 SPL_PalTeleportSecret
"Teleport",  // 8 SPL_TeleportSeaport
"Teleport",  // 9 SPL_TeleportMonastery
"Teleport",  // 10 SPL_TeleportFarm
"Teleport",  // 11 SPL_TeleportXardas
"Teleport",  // 12 SPL_TeleportPassNW
"Teleport",  // 13 SPL_TeleportPassOW
"Teleport",  // 14 SPL_TeleportOC
"Teleport",  // 15 SPL_TeleportOWDemonTower
"Teleport",  // 16 SPL_TeleportTaverne
"Teleport",  // 17 SPL_Teleport_3

// Kreis 1
"Light", // 18 SPL_Light
"Firebolt", // 19 SPL_Firebolt

// Kreis 2
"Icebolt", // 20 SPL_Icebolt

// Kreis 1
"Heal",  // 21 SPL_LightHeal
"SummonGoblinSkeleton", // 22 SPL_SummonGoblinSkeleton

// Kreis 2
"InstantFireball",  // 23 SPL_InstantFireball

// Kreis 1
"Zap", // 24 SPL_Zap

// Kreis 2
"SummonWolf",  // 25 SPL_SummonWolf
"WindFist",  // 26 SPL_WindFist
"Sleep",  // 27 SPL_Sleep

// Kreis 3
"Heal",  // 28 SPL_MediumHeal
"LightningFlash", // 29 SPL_LightningFlash
"ChargeFireball",  // 30 SPL_ChargeFireball
"SummonSkeleton",  // 31 SPL_SummonSkeleton
"Fear",  // 32 SPL_Fear
"Icecube",  // 33 SPL_IceCube

// Kreis 4
"ChargeZap",  // 34 SPL_ChargeZap
"SummonGolem",  // 53 SPL_SummonGolem
"DestroyUndead",  // 36 SPL_DestroyUndead
"Pyrokinesis",  // 37 SPL_Pyrokinesis

// Kreis 5
"Firestorm", // 38 SPL_Firestorm
"Icewave",  // 39 SPL_IceWave
"SummonDemon",  // 40 SPL_SummonDemon
"Heal",  // 41 SPL_FullHeal

// Kreis 6
"Firerain",  // 42 SPL_Firerain
"BreathOfDeath",  // 43 SPL_BreathOfDeath
"MassDeath",  // 44 SPL_MassDeath
"ArmyOfDarkness", // 45 SPL_ArmyOfDarkness
"Shrink",  // 46 SPL_Shrink

// Scrolls
"Transform",  // 47 SPL_TrfSheep
"Transform",  // 48 SPL_TrfScavenger
"Transform",  // 49 SPL_TrfGiantRat
"Transform",  // 50 SPL_TrfGiantBug
"Transform",  // 51 SPL_TrfWolf
"Transform",  // 52 SPL_TrfWaran
"Transform",  // 53 SPL_TrfSnapper
"Transform",  // 54 SPL_TrfWarg
"Transform",  // 55 SPL_TrfFireWaran
"Transform",  // 56 SPL_TrfLurker
"Transform",  // 57 SPL_TrfShadowbeast
"Transform",  // 58 SPL_TrfDragonSnapper
"Charm", // 59 SPL_Charm

// Kreis 5
"MasterOfDisaster", // 60 SPL_MasterOfDisaster

// ???
"Deathbolt",  // 61 SPL_Deathbolt
"Deathball", // 62 SPL_Deathball
"Concussionbolt", // 63 SPL_Concussionbolt
"Light",  // 64 SPL_Reserved_64
"Light",  // 65 SPL_Reserved_65
"Light",  // 66 SPL_Reserved_66
"Light", // 67 SPL_Reserved_67
"Light", // 68 SPL_Reserved_68
"Light", // 69 SPL_Reserved_69

// Magick (Wasser)
    "Thunderstorm", // 70 SPL_Thunderstorm
"Whirlwind", // 71 SPL_Whirlwind
"Waterfist", // 72 SPL_WaterFist
"IceLance", // 73 SPL_IceLance
"Sleep", // 74 SPL_Inflate
"Geyser", // 75 SPL_Geyser
"Firerain", // 76 SPL_Waterwall
"Light", // 77 SPL_Reserved_77
"Light", // 78 SPL_Reserved_78
"Light", // 79 SPL_Reserved_79

// Magick (Maya)
"Fear", // 80 SPL_Plague
"Swarm", // 81 SPL_Swarm
"Greententacle", // 82 SPL_GreenTentacle
"Firerain", // 83 SPL_Earthquake
"SummonGuardian", // 84 SPL_SummonGuardian
"Energyball", // 85 SPL_Energyball
"SuckEnergy", // 86 SPL_SuckEnergy
"Skull", // 87 SPL_Skull
"SummonZombie", // 88 SPL_SummonZombie
"SummonMud", // 89 SPL_SummonMud

// ...
"Teleport", // 90 SPL_TeleportFarmLobart
"Light", // 91 SPL_Reserved_91
"Light", // 92 SPL_Reserved_92
"Light", // 93 SPL_Reserved_93
"Light", // 94 SPL_Reserved_94
"Light", // 95 SPL_Reserved_95
"Light", // 96 SPL_Reserved_96
"Light", // 97 SPL_Reserved_97
        "Light", // 98 SPL_Reserved_98
Line 790"[color=red]Light", // 99 SPL_Reserved_99
};[/color]

Błąd występuje w przedostatniej linijce. Choć dotyczy on "}".

2
Witam !

Otóż ostatnio napotkałem dosyć poważny błąd. Mianowicie nie działa mi GoMan, tzn. Jest na pasku ale nic się nie wyświetla. Kiedyś działał.
Moje pytanie brzmi - jak to naprawić?  :hmmm:

Strony: [1]
Do góry