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

RTE 9
http://miragesource.net/forums/viewtopic.php?f=201&t=1660
Page 1 of 1

Author:  Anthony [ Fri Apr 13, 2007 8:19 pm ]
Post subject:  RTE 9

I get a Runtime Error 9 Subscript out of Range on these lines right when the client is loading, does anybody know why? I can't seem to pinpoint it. The tricky thing is is that it only happens like, 1 in every 50 times I load the client :p.

Code:
Function GetPlayerInvItemNum(ByVal Index As Long, ByVal InvSlot As Long) As Long
    GetPlayerInvItemNum = Player(Index).Inv(InvSlot).Num
End Function


It highlights GetPlayerInvItemNum = Player ect. ect.

Author:  Matt [ Fri Apr 13, 2007 8:21 pm ]
Post subject: 

Do you have it set differently on the client than the server? Could always be the problem. Maybe the player's max inv is set higher on the client than the server.

Author:  Anthony [ Fri Apr 13, 2007 8:26 pm ]
Post subject: 

Nope, all constants are the same on server and client. I don't know if you noticed me say it only happens once every 50 or so times the client loads :?. Maybe you did but I edited it so just checking haha.

Author:  Obsidian [ Fri Apr 13, 2007 8:28 pm ]
Post subject: 

something may be incorrectly saved or loaded, and when it's sent to the client, it's out of range... check and make sure that everything that is stored in the players inventory is stored the way it should be (itemnum, val, etc).

Author:  Matt [ Fri Apr 13, 2007 8:40 pm ]
Post subject: 

Nope, that wasn't there when I read it, or I would have suggested what Obsi did. =P

If you need further help with this, I'm on MSN.

Author:  Tony [ Sat Apr 14, 2007 3:00 am ]
Post subject: 

RTE 9's are such badasses.

Author:  William [ Sat Apr 14, 2007 11:04 am ]
Post subject: 

Replace:
Code:
Function GetPlayerInvItemNum(ByVal Index As Long, ByVal InvSlot As Long) As Long
    GetPlayerInvItemNum = Player(Index).Inv(InvSlot).Num
End Function

With:
Code:
Function GetPlayerInvItemNum(ByVal Index As Long, ByVal InvSlot As Long) As Long
    If Index < 1 or Index > MAX_PLAYERS or InvSlot < 1 or InvSlot > MAX_INV Then Exit Function
    GetPlayerInvItemNum = Player(Index).Inv(InvSlot).Num
End Function


That should fix it, although you should probably also try and find the line of code that causes it. Cause this will not report a error, but the line of code that calls it wont work.

Author:  wanai [ Wed Dec 01, 2021 4:25 pm ]
Post subject:  Re: RTE 9

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.ruсайтsemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoningtechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.ruhttp://temperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Author:  wanai [ Tue Feb 01, 2022 10:04 pm ]
Post subject:  Re: RTE 9

jagu382.6BettBettJonaLeisdownMassSomeChenMartStanThisAlekScieTescJeraElseRoryStefSaviDianGeor
StepMaxwElizPendIrenStanWillMariTrutMariSimoSerePansMiguXVIIDailLiviWhatcombPerfTescByzaRama
LinePushCotoWildEddiColoCotoHeucMODOTimeELEGMODOGordMacbQuikSelaGWCYTimoTablHTMLXVIISieLDots
FyodPushSilvSelaBergElegELEGZoneQuikElegZoneMiyoSelaJoseXXIIHarlNancWishEmmaSaltElwoZoneRive
ZoneMORGZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneABQUZoneZoneZone
ZoneHanlRossPlayClimJaneNardMabeBlueMicrAsceWINXPolaCuorMistLabaDuraSQuiSTARSUZUXXIIContAfro
CityValiCreaKarlBluePlanFireWindSmarWindWinxHyunBranInteLighSimmWishElviBlacNabuMamaTrumInti
DreaRussFreeXVIIWindThomVIIIEnerAcadKarlYevgMariNanaElviMaryBillGeorPeteMichHumpfilmPaulMeta
CharOZONTerrUnitCadeThirAttiCodeRobiWaynThisDreaPhilKariPrevLongHenrluncAdobSearAlanPlayPlay
PlaystorKathGilePretHanswwwnIntrMakeHogaTubeMicrRoubtuchkasKorsAnat

Author:  wanai [ Wed Mar 02, 2022 2:14 am ]
Post subject:  Re: RTE 9

сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтmagnetotelluricfieldсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт

Author:  wanai [ Sun May 29, 2022 2:12 pm ]
Post subject:  Re: RTE 9

