Mirage Source

Free ORPG making software.
It is currently Fri Jun 21, 2024 8:06 pm

All times are UTC




Post new topic Reply to topic  [ 24 posts ] 
Author Message
 Post subject: Access Level
PostPosted: Thu Aug 21, 2008 7:54 pm 
Offline
Regular

Joined: Fri Aug 25, 2006 8:39 pm
Posts: 66
Ok I added the helpful code for changing the access of a player on the client admin panel, but it doesn't work... Now the one thing that I found is there is nothing changed on the Elysium source(Where I took it from) but it won't operate the same, any suggestions?


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Thu Aug 21, 2008 8:31 pm 
Offline
Knowledgeable
User avatar

Joined: Tue May 30, 2006 1:42 am
Posts: 346
Location: Florida
Well have you checked the CLS's that Elysium has? It might save diffrently there, or have you checked sub main, or serverinit. I told you it was a bad idea for you to rip from ES when you do not understand it... By the way did you ever get that news system working or is it still overwritting the document on both sides?

_________________
shut your manpleaser
http://www.kazmostech.com


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Thu Aug 21, 2008 9:07 pm 
Offline
Regular

Joined: Fri Aug 25, 2006 8:39 pm
Posts: 66
Well, all that I saw in the CLS's was the same thing as in the regular folders so I don't even know why they were added, and why would it be in sub main, or serverinit? I tried searching for Getaccess and SetAccess but they didn't work because they are the same in MS as they are in ES. And no I didn't get the news code working correctly.


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Thu Aug 21, 2008 9:16 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Did you do a SendPlayerData?

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Thu Aug 21, 2008 9:20 pm 
Offline
Regular

Joined: Fri Aug 25, 2006 8:39 pm
Posts: 66
I'm not sure do you think there would actually make a diffrence if I changed the sendplayerdata, and what would I change on it? just add something like
Code:
SEP_CHAR & SetPlayerAccess & SEP_CHAR & END_CHAR


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Thu Aug 21, 2008 9:33 pm 
Offline
Pro

Joined: Mon May 29, 2006 5:01 pm
Posts: 420
Location: Canada, BC
Google Talk: anthony.fleck@gmail.com
Make two text boxes call them txtPlayerName and txtPlayerAccess. Make a label and call it lblSetAccess.

Double click the label. Enter this code.

Code:
Private Sub lblSetAccess_Click()
    If GetPlayerAccess(MyIndex) < ADMIN_CREATOR Then Exit Sub
    Call SendSetAccess(txtPlayerName.Text, txtPlayerAccess.Text)
End Sub


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Thu Aug 21, 2008 9:39 pm 
Offline
Regular

Joined: Fri Aug 25, 2006 8:39 pm
Posts: 66
Will that actually work?


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Thu Aug 21, 2008 9:40 pm 
Offline
Knowledgeable
User avatar

Joined: Tue May 30, 2006 1:42 am
Posts: 346
Location: Florida
Anyway you go about it, it should work better than
Code:
 GetplayerAccess = Administrator then
call SETPLAYERACCESS

_________________
shut your manpleaser
http://www.kazmostech.com


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Thu Sep 04, 2008 10:41 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Nov 19, 2006 6:59 pm
Posts: 213
Erm, sorry to necro post, but you definitely shouldn't be doing it the way Anthony said, as all you are doing is checking client side if the player's access is Administrator. This is very insecure and can easily be exploited by using a memory editor. Make sure to send the data over to the server and make sure the player really is an administrator instead of trusting the client. Never, ever trust the client ;)

_________________
Image


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Thu Sep 04, 2008 11:14 pm 
Offline
Pro

Joined: Mon May 29, 2006 5:01 pm
Posts: 420
Location: Canada, BC
Google Talk: anthony.fleck@gmail.com
This is exactly how the client does it with the /setaccess command.

It does check it again on the server side anyways.

Mirage in general is easily hackable. 90% of these games don't see the light of day and if they do a max of what, 30 players? Maybe. Who cares?


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Fri Sep 05, 2008 1:58 am 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Anthony wrote:
This is exactly how the client does it with the /setaccess command.

It does check it again on the server side anyways.

Mirage in general is easily hackable. 90% of these games don't see the light of day and if they do a max of what, 30 players? Maybe. Who cares?


The point is, a lot of people (including myself) make games to help improve their coding. Even if it's not going to be used, it's better to learn the right way even if its less convenient, than learn the wrong way, because it's more convenient. It just wastes time later, when you have to relearn it.

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Fri Sep 05, 2008 4:49 am 
Offline
Pro

Joined: Mon May 29, 2006 5:01 pm
Posts: 420
Location: Canada, BC
Google Talk: anthony.fleck@gmail.com
Good point.

