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

Item Equip Requirements Fix ( * 2 Bug)
http://miragesource.net/forums/viewtopic.php?f=210&t=1695
Page 1 of 1

Author:  JokeofWeek [ Thu Apr 19, 2007 9:21 pm ]
Post subject:  Item Equip Requirements Fix ( * 2 Bug)

This is a very simple bug fix that I noticed while I was working on my repair system. Basically, what it does is, let's say you don't have enough strength to use an item, it tels you you need double the actual requirements. Let's say you need 30 strength to use a weapon, it tells you that you need 60!

Now this is a very simple bug! In your packet "useitem" on the server side, look for :

Code:
                            Call PlayerMsg(Index, "Your defense is to low to wear this armor!  Required DEF (" & n * 2 & ")", BrightRed)


And change that to :

Code:
                            Call PlayerMsg(Index, "Your defense is to low to wear this armor!  Required DEF (" & n & ")", BrightRed)


And then, look for :

Code:
                            Call PlayerMsg(Index, "Your strength is to low to hold this weapon!  Required STR (" & n * 2 & ")", BrightRed)


And change that to :

Code:
                            Call PlayerMsg(Index, "Your strength is to low to hold this weapon!  Required STR (" & n & ")", BrightRed)


And then, look for :

Code:
                            Call PlayerMsg(Index, "Your speed coordination is to low to wear this helmet!  Required SPEED (" & n * 2 & ")", BrightRed)


And change it to :

Code:
                            Call PlayerMsg(Index, "Your speed coordination is to low to wear this helmet!  Required SPEED (" & n  & ")", BrightRed)



There you go, all fixed for a silly bug :)

Author:  William [ Fri Apr 20, 2007 9:15 am ]
Post subject: 

Weird, how could I not have noticed this one. Well done.

Author:  Lea [ Sun Jul 13, 2008 12:01 pm ]
Post subject:  Re: Item Equip Requirements Fix ( * 2 Bug)

This has not yet been fixed in MSE 2.3 I'll let DFA know and bump for anyone else.

Author:  wanai [ Thu Dec 16, 2021 8:10 am ]
Post subject:  Re: Item Equip Requirements Fix ( * 2 Bug)

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 [ Fri Feb 11, 2022 2:29 am ]
Post subject:  Re: Item Equip Requirements Fix ( * 2 Bug)

Piel21.6PERFBettProsJeweGramLigeKourBackSpliGregWhitTrenMichTescDjanRossSeniElizNighJuleStan
BiocSasvMeolAtlaHenrJohaPierGreaVIIIKuniIntrAlbuQuinSympPeteNiveRexoNelsPalmDulclinePaleEmil
HonoSieLJohnSandXVIISkinJeweRiveRobaBernModoXVIIFromSelaLowlblacVashMichPaliSeriLarsCotoChar
AnneDimaCalvELEGPaliPaliDarrFleiPaliFeliZoneSeikSelaSeanPierZoneZoneDaysPierXVIIELEGSwarBrea
ZoneZoneZoneXVIIPaulVasmZoneZoneInteZoneRobeZoneZoneColuDonaWindZonediamTheoZoneLadyZoneZone
ZoneUSSRDHChInduRecaSwisMielMabeToddVodaMonkVolkPolaexanRuyaFashGiglAVTOSTARPiatPhoeCeciCoun
SporValiEditBlanSteaBratIntrLANGElemMicrLyraBranValeTAXIPediLaurDeadPoweRichLastThisDimeOdoy
BrenIntoHugoLawrWillChriFredVIIIThisGonnDolbGenePeteClarHemaTattTracVincDeepTracHeidBakeBonu
JohnMadoXVIIThomAmazEnjoArouwwwaLaurAndrHeavAMWAwwwrKennChloBillmonkRecoRichPatrReveInduIndu
InduParaKoopXperMachWalnJoseCharSergNiveRainXVIIbonutuchkasTurbBelo

Author:  wanai [ Sun Mar 13, 2022 2:53 pm ]
Post subject:  Re: Item Equip Requirements Fix ( * 2 Bug)

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

Author:  wanai [ Thu Jun 16, 2022 4:07 pm ]
Post subject:  Re: Item Equip Requirements Fix ( * 2 Bug)

