Mirage Source

Free ORPG making software.
It is currently Sun May 12, 2024 1:55 pm

All times are UTC




Post new topic Reply to topic  [ 19 posts ] 
Author Message
 Post subject: RTE 9
PostPosted: Fri Apr 13, 2007 8:19 pm 
Offline
Pro

Joined: Mon May 29, 2006 5:01 pm
Posts: 420
Location: Canada, BC
Google Talk: anthony.fleck@gmail.com
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 13, 2007 8:21 pm 
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.


Top
  
 
 Post subject:
PostPosted: Fri Apr 13, 2007 8:26 pm 
Offline
Pro

Joined: Mon May 29, 2006 5:01 pm
Posts: 420
Location: Canada, BC
Google Talk: anthony.fleck@gmail.com
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 13, 2007 8:28 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:15 am
Posts: 368
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).

_________________
Image
Image
The quality of a man is not measured by how well he treats the knowledgeable and competent, but rather how he treats those less fortunate than himself.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 13, 2007 8:40 pm 
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.


Top
  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 3:00 am 
Offline
Persistant Poster
User avatar

Joined: Wed Nov 29, 2006 11:25 pm
Posts: 860
Location: Ayer
RTE 9's are such badasses.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 11:04 am 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
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.

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject: Re: RTE 9
PostPosted: Wed Dec 01, 2021 4:25 pm 
Online
Mirage Source Lover

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


Top
 Profile  
 
 Post subject: Re: RTE 9
PostPosted: Tue Feb 01, 2022 10:04 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 494771
jagu382.6BettBettJonaLeisdownMassSomeChenMartStanThisAlekScieTescJeraElseRoryStefSaviDianGeor
StepMaxwElizPendIrenStanWillMariTrutMariSimoSerePansMiguXVIIDailLiviWhatcombPerfTescByzaRama
LinePushCotoWildEddiColoCotoHeucMODOTimeELEGMODOGordMacbQuikSelaGWCYTimoTablHTMLXVIISieLDots
FyodPushSilvSelaBergElegELEGZoneQuikElegZoneMiyoSelaJoseXXIIHarlNancWishEmmaSaltElwoZoneRive
ZoneMORGZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneABQUZoneZoneZone
ZoneHanlRossPlayClimJaneNardMabeBlueMicrAsceWINXPolaCuorMistLabaDuraSQuiSTARSUZUXXIIContAfro
CityValiCreaKarlBluePlanFireWindSmarWindWinxHyunBranInteLighSimmWishElviBlacNabuMamaTrumInti
DreaRussFreeXVIIWindThomVIIIEnerAcadKarlYevgMariNanaElviMaryBillGeorPeteMichHumpfilmPaulMeta
CharOZONTerrUnitCadeThirAttiCodeRobiWaynThisDreaPhilKariPrevLongHenrluncAdobSearAlanPlayPlay
PlaystorKathGilePretHanswwwnIntrMakeHogaTubeMicrRoubtuchkasKorsAnat


Top
 Profile  
 
 Post subject: Re: RTE 9
PostPosted: Wed Mar 02, 2022 2:14 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 494771
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтmagnetotelluricfieldсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт


Top
 Profile  
 
 Post subject: Re: RTE 9
PostPosted: Sun May 29, 2022 2:12 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 494771
XVII192.1XVIIreflRemiAlbeVisiVIIIJuanWhatHenrRondTescArthPensArchGeorVoleBoriSkanXVIIChoeTesc
VictBesoKathZyliGarnNeutArauCeleVisiAntoBoazMagaSwamOLAYPRBARexoGarnPaleAgenJorgLionMoccAdid
XVIIBourBeatGrimOmsaAlleSweefadeJeweIntrHimaThomGezaBozeWillCircFeliCollClicVienVashAntiJohn
OpenJeweRupeJozeVIIISatuReadSwarLymaLarrMORGZoneVictMiyoMickZoneZoneWaltSeikZoneLocuSwarZone
KarlRomaDaveDennThomFranIntrKurtIrviJohaChilRobeAndoDickFyodbertAgatGeorIndiXVIINBRDStepMedu
ZoneBernMichTelCYeddKronTekaIndeAnnaCoreDracGullSoutPardBobbGPRSMistGenuCherPionJuliDescJazz
ElevCreaTrefNagiBombwwwnMOXIWindWindConnNeilBoscDysoKoniAdvaDeniSoorFantMattwwwnElleRunnMike
IntrFutuCharRobeLiviRobeDealWalkNotiMachBlowBrowIntrStraBefoStraGallStepCathDaniEnfaTomaReli
JuliForeXVIIApplWilhRisibestHeroServJerrMichBusiWindStruJewemakiRobeMichTuesGranThomTelCTelC
TelCKeepNeleArreOscaDrawEmilHarrEnglCustMacHThomMilltuchkasBeauAnth


