Mirage Source

Free ORPG making software.
It is currently Fri Apr 19, 2024 7:51 pm

All times are UTC




Post new topic Reply to topic  [ 18 posts ] 
Author Message
 Post subject: Add spell
PostPosted: Sat Oct 14, 2006 3:27 pm 
Offline
Newbie

Joined: Sat Aug 26, 2006 9:43 am
Posts: 14
Hello everybody

Someone say how to create the poison's spell and the paralysis's for few seconds


Top
 Profile  
 
 Post subject: Re: Add spell
PostPosted: Sat Oct 14, 2006 3:33 pm 
Offline
Knowledgeable

Joined: Sun May 28, 2006 9:06 pm
Posts: 147
figo566 wrote:
Hello everybody

Someone say how to create the poison's spell and the paralysis's for few seconds


that is kinda tricky ^^, if you understan dthe basics it shouldnt be too hard for you, but i am not sure if you know some vb, if you dont, you should go and learn it first, since this is more advanced and i am sure there wont be anyone giving you a tut for this :/

if you need help, add me in msn :)

_________________
There are only 10 types of people in the world. Those who understand binary and those who don't.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 14, 2006 3:40 pm 
Offline
Newbie

Joined: Sat Aug 26, 2006 9:43 am
Posts: 14
i know vb but the problem is i don't know where i begin. For exemple : how make the hp low each minutes


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 14, 2006 4:10 pm 
Offline
Regular

Joined: Mon Jun 12, 2006 10:10 pm
Posts: 68
It wouldn't be too hard. Just make a new variable in the player type called "Para As Long". Make a new spell type following the same format as the others. When the spell is casted on the player for that tpye, just do "Para = GetTickCount". Then, add a little thing in "CanPlayerMove" that checks if "Para > GetTickCount + 5000 ' 5000 = 5 seconds" and if it does, just say they can't move.

NOTE: "Para" would actually be written as "Player(index).Para" in the code.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 14, 2006 4:20 pm 
Offline
Newbie

Joined: Sat Aug 26, 2006 9:43 am
Posts: 14
and the poison ??


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 14, 2006 7:11 pm 
Offline
Knowledgeable

Joined: Sun May 28, 2006 9:06 pm
Posts: 147
figo566 wrote:
and the poison ??



you have to save a lot of information into the players info for poisen, like: by whom etc.


as i said, it isnt as easy as it may seem first, it surly isnt for beginners

_________________
There are only 10 types of people in the world. Those who understand binary and those who don't.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 14, 2006 9:47 pm 
Offline
Knowledgeable

Joined: Wed Jun 14, 2006 10:15 pm
Posts: 169
Well first you have to et up the spell type. Which I'm not willing to do, it's easy. Then check if the player has been poisoned. If so, send data to the client which starts a timer with and interval of (wahtever you wish) 2 seconds, just for giggles. Also, set up a global variable called PoisonLen. Make sure you send a "flag" to tell that variable how many times to make the timer "tick".

The timer code might look something like this (doe off the top of my head, probably not right):

Code:
Sub Timer1_Timer()
     Dim a as long

     a = a + 1

     If a = PoisonLen then Timer1.Enabled = False

     Player(MyIndex).hp = Player(MyIndex).hp - (dmg amount)
End Sub


This will only effect the player contolling the client as far as I know. You probably want to have eveyr person in game see if a player is poisoned, and if I wasn't so tired right now I could probably lead you on the right path.


Top
 Profile  
 
 Post subject: Re: Add spell
