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

Client side AI(SERIOUS TOPIC)
http://www.miragesource.net/forums/viewtopic.php?f=201&t=5334
Page 1 of 2

Author:  Dragoons Master [ Tue Mar 31, 2009 5:01 am ]
Post subject:  Client side AI(SERIOUS TOPIC)

Image
Beside the jk, really serious topic.

Back to Topic:
This is only an imaginary possibility.
I'm really intrigued with this idea. It's not safe at all, but I'm really high on coffee and it's 1:52 AM, so I'm just gona keep typing.
You can split the processing over the clients but how to make it safe? That's what's intriguing me. I can't remember who said my AI could be used here, double checking or something, but my AI is kind of random (always short path, but random). So maybe instead of sending only the chosen path, send both paths, there are probably going to be only 1 or 2 different paths with same distance, so x(>=2) different clients calculate the paths and send back to server, which compare the results and make sure they are all the same. It they are not, choose the most common answer. It there is no common answer, server calculates the path it self. But maybe it's too much time for the server to wait for all the answers, so there should be some kind of trigger to speed up things.
What you guys think?

Author:  GIAKEN [ Tue Mar 31, 2009 5:59 am ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

You need to pre-calculate every possible path into a look up table, then when deciding which path to take you just use the look up table for instant access.

Author:  Joost [ Tue Mar 31, 2009 10:48 am ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Quote:
If Im correct, Dragoon posted a proper AI tut, but it would be too "heavy" for the server to use. Moving a bit of the calculations client-side to reduce server-stress would not be that big of a deal, would it? With multiple people on the same map, server couldeven go as far as compare results, and with only 1 person on that map, the server can make some quick guesses what the best way is, check if 90% of those guesses are correct based on the client's AI results, and if not, take over AI itself.

Reduce stress on the server, multiple users doing the same calculations for increased security in populated areas, and single-users being "monitored" by what the server "thinks" is right, without any difficult calculations.


Again, I don't say this is a great idea, it obviously has it's downfalls. But currently, MS ai is crap, and all tuts for upgrading exponentially increase server load. So this IS an option. It should not be swept off the table without discussion like Fox tried to do.

Gg, ez as fuck.


Quote:
But maybe it's too much time for the server to wait for all the answers, so there should be some kind of trigger to speed up things.
What you guys think?

NPC move time is one second anyway, should be able to have it done within a second.


Oh, again, I never said it was a great super idea. But Fox was being a huge asshole, so had to prove him wrong.

Author:  Pbcrazy [ Tue Mar 31, 2009 2:28 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

I was the one saying that it could be done client side (then i pretty muchly got chewed out, all well :S ).

Possibly, instead of waiting for all the answers, the Server just takes the first one it gets after sending out the last batch of packets, and then it will send them out again, every second, or whatever it is.

I'm not sure, the whole reason i brought it up was to help reduce stress on the server, so having to wait for all of the answers, and then running through a check may be adding the same or a lil less stress, plus it's waiting too.

Author:  William [ Tue Mar 31, 2009 2:52 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

A game handeling the AI client side, I have to think about this. hmm, for the client to process the AI, it would have to send it to the server.. eh.. this doesn't seem like a very smart idea. All clients would do the same calculations sending the same results to the server. Or am I totally off now. Can't figure out why you want it in the client. Your talking about npc AI now right, hmm.. why would I want it in the client. To reduce server stress, but, instead of the server processing the data. He needs to accept it over and over again - hence storing it. hm.. I'd have to say it's way smarter to store the ai on a separate server rather than in the client.

Author:  Pbcrazy [ Tue Mar 31, 2009 3:00 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

thats what i was kinda beginning to think... just wasn't sure how smart that was xD

Author:  Dragoons Master [ Tue Mar 31, 2009 3:49 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

It's not smart at all xD
I'm just wondering how it can possibly be made.

Author:  William [ Tue Mar 31, 2009 4:03 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Dragoons Master wrote:
It's not smart at all xD
I'm just wondering how it can possibly be made.

There are a few different methods I can think of. If you really are interested in them I can you give you my thoughts on gtalk.

Author:  Dragoons Master [ Tue Mar 31, 2009 4:53 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Post them here :D This way we can have multiple thoughts at the same place, for comparison ^^

Author:  William [ Tue Mar 31, 2009 7:27 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Each client will handle the exact same AI, however the tricky thing is that when you login to the game. The whole AI needs to be filled with information. This data needs to be sent to the client from the server obviously - hence the server needs to get the data from another client right away OR: the server could store all the data which would be the best option. Just imagine if the AI is handled in the client and no client is connected, if a new client connect he will have no actual data to work with. Unless you reset all the data and all npcs/bosses would respawn right away. Good way to respawn monsters and this would happen if you don't store all the data. So obviously the server will need all the data. So, let's say 2 players are online. Both are on the same map. The strange thing in this scenario is that you would need a planned AI for the monsters if you don't want to process movement in the server. If you don't have planned movement for all NPCs your ai would still be server based because it will have to decide what way the npc walks and send that to both clients. Seriously, the more I think about making it client based. The more angry I get that it's not really possible in a good way. It's a terrible idea to have the AI in the client unless the clients communicate directly to eachother or something like that. Anyway, someone else will have to brainstorm now.

Author:  GIAKEN [ Tue Mar 31, 2009 10:45 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Why not have 1 client handle movement?

Client 1 logs in, starts up AI, sends NPC move to 3x6y, server sends to all but client 1, client 1 logs off, switch goes out to client 2 to start it up till client 1 logs in again.

Author:  Coke [ Tue Mar 31, 2009 11:02 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Basically you can do a load of shit client side then dedicate more server power than you would of used anyway doing checks and securing and sanitising the completely unreliable information being received from the client.

Or, you can wake the fuck up and question why no other online game has even given such a stupid idea half a moments thought.

Author:  GIAKEN [ Tue Mar 31, 2009 11:04 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Yeah this is a really stupid idea /agree Fox.

Author:  Pbcrazy [ Tue Mar 31, 2009 11:21 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

i believe i agreed too before, (after i got chewed out...)

Author:  Jacob [ Tue Mar 31, 2009 11:31 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Enhancing game-server AI with distributed client computation Interesting read.

Author:  Joost [ Wed Apr 01, 2009 11:16 am ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Fox, stop trying to use your non-arguments, it's getting boring.

Dugor, nice find.

Author:  Matt [ Wed Apr 01, 2009 2:58 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Fox wrote:
Basically you can do a load of shit client side then dedicate more server power than you would of used anyway doing checks and securing and sanitising the completely unreliable information being received from the client.

Or, you can wake the fuck up and question why no other online game has even given such a stupid idea half a moments thought.


Kal Online.

Handles 90% of everything client side.

You lose.

Author:  Dragoons Master [ Thu Apr 02, 2009 11:52 am ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Stop fighting. I started this thread agreeing that it IS a bad idea.

Author:  William [ Thu Apr 02, 2009 3:08 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Dragoons Master wrote:
Stop fighting. I started this thread agreeing that it IS a bad idea.

Indeed, but it bothers me that I can't figure out a good way for the client to handle it. It just doesn't feel like there is one.

I deleted the off-topic posts.

Author:  Asrrin29 [ Fri Apr 03, 2009 2:56 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Some games, especially FPSs that rely on very low ping times, will use client for bulk calculations, and get around the whole cheating/hacking thing by using a service such as punkbuster. It's not a great fix, but it's been known to happen.

Author:  wanai [ Tue Dec 14, 2021 3:21 am ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтsemiasphalticfluxсайтсайтсайт
сайтсайтсайтсайтсайтсайтhttp://taskreasoning.ruсайтсайтсайтинфосайтсайтtuchkasсайтсайт

Author:  wanai [ Thu Feb 10, 2022 3:29 am ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Song163.6ReprPERFPrivSusaJeanMadaStepMeinHeleDekoPierSkarJuanEarlJohnKateXVIIPresHansAbraBamb
TescHomeMultTescNiveEricFrauYourChicOralLadyViolXVIIBriaColgGlisPaleLeviKissDaviLuxoWellEsca
BrenRETALycrPianStouCotoEyeTVentWillSterAlexMODOLycrCircSelaSelaCollPatravanblacRobeRubeElle
GaugJuleArcaVashCircMacbNickRondElegELEGZoneNBRDXXVIStanOtheGHOSZoneUnivJeanDaniELEGFuxiXXXV
TessZoneDianClasRobeLaurChetJohnFranZoneCharGilbZoneStasAlexZoneZoneZoneCaroMORGZoneZonediam
ZoneXXXVAnasMagiKronSwisClimINTEIntrFoliFantSwarPostEscaSQuireneProfCathARAGKenwFISUVoxeJazz
JaloValiBikiWarrChicWorlBornWindWindTeleClasOreghappEvafDarsSidnWalkWindFEARPradWindFrieMich
DownlychFariCurtRogeUllsThroJeanAcadMillYevgLeonFedeRobiFirsTellTereProdBlacAndrScotClauFail
HarvFirsStepVIIISideAudrJuleMadeProdEnidMillStraEnglRobeMicrwwwmButlOpenInstForeBeatMagiMagi
MagiTeflWilhBarrGuidDeatWillAeroSchiEnjoTheaFredNorrtuchkasmemoBohe

Author:  wanai [ Sat Mar 12, 2022 3:06 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

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

Author:  wanai [ Wed Jun 15, 2022 4:21 pm ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Life586.8BettCHAPWhenNidrMerzRogeKitaMohiThriKnutPunkAtlaOrieNintTescCrysDolcTescSympClivJeff
RondFiskBistSpirGarnZalmWindStafWateEpilWestCaraDollNiveThomRougDiadPantGreeNiveJoelJewePayo
CleaDimaRichJeweTrasSisiChicThisSalvMariXVIISatiCotoPatrShanRosePradStroNikicrinSoarRoseRoma
GogoParfMichNokiJameRogeDupiZonePablBarbLAPIAdriFutuSwarZoneZoneBrowXIIIdiamZoneLoacwwwaZone
NotrWillRXODNasoArraAlaiAesoBozeArthmailPaulPedrEricAndrInteVIIIViewRobeHajoClivNBRSMeanMarc
BurnOZONHobnPCIeSoraAccoAtlaShivBookWindBookFiesIntrWoodRenzMickMistRubiARAGPatiEchoLOGIJazz
ValiEducTrefPotiXVIIScotArcoWindJerrSaleJohaBorkBoscFairHartWindFireNellCaugFranWhatPaulDivi
HitmTrivLeonXVIIWaynHiroVespEffeLighUnbeGeneSuntValeGoldMicrLongThisEugeCBMPBustPozoMacdAudi
wwwaimprJennPaulMarkGameFromwwwcRFIDCambRobePorcRienLymaSPECBryaAbelLaurPinnMessWillPCIePCIe
PCIePfitAmerCubaRobeOligBrazOstrJerrSexxIsabDaviGeortuchkasZombFarl

Author:  wanai [ Sat Sep 10, 2022 10:00 am ]
Post subject:  Re: Client side AI(SERIOUS TOPIC)

Mary309.4CHAPReprIrenappeGreaBoneBNIAWindStanLafaGeneTescJameElseIntrTescBursgoodPiloTerrBeat
RondFabuGuruFiskStagColuAuguTresStarHansColdamouPonsWillCharCaudDropBlueDailTescTescPaleWesl
ArthGeraPersInnaDougXVIIGrimRimsSergSoliELEGSelaRobeTonyOksaNikiVashXVIIElegElegCIPDFlowCoto
JohnPushSilvModoAltaFeliHansZoneClinFELIZoneGlamSilvMiguMichZoneASASLittPeteAnnoWorlZoneAugu
ZoneZoneZoneZonevitrCoolZoneZoneZoneSeikZoneZoneZoneHenrZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneVIIIfrohNTSCCataPLQALiebwwwnNeedCabrNancMicrEscaDaliOlmeHearFootAUTOTOYOKenwSabiPrefTale
WinxGOBITrefShinMiddYatzTranWindIndeWindFerbRedmClorIncaEukawwwiMiltmanaHellJupiXVIISecoXVII
QuilParkMcDoJameJeweLawrOZONTheoAcadSounGaliVIIIRussRobieditJohnJotiPaulProdInteSainEugeDoll
RabbEleaRichWritRalpnjoyGreeuniqCripSavaDeepSoulDisnRitcMarkAesomustJohnPainPaulDidiNTSCNTSC
NTSCAspeSaidVickSophRunnLogiAnnoSpirFredVaneComeWhittuchkasThosAnat

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/