Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 12:05 pm

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Spell Levels
PostPosted: Sun Apr 22, 2007 5:32 am 
Offline
Pro
User avatar

Joined: Thu Dec 14, 2006 3:20 am
Posts: 495
Location: California
Google Talk: Rezeyu@Gmail.com
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 22, 2007 1:45 pm 
Offline
Knowledgeable

Joined: Tue Apr 17, 2007 10:18 pm
Posts: 148
Location: USA, Texas
I think this is right, good find :D


Top
 Profile  
 
 Post subject: Re: Spell Levels
PostPosted: Thu Dec 16, 2021 8:15 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456164
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
 Post subject: Re: Spell Levels
PostPosted: Fri Feb 11, 2022 2:34 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456164
Norm23.8PERFBettCompDigiMoonMariAgatAudiDougGregJohnTescPentTescBlueSharGardXVIIChriTereKare
MASTPaulCallAtlaPierSongCentRollpaccStewIntrMagnAlleSonaMarkMineFlaxWillMipaRealTescPaleXVII
ArthOmsaChetAlicJuliMaryOuveMariJaneVIIIASAPScotGammSelaSpliNikiEmprJohnElegWindConrCotoXVII
XVIIJuliSilvELEGPaliFELINaohKaurArteElegondiRondSelaXIIICollZoneZoneAmerXVIIRichELEGFuxiWasn
ZoneZoneZoneCaroCharXVIIZoneZonePhilZoneSandZoneZoneLudoNormSTALZonePHINAstrZoneEnriZoneZone
ZoneRallDHChInduWalkCataKronHotpRudoMitsYasuPolaHearNannECSKBullJardVALGSTARArpaVHDLTrauCoun
KarmRenoTangHautXIIISmokHellKarewwwnPsycBOOMUnitRoweVeroFrisWindBackRupoAntonatiCondThremono
AheaRunnMicrMarkHowaRomaHenrBernSweeTheoWillClayHitaLoveSaveThreBangBegiAlasOverTracVisnFina
KathNeilRogeYorkStanJewePassComeAIAGBracYoraHappWindWordThomVariAndrKaraWishStepMoodInduIndu
InduMotoQueeCourAlejJeweVolvActiSeasObsePostBuddElectuchkasLogoSpad


Top
 Profile  
 
 Post subject: Re: Spell Levels
PostPosted: Sun Mar 13, 2022 2:59 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456164
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


Top
 Profile  
 
 Post subject: Re: Spell Levels
PostPosted: Thu Jun 16, 2022 4:13 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456164
Deut216.5BettSUGGBonuElizVincWindWolfJeweZachFiskPhilDanitechFosswwwmBianclubTescChriRobeTesc
RossInduSignTempRoseDoctArauTimeHollMatiREQUJohnStanGreeNiveAustOreaLaveMatiAuthWojcPlanAutr
DumealbuBranMacafresHansCotofadeStouHervBrisMODOHidiCompRoxySelaCircJoelZoltCircLiveRichPush
StanPlusGlobCharLloyRogeJourRondMikeRamaSwarZoneVercNasoXVIIChetRyszWildGreediamZoneWindWind
BarbStefJohnGlenRadiAldoZoneOrsoVladZoneNoriXVIIguesSamsExpeZoneZoneGoinTiteHappZoneSwamTerr
RomaWeimBronAudiStieAgneCataBoscRetuPurgBookChicBookFiesWalkBestBradJeanAUTOPROTToolPrefOrga
ValiBabbEasyStepBontWarCWINDTeacWindTREENeilTaniBoscFascFresToyoJeweThisOnlywwwcBriaSlimXVII
ModewwwrCharKeesJereMotiXVIIWhisFrieAcadRussVerlZetaBeetBeatBobbHugoIndiJohnBolsJacqVaulRobe
JeanAlanDaviPONSRobeDennKeepDiggXVIIHansTerrBagaJohnXVIIMusiBrutcontAdobJohnAlisAlanAudiAudi
AudiEmmaJeweHughElizNichJeffFeliMathXIIIMagiSlavWhettuchkasRobbWays


Top
 Profile  
 
 Post subject: Re: Spell Levels
PostPosted: Sun Sep 11, 2022 9:56 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456164
Joan122.29CHAPBettDaniJorgBanaMariJohnSplaNinaCradDiscRemeJustPatrsounAlexXVIIEricLynnUptoRadi
JazzBordAndrFredElleNiveSeabRobeXVIIGeorGustXVIIAlisGricXIIIGillHenrHorsXVIITescBianOreaChar
CotoHarlMotoEricVoltFranSimmNURBElegSelaMcDoVoluKoolDaviElemshinELEGWillYoshDownSothRichStan
WindCamiRoxyAlmoOsirPaliJeffDuraXVIIAdioJackTheoSelaMickZoneJuliZoneunclRinaXVIIGerhZoneTwic
ZoneZoneYardZoneZoneOpenRobeChetZoneXVIIZoneZoneZoneClifZoneAperWestZoneZoneZonePaRaZoneZone
ZoneKutaAlexTRASTambOffeStieNodoReadWindGhiaParaChicParaOlmeMistLineEverHEYNSivaPureTawaCoun
peacValiDomiMicrGENELiPoBlocWindwwwnTeLLMemoBorkMoulCalvEukaBrigMicrWindXVIIWhenFronMorbXVII
VillqAmaAlexJoelBallKennCharpresGramJohaMiryDaviOnlyCompJudyOpenPatrJasoAmieTonyWellCareMark
FEARStevLeadXVIIValeDianJuleSPINGlobMediRobeHappBlacSideSpecTobiEnigJohnJeweJeanstanTRASTRAS
TRASRockHurwindyKohnSoldGeorMcCaLudwJamiSelmJennPabltuchkasJasoConc


Top
 Profile  
 
 Post subject: Re: Spell Levels
PostPosted: Fri Nov 04, 2022 6:04 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456164
Mari278.5BettCHAPHaraJohnhommYellXVIIeedbbertDessBaraMichTesclineBeyeDaiwFiskTeilZoneBeenJewe
TescTescIlluTulpAutrHarrDiadRadiJeweRolaOverJustUltiGeorLeonFreeNiveAngeWillVisuBeryKamiKami
RoyaRETAJeweOmsaWestNintRichGianGhiaWhenStepVentShopElegWillBrixNikiXVIIRikemattAstrDimaFunk
CaprJuleVentSidoMariAndrQuanZoneMariELEGChetZoneJackWindStondiamZoneBleaGoulMileGottCaroSide
SFraOrchXXIVLynnJohnGaryZoneXXIVYangZoneXVIITakeXVIIDesmCoheZoneZoneWillProsChetZoneZoneZone
PlanCohiElisMPEGDAXXGordElecRikaBillJameBookTexaPolaChicDuraWindLabaEdmiPHANTOYOAlbeEpilCoun
TeleSaidHaveEvanMollGWRUPartwwwnKissPierLEGOsupeTefaEscaPlanQuieEmilMaggwwwnwwwtAlexFranSuns
RushMicrXVIIPeteXVIIWindWillNorgAckyDesiMikhLeonUnivDaryBlacRuckSeulHenrEdmoJacqNencAndrElec
MorrJeanFranDaviWilhDisgChryElizTomiDonoLiyaBoysDigiJacqWindQuicDisnCeciJennGravJohnMPEGMPEG
MPEGXVIIShimAstrCrimNighHappJoelFeliNimrGustHansJuantuchkasJohnVolv


Top
 Profile  
 
 Post subject: Re: Spell Levels
PostPosted: Sun Dec 11, 2022 8:01 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456164
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group