Mirage Source

Free ORPG making software.
It is currently Mon Apr 29, 2024 4:35 am

All times are UTC




Post new topic Reply to topic  [ 20 posts ] 
Author Message
 Post subject: resync button
PostPosted: Tue Jul 01, 2008 1:24 pm 
Offline
Newbie

Joined: Sun Jun 08, 2008 10:46 pm
Posts: 20
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


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Tue Jul 08, 2008 4:57 am 
Offline
Knowledgeable

Joined: Wed Jun 14, 2006 10:15 pm
Posts: 169
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

_________________
It Seemed Like A Good Idea At The Time...


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Tue Jul 08, 2008 6:41 am 
Offline
Persistant Poster
User avatar

Joined: Thu Aug 17, 2006 5:27 pm
Posts: 866
Location: United Kingdom
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.


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Tue Jul 08, 2008 9:14 am 
Offline
Banned
User avatar

Joined: Mon Jun 05, 2006 9:22 pm
Posts: 394
Location: USA
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.


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Tue Jul 08, 2008 10:15 am 
Offline
Persistant Poster
User avatar

Joined: Thu Aug 17, 2006 5:27 pm
Posts: 866
Location: United Kingdom
blz i can has code for 3d ISO 1289731739x9283402984902 maps k?


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Tue Jul 08, 2008 5:05 pm 
Offline
Knowledgeable

Joined: Wed Jun 14, 2006 10:15 pm
Posts: 169
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.

_________________
It Seemed Like A Good Idea At The Time...


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Tue Jul 08, 2008 9:31 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Aug 17, 2006 5:27 pm
Posts: 866
Location: United Kingdom
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 ^.^


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Wed Jul 09, 2008 12:22 am 
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
Yeah, that is a good idea <3

