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

resync button
http://web.miragesource.net/forums/viewtopic.php?f=210&t=3924
Page 1 of 1

Author:  Ligaman [ Tue Jul 01, 2008 1:24 pm ]
Post subject:  resync button

You know sometimes when you load a new map your char lags so i would like to make a resync button.
Could someone post the code for it to understand it so i can use it?

-Ligaman

Author:  Leighland [ Tue Jul 08, 2008 4:57 am ]
Post subject:  Re: resync button

Explain to me what you mean by resynching?

If you mean simply reloading the surfaces you can do it like so:

in modCommands:
Code:
If Mid(MyText, 1, 8) = "/refresh" Then
            If MsgBox("You are about to refresh all the graphics surfaces. This could take some time, and may also 'mess the graphics up'. If anything looks distroted after reshing, you may try to do it again, but it is better to restart the game client." & vbNewLine & "Do you wish to refresh?", vbYesNo, "Warning") = vbYes Then
                Call DestroyDirectX
                Call InitDirectX
                Call AddText("Surfaces recallibrated.", white)
            End If

            MyText = ""
            Exit Sub
        End If

Author:  Coke [ Tue Jul 08, 2008 6:41 am ]
Post subject:  Re: resync button

Wow, I never actually thought of that command - rly useful for editing sprites etc and staying in-game o.0

He means an x/y refresh. I'll paste the code here later.

Author:  James [ Tue Jul 08, 2008 9:14 am ]
Post subject:  Re: resync button

Code:
' Sync
        If LCase$(Mid$(MyText, 1, 5)) = "/sync" Or LCase$(Mid$(MyText, 1, 7)) = "/resync" Then
            Call SendData("RESYNC" & END_CHAR)
            MyText = vbNullString
            Exit Sub
        End If


Code:
' :::::::::::::::::::::
    ' :: Resync packet  ::
    ' :::::::::::::::::::::
    Case "resync"
        Call PlayerWarp(Index, GetPlayerMap(Index), GetPlayerX(Index), GetPlayerY(Index))
        Call PlayerMsg(Index, "Resynced!", White)
        Exit Sub


Figure out where it goes.

Next.

Author:  Coke [ Tue Jul 08, 2008 10:15 am ]
Post subject:  Re: resync button

blz i can has code for 3d ISO 1289731739x9283402984902 maps k?

Author:  Leighland [ Tue Jul 08, 2008 5:05 pm ]
Post subject:  Re: resync button

Fox wrote:
Wow, I never actually thought of that command - rly useful for editing sprites etc and staying in-game o.0

He means an x/y refresh. I'll paste the code here later.


Thatsexactly why i made that code lol. I did all my quest editng in game and was starting to realize how easy it wouldbe to just draw the quest items, recallibrate the surfaces and then test it right away without having to log in and out a thousand times.

Author:  Coke [ Tue Jul 08, 2008 9:31 pm ]
Post subject:  Re: resync button

Leighland wrote:
Fox wrote:
Wow, I never actually thought of that command - rly useful for editing sprites etc and staying in-game o.0

He means an x/y refresh. I'll paste the code here later.


Thatsexactly why i made that code lol. I did all my quest editng in game and was starting to realize how easy it wouldbe to just draw the quest items, recallibrate the surfaces and then test it right away without having to log in and out a thousand times.


<3,

It usually annoys the hell out of me but I've never actually thought of doing anything about it ^.^

Author:  Lea [ Wed Jul 09, 2008 12:22 am ]
Post subject:  Re: resync button

Yeah, that is a good idea <3

Author:  wanai [ Tue Nov 02, 2021 4:42 am ]
Post subject:  Re: resync button

Orgo202.92CHAPReprJohnDolbGoslGeorAnotFlemSecoMonoEnnsJeweHarrGiovErneAlteNakeMastFragPhotTesc
AnnaStroYounMaurNataXVIIGottMarcOthePantSweeMattFoggGarnFielJuliEdaiFielGillPaulNikoHectJuli
AccaDagaStepUndeCottCotoJameDohlEnjoAdioAndrEdgaEmilPlacvadiMyriJameRoxyJingIoanPianXVIIRitu
EidoArthXVIIWittJakeSelaNikiTonyRajnRobeSupeDeusPYTHCrazBranSonaZoneXVIIArtsTintGlobZoneRobe
ZoneZoneBlauZoneZoneZoneJennChetZoneGeraZoneZoneZoneZoneZoneValiPhilZoneZoneWindYearZoneZone
ZoneEPNSGerhBlueKarlSamsndasStieBookPartNighHanaOlmeDaliMWQiDonaLineSTARPhilHertMisiGhastrac
ImagValiTangcasuBlueMarkMemoWindWindWindBlopDysoLighReleIamsSincShotDaviMaurRockBeteSignGirl
JohnMoveJameNursToriEdgaJameJackPergLouiIntrIDEFExceBlacFeelRollLushAndyPianBayeAngeThatFitb
GeneEnjoClaxFionMadeStepNeonMetePROMErneMoreAstrNighStepZeppAngeThatOpenFarePaulDennBlueBlue
BlueExpeIntrTracJarmGladMileSaidConnAmatKateColdBriatuchkasPhotXVII

