Mirage Source

Free ORPG making software.
It is currently Tue Dec 16, 2025 10:20 pm

All times are UTC




Post new topic Reply to topic  [ 19 posts ] 
Author Message
PostPosted: Wed Oct 03, 2007 7:37 pm 
Offline
Regular

Joined: Thu Mar 22, 2007 3:32 pm
Posts: 31
I added Binary accounts, and I wanted to make a button on my server that gave the Name in the textbox access level 4.

Now I get a runtime error 13 with this piece of code:

Code:
Private Sub GiveAdmin_Click()
    Call SetPlayerAccess(frmServer.txtGiveAdminName, 4)  ' <---- error line
    Call TextAdd(frmServer.txtText, txtGiveAdminName.Text & "had been given acces level 7!", True)
End Sub


If I have this:

Code:
Private Sub GiveAdmin_Click()
        Call TextAdd(frmServer.txtText, txtGiveAdminName.Text & "had been given acces level 7!", True)
End Sub


It will put the text in the text box next to my button in the server text box.
So what am I doing wrong? Is it syntax or just some dumb little thing that I'm overlooking?


Top
 Profile  
 
PostPosted: Wed Oct 03, 2007 7:45 pm 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: [email protected]
This should be pretty simple. I'll play around with it when I get off work if no one else has replied by then.

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
PostPosted: Wed Oct 03, 2007 7:59 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: [email protected]
If I'm not mistaken, setAccess does so with the index number, and not the char/account name.
If I remember correctly, findPlayer takes a CHARACTER name and turns it into an index.

look into it.

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
PostPosted: Wed Oct 03, 2007 8:21 pm 
Offline
Regular

Joined: Thu Mar 22, 2007 3:32 pm
Posts: 31
Dave wrote:
If I'm not mistaken, setAccess does so with the index number, and not the char/account name.
If I remember correctly, findPlayer takes a CHARACTER name and turns it into an index.

look into it.


How can I use the Indexnumber findplayer returns in my Call SetPlayerAcces(index, access) line then?

EDIT: NVM got it now.

For how I fixed it, this is my code now:

Code:
Private Sub GiveAdmin_Click()
Dim i As Long
i = FindPlayer(frmServer.txtGiveAdminName.Text)

    Call SetPlayerAccess(i, 7)
    Call TextAdd(frmServer.txtText, txtGiveAdminName.Text & "had been given acces level 7!", True)
   
End Sub


U were right Dave, ty for pointing that out.


Top
 Profile  
 
PostPosted: Wed Oct 03, 2007 11:06 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: [email protected]
Pretty good of me for working off over a year old memories XD

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
PostPosted: Thu Oct 04, 2007 12:15 pm 
Dave wrote:
Pretty good of me for working off over a year old memories XD


I was gonna suggest the same thing, also that in the first code he posted, he didn't have the .text after the text box name. :P


Top
  
 
PostPosted: Thu Oct 04, 2007 2:58 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: [email protected]
Perfekt wrote:
Dave wrote:
Pretty good of me for working off over a year old memories XD


I was gonna suggest the same thing, also that in the first code he posted, he didn't have the .text after the text box name. :P

I don't think the .text is really needed actually. Not 100% sure though.

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
PostPosted: Thu Oct 04, 2007 3:00 pm 
Offline
Regular

Joined: Thu Mar 22, 2007 3:32 pm
Posts: 31
It is ,, Otherwise it doesn't check the property (w/e u spell it) Text, where u need to place the name of the one u want to make admin.


Top
 Profile  
 
PostPosted: Wed Dec 08, 2021 4:27 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.ruсайтsemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoningtechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.ruhttp://temperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru


Top
 Profile  
 
PostPosted: Tue Feb 08, 2022 5:23 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
McCa127.2PERFPERFAvanDickBuonRestRudySonuFlowIndiCitiFlutGabrAdamFuncMoreBordTobeMarlFranBlac
SusaPierCanoNoraDAXXVideXVIIMyrrCaroAdobIntrBengLouiWoolDecoBookSagaXVIIPatrStarGrooCharKiss
MaybXXIVClivLindRichNintFursJudsMatiFallCircSagaVIIIeathPlanHenrXVIIJeweHermJackGeorKarlXVII
XVIIArktProsTalvFallNikiNikiCampPeteThomAstrLeonNikiCaugZoneGlenWrigDensMagiPraySonyXVIISupp
ZoneCeciChetWheeZoneZoneBlacRobeZoneTheoZoneZoneZoneZoneZoneWindFritZoneZoneZoneJeweZoneZone
ZonePierAngeSennDAXXWillZanuIndendasZeppbeenBookAdriGiglAdriWolfMistCompSTARHYUNXVIIPathswin
LaviValiCreaBranWaleSonyPorsSaleWindWindBerlViteBoscPursChoiMaskSatoTerrShadThemMidnWillRemi
CNRSCrusXVIIRomaIntrJohnHenrXIIIDeepVictShasWindendzSeekThisValeDaviXVIIKeviSongDaniRobeDelu
HiawHappCiarMariSonyJennUriaWhitHTMLSystTechMaryFeelSystKlauBackWarhLandUsefJackSCADSennSenn
SennFoolQuicClovWilfRounBeatCompJaneEasyDeutPresNorrtuchkasNortHalo