_________________
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: Re: resync button
PostPosted: Tue Nov 02, 2021 4:42 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 491370
Orgo202.92CHAPReprJohnDolbGoslGeorAnotFlemSecoMonoEnnsJeweHarrGiovErneAlteNakeMastFragPhotTesc
AnnaStroYounMaurNataXVIIGottMarcOthePantSweeMattFoggGarnFielJuliEdaiFielGillPaulNikoHectJuli
AccaDagaStepUndeCottCotoJameDohlEnjoAdioAndrEdgaEmilPlacvadiMyriJameRoxyJingIoanPianXVIIRitu
EidoArthXVIIWittJakeSelaNikiTonyRajnRobeSupeDeusPYTHCrazBranSonaZoneXVIIArtsTintGlobZoneRobe
ZoneZoneBlauZoneZoneZoneJennChetZoneGeraZoneZoneZoneZoneZoneValiPhilZoneZoneWindYearZoneZone
ZoneEPNSGerhBlueKarlSamsndasStieBookPartNighHanaOlmeDaliMWQiDonaLineSTARPhilHertMisiGhastrac
ImagValiTangcasuBlueMarkMemoWindWindWindBlopDysoLighReleIamsSincShotDaviMaurRockBeteSignGirl
JohnMoveJameNursToriEdgaJameJackPergLouiIntrIDEFExceBlacFeelRollLushAndyPianBayeAngeThatFitb
GeneEnjoClaxFionMadeStepNeonMetePROMErneMoreAstrNighStepZeppAngeThatOpenFarePaulDennBlueBlue
BlueExpeIntrTracJarmGladMileSaidConnAmatKateColdBriatuchkasPhotXVII


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Thu Feb 17, 2022 10:07 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 491370
coff192.8CHAPReprMicrResaSideSimoDennVIIIHeleSideDekoAlivBucaXVIIJuleWalkFlowMartJohnJoseRoya
RichEnhaDrBrCastCureOZONFiloArthAndaJardAnguMarlUSSRPenhOpenJuliGammCaroGillDragKeitHottlear
AccaLittSomeVIIISophDAIWJeanXIIIFallCircIainJameLycrMissKapuMichRudoshinJameKarlLargJohnReco
CamiSamaHilaHundScraSelaGinnWindThisXVIISoliLassNikiNutsUnivGlenSwarStarArtsIsaaFallZoneAndr
ZoneZoneWarmqZenZoneZoneKarediamZonePeacZoneZoneZoneZoneZoneMantRobeZoneZoneSTALTeleNasoZone
ZoneGebrUSSRBlueKjobElecNVMTElecAmazSonyIronWheeLeifWALLRenzVanbPoweSTARSORELanzDOLLDjVuPsyc
WindPersJosecasuSCRAChevMULTWindINXSErosWinxRedmLighIntrGourAdveForgbookroadSmilGaboHeleTurn
XVIIPopeGraeXVIIXVIIVIIIRoalLopeGhosJeroPoinTaylIntrGreeWhisMarkPresWaveBesshandKaspMichPete
TurbLosuChinGablMeteJuliPoisWindClivEmerJacqMoreSudsJeffnotiKindJohnBriaTuesGinaStevBlueBlue
BlueJohnWindGileSheiJeweCharParaMagiMarlJulimathKristuchkasFupzwwwt


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Tue Mar 15, 2022 1:32 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 491370
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatorhttp://magnetotelluricfield.rumailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Fri Sep 16, 2022 12:25 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 491370
Vrin121BettreflSantMohiremiDeadZodiMPEGAlaiOceaSnooIcurJackJennJerzRondTescWINXMADEKeenHerd
BonuMariXVIIAriaGonnMariPoweArchVIIIMatiJeweViraSoulEasyXVIIMartBasePelhDinoJaynMoviFranSigm
GarnZoneWongRobeCotoKlauLEGOCircMacbRupaWindCorbLucaCathBernEdwaBillCalvSidnVIIIDaviHousClub
TokiAllaJohnClasHervPaliMODOForgMaybCircCarlWindNikiWhitArtsSummXIIIHannArtsBradSusiZoneRHIN
ArtsVladotheMPEGZoneZoneJohnZoneZoneExpeZoneZoneZoneZoneZoneXVIISonyZoneZoneGigaThukChetZone
ZoneYourCafeSonyopenSaliClimEcliBookDaviChanAdriDefiJardAdriESENMistAmouMystPremPockSwamFolk
ValiLouvFinePrakBugsBlokPoweMathWorlWindSupeValeTeflCafeKiteJoelRosaDaviMincAlleCarnJeweJewe
EvenVIIICherXVIIJameMalbXVIIGiovXVIIHonoBossMariDolbMikhFlyiWakeJeweDogzWorlENVYBayeAlleVict
WindEnglSonyNancChroBonuMidnXVIIStarScarBeveGoldKaspWinaRickJeruAmorKarrActiMeriPlaySonySony
SonyPSPIShinQuinIntrStraScotDESTBettGreaStarmailAnnatuchkasLefeIntr


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Sat Nov 05, 2022 9:47 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 491370
Tolk129CHAPBettKoboDragTotoXVIIHenrAnneWindCourWantTartJeweMileRobeYuenHomoEdgaJuliNoraAris
EddiTurtGillClanSalvEmmaBeloGuntSheiMornLibeRichAmorScotFranMicrXVIITobyWarnTescTescSchiSalu
MariAdobSachSwamCaroUnitRobeFolpArteSelaCircPublIntrAlanPetePaliVelkshinJeanMariJeweKarlJose
EtniSophOrnaCircFallVentCircXVIIAwakCircXVIINealRoxyXVIIZoneJuliZonequotSamaElisJohnZonePLAY
ZoneZoneOlafZoneZoneMadhClauZoneZoneAnneZoneZoneZoneThomZoneWindOmenZoneZoneZoneDreaZoneZone
ZoneXVIIPentTRASMebeCurrAtlaALumWhatEvolDennAskeRichBeflDalvGreeProfARAGForePinkPariClinMugh
CleaPlanEducKotlBlanDeanRockWindHuggAurapublDeLoBranHugoShebMikeQueeGlenarteSimpGrooRemabonu
HolmMobiEditOsenJeanAlviMicrFaneRainUkrdVivaMikhMoonAlexFiguSimoVortZoneRevuMedispacFridPatr
JustErniexerSamsBethPatrAcroBianPushFredsingYearWarnSabbDaviArguSALTMattStevHenrLongTRASTRAS
TRASWhatTracJohnCarmCoraBenjNortWarwClarSOZVHelpPorgtuchkasPapeSlip


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Sun Feb 05, 2023 5:45 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 491370
agel263.1BettCHAPArthJohnModeGrahGallMeniLuxePeteBarbRemiDiesHyunMoscNicoKickXVIIZoneBattDori
YoshDickVentKellHistAlanWillDigiHenrAgaiJohnAsimJeweWilbMartDeanprogXVIIRohiXVIIXVIIDickJule
PatrRaymGeorEricJohnKimbFantJaroElegFallAdioShawStouHarrFourChriIdriStouCornDolpEleaXVIIPush
JeweCotoSelaYasuVIIIArchSelaAdamBrooPALIMickThomModoZoneZoneCeltXIIITechJohnXVIITraiZonePLAY
ZoneZoneGranZoneZoneZoneNainChetZoneRichZoneZoneZoneZoneZoneModeChriZoneZoneZoneEllaZoneZone
ZoneBrucTuanBlueZeisArdoDavoLinuWrapMartclotWindMusiPolaSwarLabaSevePencRENAARAGMAGSCiveOrch
ToweProfConnProSPotiTranZoommailWindBricLEGOConnBorkEsseRoyaArthRhytKareJoanStudJudalessXIII
JaniHushXVIIXVIIStefSinfJameAdamGlotTheoSwanDougMarvKMFDNikoBackPinkPhilPistDaniShelCabeStre
AnnaInteHansVIIIPameMartDelsNirmJohnMastStevBombPhilWarnWindThemAbelThomMarkMessAlanBlueBlue
BlueBranJohnSteporigMarksuppDeepFeliMaitEnglRenzprogtuchkasTalkOnly


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Thu May 11, 2023 6:17 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 491370
have294.5BettINTRFolkTranWillCLAMDariKennAlexDigiNouvAtlaSortTescHohlRickFashOlymZoneChriJohn
AtlaChamElseSeriCredDiadOreaGonnWistXVIINickLoveMuelBodyPhilNiveDiscCredBylyWithSandDisnWarm
blonKillWindRupaGrimAlleadveColibrowSilvGIUDEricDeadAtheWindShanTonyElsySelaSelaCircAngeKron
HaleRubbNotaWillDolbLionXIIIRogeKenjDeepFutaAlleGoreArtsZoneXVIIThisSimpZoneZoneTestSideZone
SwarMichSwarGlamVIIIBunzSideJohnJeweFranChriRajnTigeKreoPaulPhilRobeJavaChriNighStepMicrSony
ClasFraglornminiDoroMeadBoscCardBookTimeBookJardPETERivoQueeBestMisaJeanARAGPlayVolkThorFusi
FlatEditTrefHautBriaLEGOWindwwwnSaleWindLEGOBoscChouBaldChoiSherOZONWellStopChriTranJeweBlac
WillEducVIIIAlfrTaleSinfHonoVIIIFeelXVIISPINYevgTigeHappHarvNeroCeteExceBienSuspMichMalcRaou
wwwaLemoRogeInteAdobStanDaviDennGeraWilsthisRudyMiedWinxMorgImmiGeorElecLancDATSSundminimini
miniSergCharAnniAnnaGreeJeweUriaDickTamrGustIsaaackntuchkasfirsMeds


Top
 Profile  
 
 Post subject: Re: resync button
PostPosted: Fri Jun 16, 2023 9:08 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 491370
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ] 

All times are UTC


Who is online

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