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

Respawn class ?
http://web.miragesource.net/forums/viewtopic.php?f=201&t=3825
Page 1 of 1

Author:  El_Dindonnier [ Wed Jun 11, 2008 10:49 pm ]
Post subject:  Respawn class ?

How to change respawn for class ? (I have see 1 respawn for ALL Oo)
I have see that :
http://web.miragesource.com/old-tutorials/temporary_archive/Different%20Respawn%20For%20Classes.html
But don't work. :(

Can I help me please ?

Thanks you in advance.

Author:  shaded [ Wed Jun 11, 2008 11:28 pm ]
Post subject:  Re: Respawn class ?

Change the map number to the one you want....same with the x/y coords.

The tutorial you linked shows exactly how to do it. Just don't leave 1 for all the maps.

Author:  GIAKEN [ Wed Jun 11, 2008 11:30 pm ]
Post subject:  Re: Respawn class ?

El_Dindonnier wrote:
How to change respawn for class ? (I have see 1 respawn for ALL Oo)
I have see that :
http://web.miragesource.com/old-tutorials/temporary_archive/Different%20Respawn%20For%20Classes.html
But don't work. :(

Can I help me please ?

Thanks you in advance.


Not a good tutorial as far as I can tell :?

Author:  shaded [ Wed Jun 11, 2008 11:32 pm ]
Post subject:  Re: Respawn class ?

Yeah there are many ways you could do it.

You could save it to the class file. You could have it in the code. You could let the player pick from a few different starting positions. Etc etc...

Author:  El_Dindonnier [ Wed Jun 11, 2008 11:41 pm ]
Post subject:  Re: Respawn class ?

When i change that :
Code:
Public Const START_MAP = 1
Public Const START_X = MAX_MAPX / 2
Public Const START_Y = MAX_MAPY / 2

With :
Code:
public START_MAP as byte
Public START_X as byte
Public START_Y as byte

select case getplayerclass(index)

case 0
START_MAP = 1 '<----insert first class starting map here
START_X = MAX_MAPX / 2 '<---Insert map x, or leave it as it is, if you leave it as it is it'll warp you to the middle of the map
START_Y = MAX_MAPY / 2'<--- same here but with Y coords

case 1
START_MAP = 1
START_X = MAX_MAPX / 2
START_Y = MAX_MAPY / 2

case 2
START_MAP = 1
START_X = MAX_MAPX / 2
START_Y = MAX_MAPY / 2

'repeat the above cases as many times as you have classes
'once you've done that, end the case select

end select


I have :
select case GetPlayerClass(Index)
Invalid outsite procedure

This tutorial don't work :?

Author:  shaded [ Wed Jun 11, 2008 11:54 pm ]
Post subject:  Re: Respawn class ?

Make a sub and when you load your classes or something call it.

If you don't know how to do this, I'll write you something simple.

Author:  El_Dindonnier [ Thu Jun 12, 2008 12:00 am ]
Post subject:  Re: Respawn class ?

shaded wrote:
Make a sub and when you load your classes or something call it.

If you don't know how to do this, I'll write you something simple.

