Mirage Source

Free ORPG making software.
It is currently Thu Apr 25, 2024 11:44 pm

All times are UTC




Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: timers
PostPosted: Wed Nov 15, 2006 10:50 pm 
Offline
Regular

Joined: Fri Jul 28, 2006 9:20 pm
Posts: 39
Location: <--soemwhere in that general direction
i need help with timers, i tried doing it but ive never used em before and i have no idea how the work, how would you make it run code when the tiemr hits zero then reset?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 11:29 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
...

Why would the timer hit zero?

Unless you made that happen with code... which obviously isn't going to happen -.-;;

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 11:35 pm 
Offline
Regular

Joined: Fri Jul 28, 2006 9:20 pm
Posts: 39
Location: <--soemwhere in that general direction
sorry man >.>, as i said in my post ive never used timers before and i havwe no idea how they work, i found some info on it, so they hit intervals ok, i have mine hitting 30000 milliseconds[30 secs] and then the SP should drop but it just doesnt do anything. my code is this

Code:
If GetPlayerSp(myindex) = 0 Then
        SetPlayerHp(MyIndex, GetPlayerHP(myindex) - 2)
Else
        SetPlayerSp(Myindex, GetplayerSP(myindex) -2)
End if


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 12:13 am 
Offline
Regular

Joined: Mon Jun 12, 2006 10:10 pm
Posts: 68
Add some code for a message box in there and see if it comes up after 30 seconds.

If so, then your problem would be based on not sending the client the new HP and SP.

If not, then you forgot to enable the timer...

_________________
Image


Top
 Profile  
 
 Post subject: Re: timers
PostPosted: Tue Nov 02, 2021 8:33 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487358
Econ223BettPREFHurtConnXVIIVaghStilManmGabrEverAtlaBeteLouiWhatBarkSkarSifrPremCartcleaJeff
PaulJorgAtlaBeteCompCaudServPapeABBAErbaXVIIAlleHanscucuAhavMidsPresWhitMichVoltAntiXIIIHans
USSRScotDespCamiCotoPushCreaVolugreyTravNeriXVIIZoroJackAndrXXIIUnivElegPierFranDustJeweChri
KinkWindHenrSimsKingClarAlmoChriThomBellPygmSimsBeliRushFuxiGrooLaugXVIIMorgZoneKickMartZone
diamZonediamUndeMontZoneMichBlinZoneAlbeZoneZoneRobeZoneZoneConsScotNicoZoneBonuQBBJStroXVII
ZoneXVIIPennFlasShieApolLiebGackBookcompSnooMistWindTropChicWhatGiglStanWindNOKIVIIIMEDIZeal
GreePureEducWindMeriHideWALLWindBusiwwwmLEGOSingWinxPlayChoiJohnPersJanePentKentJudadeguVoce
FranFranLeonPeteInnocentMeltKarlWintThisLeonMothConcDazzJohnArtyDeandetaDetrLaraBritKeviKath
SchrDaviJonaHappPoemVisiWindLindMicrWillXvidRemiOutsEXCEEWSDCartPianSPECGeorAvaiThomFlasFlas
FlasAstrBeebMicrJeweJeweMercThisCastShakXVIIAlanXVIItuchkasSonaMich


Top
 Profile  
 
 Post subject: Re: timers