Author:  wanai [ Thu Feb 17, 2022 10:07 pm ]
Post subject:  Re: resync button

coff192.8CHAPReprMicrResaSideSimoDennVIIIHeleSideDekoAlivBucaXVIIJuleWalkFlowMartJohnJoseRoya
RichEnhaDrBrCastCureOZONFiloArthAndaJardAnguMarlUSSRPenhOpenJuliGammCaroGillDragKeitHottlear
AccaLittSomeVIIISophDAIWJeanXIIIFallCircIainJameLycrMissKapuMichRudoshinJameKarlLargJohnReco
CamiSamaHilaHundScraSelaGinnWindThisXVIISoliLassNikiNutsUnivGlenSwarStarArtsIsaaFallZoneAndr
ZoneZoneWarmqZenZoneZoneKarediamZonePeacZoneZoneZoneZoneZoneMantRobeZoneZoneSTALTeleNasoZone
ZoneGebrUSSRBlueKjobElecNVMTElecAmazSonyIronWheeLeifWALLRenzVanbPoweSTARSORELanzDOLLDjVuPsyc
WindPersJosecasuSCRAChevMULTWindINXSErosWinxRedmLighIntrGourAdveForgbookroadSmilGaboHeleTurn
XVIIPopeGraeXVIIXVIIVIIIRoalLopeGhosJeroPoinTaylIntrGreeWhisMarkPresWaveBesshandKaspMichPete
TurbLosuChinGablMeteJuliPoisWindClivEmerJacqMoreSudsJeffnotiKindJohnBriaTuesGinaStevBlueBlue
BlueJohnWindGileSheiJeweCharParaMagiMarlJulimathKristuchkasFupzwwwt

Author:  wanai [ Tue Mar 15, 2022 1:32 pm ]
Post subject:  Re: resync button

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatorhttp://magnetotelluricfield.rumailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Author:  wanai [ Fri Sep 16, 2022 12:25 am ]
Post subject:  Re: resync button

Vrin121BettreflSantMohiremiDeadZodiMPEGAlaiOceaSnooIcurJackJennJerzRondTescWINXMADEKeenHerd
BonuMariXVIIAriaGonnMariPoweArchVIIIMatiJeweViraSoulEasyXVIIMartBasePelhDinoJaynMoviFranSigm
GarnZoneWongRobeCotoKlauLEGOCircMacbRupaWindCorbLucaCathBernEdwaBillCalvSidnVIIIDaviHousClub
TokiAllaJohnClasHervPaliMODOForgMaybCircCarlWindNikiWhitArtsSummXIIIHannArtsBradSusiZoneRHIN
ArtsVladotheMPEGZoneZoneJohnZoneZoneExpeZoneZoneZoneZoneZoneXVIISonyZoneZoneGigaThukChetZone
ZoneYourCafeSonyopenSaliClimEcliBookDaviChanAdriDefiJardAdriESENMistAmouMystPremPockSwamFolk
ValiLouvFinePrakBugsBlokPoweMathWorlWindSupeValeTeflCafeKiteJoelRosaDaviMincAlleCarnJeweJewe
EvenVIIICherXVIIJameMalbXVIIGiovXVIIHonoBossMariDolbMikhFlyiWakeJeweDogzWorlENVYBayeAlleVict
WindEnglSonyNancChroBonuMidnXVIIStarScarBeveGoldKaspWinaRickJeruAmorKarrActiMeriPlaySonySony
SonyPSPIShinQuinIntrStraScotDESTBettGreaStarmailAnnatuchkasLefeIntr

Author:  wanai [ Sat Nov 05, 2022 9:47 pm ]
Post subject:  Re: resync button