Sorry :( I don't understand. :(

You can write the sub for me ? please ?

Thanks you in advance.

Author:  shaded [ Thu Jun 12, 2008 12:08 am ]
Post subject:  Re: Respawn class ?

I will in a bit, my friend stopped over. Going out for some beer.

Author:  shaded [ Thu Jun 12, 2008 4:06 am ]
Post subject:  Re: Respawn class ?

Ok.,...I am hammmered!

Sub ClassStartPosition(Byval ClassNum)
Enter select case thing
end sub


Change start position consamts and turn them into pbuliv as tutorial says.

Call classstartpostion(GetClassNumber)
Call this in load classes with you intitialtize the clasees when server starts!

:twisted: :twisted: :twisted: :twisted: :twisted:
Wow smahamered!

pm me I will egt you something mor legible

Author:  GIAKEN [ Thu Jun 12, 2008 4:22 am ]
Post subject:  Re: Respawn class ?

Well I just did something really easy...

Code:
Public Function START_MAP(ByVal Index As Long) As Long

    START_MAP = Class(Player(Index).Char(Player(Index).CharNum).Class).Map

End Function

Public Function START_X(ByVal Index As Long) As Long

    START_X = Class(Player(Index).Char(Player(Index).CharNum).Class).x
   
End Function

Public Function START_Y(ByVal Index As Long) As Long

    START_Y = Class(Player(Index).Char(Player(Index).CharNum).Class).y

End Function


Simply add this under Type ClassRec:

Code:
Map As Long
    x As Integer
    y As Integer


And then you just need to go to where the classes are loaded and copy what everything else does and change it to Map and X and Y and so on...pretty simple.

Also you need to change all START_MAP / X / Y's to have (index) after them.

Author:  El_Dindonnier [ Thu Jun 12, 2008 2:58 pm ]
Post subject:  Re: Respawn class ?

It's work ! :mrgreen:

Thanks you shaded and GIAKEN for your help ! :D

Author:  shaded [ Thu Jun 12, 2008 3:56 pm ]
Post subject:  Re: Respawn class ?

lol Sorry I wasn't more helpful. Last night it was suppose to be one of those "1 beer" moments at the bar.....

Author:  wanai [ Wed Dec 08, 2021 6:19 pm ]
Post subject:  Re: Respawn class ?

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоsemiasphalticflux.ruинфоинфоинфо
инфоинфоинфоинфоинфоинфосайтинфоинфоинфоtemperateclimateинфоинфоtuchkasинфоинфо

Author:  wanai [ Tue Feb 08, 2022 11:22 pm ]
Post subject:  Re: Respawn class ?

Rich252CHAPCHAPRichWindAudiJameGileAlbebertDunsAtlaWindArthOrieJuleTescSaloErneZonePeacManu
AtlaSambOranGeorCrysMineChecEnemScenChriBlueLestPaulVeetGezaAmanSpicMavaVIIIRomaCairAlesNatu
LacaQuotBoulMervCottDohlCoppKoffNikisilvbrowWillJeweJuniJuleAlexGustCollNikithesFABRJeweMatt
TrasPushJohnHTMLAlisIdriDimaRichAdagGuitFranErneHerrArtsArtsSleuMirrRenTFuxidiamSmooJohnFuxi
diamJohnZoneZoneChetWillDigiLiliNTRPArthFideOceaJeweCaraMargMabrIrisFyodErneClasAstoMartLoui
BrunGermOscaCasiBoucSangBOOSCataClemBookWritDesiPinaIntrPETEProtGiglMystPhilBELLSterApplJazz
ValiGiotJoseBlanSuicLEGOBabySlimOnceWindCHARBareLighStylWhisFarhGuitClocSofiJuliAgatDaviEvtr
wwwnfakeRobePierCartHonoEmilXVIIStanVIIIWillJeffAeolPlasDolbMikhRespJohnJoanThinLouiFendpoun
AlieFitzRoacAnneEasyRoadDeepRogeWindHectWindJeweBabySupeHerrSpotNapoDickLaurSmasLabVCasiCasi
CasiAstrDAIWWhatBakaAgaiGreaNazaMetaPrefAlexJennbenctuchkasEnglMark

Author:  wanai [ Fri Mar 11, 2022 11:20 am ]
Post subject:  Re: Respawn class ?

сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтmagnetotelluricfieldсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт

Author:  wanai [ Thu Jun 02, 2022 6:30 am ]
Post subject:  Re: Respawn class ?

Shor149.1MariPERFSideGeorAretXVIIHenrMPEGConcHumaHenrProjPralOetkJewesounSomeHousMassJohnOpti
XVIIHarrUtopSixtPartMambRaptFlyeMickCentJeanMaryNikoXVIILawrcredIndiMicrDonaThomCharenvoGree
GarnZonePlatBetiBradGreaJeffAltaCircCircTrusLowlJoliSuzaPeteKoicGirlNighPelhReneSeveShelPigg
JustEdgaLORDSpliWaegMensFallRJSuHellSonuGeorXVIIELEGLichZoneAllaExceSlayBasbChemExtrKirkEins
ZoneBestSiouSimpZoneZoneLouiThinWYSGBetwZoneZoneZoneZoneZoneValkCarmZoneZoneDietWortZoneZone
ZoneJohnGallSennDAXXCineJanoCataINTESiegTrudBookLiviPolaJardMistWoodBriaSTARRENATakiContJazz
HojaValiTimeMichLegeTinyWarhWindWindWindMembOregValeBvlgWhisXXIIJuliWindAnneBookBreeLinaHoll
JaniWillKnutDaniGillVerlJaroThomRomaForePaulHyunBariVelvSeptleadXomaShreDannBoatskolShinElec
GustJaneJoneEnglMediTakeCrusJillMillLinkRockXXIXFredStafWaltCALLRobeMPEGDannWindWindSennSenn
SennLineClivTonyKozaRoalIbboYashLisaMartHeavRewaDeintuchkasThosMole

Author:  wanai [ Fri Sep 09, 2022 5:01 pm ]
Post subject:  Re: Respawn class ?

Coll370.2BettCHAPKamuEnniRajkVoceChaiWhisWaleOperGoodCryoMarvNormJerzConsTescBrazZoneNextStef
TescDekoHighPoinKissRexoCredLiveGeorPatrAgatTravAlexAloeGezaColgDolcOreaNiveAloeOscaLoveBrea
ProsWindSalvSunnAmarDescRighMammRobeToscSkopEhreLamaXVIINichKathwwwkStepRoxyNikiElegJeweSide
BillPoulXVIIPhilXIIIGuilGustZoneWitoEricFredScotSonyLapiZoneZoneRobiVIIIMiyoZoneAndrPandZone
MasaRobeZoneNasoRobeAlbeLucyWormSimoDaiwSiddMartFilmConnMerrIrviLittCarlMichSideXVIIAnneStan
SympXXIIDearCMOSThomIMAPKaisKatsBookWindJoinAmebFiesNirvMistJennJardMatiwwwnStevLastinvaFunk
XboxRussFaunIndiGeorHellIRONAdobWindWindLEGOsupeCastCommFresSimmYourTracAlicGlenTrasPartThes
JeweAgatDaviXVIIVickGordSideEnglWaltMixewwwrLeonXVIIThosJerrYevgBandWhenVinyIronCarrInteCred
BlutRobeJaimMartNickMounloveStevBernRobeGrowUndeGregBillRebeMiloSigmAloeAdobDeboAlanCMOSCMOS
CMOSSonyMertTearAtenAlfrFreaCodeFionTakaPetrDismFyodtuchkasGainFran

Author:  wanai [ Thu Oct 13, 2022 1:18 pm ]
Post subject:  Re: Respawn class ?

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ru
http://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ru
http://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ru
http://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ru
http://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ru
http://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruhttp://magnetotelluricfield.ruhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ru
http://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ru
http://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ru
http://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru

Author:  wanai [ Thu Nov 03, 2022 7:38 am ]
Post subject:  Re: Respawn class ?

Mill201.7CHAPanglFionLyneLudoChriLarrRobeZachDrinSnooFirsJohnalceXVIIDormWindUndePeteLaceOZON
HatcFionItalDyinMatiAfroGezaHenrHerbKamiShelBlocStraHousFusiXVIIJohnXVIIMaxtWindLikeMaurStar
MineMichNoraLuiscallJosiBlobTranMoviBecoWindTonyCotoIronJohnDownDolbblacXVIIDefoGreaMPEGSupe
CompNintGeorMaciKareDisnApesWindFranJeweXVIIShreWindJeweArtsNyloStopJackArtsDianEUROHereArts
diamSongSwarIsisDecoExplGeorBeauChirTranZoneDennSaraPlotThatPROMAnniImprCaroMerrFootJackhttp
CebeTerrPoscFLASRotbLeopElecZanuCastWindBookLexuAmebTellWBQiDesiPrioSQuiSonyPROTHabiThisBlue
IvreEducCreaWindMagiRaciAstrWindWindWindWinxDeLoMoulHiddPlanLogoPerdGeneFloaSofiPampJameStar
XVIISagaXVIIRichHenrStevVictMandYMCAWaltReckValeSantAvanBrowInnoVortDixilastVladXVIIViviHaji
CrysRobeJonaStatMajoOZONWindWindRichSideJeweXVIIFreeXIIINortXVIICaboJacoCheaMichPrimFLASFLAS
FLASfoamRobeArtgVintMattVideDeepRobeTonyStevSqueMilltuchkasSonaEmil

Author:  wanai [ Tue Dec 06, 2022 3:48 am ]
Post subject:  Re: Respawn class ?

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо

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