Mirage Source

Free ORPG making software.
It is currently Sat Apr 27, 2024 7:32 am

All times are UTC




Post new topic Reply to topic  [ 253 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next
Author Message
 Post subject: Declare Binary DataType
PostPosted: Sat Feb 10, 2007 11:00 pm 
Offline
Regular
User avatar

Joined: Sat Feb 10, 2007 10:52 pm
Posts: 49
Location: Melbs Australia
I have a few of questions

1. Can you declare a Binary DataType?

2. Why is boolean bigger than byte?

3. whats the smallest data type?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 10, 2007 11:08 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
Boolean is a binary datatype.

The reason boolean is bigger than byte is because True = -1. One byte to make it negative, one byte to store the 1. Stupid, I know.

I posted a tutorial for Bitfields. This effectivly lets you store 8 boolean values in a byte. Search it.

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 10, 2007 11:38 pm 
Offline
Regular
User avatar

Joined: Sat Feb 10, 2007 10:52 pm
Posts: 49
Location: Melbs Australia
kwl thx!

also can u save memory and packet lag by changing sep_char and end_char to s_c and e_c?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 10, 2007 11:40 pm 
Offline
Regular
User avatar

Joined: Sat Feb 10, 2007 10:52 pm
Posts: 49
Location: Melbs Australia
or using a symbol like !@ and !#

sry for double post...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 10, 2007 11:45 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:15 am
Posts: 368
SEP_CHAR and END_CHAR just represent different ASCII characters that would never be used normally. Basically as soon as the server sees them, it knows to either divide them up, or that it has found the very end of them. If you want to save memory and bandwidth, look at Byte Array packets.

_________________
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: Sat Feb 10, 2007 11:46 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
Sorry, Sep_Char and End_char are just names for a non-ascii character (a single character)

You can't really make it smaller.

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 11, 2007 9:11 am 
Offline
Knowledgeable
User avatar

Joined: Mon Jul 24, 2006 2:04 pm
Posts: 339
Obsidian wrote:
If you want to save memory and bandwidth, look at Byte Array packets.


I wouldn't recommend this unless you know Visual Basic well, and with the questions you made, I doubt you do. It takes a hell of a lot of time, and you have to be ready for some huge, complicated bug tracking. :wink:

_________________
NetGore Free Open Source MMORPG Maker


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 17, 2007 11:25 am 
Offline
Regular
User avatar

Joined: Sat Feb 10, 2007 10:52 pm
Posts: 49
Location: Melbs Australia
no probs no need to underestimate me... just wait till i bring out my game. :)

Its not that i dont no vb well i just dont no Mirage source well

and to me Boolean is not a binary datatype because its so big and fundamentally the computer isnt based on booleans.

_________________
Image
______________________________________________________________________________
www.animephantom.com


Top
 Profile  
 
PostPosted: Wed Dec 01, 2021 2:28 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
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  
 
PostPosted: Tue Feb 01, 2022 8:11 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Faus298.8CHAPCHAPRemiNichMattBentBonuXVIISpecTescClivTefaTescTescTescTescTescDuPoZoneDeniMAST
RoseRoseTescFritMicrStefTwisVIIIHeavErbaIntrBridStopPhilOreaCaroDoveLeviAmraPatrTescPaleTint
HansSympLiveCaprVoguVictPhilSelaClauManmXVIISelaMoreAMIESelaEnduStevwwwnSelaPaliKuniTrasPush
PixaJuliElegTraiCircElegAbraSeikYorkCircZoneSwarSelaJackNeveFuxiZoneTokyGreeGeneOsirZoneXVII
XVIIZoneNichZonePaulZonediamZoneZoneZoneZoneZoneZoneZoneZoneXVIIdiamZoneZoneZoneAnasZoneZone
ZoneHanoPontCCTVSultBoscCataSiemGretCASEDonaFirsXVIIImagGiglDumpOlmeExraAUTOHONDBettHistWorl
SoloGrouTrefLeboRaviSoleTranForeWindMistZanzSingAquaWinxSimbFarhFestdreaFligToshStanAudiXVII
ZAKAUndeXVIICharAmphRomaNaszXVIISamuStefHubeViceSimoEighTherStilDiscTonyJoseMassBakeJacqWorl
DisnPhilHansMandGartMetaXVIIXVIIMartWarrLarsRobeWhatFranLaurDocuDiamHeavFranLouiMandCCTVCCTV
CCTVTopsHansTakkEverDancBuddCodeEdinXVIIHereMichFredtuchkasThisMeli


Top
 Profile  
 
PostPosted: Tue Mar 01, 2022 9:51 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоmagnetotelluricfield.ruинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:39 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
kbps


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:40 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
129.5


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:41 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Repr


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:42 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Norm


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:43 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Davi


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:44 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Wind


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:45 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Dami


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:47 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Spid


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:48 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Robe


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:49 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Fisk


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:50 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Jose


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:51 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Geis


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:52 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Akut


Top
 Profile  
 
PostPosted: Wed May 18, 2022 9:53 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489013
Marg


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 253 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 50 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