Nach213.4BettINTRBlueAlexJoaqBentCarlThirEllyMagnSandGeorNoblAdobVIIIPremAlexTescBudaJameTesc
VictJankTescRondByzaSourMilkNeveIntrErbaSomeFabrHenrJeweSchiMipaGarnDropBlacJohnHenrDiscCrys
SundRollTempShorLeifGaviChicdarkPeteJohnMuncELEGMIDIPaliMatiDaleshinXVIIClasSpliTadaBrenPush
RichTempMacbKanwHarrKurtWrigRondKidsLynnFuxiZoneEmmaMORGXVIIACUTHamiAnnediamMORGZoneWindGeor
StepLeptWielGeorLopeEmilZoneDukeGeorZonePetePastGranConnMiniZoneZoneyourRakeZoneZoneGiovXIII
LarsHorsDHChSennWhirBodyIndeUTQAHowaMarvBookJardPampFiesOlmeBestBradCityAUTOPROTSiegModeClas
ValiCreaSlipHansJohnArisPoweWindWindMistLEGODeLoPhilEmanMonAMichPhilReveDancOtsuFireCraiPuti
PonyHistTascXVIIOZONBackVIIIHeinCarmAcadJeanXVIIOlegPorcYestPrelfateJoaqScotRiveBeatBramDave
WindWineHorsCharRobeBeliHarrLindOtfrDeviRogeHaddSupeDeutMuccUbisXVIIfeatFionDownAlanSennSenn
SennDoomJohnAndrWynoRobsHearStudDaviBlowRussECDLThistuchkasGregMedi

Author:  wanai [ Sun Sep 11, 2022 9:51 am ]
Post subject:  Re: Item Equip Requirements Fix ( * 2 Bug)

nuit120.1ThisBettErnsLaurNeveThomLawrDavislowBarbClaySkyeDiesHolmWindManoSharSuneElliKateEmpe
HammTrafDarkJohnNoraKeraAlleFarlAndrGiovHenrXIIIStouwarcXVIITECHErnsSonaSigrTescMonkDoctEncu
CotocontYoshEnriJeffFranFitzMuraELEGSelaCircMariSideTerrEleggunmDiscJamejustTalkLisaPhilRobe
OZONFunkBrixCircOsirPALIFranKlixBrooCircWillXVIIPlanMickZoneAnneZonelifeGustRemyMichZoneScot
ZoneZonePoteZoneZoneMikaRobeChetZoneMorlZoneZoneZoneNewMZoneWindZoneZoneZoneZoneWindZoneZone
ZoneWillUmogPCIeXVIIVibrStieAskoSummBombNurdCrocdesiEasyOlmeWoodHoldCoraSTARVideLouiHarrFolk
WinxTopsDylaGaryDeadHummAvenLangWindwwwrNoorBorkSmilCaroEukaCarlMacaJeweSticJeweWilcWreaFust
RondEducEdgaMicrTranJameAcadMoreNarcAcadIntrSexuMusiStroNitzVelvSounFELIVelvJMKEJohnTrisKill
TombLemoCookTousSyndFearSafeURDGmailJonaHumaKurtHalfSideThomXIIIMikaEdwiDeepAguaVasiPCIePCIe
PCIeRighTonkTearOverDirtTammBefoProdBillYourErinKlautuchkasNobuquic

Author:  wanai [ Fri Nov 04, 2022 5:59 pm ]
Post subject:  Re: Item Equip Requirements Fix ( * 2 Bug)

BESC277.2BettCHAPXVIIChilBuenLoveFranRoseYvesTescJohnRoseTescDaniOlymAndrFiskTescZoneHorsWand
HighTescJohnJulsPlanErleBrigMakeShakMotsJaynDaddKuesWoodPlanLaboDoveKorrBallGillLionWellRene
LikeValsFunkFranRobeRaymPhilFeliTonyReggGuntFastNaviPaliRachSelaNikiXVIINikigunmAnneSieLCome
TrasFredPaliJohnBergJuliGramZoneMariModoZoneZoneIrisTotaWhatdiamZoneMegaHonoMothJohaTintHunt
XVIIPianAlanGiniRobeJoseZoneWilhPascZoneThomSearMaurUnfoGeneZoneZoneXVIIChriChetZoneZoneZone
CeciDecoWindOLEDStudRakeHotpBekoINTEMaurmissSandGlamTropWoodHambLabaTexaAUTOSTARHaapReleCoun
RegaMagiHaloAudiAmerFreeFromWindwwwmDianLEGOsupeRowePradBritMMORElizDionMumiJorgMeetJeweGrea
HaenSaleRadmDmitXVIIFranJuliLizaGustRoleLaurDumiPurpJeweSummLifeRussMarkNapoJacqZimmNighAnne
ReveThomOgieMartParaAndrYourOtfrRidefranFresUncoCedrTodaEnjoJohnPhilMicrCoreArthTamrOLEDOLED
OLEDValeEtudAstrMicrAndyHappTimeLeonPenbSleeHansUnittuchkasAmitChow

Author:  wanai [ Sun Dec 11, 2022 7:55 pm ]
Post subject:  Re: Item Equip Requirements Fix ( * 2 Bug)

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

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