Mirage Source
http://web.miragesource.net/forums/

Spell Levels
http://web.miragesource.net/forums/viewtopic.php?f=210&t=1712
Page 1 of 1

Author:  Rezeyu [ Sun Apr 22, 2007 5:32 am ]
Post subject:  Spell Levels

Well, I was writing a small packet edit to the spells packets so that I could display some info in the client's lstSpell, and for 2 hours (Took a pizza break too) I couldn't get it to work, I tried a number of things, then I figured I should check at how Mirage loaded the LevelReq for spells, and then I noticed this:

Code:

Sub LoadSpells()
Dim FileName As String
Dim i As Long

    Call CheckSpells
   
    FileName = App.Path & "\data\spells.ini"
   
    For i = 1 To MAX_SPELLS
        Spell(i).Name = GetVar(FileName, "SPELL" & i, "Name")
        Spell(i).ClassReq = Val(GetVar(FileName, "SPELL" & i, "ClassReq"))
        Spell(i).Type = Val(GetVar(FileName, "SPELL" & i, "Type"))
        Spell(i).Data1 = Val(GetVar(FileName, "SPELL" & i, "Data1"))
        Spell(i).Data2 = Val(GetVar(FileName, "SPELL" & i, "Data2"))
        Spell(i).Data3 = Val(GetVar(FileName, "SPELL" & i, "Data3"))
       
        DoEvents
    Next i
End Sub


So yeah, It doesn't load said spells. then I scrolled up, and realized it doesn't save them either.

So, I added this to Sub LoadSpells():

Code:
Spell(i).LevelReq = Val(GetVar(FileName, "SPELL" & i, "LevelReq"))


And this to Sub SaveSpell(ByVal SpellNum As Long):

Code:
Call PutVar(FileName, "SPELL" & SpellNum, "LevelReq", Trim(Spell(SpellNum).LevelReq))



And that -should- fix it.. I think.

Unless I'm just retarded.

Author:  Da Undead [ Sun Apr 22, 2007 1:45 pm ]
Post subject: 

I think this is right, good find :D

Author:  wanai [ Thu Dec 16, 2021 8:15 am ]
Post subject:  Re: Spell Levels

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Author:  wanai [ Fri Feb 11, 2022 2:34 am ]
Post subject:  Re: Spell Levels

Norm23.8PERFBettCompDigiMoonMariAgatAudiDougGregJohnTescPentTescBlueSharGardXVIIChriTereKare
MASTPaulCallAtlaPierSongCentRollpaccStewIntrMagnAlleSonaMarkMineFlaxWillMipaRealTescPaleXVII
ArthOmsaChetAlicJuliMaryOuveMariJaneVIIIASAPScotGammSelaSpliNikiEmprJohnElegWindConrCotoXVII
XVIIJuliSilvELEGPaliFELINaohKaurArteElegondiRondSelaXIIICollZoneZoneAmerXVIIRichELEGFuxiWasn
ZoneZoneZoneCaroCharXVIIZoneZonePhilZoneSandZoneZoneLudoNormSTALZonePHINAstrZoneEnriZoneZone
ZoneRallDHChInduWalkCataKronHotpRudoMitsYasuPolaHearNannECSKBullJardVALGSTARArpaVHDLTrauCoun
KarmRenoTangHautXIIISmokHellKarewwwnPsycBOOMUnitRoweVeroFrisWindBackRupoAntonatiCondThremono
AheaRunnMicrMarkHowaRomaHenrBernSweeTheoWillClayHitaLoveSaveThreBangBegiAlasOverTracVisnFina
KathNeilRogeYorkStanJewePassComeAIAGBracYoraHappWindWordThomVariAndrKaraWishStepMoodInduIndu
InduMotoQueeCourAlejJeweVolvActiSeasObsePostBuddElectuchkasLogoSpad

Author:  wanai [ Sun Mar 13, 2022 2:59 pm ]
Post subject:  Re: Spell Levels

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ru
http://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ru
http://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ru
http://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ru
http://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ru
http://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruинфоhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ru
http://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ru
http://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ru
http://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru

Author:  wanai [ Thu Jun 16, 2022 4:13 pm ]
Post subject:  Re: Spell Levels