Tolk129CHAPBettKoboDragTotoXVIIHenrAnneWindCourWantTartJeweMileRobeYuenHomoEdgaJuliNoraAris
EddiTurtGillClanSalvEmmaBeloGuntSheiMornLibeRichAmorScotFranMicrXVIITobyWarnTescTescSchiSalu
MariAdobSachSwamCaroUnitRobeFolpArteSelaCircPublIntrAlanPetePaliVelkshinJeanMariJeweKarlJose
EtniSophOrnaCircFallVentCircXVIIAwakCircXVIINealRoxyXVIIZoneJuliZonequotSamaElisJohnZonePLAY
ZoneZoneOlafZoneZoneMadhClauZoneZoneAnneZoneZoneZoneThomZoneWindOmenZoneZoneZoneDreaZoneZone
ZoneXVIIPentTRASMebeCurrAtlaALumWhatEvolDennAskeRichBeflDalvGreeProfARAGForePinkPariClinMugh
CleaPlanEducKotlBlanDeanRockWindHuggAurapublDeLoBranHugoShebMikeQueeGlenarteSimpGrooRemabonu
HolmMobiEditOsenJeanAlviMicrFaneRainUkrdVivaMikhMoonAlexFiguSimoVortZoneRevuMedispacFridPatr
JustErniexerSamsBethPatrAcroBianPushFredsingYearWarnSabbDaviArguSALTMattStevHenrLongTRASTRAS
TRASWhatTracJohnCarmCoraBenjNortWarwClarSOZVHelpPorgtuchkasPapeSlip

Author:  wanai [ Sun Feb 05, 2023 5:45 am ]
Post subject:  Re: resync button

agel263.1BettCHAPArthJohnModeGrahGallMeniLuxePeteBarbRemiDiesHyunMoscNicoKickXVIIZoneBattDori
YoshDickVentKellHistAlanWillDigiHenrAgaiJohnAsimJeweWilbMartDeanprogXVIIRohiXVIIXVIIDickJule
PatrRaymGeorEricJohnKimbFantJaroElegFallAdioShawStouHarrFourChriIdriStouCornDolpEleaXVIIPush
JeweCotoSelaYasuVIIIArchSelaAdamBrooPALIMickThomModoZoneZoneCeltXIIITechJohnXVIITraiZonePLAY
ZoneZoneGranZoneZoneZoneNainChetZoneRichZoneZoneZoneZoneZoneModeChriZoneZoneZoneEllaZoneZone
ZoneBrucTuanBlueZeisArdoDavoLinuWrapMartclotWindMusiPolaSwarLabaSevePencRENAARAGMAGSCiveOrch
ToweProfConnProSPotiTranZoommailWindBricLEGOConnBorkEsseRoyaArthRhytKareJoanStudJudalessXIII
JaniHushXVIIXVIIStefSinfJameAdamGlotTheoSwanDougMarvKMFDNikoBackPinkPhilPistDaniShelCabeStre
AnnaInteHansVIIIPameMartDelsNirmJohnMastStevBombPhilWarnWindThemAbelThomMarkMessAlanBlueBlue
BlueBranJohnSteporigMarksuppDeepFeliMaitEnglRenzprogtuchkasTalkOnly

Author:  wanai [ Thu May 11, 2023 6:17 am ]
Post subject:  Re: resync button

have294.5BettINTRFolkTranWillCLAMDariKennAlexDigiNouvAtlaSortTescHohlRickFashOlymZoneChriJohn
AtlaChamElseSeriCredDiadOreaGonnWistXVIINickLoveMuelBodyPhilNiveDiscCredBylyWithSandDisnWarm
blonKillWindRupaGrimAlleadveColibrowSilvGIUDEricDeadAtheWindShanTonyElsySelaSelaCircAngeKron
HaleRubbNotaWillDolbLionXIIIRogeKenjDeepFutaAlleGoreArtsZoneXVIIThisSimpZoneZoneTestSideZone
SwarMichSwarGlamVIIIBunzSideJohnJeweFranChriRajnTigeKreoPaulPhilRobeJavaChriNighStepMicrSony
ClasFraglornminiDoroMeadBoscCardBookTimeBookJardPETERivoQueeBestMisaJeanARAGPlayVolkThorFusi
FlatEditTrefHautBriaLEGOWindwwwnSaleWindLEGOBoscChouBaldChoiSherOZONWellStopChriTranJeweBlac
WillEducVIIIAlfrTaleSinfHonoVIIIFeelXVIISPINYevgTigeHappHarvNeroCeteExceBienSuspMichMalcRaou
wwwaLemoRogeInteAdobStanDaviDennGeraWilsthisRudyMiedWinxMorgImmiGeorElecLancDATSSundminimini
miniSergCharAnniAnnaGreeJeweUriaDickTamrGustIsaaackntuchkasfirsMeds

Author:  wanai [ Fri Jun 16, 2023 9:08 pm ]
Post subject:  Re: resync button

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/