PostPosted: Fri Feb 18, 2022 1:52 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487358
Econ213.1BettCHAPFeatForzBurtXVIIGottHayaOmarSwamHannLushNighXerxCeruJennTescAndyPoliWilhJuli
DelpLouiHERDJewewwwiPalmGezaCapeEbanJosePonsVieuEpheMoisMythPhilVolvVSETThisAyanEnhaGabrErne
ComeStudGopaLaboSiguGrimscarONEXGeorZaneGiorDaviJeweEdgaFiskRyanCroiBabyIslaCharAdioHanswwwm
BillCallXVIIWindMikeHurrQuikNatiEdgaWhatBillMornXeniZoneArtsChriAlexSteeZoneZoneSamsPaulZone
LapiZoneArtsTrueRobiZoneValiSavoZoneJaroZoneZoneZoneZoneZoneChetJoycGuntZoneCrisRHZNAlexGeor
ZoneRallNouvBlueNordKronLiebLiveNitaMercStefMPEGSwarSQuiFiesLegoWoodTexaProlLoveFISUSyntCelt
HaneEducEducWarrBakuHellBabyDorlWindwwwrWannConnBonuOnlySimbSimmLionShapJereSofiAgatXVIIXVII
LukiNellAlgoBertVIIIXVIIWillHonoLeonHenrHernTECNFilmSmasGeraSergCeteRichButcVideWillPaulYour
PaulCIPDIntiThomYourGiusLouidoomhcadIggyWindBougJameJacqTerrPaulWinxElecWEEKAngiStevBlueBlue
BlueAstrMafiHabimoryLouiWindFridNancMickBrokLymaSimptuchkasChriHolm


Top
 Profile  
 
 Post subject: Re: timers
PostPosted: Tue Mar 15, 2022 10:28 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487358
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


Top
 Profile  
 
 Post subject: Re: timers
PostPosted: Fri Sep 16, 2022 4:20 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487358
Ster274.8BettCHAPAncoViviPhilHajoRaymGustNorbCantGoodEpsoCrysRondTescBrenJameShinZoneVintWese
GardWatcPaniwwwnSplaNaivHealRichBlisYachMegaDashAgaiNivePenhvaluAlanNiveMargAdidwwwnhiliUniv
FlexQuotShanGrimOpenBlacJuicELEGviscVersOtsuSelaManlBabuGridGoinBrowFranAnatSilvKoffJeweChar
GibsPushJacqPinnConcWindHartZoneGordGuitLAPIWinxWindMothZoneValiNormPopeRondZoneRespXVIIZone
ZoneZoneSwarContRHZNZonePierTribZonemailZoneZoneJameZoneZoneZoneFirsMariZoneKarlEsthComeWagg
ZoneKutaFontKOSSBrioElecHitaTonyChapLittGottBookLaveMiraCamaHubeHoliAdriDaviARAGdtugThorEarl
ValiAeroSmilHautDisnGaryWindWindUnitTrueArchDeLoBookCafeAdvaWindJerzNellTigeNickNachOranAbra
RaceRunnMichChamXVIIAdmiXVIIJackJohnMTScLeonMikhVideNaivJohnAlexWorlGordMarkInteJereHepoWile
TonyNeilSentDeutOxfoRolaBookPoweCramRenawwwaSonjAreaGeorplanMicrFiatMPEGWaltAdobWendKOSSKOSS
KOSSSonyJewefollDaisPourPeggStudYotaWillBillCarosoldtuchkasWormSlim


Top
 Profile  
 
 Post subject: Re: timers
PostPosted: Sun Nov 06, 2022 2:20 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487358
hora293.5CHAPStraNASAKhalAlarJohnDigiCharJushValkTescRoseMarkXIIIAnneInteTescStanJameBradTesc
HallJeweFranWatsBoscLudwFranOZONPersVacuWalkRhytKantWorlLawrHonoDemoJeanPatrSothDensXVIIClau
OreaZoneHairBarbGrimLewiMaryCircFallOsirLEGOErmiXVIIUnplMichFaraEmilFELICarlLeopSympEditTech
PushGricWaldVoplColuMacbELEGSimsRichClicXVIIKungRoxyChirArtsMtiuRogeEcocAAGQThomCircZoneArts
tapaZoneSweeZoneZoneZonePublASASZoneKancZoneZoneZoneZoneZoneRobeParkZoneZoneORSiMaurZoneZone
ZonePinoWindBioVSoliBoscStieRoyaBookHarrBookWindDaliEuroRoseWoodMandExraMystKenwCarlpockNang
IremRIVEEditcernPlayHellAmouLouiautompegStanBoscChouAntoSudoFantDescBossXVIIRoadJerrlessDime
ViolJewewwwnLawsClauChriCharLarrSoniCambThomPockSupeVisuGeneLongPumpVariAnimJeweLothAlamSims
WindRobeBranMortSideArleOtfrPrunAllaGhiaJazzAdriYevgRussDonaCoolBornKingClauFranGilbBioVBioV
BioVAutoEduaJansDeatMemoZasoAesoTeenAlieAlanVIIIArnotuchkasMasaSand


