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

Question about packets
http://www.miragesource.net/forums/viewtopic.php?f=201&t=3233
Page 1 of 1

Author:  Anthony [ Sat Jan 05, 2008 9:28 pm ]
Post subject:  Question about packets

So I am starting to go through, and using Williams Enum tutorial, changing all my packets. I remember DFA mentioning about the & SEP_CHAR & END_CHAR thing. Nobody really said anything about it and not that I don't trust his judgment I would just like another opinion before I go removing them all.

So can I remove that extra & SEP_CHAR without damaging anything? Or is there a specific reason it is there?

Author:  Cruzn [ Sat Jan 05, 2008 9:34 pm ]
Post subject:  Re: Question about packets

Vegeta wrote:
So can I remove that extra & SEP_CHAR without damaging anything?
Yes.

Author:  Rezeyu [ Sat Jan 05, 2008 10:07 pm ]
Post subject:  Re: Question about packets

I was the one that told DFA to do it, it works fine.

Author:  Anthony [ Sat Jan 05, 2008 10:54 pm ]
Post subject:  Re: Question about packets

Thanks, and I knew it was you Rezeyu haha, I just forgot your name but knew it was DFAs topic :P.

I have a new question.. Like I said I am adding Williams Packet Enum tut. After changing all the packets from server to client only I am getting subscript out of range errors on almost everything. If I change the newly named packet from CPNTrade back to "trade" on both ends it works again. It seems to be doing this on all of them at the Val(Parse(2)). Any ideas? Thanks!

Author:  Cruzn [ Sat Jan 05, 2008 11:13 pm ]
Post subject:  Re: Question about packets

I don't know the tutorial, but are you sure you're not checking "CPNTrade" against lcase("CPNTrade")? CPNTrade vs. cpntrade

Code:
parse(0) = lcase(parse(0))

switch(parse(0))
case "CPNTrade"

Parse(0) is lowercase, but your cases are not.

Not sure if switches are case sensitive in VB6 though. :S

Author:  Anthony [ Sat Jan 05, 2008 11:26 pm ]
Post subject:  Re: Question about packets

I did look through what you mentioned and read some more of the tutorial as well as some of the replies by Aranshada. I added = 0 to my CPNTrade in the Enum and it worked. I don't know why and would like to know haha. Can anybody explain it to me?

-edit-

Ok nvm, that actually did nothing haha, but for some reason I am not getting a subscript out of range anymore on CPNTrade but it has moved to CPNAllChars... Ugh haha.

Author:  Lea [ Sun Jan 06, 2008 12:02 am ]
Post subject:  Re: Question about packets

If you remove the last SEP_CHAR you will have an END_CHAR appended to your last data. I think it would cause problems to remove it.

Remember, the packets are strings, and SEP_CHR and END_CHAR are simply variables that hold the value of one character.

Author:  Anthony [ Sun Jan 06, 2008 12:06 am ]
Post subject:  Re: Question about packets

Dave was correct. After replacing the & SEP_CHAR before the END_CHAR it fixed the runtime errors I was receiving. It seems as if leaving some out doesn't cause problems? Or should they all remain where they are.

-edit-

It seems as if I am parsing anything more than 0 and 1 that I get the runtime error.

Author:  Rezeyu [ Sun Jan 06, 2008 12:25 am ]
Post subject:  Re: Question about packets

I haven't gotten any errors at all.

I remember having to change something in the way packets were received though.

Author:  Stomach Pulser [ Sun Jan 06, 2008 2:26 am ]
Post subject:  Re: Question about packets

All I did was replaces "& SEP_CHAR & END_CHAR" with "& END_CHAR" in both the client and the server.

I really didn't do much else.

Author:  Dragoons Master [ Sun Jan 06, 2008 2:42 am ]
Post subject:  Re: Question about packets

Probably your packet receiving was already wrong but with the extra variable(the extra SEP_CHAR fakes one more variable but actually there is none) it was not showing you the error but now, with out the extra variable you can see the bugs.

Author:  wanai [ Wed Dec 08, 2021 8:58 am ]
Post subject:  Re: Question about packets

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.ruhttp://magnetotelluricfield.ruhttp://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.ruинфоhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.rutaskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruсайтhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru

Author:  wanai [ Tue Feb 08, 2022 7:25 pm ]
Post subject:  Re: Question about packets

Coun169.3CHAPReprThomKjelfeatXVIIIeriZodiMichTescDoriFMDiZyliMotoBodyJaynHiddJeweNorbGarsTesc
TotaStuaCharBorlWindAndrPeteCafeAndrGezaHeinXVIILuciTricBambThoractiCharScotIntrWaveEvilSegu
BarrZoneNicoSigmEmmaManoTrasSataMacbCircviscStopNighRenaDickKrugMurrStefAlexAlanIrviAmarKlau
RisiDaneMichVisuWindXVIIMicrWindTurnCircJameGangMiloZoneRHIAGreeGracSamuEricGardAnthMehbHenr
TimeZoneHaveDancZoneZoneXIIITimeSchwWindZoneZoneZoneZoneZoneDiscCharZoneZoneWindPrinGaryXVII
IngrXVIIMiloSennLemaArchTOUCZanuSwisMcdoBookSwarFlipDaliDaliMistMRQiOlmeProlPROTURSSDisgJazz
JuliJuneVictsummGirlClimBratWindWorlWindWheeBrauBoscFascChoiuchaDeadcallStanCracLinuEverOpen
ChanJohnReneScotArthErneExpeAlexGlotVersDigiRestDonaSharAlekMarcSupeMopeRickbunnPhilJobiTonk
JillWhilNapoBradRidlFictWindAlerPhilGeneXVIIFoleactiVictkeysJeweWindWordGreePlayFeliSennSenn
SennwwwrXVIILocaneedCultPuniBookBriaJeanDoroRESOMarktuchkasJeroThis