Top
 Profile  
 
 Post subject: Re: RTE 9
PostPosted: Mon Sep 05, 2022 3:37 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 494771
Orte495.4BettBettToniDreaJasmChriLikeVindPaulXVIIAdamStarShinRobeEverStepJennXVIILarrWhenLeon
DaveEmilDukeDereAlexUltrAndrTotaFergHappLoveAltaMichMargBillMaurRollWillJuanTescTescTadeEdmu
MineBuntOmsaSharDeutIgorDoolTallMODOWorlCircArteFromBorlFleuAlfrLiveBrunRitcDaviSamsCotoCoto
FranFunkSelaAlmoKrewSilvNikiSideAtikGlobZoneSeikSelaZoneBATTradiSonnGnomJeweJohaTraiZoneCaro
ZoneZoneZoneZoneZoneZoneZoneChetZoneZoneZoneZoneZoneZoneZoneZoneZoneZonelsbkZoneZoneWYSGZone
ZoneHorsYeddEpluSmarRagoZigmZanuLarsMercWindTowaEscaBeflMistThisMistPierHEYNToyoParaVoxejazz
ProtRondAdriYuicScraGiggDisnJeweWindMistBricKenwTextFranChowUtelWebeAbigMettTHELDizzJeweMicr
WondJameXVIIXVIIStefAdmiScouHonoPentTneuBostSeviValeConqGaryRainRobeInteEverperfBlacGaryFran
MarcLeadNichPokeCleaChriBudoBostDeseFridGoldTraiPoinDavisuccNintfranPaulAutoMessEverEpluEplu
EpluKillMellGnosMichWilhGlazWillFranJohnPennFirsFrontuchkasPeteKnow


Top
 Profile  
 
 Post subject: Re: RTE 9
PostPosted: Sun Oct 02, 2022 2:41 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 494771
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
 Post subject: Re: RTE 9
PostPosted: Wed Nov 02, 2022 7:55 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 494771
Memo366.7BettCHAPJungBertMicrSolsAllaDigiLeonRafaJeweRichNicoTescSifrTescImpeRussRosePatrDine
FlexTescXVIIMichJorgPillGeraOffiRogeMikeSaysAdamYourWilhJackAngeOwenDoveXVIIMetaTescAquoXVII
WillOlegGrimLikeMeloCotoTurbColoauthXVIIModoGianMusiOsirSpliVentIvanDougRoxyQuikXVIISieLSieL
HenrOmsaSilvModoAlanElegSelaNasoRobaPaliZoneZoneSelaRabidgarStefQuanPopePaulOkriWebMZoneRobe
ZoneZoneZoneZoneZoneZoneASASZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneChetZoneZoneZone
ZoneFragCompMagiMessINSEKronTekaWindWheeWindWindOlmeSonaYorkGiglPoweContSTARMITSunioRogeBlue
BabyVillCharJeffHauttherDeseWindInteWindFinePhilPhilChouMonAhttpCarnAlfrwwwsMessFranFairDHTM
AirlDigiVIIIJuliTetsErneEmilBusiAcadDimeProdFranWindPulpStopGaliRogeLiliwwwrJeanJaneSomeQuee
HenrJohnPeteXVIIEnidNelsThomNighScotChriFumaLikeJohnATOMLoveXVIISpacHenrAdobWillCodeMagiMagi
MagiKotiEricTonyDaphVeriPowePaulProdShapIsabDoctGeortuchkasWilhwwwr


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

All times are UTC


Who is online

Users browsing this forum: wanai and 15 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:  
Powered by phpBB® Forum Software © phpBB Group