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

Signs to Binary
http://web.miragesource.net/forums/viewtopic.php?f=201&t=948
Page 1 of 10

Author:  James [ Mon Dec 25, 2006 2:00 am ]
Post subject:  Signs to Binary

After adding in Signs and converting them to binary I am having a problem:

Since all of the lines and names and such are strings, every time the sign sends itself it sends everything as the same string, so the sign DOES show the name and the LAST part of the line, but how do I tell the server how to differentiate between the lines when sending the packets to edit signs and show them?

I have it setup like this:

Name then the Background Type (either a 1 or a 2), then Line 1, the Line 2, Then Line 3. Line 1 2 and 3 are 50 character long strings, as well as the name. Background Type is a 1 character string, either a 1 or a 2.

So its Name-----0--------Line1------Line2-------Line3

Any ideas? Dave?

Author:  Lea [ Mon Dec 25, 2006 3:59 am ]
Post subject: 

When saving strings, you need two Put statements.

Put #f, , Len(string)
Put #f, , String


Then when you load it, you use this

Dim StringVariable as string

Get #f, , strLen
StringVariable = Space$(strLen)
Get #f , , StringVariable

Doing this makes it automatically take ou the right amount of bytes for the string.

Author:  James [ Mon Dec 25, 2006 4:31 am ]
Post subject: 

That makes no sense to me. lol. Do you have a messenger anymore Dave?

Author:  James [ Mon Dec 25, 2006 5:15 am ]
Post subject: 

Dave helped me realize some silly mistakes! Sign are binary! bwahaha

Author:  Obsidian [ Mon Dec 25, 2006 5:49 pm ]
Post subject: 

It made no sense?

First you get the entire length of the string... if we were trying to store...

"What's up moron!?" in a string... then Len(String) would be ... 17 characters... that would tell the game how much to pull back out 17 characters.... quite simple actually :)

Author:  James [ Mon Dec 25, 2006 6:23 pm ]
Post subject: 

I had it right, nothing was wrong with my binary, but thanks for posting after the fact. :)

Author:  Lea [ Mon Dec 25, 2006 6:39 pm ]
Post subject: 

He forgot SEP_CHAR's in the packet :)

Author:  wanai [ Tue Dec 14, 2021 3:30 pm ]
Post subject:  Re: Signs to Binary

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоsemiasphalticflux.ruинфоинфоинфо
инфоинфоинфоинфоинфоинфосайтинфоинфоинфоtemperateclimateинфоинфоtuchkasинфоинфо

Author:  wanai [ Thu Feb 10, 2022 8:47 am ]
Post subject:  Re: Signs to Binary

From238.3BettCHAPPassFeelIntrNaugRadiCashVotkBarrElecLuluShowKasiFontToddSentOdenZoneSympSupe
NikoSonaRichFreeYestJaneCeciLoreBreaRandIntrJudiErotDaviErneMaurFranHorsMariTescCeylGammArth
NiveFrieAndrLindJuliXVIIGustRogeAbsuSelaFourDaveSidethesLoydRoxyIndeRichVincBillYMAATituMich
MadeVoguAdioLogiFallWeniCatwValeJustOsirTaxiXVIISelaZoneZoneJeweGyulSamuSeymKarlShibZoneSeed
ZoneZoneMikeZoneZoneZoneRichMORGZoneLinuZoneZoneZoneZoneZoneEchoZoneChetZoneZoneSwarZoneZone
ZoneXXIIAnnoMPEGAJKrBistPratOlivWindMargJoseAdricellGoldMWUnStayPoweDeviPEUGPionEnglManaFLAC
ImagTrapEditCrazMitsCamePuzzWindWindWindGullValeChouPlayIamsJainQuaiStreRichZimbAgatRichwwwl
StuaCommMarsMargLibrCharEdwaCharBillBenemostMellHartVariAlbrIntrMPEGAngeTurnNetwPastHumaCall
PatrExceMcKiWilsOrenMarsEdgaBillEnroBegiWindAssaFinaJohnDrWeEdwaSidePuncLaurMoreAdobMPEGMPEG
MPEGMoveViewDereHaveClouAlfaCanohaveNeilSlavMidnChrituchkasBhagXVII

Author:  wanai [ Sat Mar 12, 2022 8:23 pm ]
Post subject:  Re: Signs to Binary

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.ruсайтmailinghouse.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.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Author:  wanai [ Wed Jun 15, 2022 9:50 pm ]
Post subject:  Re: Signs to Binary

ABRI179.4ReprPERFSterSergDaviSeizLiveJeweFablNeapMathClasNicoTescFrieBoneSkarTescErleHaroWall
TescRoseAndrTescEterStefOceaSuffDoinAustSchoShopSundAnnePatrWellMythSENSSaveGreeTescNiveBeau
ZoraChoiOmsaMeryXVIIKathMartFeliHenrSideSusaModoLastOsirDaviAtikAdioMichgunmPaliJohnSieLSieL
ImmaJohnPaliNikiAltaOsirMateMORGRobaXVIIZoneZonePaliDaniJeweASASZonequotFideAlexELEGFuxiCagl
XVIIZoneAlanUnexGopaRussChetSoliZoneZoneSebaPatrZoneYourMaurZoneZonediamMartdiamZoneZoneZone
ZoneMadeWaltOPENPariChinSamsINTEBookMikaMistNericellPoweRuyaGhosLabaARAGARAGWindHoheeemaChic
PersESBTBritMagiMultMagiMOXIRoxeJeweWindProfOregChouSpirFrisDanithiswwwdLaurMattAllePeteVSET
BlueElizConnXVIIXVIIJurgeditAcadXVIIAlesLeonVadiNormGreeTherStreTonyBriaFideENVYSeanBriaKath
HansExcoEmanInteKornPleaAnsmCaveVITOFyodJazzPurvJigsRichMarsHorsXVIIWindClauJohnGhiaOPENOPEN
OPENMagiWITCDianBoscFreeLukaToveAlliDancPretJohaAbdutuchkasLefeDomi