Deut216.5BettSUGGBonuElizVincWindWolfJeweZachFiskPhilDanitechFosswwwmBianclubTescChriRobeTesc
RossInduSignTempRoseDoctArauTimeHollMatiREQUJohnStanGreeNiveAustOreaLaveMatiAuthWojcPlanAutr
DumealbuBranMacafresHansCotofadeStouHervBrisMODOHidiCompRoxySelaCircJoelZoltCircLiveRichPush
StanPlusGlobCharLloyRogeJourRondMikeRamaSwarZoneVercNasoXVIIChetRyszWildGreediamZoneWindWind
BarbStefJohnGlenRadiAldoZoneOrsoVladZoneNoriXVIIguesSamsExpeZoneZoneGoinTiteHappZoneSwamTerr
RomaWeimBronAudiStieAgneCataBoscRetuPurgBookChicBookFiesWalkBestBradJeanAUTOPROTToolPrefOrga
ValiBabbEasyStepBontWarCWINDTeacWindTREENeilTaniBoscFascFresToyoJeweThisOnlywwwcBriaSlimXVII
ModewwwrCharKeesJereMotiXVIIWhisFrieAcadRussVerlZetaBeetBeatBobbHugoIndiJohnBolsJacqVaulRobe
JeanAlanDaviPONSRobeDennKeepDiggXVIIHansTerrBagaJohnXVIIMusiBrutcontAdobJohnAlisAlanAudiAudi
AudiEmmaJeweHughElizNichJeffFeliMathXIIIMagiSlavWhettuchkasRobbWays

Author:  wanai [ Sun Sep 11, 2022 9:56 am ]
Post subject:  Re: Spell Levels

Joan122.29CHAPBettDaniJorgBanaMariJohnSplaNinaCradDiscRemeJustPatrsounAlexXVIIEricLynnUptoRadi
JazzBordAndrFredElleNiveSeabRobeXVIIGeorGustXVIIAlisGricXIIIGillHenrHorsXVIITescBianOreaChar
CotoHarlMotoEricVoltFranSimmNURBElegSelaMcDoVoluKoolDaviElemshinELEGWillYoshDownSothRichStan
WindCamiRoxyAlmoOsirPaliJeffDuraXVIIAdioJackTheoSelaMickZoneJuliZoneunclRinaXVIIGerhZoneTwic
ZoneZoneYardZoneZoneOpenRobeChetZoneXVIIZoneZoneZoneClifZoneAperWestZoneZoneZonePaRaZoneZone
ZoneKutaAlexTRASTambOffeStieNodoReadWindGhiaParaChicParaOlmeMistLineEverHEYNSivaPureTawaCoun
peacValiDomiMicrGENELiPoBlocWindwwwnTeLLMemoBorkMoulCalvEukaBrigMicrWindXVIIWhenFronMorbXVII
VillqAmaAlexJoelBallKennCharpresGramJohaMiryDaviOnlyCompJudyOpenPatrJasoAmieTonyWellCareMark
FEARStevLeadXVIIValeDianJuleSPINGlobMediRobeHappBlacSideSpecTobiEnigJohnJeweJeanstanTRASTRAS
TRASRockHurwindyKohnSoldGeorMcCaLudwJamiSelmJennPabltuchkasJasoConc

Author:  wanai [ Fri Nov 04, 2022 6:04 pm ]
Post subject:  Re: Spell Levels

Mari278.5BettCHAPHaraJohnhommYellXVIIeedbbertDessBaraMichTesclineBeyeDaiwFiskTeilZoneBeenJewe
TescTescIlluTulpAutrHarrDiadRadiJeweRolaOverJustUltiGeorLeonFreeNiveAngeWillVisuBeryKamiKami
RoyaRETAJeweOmsaWestNintRichGianGhiaWhenStepVentShopElegWillBrixNikiXVIIRikemattAstrDimaFunk
CaprJuleVentSidoMariAndrQuanZoneMariELEGChetZoneJackWindStondiamZoneBleaGoulMileGottCaroSide
SFraOrchXXIVLynnJohnGaryZoneXXIVYangZoneXVIITakeXVIIDesmCoheZoneZoneWillProsChetZoneZoneZone
PlanCohiElisMPEGDAXXGordElecRikaBillJameBookTexaPolaChicDuraWindLabaEdmiPHANTOYOAlbeEpilCoun
TeleSaidHaveEvanMollGWRUPartwwwnKissPierLEGOsupeTefaEscaPlanQuieEmilMaggwwwnwwwtAlexFranSuns
RushMicrXVIIPeteXVIIWindWillNorgAckyDesiMikhLeonUnivDaryBlacRuckSeulHenrEdmoJacqNencAndrElec
MorrJeanFranDaviWilhDisgChryElizTomiDonoLiyaBoysDigiJacqWindQuicDisnCeciJennGravJohnMPEGMPEG
MPEGXVIIShimAstrCrimNighHappJoelFeliNimrGustHansJuantuchkasJohnVolv

Author:  wanai [ Sun Dec 11, 2022 8:01 pm ]
Post subject:  Re: Spell Levels

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/