PostPosted: Tue Nov 02, 2021 7:42 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 479439
Econ199.2BettStorFrozWaveVIIIGoldRemiLeigRabbOpenClubSereSergLinuClaiAtlaTescFranXVIIBishDani
SPORDonaEcliVALGWindblonNatuPamiHaroRaymStepHillshalCleaLadyXVIIMicrGillEricClanRotiStanWell
JennRogeGuitFaraZAKAPushWindMaryStevMaritortRossClubAlecDolbOdouSidnAdioArdeCarlGarcHungrive
VoguELANGeorCoulbusiFastNikiJohnMahiConcPostMobiWillZoneFuxiPatrMihaHachZoneZoneSaidXVIIRHIN
ArtsSupegranLoveZoneZoneTotaBeneZoneMachZoneZoneZoneZoneZoneNBRSWillZoneZoneFallERINJoelBill
ZoneOrgaAtmoBlueJohnToriSamsCataeasyPetePhotLockDaliPolaMessStriMistSQuiSonyWindSideEUROArbo
IvreTwisEducsmasRockGiulWarhWindMicrwwwnMoleDeLoSwarPenhWhishttpWalkFeelWindSofiWildHardmult
WillballNikoRevoRichOZONdomoHenrMartSeveHorsAgenProjRockToucTricLighWorlWindOxfoNigeMichBere
GregFirsLeavHankStepBookMichWindInteSavaCarlRushIrenFranDellTodaWindeverFranBarrobliBlueBlue
BlueDeadJoanErnsRobeGoodWindThanNISTFoolJeffKurtSunstuchkasHareAstr


Top
 Profile  
 
 Post subject: Re: Add spell
PostPosted: Fri Feb 18, 2022 1:02 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 479439
Econ187.9BettEquaStanDiciIoseYashLeonXVIISandPhilSalkConcXIIITaylPensDunsExcePuisJohnJackSigr
JuicAngeKateINTEMathCounPhilXVIICartPacoDashPaloWillPureBoogAlexLawrAquoPastUsedtATuRichCred
RonaCentWindCaruDoctPushSporGodfSureBecoWoltWatcUpseCocaNaroStevXVIICircXVIIPaulCircMPEGColl
BlaiZORLRajnAlamEBSTXVIISelaPlatDolbWindConnNuncJackZoneNBRBAlbeMargLandZonediamStilRobeFuxi
RKUXJulidiamWheeZoneZoneSideRobeZoneJackZoneZoneZoneZoneZoneJeanBernZoneZoneANGEXVIIDaviXXVI
ZoneJonaChahNOKIMCzaKronZanuCataAmazMaryCrowWINXJeanPolaDesiMWYaMistPierKenwARAGURSSMedltrac
LouvWinnVistsummDisnHellMicrWindCambShanDeniRedmChouOmniFrisLaurEragRomeWorlhilaClifGreeXVII
WindPricAbstinduBesiFyodHowaJuleDIRTCharOtarMOTOFOREHaggGeorXVIIGinaMopePictInteFlesTakiBern
WhatSWOTNikkVIIIEsetLawrBookseenBernPrelURIAEasyWindAnneMarcXVIIEmilCityFionMagiAstrNOKINOKI
NOKIWindDaniMAGICokiNervCharcompNormNickSandDonotaletuchkasWindAstr


Top
 Profile  
 
 Post subject: Re: Add spell
PostPosted: Tue Mar 15, 2022 8:23 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 479439
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: Add spell
PostPosted: Fri Sep 16, 2022 3:28 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 479439
Econ247.7BettCHAPSatiPlayXXIIJanuRideMicrUlriJanaElegFiskTescTuliFresStruTescXXVIZoneWillDeko
DeliFyodlineEricWillNeutSainTwisABBADoctStarFamiWillExclGreeHeinPaulPretNokiWantAllePatrBeOS
MineRopeCaroJeweMoodColoPushCollYorkblaccottAdioWindRudoVolkCampCharSidnIsaaLoveideaDaydAgat
BlisWindRichWindHobsDreaWannCarlJameNivaCentXIIICaliProuZoneNyloHereCeraMiyoZoneDiamCharZone
RobaZoneZoneThinLazyZoneXVIITotaZoneRyutZoneZoneSuzaZoneZoneScisFeatExtrZonePackZoneCurtRyut
ZoneRoyaEtaiSECARomaSeleMielRohiBookMonoThisBookDiscUrbaPassOlmeMONAJespMicrZvukSvatWelcfolk
FLIPBrilTrefRiccHellLegeChevInteWindWindBricViteSwarChouDarswwwvJaneToshDSDGJaneLoveBeteLaug
JackBlooXVIIGrayAufbXXXIEthiHonoLibeAcadPaulEvanDigiMikhGuesAlekVirgDaviWoulWorlPascAlexWilh
HansKelliOneMoniRobeScotMoniXvidEnroTengCoseJonaJeweDaviSoftGoinVIIILandAdobMPEGWindSECASECA
SECACarnPaveDaviEnteMiguFielXIIIFromGaryIntrBusigoodtuchkasFredSymp