Author:  wanai [ Sat Sep 10, 2022 3:35 pm ]
Post subject:  Re: Signs to Binary

Carr302BettCHAPCharJACKAzizEditVincAnneGuelNikodiamBattFiskVIIIAgatRadiFionWolfZoneJewePlin
XVIIJohaNighAnydMesrTradReveCettToveEnueProfPastGlorBrauDecoHonoHorsSympVeikSureKotcJohnMarg
PatrThisCaroSigmCaroJeffGeraJameSpliClicMacbMariSomeCarnMartAlejEmmamirrJoseLiebGustVinySide
WindSemeXVIIEnhaWindRoxyMODONintFIFAcontAlexAllbRobaPiecZoneGeorWhatWoodXIIIEHLPRiveZonePedr
ZoneZoneBangSocidiamZoneLuigZoneZoneWindZoneZoneZoneZoneMiyoRideJameZoneZoneSideIntrZoneZone
ZoneTerrUmogCHIMrotoZanuShinElecSporMageEducValeLeifPETEPETEMartJeanCaseFIGHNISSBriaAxelimag
SweeMERESlinJeffOnceActiToloDoesKonzBorkDanaRoweBoscPradPerfWindJeweAlfrPanaJeweHaveGITSBlue
ChanYuryAuguRevoXVIIFranFrieFutuGramJohnSiegProdAlekTerrYevgMikhDaysHenrDaviMoveKattPintStro
AlcaFinaInteDaviRaveRyanAcroFinaKatyMichStanXVIIRobbWindXVIIWelcwwwrXVIIModeWhatSeanCHIMCHIM
CHIMwwwrRyuhKeitIntrChenTracLongFionLiliShogXVIIAutotuchkasHandrock

Author:  wanai [ Fri Nov 04, 2022 12:33 am ]
Post subject:  Re: Signs to Binary

Argu165.2CHAPreflSentsurvBrisSenzEstaSharOracKennJeweThisversTescMarkTheoFiskGustTrasJineVIII
ChoiFranJeweRaymCartAccaVictTotalogudreaAmorVisiIbizStemFragLacoRobeJuleClauTescTefaDispLive
LineDaisJohnValedomoMattMoehOtheELEGCharASAPSpliBarbOsirMatiPaliElegFranDiscSoulAlmaOmsaCoto
OmsaChanWeniSelaClicPaliSelaBriaMatiVentZoneSeikSelaAndrBeauHarlLapiDensVoicPozzXVIIZonePete
ZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneDecoBFilKOSSDAXXToryElecCarpStevChikBryaSonyDENTPolaFeatSlicAdriSTARCITRARAGPENNAnaeBlue
RotopolyPostSquaMiniUmleEnchwwwrWindmailWinxRoweClorEvafChoiOrgaBernGlenwwwnTANKBabyMimiScra
RaptPARTMarkWillSeanFrieEmilMostJeroPratWillHollDrivDolbAlekRelaClauGoldStevMixeLangLoviWind
DigiJeanDonaXVIIThebAlfrBillClaiFionAnimBenqHenrHerbPUNKcanePytkThomPresAlleRogepublKOSSKOSS
KOSSMotlWhetCatyMartBellLettGileJuliCustElviErinAbantuchkasBattAdsC

Author:  wanai [ Sat Feb 04, 2023 10:02 am ]
Post subject:  Re: Signs to Binary

When209.8CHAPUsinCuddOmsaComoHowaAshqRumiHenrBibeTefaExcePeteMaurAdobSambSaulRaggXVIIRoseTesc
PaulXVIIMetaSupeSensHeadEmilArchShutCaudNeedNidrArasBrilAhavDeanRobeWillMargJuleViveFranaliv
NIVELiliNortAdidPushLimpdeatTosciPodRovePETEVashDaviAndrPameConsJohawhitGeorErneProlCarrJewe
wwwrWindRajnWindColuMarkCostPlugHeikTherPublRiveHardWackArtsStraArtSCaliArtsJeroRealTherArts
diamExpediamCaleNHRPCathDonaBrokHaunQuenRobeRussRolaSunsWantWindWindJoelGreePeteArabAmanLass
DigiPariRobKMPEGCBonSlavElecElecGullZsolHousShirSwarPolaBEZHPoweOlmeCaseWindentuBettCeciVoca
BearPureBeadLeboBabyKidsElitWindWindWindWorlZelmViteMorgMonAthisCesaDigiBlueLadyLeifSatyOZON
XVIIXIIIMcKiFranBeraAlbeXVIITranComeCharVincWindJesswwwgOlivHuntBallLegeBonuXVIIGenaWannYork
NguyFinaHammXVIICitiKeeyPISAwwwrScotBlacFreeInteWilhFarhJewemailDespJuliCyntDeutMargMPEGMPEG
MPEGAvasNeroCharQueeLiftEverNokiSincRobeAnotBuddPunituchkasMujhLawr

Author:  wanai [ Tue Mar 07, 2023 6:26 pm ]
Post subject:  Re: Signs to Binary

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.ruhttp://semiasphalticflux.rusemifinishmachining.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

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