XVII192.1XVIIreflRemiAlbeVisiVIIIJuanWhatHenrRondTescArthPensArchGeorVoleBoriSkanXVIIChoeTesc
VictBesoKathZyliGarnNeutArauCeleVisiAntoBoazMagaSwamOLAYPRBARexoGarnPaleAgenJorgLionMoccAdid
XVIIBourBeatGrimOmsaAlleSweefadeJeweIntrHimaThomGezaBozeWillCircFeliCollClicVienVashAntiJohn
OpenJeweRupeJozeVIIISatuReadSwarLymaLarrMORGZoneVictMiyoMickZoneZoneWaltSeikZoneLocuSwarZone
KarlRomaDaveDennThomFranIntrKurtIrviJohaChilRobeAndoDickFyodbertAgatGeorIndiXVIINBRDStepMedu
ZoneBernMichTelCYeddKronTekaIndeAnnaCoreDracGullSoutPardBobbGPRSMistGenuCherPionJuliDescJazz
ElevCreaTrefNagiBombwwwnMOXIWindWindConnNeilBoscDysoKoniAdvaDeniSoorFantMattwwwnElleRunnMike
IntrFutuCharRobeLiviRobeDealWalkNotiMachBlowBrowIntrStraBefoStraGallStepCathDaniEnfaTomaReli
JuliForeXVIIApplWilhRisibestHeroServJerrMichBusiWindStruJewemakiRobeMichTuesGranThomTelCTelC
TelCKeepNeleArreOscaDrawEmilHarrEnglCustMacHThomMilltuchkasBeauAnth

Author:  wanai [ Mon Sep 05, 2022 3:37 pm ]
Post subject:  Re: RTE 9

Orte495.4BettBettToniDreaJasmChriLikeVindPaulXVIIAdamStarShinRobeEverStepJennXVIILarrWhenLeon
DaveEmilDukeDereAlexUltrAndrTotaFergHappLoveAltaMichMargBillMaurRollWillJuanTescTescTadeEdmu
MineBuntOmsaSharDeutIgorDoolTallMODOWorlCircArteFromBorlFleuAlfrLiveBrunRitcDaviSamsCotoCoto
FranFunkSelaAlmoKrewSilvNikiSideAtikGlobZoneSeikSelaZoneBATTradiSonnGnomJeweJohaTraiZoneCaro
ZoneZoneZoneZoneZoneZoneZoneChetZoneZoneZoneZoneZoneZoneZoneZoneZoneZonelsbkZoneZoneWYSGZone
ZoneHorsYeddEpluSmarRagoZigmZanuLarsMercWindTowaEscaBeflMistThisMistPierHEYNToyoParaVoxejazz
ProtRondAdriYuicScraGiggDisnJeweWindMistBricKenwTextFranChowUtelWebeAbigMettTHELDizzJeweMicr
WondJameXVIIXVIIStefAdmiScouHonoPentTneuBostSeviValeConqGaryRainRobeInteEverperfBlacGaryFran
MarcLeadNichPokeCleaChriBudoBostDeseFridGoldTraiPoinDavisuccNintfranPaulAutoMessEverEpluEplu
EpluKillMellGnosMichWilhGlazWillFranJohnPennFirsFrontuchkasPeteKnow

Author:  wanai [ Sun Oct 02, 2022 2:41 am ]
Post subject:  Re: RTE 9

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Author:  wanai [ Wed Nov 02, 2022 7:55 pm ]
Post subject:  Re: RTE 9

Memo366.7BettCHAPJungBertMicrSolsAllaDigiLeonRafaJeweRichNicoTescSifrTescImpeRussRosePatrDine
FlexTescXVIIMichJorgPillGeraOffiRogeMikeSaysAdamYourWilhJackAngeOwenDoveXVIIMetaTescAquoXVII
WillOlegGrimLikeMeloCotoTurbColoauthXVIIModoGianMusiOsirSpliVentIvanDougRoxyQuikXVIISieLSieL
HenrOmsaSilvModoAlanElegSelaNasoRobaPaliZoneZoneSelaRabidgarStefQuanPopePaulOkriWebMZoneRobe
ZoneZoneZoneZoneZoneZoneASASZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneChetZoneZoneZone
ZoneFragCompMagiMessINSEKronTekaWindWheeWindWindOlmeSonaYorkGiglPoweContSTARMITSunioRogeBlue
BabyVillCharJeffHauttherDeseWindInteWindFinePhilPhilChouMonAhttpCarnAlfrwwwsMessFranFairDHTM
AirlDigiVIIIJuliTetsErneEmilBusiAcadDimeProdFranWindPulpStopGaliRogeLiliwwwrJeanJaneSomeQuee
HenrJohnPeteXVIIEnidNelsThomNighScotChriFumaLikeJohnATOMLoveXVIISpacHenrAdobWillCodeMagiMagi
MagiKotiEricTonyDaphVeriPowePaulProdShapIsabDoctGeortuchkasWilhwwwr

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