Still though, the server checks when the packet gets there.


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Mon Dec 13, 2021 2:25 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Wed Feb 09, 2022 10:13 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
Lord394BettCHAPSmasPierMargAaroGoinPietYeleSimoYourJewePhilIconStraSmilTrenFamiZoneDeniJuli
TescFireElegVesuReneBandWindJohnShauMatiStanTestMusiLineadapBGNASchaGlisGillOreaSherPowePres
ShisKoboIngmSophOmsaEXCETrasFUNiLuizCollSonyEricMarrJameAgatElenLibePaliNikiBeyoKoffJeweLyon
HousEltoPhilmuzzNothKurtJohnZoneJohnSkirDonaJarmGodfdiamZoneZoneBillPhildiamZoneDataWindZone
EpsoXVIIgranChetJosemachXIIIDayaAlfrMichPuneWareBustGarmLoveXVIINinaMonaJohnMikeCharKenzProg
KeviCaptKERKPCIeRoyaPockStieAntoWindPicrHenrNotedesiHRTvWoodNeotGiglPierMerrJapaAmerFromBlue
DamaRaveReicWASPHautwwwnWindWindLostWindMoleBorkBoscHantFresJasmAssoDionClubVIIINachNeedLaug
XVIISleeXVIIDaleOZONMiguAlbrpostXVIIBernXVIIPaulXVIIDarkWeavJohnSuitDeadRowbJameStevBabyfant
JeweExceNoctHaveCityJeweStudFranhairRobeWarnHaddBirtMichJacqAnaaPernMattModeColiKatePCIePCIe
PCIeDeskOperCarrWintHeatMuleAllaGuldMichRosiFirsJohntuchkaschieJewe


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Sat Mar 12, 2022 9:36 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatorhttp://magnetotelluricfield.rumailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Wed Jun 15, 2022 10:41 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
Inte183.4PREFpersKoboCentAlleAdamCONCDianStepOtheTescBeteZombFreeWindDormBirtAjayMutcJameGran
KareSympIronChapcontPercPhilBeliBriaASETJuleVousThreIngrCallSonaGWViFyodABBYcoloBeteDaviPink
SpacJeanMcDeYvesVoltMaryLEGOClanAllaBlurWindMariJaniDigiArchMichVeramirrDrivWillDancXVIIBrea
EnigGiocStatJordWindHurrGiorIntenotaFallSupeWindBikeZoneFranWildHerePikkGaiuKrayAngrAntaMire
ArtsZoneArtsSchmNeveZoneCollRestPierMichZoneGeorSTEPZoneLuceNERVDonnChriZoneWarhEnsaThisXVII
ZingPlewBronmicrCarlVisuTekaSamsFeliBontBookCharTwinJardParaPoweMerrPierMystPROTFISUTomaVoca
CaroAeroAeroWarrHellNickWindWindwwwnWindLegoMoulUnitCartEukaXVIIArouworlWernTrevStowAsgaGrat
XVIINapoRomaRollLiveStevXVIIElviRaziMaybDolpVladGeorShotAlekLiveSureRichHuntGreePhilStevRace
ChriThinKearDeutBethInteTranJeweEnglNadiPaulPasmOffsPaulDageStraJaneKwanKingWilhDesimicrmicr
micrAndrChriGretEckhBriasuppNothFionJeffSaraXVIIVicttuchkasJeweUrsu


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Sat Sep 10, 2022 4:12 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
Empi54.8BettBettVampYerbXVIISohnFeelRussLookDekoJongDisnTescTastTescJeanTescKompHadnSusaClev
CurvBistJungTramShioOreaKeraXVIIPublPureRemiXboxZaraKiwiSHARBlueAllePaleFemmMichJuliRexoKami
HenrBrasCoppAmarMikiPierwaysSonyBotoBrucGameBrucGezaElegJameSelagunmCerrLawyPlanPeteLafaMaur
FoolCrossonsaineVIIIJokaDaniPHINTovePersMORGZoneDamoZoneJannZoneZoneMuppRondZoneNasoZubeZone
JohnPeteXVIIRudoPSpiGaryChetMahaKeviMicrCourHenrCarrDesmMicrNBRDHenrHeavTherRichZoneScotLoya
DesmtronXVIIPCIeXVIICataRifaPoweTerrAstrWindFiesJardcellfibrHugoPlutAdriWindXXIILatvNettJazz
IvreWinxEducPowePlasArthWindwwwnChriSmarLEGOOlivChouCalvTrioWindMagaFyodWorlwwwrHeavRiveSTEA
MusiMastMichAcadXVIIHerbFideXVIISereXVIILeonViceJudaBrisStopWillEdmoXXIIWakeShamPsikWindErns
WindElecJeffStanTrefWantBookWindMillJameThisTalkDaveSMBADigiSubwGranVIIISilvMichAlfrPCIePCIe
PCIeOrigWilhBryaTheaJacoHungWindRichJudiScotGeraRodetuchkasXVIIAnna


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Thu Nov 03, 2022 10:48 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
Hist242CHAPCHAPArchReadWantRomaHenrRudyElkiWoodChriOrieJackRidlGeorSwisHenrMichZoneIchaTram
GardXVIITefaThomPenhBylyJardOceaYousLensLillAmerAgatHerbBrauAlteNeutRoseWillClapKenzWindHous
CamaScreSideAdamSophAmorMornPamecottLuxoKoffStreAureAuguHeinXVIIPelhRoxySelaSelaRoxyVienMarc
BannactiGeorMaarInteRAEURobeGeorWillFantDaviAeolStepArtsSwarJameFeelJackArtsZoneXVIIJeweInte
diamKathZoneCompSwarCariAngeEmmaLudwCharJohnFlasgyunTimeHowaHervHeinWindKingwwwnAnthAlicInte
MorgOscaXVIIInduMESSINTESamsHANSHaveMicrBookDesiEscaOlmeEarlPoweMistProlProlBELLMPEGDermJazz
JudaAeroCharMarkKotlStevPiloWinddowsMacrMiniTaniBarbCityzitaSeanRounHomoSofiLariBriaAlanHarr
AmazErviLiveDUBIBaltBertEmilLargJuliErneLazaMariCeneTwenMicrGermHeavDaviBritBabyClauLiveRich
DeseWillRichGrahWhatOdenOzzyStifDucahoteGeraWilhNewsRobeFionMuleJackRecoMykeGileqEnjInduIndu
IndubareHoocPhotCathIstaBonuStilOasiJacqTequJohnThistuchkasXVIIMise


Top
 Profile  
 
 Post subject: Re: Access Level
PostPosted: Fri Dec 09, 2022 12:52 pm 
Offline
Mirage Source Lover

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


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 38 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:  
cron
Powered by phpBB® Forum Software © phpBB Group