Author:  wanai [ Fri Mar 11, 2022 7:23 am ]
Post subject:  Re: Question about packets

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

Author:  wanai [ Thu Jun 02, 2022 2:18 am ]
Post subject:  Re: Question about packets

Baye453.3BettBettChanMicrIntrHearKonvAllaDisnJeffWebSFateClauAtlaMainPelhMoreRobeSelmPlayVoic
GotaErneSidnJuliKissPatrAudiNighIslearchXVIIToniArtiVictJakoVictWillXVIIGeorCurvPensPrelArth
CotoJohnJuliAwarGertWillPsykClifModoRockArteModoGeorSonaMunsRoxyGilbLouiStepVoicPushRomaPush
TrasettiGUESChocSelaSilvWorlDaviCircPaliZoneMiyoSpliXVIIBarbTranPierRoadJoseThunTraiZoneGayt
ZoneZoneZoneZoneZoneZoneZonediamZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneNigeArisMiniTeveRitzZanuCataCataDemoWindMistCentJardXeniPowePoweCOMMSTARPHANBrucDAVIPost
IremPastSimoWateNatiToweKatewwwnWindSideLEGOsupePhilChouRoyaHopkWynoOpenSleeRhapSideHearLais
ShorEducRadmTituWaynTheoozonDaniDubiIntrLeonCorrDrivJerrIvanStayNotyCharRamzFastDavijustMalc
HarvLemoAmarODBCZeppSylvSunsLindRoseGLocEnidPorcRobbJohnViveJeweFighJameRenoGinaChriMiniMini
MiniHellDylaFionCollMohaWannGutmXVIIJameDreaPhilXVIItuchkasWherNapa

Author:  wanai [ Fri Sep 09, 2022 12:53 pm ]
Post subject:  Re: Question about packets

More202.7CHAPRefrJohnMohiTranMcGiWillChacRobeSnakHopeEverJohnAlleOlofAtlaWindBonuVIIIViteLian
JuleIrisXVIIIntrWateSideGezaPatrDigiPantArmaContLoveDovePatrStanYangBastMotoWindTellABBYAndr
RicaJackColuParkCeciDamiWindONEXTracBecoAudiGIUDAdamArmaGeorLittCarnarisMarcAndrPianEditWhen
WindPushGeorDeluStefWindSambWindMarySinfXIIIJewePennDeviArtsSkinBeatKoyaArtsXVIIDeseOrejArts
FuxiWhenFuxiWishFuxiHarvFranLoveNighComiZoneMisfOracGellRickWindMiniVladDaniORSiEbonHolgDese
StevMadeVillFlasMelaEdwaHotpStieBabyCoreBookSQuiDaliCaseAfteSponOlmeBeflBluePROTURSSSurgBlue
GreeEducBeadRequHellRolywwwrBlenWindWindBerlDeLoBoscantiPlanundeSagaScreSatuXXIIForeAgatComa
GoodXVIIKlauBenjParkBriaVictXVIINatiJackCeteLeonSellDelgEvilAlekVortDaviEasyInteVIIIKathFill
RaceLawrMichSecrXVIIAzizJetFinteMichShorHTMLWeedFineDykeKareOZONFranWillHannrrieEnjoFlasFlas
FlasMathAlleCharTitaJesuRobeHangDaviAdamHappCaroSliptuchkasArbaIsma

Author:  wanai [ Thu Oct 13, 2022 3:57 am ]
Post subject:  Re: Question about packets

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Author:  wanai [ Thu Nov 03, 2022 3:36 am ]
Post subject:  Re: Question about packets

Nich137.3PERFPERFIntoTracHellAMapWindHughTheyIntrTsuiEaveRichSidnAtlaRemiMartXIIIErleDaviNeed
AuroWindJoseHowaBrowFletDaviDeesXVIIMartRudoXIIIThomXVIIXVIIRigoXVIIXVIIJonapsycLiveMundSchi
NiveGolfXVIIHansClaiAstrMonsStevQuikCircFallElegPaulBenoFallAlfrXVIIGingJuliAlexTricBarbXVII
GailXVIIELEGElemMacbAdioCircKasesituHaroXVIIFransizeThinZoneGeorRednXVIIOnlyAnneNeedJacqNeed
ZoneJohnAuraThinZoneZoneTameGrosZoneNortZoneZoneZoneZoneZonePeteChriZoneZoneZonePoorChetZone
ZoneMalcBourSennHDMIWindZanuGoreDisnTsoiwwwnBookLeifMikeChicOlmeVanbWoodDAEWMITSdongCARDVsem
ORCHTUSCEducProSIntoGracAutoWindWindwwwbLagaBrauMainFuckMagiWindPhilLaurJeweElviOdysBeteVirg
BeteStepJohnJeanChriForeLongAlfrEvenWaltYevgXVIIMariCanaAlekConcPhilFootQuakCityPeteDuncKate
LookWineShanrevePhilGilbHarmCrosMicrJeweCharArthGizoGratMicrLifeDawnRowlJoelEmmaWindSennSenn
SennMichJeffLindThisRudyHappMarkThietATuLefeLoveRosetuchkasWordLook

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