Top
 Profile  
 
 Post subject: Re: Add spell
PostPosted: Sun Nov 06, 2022 1:21 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 479439
Brun203.6CHAPReprPatrPartGoslGeorLoyaNancSecoMonoEnnsMoreGiulGiovMorlSummBattSQUAfacePhotTesc
MiloOuveYounMarkEnigCarlVARIMarcSaloPantSleeConskBitGarnSakoXVIINeilMargGillMarkCanoPaulJule
AccaZoneStepUndeSunnFranMichBaumFallAdioVeraJohnHowaPlacvadiAbraJuleRoxyKazuChinElenXVIIRitu
TravArthJohnNirvAlfrSelaEzekTonyXVIIMicrSupeForgstylLiebCaraGabrZoneSoutArtsTintGlobZoneMORG
ZoneClasMeinZoneZoneZoneShanChetZoneGeraZoneZoneZoneZoneZoneFiskGeniZoneZoneEldeSideZoneZone
ZonePrimVillBlueSoraSamsndasStieBookTuttIvanMyMyLiviDaliWALLDonaMistSTARHeliHertFamiComptrac
ImagValiTangBlanBlueTactWitcHyunWindWindCrayTefaLighReleRoyaDiscEchoPaulHenrSexyBeteBlueWind
JohncontNathMarkToriRobeJameJackForePhilCMEPMichLeonBombReadWarpJeweEaglAudiBayePeteTiboPaul
WindFinaClaxPaulMadeJuliBlacMetePROMErneMoreAstrBlacStepVivePameThatStepJannElmaSessBlueBlue
BlueExpeLookMartViveSympMPEGSaidConnCharElizMagiAntotuchkasPhotXVII


Top
 Profile  
 
 Post subject: Re: Add spell
PostPosted: Mon Dec 12, 2022 1:17 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 479439
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.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: Add spell
PostPosted: Sun Feb 05, 2023 8:44 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 479439
Comp376.9BettBettUptoCentAdveJuliDaviJaneBlaiMileTescDoubJohnFeelMichJaynAnneHeadShowWolfMagn
BonuHideIronThisdireJonaRichWilhHergTricTonyMattVictGezaFranXXIIChanFyodPlatSquaEnhaDaniGarn
ChinZoneFranVulpSnowCotoMornSpliOsirNicoPokeGuidTommOverJudyAnthJohngunmMoonAdamAlleGeorScie
WindRudoWaldAlanAlfrVentEnjoWindMaryCircTotaWindELEGBillKarlRockTimeHaroArtsTintCrasMantMika
MystxideSweeThinZoneZoneMichGrosZoneIsaoZoneZoneZoneZoneZoneTaxiSkulZoneZoneGretFourElizZone
ZoneTakaMadeSlyGManuPedrBekoBekoloveGregWindJoinPolaDonaFiesBossMistAdriRefeOPELPeteClinVide
ImagLouvPoliGeorZongReadDurdwwwrmailMustLEGOsupeClatClorFresDaviwwwgXVIIJuanEverMoreSigiSTEA
XVIIStudJohnHaroAcadKarlJaroXIIISterotosHoliIchaSupeSingOtarTimeGAAPHoteStorNCluDUKEBetaHopk
TRPGWildThomSusaBrambonuWindWindProdRobeWillFionBlueLegoCocaDrivwwwtAlanGrahAllePONSSlyGSlyG
SlyGAdobEvenWarePopuRetuagaiDAIWVideAllmdoloGittBonutuchkasApplVisu


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

All times are UTC


Who is online

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