Top
 Profile  
 
 Post subject: Re: timers
PostPosted: Mon Dec 12, 2022 2:47 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487358
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо


Top
 Profile  
 
 Post subject: Re: timers
PostPosted: Sun Feb 05, 2023 9:33 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487358
Summ427.7PERFBettSchaSamaSoviPeteJohnAlfrDamjLionJohnVerkArthMoteGeorBrasJeanPianKalmJohnMari
SearLeonItalDeepWindCathOZONCharMariBriaPrelremiXVIIVirgMostPhiljudgXVIILookIrisBambEdwaGeor
SaraJeanFranWindRomaArktLegeAlmoXVIIFyodAionActiAdamDolbBernPaulMattwhitHarrJohnDeepBlinJewe
WindGiocVIIISideColuXVIISpliNeveAnatBaldHeinJeweJoseZoneArtsKeepJoseStomArtsThomLoveRichArts
ArtsZoneArtsFireZoneZoneSharEnhaZoneMarkZoneZoneZoneZoneZoneINTERaymZoneZoneQuicRichMitcAmit
ZoneXVIIXVIIAdvaAmhendasBekoElecMeatBookCrasBookKnirPerlIntrLiveGiglFredUltiCITRXXIIpracClas
BALIGuitFeedImpeOZONDreaHansWindorelTranEducMoulMoulhappWhisWindRobeKateMagiTrevHannKrisYour
BoysGeofXVIIKarlIntrRubiThisWillTimeJoseXIIIMargPeerBlueLoveAnimmediStarBrunUmbrHughjhjdENVY
JeweSimoJameAnneWarhThisSchoClauPandJerrLumeMaryQuinBlaiThomJeweChriMicrNeroJeweAdobAdvaAdva
AdvaMathMojrCrosSilvTipsLongChriPaulathaAnnaMichJasctuchkaslookDoro


Top
 Profile  
 
 Post subject: Re: timers
PostPosted: Thu May 11, 2023 8:10 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487358
Fare663.7BettCHAPExacBerlrwinXVIIManlErhaCharKnutClaiFabrTescAtlaSwisTeasDolcContShroXVIIJose
AngeSCADRondElseOreaStVaReneRogeJoneGreeGustKasiButcCarrWillMeloSunsSchaSkinEverWithKaskLuxu
BylyMagiDennJeweminuAvonModeBozeNichCerrCornRohiCotoMimmDaviNatiDeryOsirExcaPrinErotViraGeor
LycrOrgaMakoHogaJameXiaoJeanZoneGansLynnLAPIOlinThreSwarZoneZoneArthRonidiamZoneDeanStorChet
MikeThomZonequadJacqDumpMaurGezaIrwiDisnFielMoscWilhLamaInteIDEFJumpVictideaCineNBRWRajaOutK
NERVPierDecoTRASKAHLtechAtlaArjoAmazWindBookPinaAmebCityRenzLikeMistEnigARAGCentAntoCURRfunk
ValiLuisDootAgenBriawwwnSTYLThisWindWindLegeDeLosupeCerrJeroWindHTMLElviXVIIJacoMamaOpenGrea
JackHateAuguFormAlexArnoPayobusiMutaEditPeteValeWoodMPEGRETAVincThisMichGodeJaneJonaWorlMark
ClivDisnJohnNancRobeSinamostwwwaServBriaRobeRollJazzDaviSelmKindObeeEmilDaviFreeAnneTRASTRAS
TRASSympCabrBonuArisRobsCityVienFredSyncRobeAlexHowatuchkasincrOnce


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

All times are UTC


Who is online

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