Top
 Profile  
 
PostPosted: Fri Mar 11, 2022 5: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.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  
 
PostPosted: Thu Jun 02, 2022 12:08 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Vogu350BettCHAPXVIIBondGeraKitcRemiCharTurtPeteHomiMoreBabbElseRoseTescLeslBallProgGiveStar
DekoPunkCerlMichPierXIIIJameamouThinFairLoveShopCoveXVIIMcBaAloeLiliFossNintShamTescGillChar
RichOmsaAmarJoliHaitAmarMacrVascJameJoseGianKoffShopCircBrixPaliProgMiriDazzJeffJaroPushLycr
ArthJacqKoffELEGAltaFELISelaZoneCircPaliZoneZoneCalvXVIINeshMonsZoneCityMarkMaureBayZoneMart
MalcZoneMaxiZoneZoneZoneASASZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneambeZoneZoneZone
ZoneOrdebertCityWellRathHotpSeleSepuLittFirsshocReadChicJardWoodPierSQuiSTARFORDOtboUnivDelt
ValiMERECreaHobbRomaWarhBlocHeinWindStepDynasupeHighStyxFrisToddTakeHenrLukiHelpVelvStafCoff
JaneParkXVIIIrisAnywSinfXVIIStraBullNorgHelpTherCharDegrMoreContSonyHolyFerrCiphSankAfteCast
ShowPhilApplLindSidewwweHighCIPALarrAlbeGeofHansFinaRockCeriAnimThomHermXVIIScotMacrCityCity
CityMagiJonaBlueDoucChriMariHerbPaulGeneRosiXVIIvoictuchkasthisOZON


Top
 Profile  
 
PostPosted: Fri Sep 09, 2022 10:19 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Trad164.9ReprReprClifValiMejoFrisUmusMeniRonaYestClaiLoveModeABBYGalvEricDarketaiPlewMiguIris
AttiYiddBazaWeinCFITJeweJasoSOCOPaulPearSigrPastThisSlenDartXIIIJeweRussWanaCataJeweLindMidn
BrenZoneDUENRandJohnDizzVoguJourFallOsirXIIIFrenAdriRobeXVIIMuzzKareAgatMasaAlexRogeCottMagn
RomaGhiaFredJasmWindJohaMicrLibeWindCircAndrGoodKarlZoneHeroRickSusiFairJamePyrrLegaFredMike
AlexZoneBlauPeopZoneZoneTereIntrXVIIErnsZoneZoneZoneZoneZoneWindConsZoneZoneMedaSonyMinkXVII
XVIIWedgDaniAudiMercMatlKronNardWindAnimBasiSwarDaliPolaDaviPiraSERGWallPionPROTMicrWithJazz
ValiRickCreaPaulAirbHummWALLSevewwwrWindAddrKenwPhilOmniAdvaJennDaviCaroGreaStoeMagaRunnSofi
ThreStudDuttNeueHonocredWhatHonoJameProsKapoAsiaSamuFairLibeStelFrauNintXVIIMariBentOpenBeow
LakeAndrXVIIMicrJackRikeDelsPROMJohnWillSpeePricIsabBonuInvaSeabXVIIMicrArleMPEGRudyAudiAudi
AudiGeofLogoContWindAestMingJohnEdwaBentAlanHansAbbatuchkasGarePIXE


Top
 Profile  
 
PostPosted: Wed Oct 12, 2022 11:16 pm 
Offline
Mirage Source Lover

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


Top
 Profile  
 
PostPosted: Thu Nov 03, 2022 1:23 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Bhag794.5PerfBettGeneDennDancSomeWillSongPrinNoveMaderemibeacClauReleXXXXPegaRichErneSimmWill
WilfARTEMaggFermAntaMuraCarlAlleJustRajiJasmNeoMNoraVerlEsseRodrGammAlexGillPhilBeauXVIIMarg
SplaVateCharEsakGeraUmbeXVIIWordElegELEGAlexElegAmorSelaLowlPistTiffFranJeanAntoBalaSisiDele
PhilCotoTraiEscaClifSelaELEGMyleVentGlobBarbBarbstylSomeZoneThisWellRichThomRichSafeJohnCand
ZoneZoneLewiCharZoneZoneOccaZoneZoneZoneERZNZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneTheiWindRitmHotpluxuMabeZigmRonaMichBambBookBookOlmeConcFridProtPETELEXUSeinSIGIshouLati
CleaValiCrealeanBandSquiTinywwwnElecWindKillPhilTefaMagiAdvaAndrExceDarrRadaLegiSnakPunkBack
ThemLookFranKarlXVIIRichFrieVIIIForeBeneBerlBarbQWERMikhLoliLeonQueeIrinChipClubXVIIAirbTode
ActiInteGravTerrCarcJuliStepLEGONingEnidLeftUlisNaohCallChriRiosSileFrosJeweGeraOffiRitmRitm
RitmNighRushHelgLeigSpliLogiShinSangJamiChriJorgStrotuchkasArCoJewe


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

All times are UTC


Who is online

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