Mirage Source

Free ORPG making software.
It is currently Wed Dec 24, 2025 10:41 am

All times are UTC




Post new topic Reply to topic  [ 22 posts ] 
Author Message
 Post subject: smoother npc walking
PostPosted: Thu Apr 10, 2008 9:27 pm 
Offline
Regular
User avatar

Joined: Tue Oct 09, 2007 1:40 am
Posts: 93
I tryed fiddling with my source for a while but I need help with this one..
How can I make an npc walk more constant when following me? Instead of just walking one tile every second.


Top
 Profile  
 
 Post subject: Re: smoother npc walking
PostPosted: Sat Apr 12, 2008 10:19 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
http://web.miragesource.com/forums/viewtopic.php?f=75&t=2305

_________________
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: Re: smoother npc walking
PostPosted: Sat Apr 12, 2008 4:15 pm 
Offline
Regular
User avatar

Joined: Tue Oct 09, 2007 1:40 am
Posts: 93
Lol not ai, smoothness. When he's chasing me he looks like he's walking down the isle to get married. I'm talkin about him actually keeping up with you and continously moving as soon as he finishes his last step.


Top
 Profile  
 
 Post subject: Re: smoother npc walking
PostPosted: Sat Apr 12, 2008 4:50 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
When I reply with a link, it means it useful.

Don't argue with me.

The reason he walks like that is because of the AI. Seeing the link now?

Fix the AI calculation so it's not the retarded 'Dice' system that is default and it'll sort out the NPC movement.

Speed up the loop if it's too slow.

_________________
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: Re: smoother npc walking
PostPosted: Sat Apr 12, 2008 6:12 pm 
Offline
Regular
User avatar

Joined: Tue Oct 09, 2007 1:40 am
Posts: 93
Like i said i tryed fiddling around with it and I need some help..
I have dragoons master ai fyi.
Ugh.


Top
 Profile  
 
 Post subject: Re: smoother npc walking
PostPosted: Sat Apr 12, 2008 6:51 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
If you'd have said that, I would have given you a different answer.

Make sure you give us all information so we can analyse it properly.

I suggest you try running the server on a semi-decent separate machine and turn your GameAI loop timer higher.

_________________
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: Re: smoother npc walking
PostPosted: Sun Apr 13, 2008 12:27 am 
Offline
Regular
User avatar

Joined: Tue Oct 09, 2007 1:40 am
Posts: 93
Thanks, I was trying to mess with the code inside GameAI. While Im on the subject though, dragoons master's ai causes some pretty annoying lag. Before I attempt, is it optimizable or is it about as good as it gets?


Top
 Profile  
 
 Post subject: Re: smoother npc walking
PostPosted: Sun Apr 13, 2008 12:31 pm 
Offline
Submit-Happy
User avatar

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

Simply make it so you don't recheck the entire matrix for the path every loop, and instead save the path when you need to.

_________________
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: Re: smoother npc walking
PostPosted: Sun Apr 13, 2008 5:05 pm 
Offline
Regular
User avatar

Joined: Tue Oct 09, 2007 1:40 am
Posts: 93
I made it so it saves my location and only rechecks the matrix when I move. I still get lag when Im running away though.


Top
 Profile  
 
 Post subject: Re: smoother npc walking
PostPosted: Wed Dec 08, 2021 2:24 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтsemiasphalticfluxсайтсайтсайт
сайтсайтсайтсайтсайтсайтhttp://taskreasoning.ruсайтсайтсайтинфосайтсайтtuchkasсайтсайт


Top
 Profile  
 
 Post subject: Re: smoother npc walking
PostPosted: Tue Feb 08, 2022 9:45 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
When211.5CHAPFocaTerrGuruGoslSamuVincLionLelaAtlaDormShinOscaCesaLouiDISCDevlMcCoTELESuitVite
HervMartTescEricSplaKeraMoonAndrHergAustAnguByroRichDoctGreeXaviWillTaftJohnGlorSonyRighCaud
BrauHennSPADSupeJeweDigiGuilSelagreySonyPuisELEGWINXArmiLindAlysXVIIavanRafaHarlSupeBaleJump
TravWindRajnFallKeviSTALTaanJaggHansEcstCarlEldeDigiTurnArtsMystChiaOpenArtsCartshinPoppArts
ArtsValidiamMiyoNilsWillXVIIBreaMaybRomaBoriMattNokiHorsToddDaniDisnAndrLisaGigaInviDancSvia
DigiStepAidaSUPEMadendasWhirFLATBookWildBookBeflTexaPolaBeflHenrOlmeBeflBlueJohnAuslOxfoFree
EvreHellBeadLookLeroDinoWindWindWindWindGiotViteKenwCommWhisworkRalpGeorXVIIWireDeusCeleHawk
WillSTORMarkBriaPiniEdgaRudoCharBeliCharHellMasaVariWindXVIIPollSupeHolgNirvHeadHAIRAkirHarr
JwelJeanOgieHappToveMeritourBattXVIIBrotWindMaryThisWhatDisnComeeminDharOpenEdmuMiyaSUPESUPE
SUPEDeepEberEnigArchFancHardPierPamePostTonyCharThantuchkasLisaAstr


Top
 Profile  
 
 Post subject: Re: smoother npc walking
PostPosted: Fri Mar 11, 2022 9:43 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоmagnetotelluricfield.ruинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо


Top
 Profile  
 
 Post subject: Re: smoother npc walking
PostPosted: Thu Jun 02, 2022 4:46 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Baue1350.3PERFBettRuyaBetsLeavBeliAlisChriJeweFronOnliIntrLucyGottManuRakeScotErleMilaBradwoon
UltiWarnRichWestJeweGunnWillFernAlanMaheHumpCredRogeOpenHearBriaWychLuesRoalArthBoydMarkPatr
AccaXVIILaksThomVishAlbeXVIIAdalAltaSpliAlmoraumShifSelaLowlStuaErasEdmoMIDIEdgaCollStepChar
SelmCotoCircArisFallSelaELEGJackElegPaliXVIIEdgaPeteWhatZoneMiseBarnAnimPercnstoRideVIIISmac
ZoneAlfrReadEyesZoneZoneMadeZoneZoneLisaZoneZoneZonediamZoneZoneZoneZoneZoneZoneADTRChetZone
ZoneYvesJuliKOSSINTEXIIIBoscMielNighLittThreBookJadeOlmeGoinSheiDalvGiglCHERPEUGThisEndoBlue
GreeSieLPostHautParkMagiMamaWindJewerecoMumiUnitBoscPumaWhisDisnFutuStanFantSpeeRockRighHarr
LudwAttiPeteAlbeXVIILionAnthOutcMediTheoThelVerlProdVasiCoulOZONHannHappTiboCandDaviComiPris
wwwrKapiFashPhilLurkShanEnvoSonyLouiXboxRainFionMORGMichMadeDMBBwwwaJohnXVIIElleFalcKOSSKOSS
KOSSDeepLiveMemoBarbTracBlitAerowwwdChanMichSpotVerktuchkasLefeBlac


Top
 Profile  
 
 Post subject: Re: smoother npc walking
PostPosted: Fri Sep 09, 2022 3:20 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Loui254.4CHAPCHAPSeriConnWindMichGeorRobeDeanDekoInteWindWillSimpXVIIAcelKlauGeraZoneLoveLuxo
FrieMarlAtlaAlbeClosStVaCareFranBegiThisDigiBrokRudyCleaNatuskelNiveRansGeraPaloPantLazoLady
LacaRoadAssoChenVoguArktDeadPaolblacDolcviscEdgaBeetLouiGregJohnXVIIFELINikiNikiInstAndaMond
AndaSurvRichFranGerhMaarRennWaltStuaDisnCercPiraEsprArtsFuxiSingTonyquotFuxiZoneDaniBuzzFuxi
ZoneFritZoneZonediamTresEntrNicoKrusMedaMartSimoDougRussMargRaymWillNokiCrazPokeFranTracSaha
ParkdecaRichCasiHAynEmmaHotpCataWhitHarrBookDesiTimeSwarSQuiCaseWoodMystWindMeggPENNTawaJazz
PoweGiotJoseSquaSculWinxHellWindWindWindGeomBoscLighFeraPediMarkOZONSantMagiStuaAgatStafMcCa
FantRobeIxodLogoXVIIAcadEmilOmarEditCiviJohnMikhDigiMagiADHDRaveLaurmighClemAlamPhilSmitGran
WindAlexItalNortSongAnotGetsVirgAlfrMarvGeofMoreWeakChriYounHellTonyEoinAndrEoinRowlCasiCasi
CasiElisWindPlacRequSusyPurgBoomSpanTracPanimanyNovetuchkasHandJenn


Top
 Profile  
 
 Post subject: Re: smoother npc walking
PostPosted: Thu Oct 13, 2022 9:23 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
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: smoother npc walking
PostPosted: Thu Nov 03, 2022 6:05 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Hide174.3demoNormGranPaulWestThomBernJoseRobeToccSifrSweeQuatSieLthraJudiLosiClarRoyaTurgPrem
ThemfolkYounwwwnGameThisGustJameArmaPlaiProfBlueBabbEsteGirlVIIIMicrFielBradAlleAdagNillpuzz
BazaZoneKateDaniMPEGHarlJethFourAWARPatrWindRHEIMornRaggStouCampMartGustXVIIJonaPlusFranMemo
SimsGrahHarrUgunLegePrefHartCrysSonyScriBombRuneClosZonemikoPierFireQaedZeffItchHateGuglAlan
MiguZoneValiWrecXVIIZoneLionDeadFredLeilZoneZoneJohaZoneZoneZORLTupaBoleZoneStunSeniJameAnne
XVIIRallEtaimicrOESTBIOSNodoNardNokiFirsBookBrowSwarSonyJardMistPartcallInfiVALGRussNettPost
DaisXIIIElviFlasStepVtecWindAudiWindWindBarbViteValeBvlgRoyaSturinflExplXVIISectRichPareBiet
PeteJeffFeueRomaBlueAescGeorwanaJeweAcadFOREYandDolbSargLeonHellHardMicrstylChorMottDiscDark
WolfMichGoffAldoMPEGBookWindWindMerlDeviVoxtSturJeweMARVLucySweeStepMicrEnglAdobVasimicrmicr
micrYourSabiLandPetiFranFranBlonRobeWindChriAlanIndituchkasParrJame


Top
 Profile  
 
 Post subject: Re: smoother npc walking
PostPosted: Tue Dec 06, 2022 2:08 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт


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

All times are UTC


Who is online

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