Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 9:00 pm

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Crap.
PostPosted: Fri Jun 20, 2008 11:47 pm 
Offline
Banned
User avatar

Joined: Mon Jun 05, 2006 9:22 pm
Posts: 394
Location: USA
So, I've got the PW Converter for PW files to the new version, and I've discovered it work perfectly!

After designing a DATABASE editor I was able to discover that everything is being converted normally, yet my code is reading something differnet.

It happens in

Code:
Function GetPlayerInvItemNum(ByVal Index As Long, ByVal InvSlot As Long) As Long
    GetPlayerInvItemNum = Player(Index).Char(Player(Index).CharNum).Inv(InvSlot).Num
End Function


Instead of Getting "8" as it should be, and as my database editor does, it is getting a large number "838860800"

Now, there is nothing else remotely close to that in the original INI file, so it isnt being converted incorrectly, it's just not loading properly. Any idea why? Here is how I load both in the Db Editor and in the server if that matters.

Server:
Code:
Sub LoadPlayer(ByVal Index As Long, ByVal Name As String)
    Dim FileName As String
    Dim f As Long
    Dim StartByte As Long

    Call ClearPlayer(Index)

    FileName = App.Path & "\data\accounts\" & Trim$(Name) & ".act"

    f = FreeFile
    Open FileName For Binary As #f
    Get #f, , Player(Index).Login
    Get #f, , Player(Index).Password

    Get #f, , Player(Index).Char(1)
    Get #f, , Player(Index).Char(2)
    Get #f, , Player(Index).Char(3)
    Close #f
End Sub


DB Editor:
Code:
Sub LoadPlayer(ByVal Index As Long, ByVal Name As String)
    Dim FileName As String
    Dim f As Long

    FileName = App.Path & "\data\Accounts\" & Trim$(Name)

    f = FreeFile
    Open FileName For Binary As #f
    Get #f, , Player(Index).Login
    Get #f, , Player(Index).Password

    Get #f, , Player(Index).Char(1)
    Get #f, , Player(Index).Char(2)
    Get #f, , Player(Index).Char(3)
    Close #f
End Sub


Virtually the same, minus the file ending (which is sent with the name in the DB Editor)

In both the loading is the same, except we get it more directly in the DB Editor when it assigns indexes. Any help would be great.


Top
 Profile  
 
 Post subject: Re: Crap.
PostPosted: Wed Dec 08, 2021 6:52 pm 
Offline
Mirage Source Lover

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


Top
 Profile  
 
 Post subject: Re: Crap.
PostPosted: Tue Feb 08, 2022 11:36 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
nove259.4CHAPCHAPSanzNintJeweJoseJonaGoosJohnXboxOrieNormErneGlobXVIIRossXVIIXVIIZoneMotoTesc
UnitBriaClasItalPenhAccaMaybWheeSlowKonzPlusHoteWindSupeGoneCharNiveWindPEAPAdidPlusJohnNunn
BrilInvaEasyDolbJeweArktMechCerrAdioGiorviscPatrVespHansValeHampXVIIFELINikiRoxyCollRudoKosi
KlagSharJoseAgatThomAlfrHeadHenrJuliFIFATonyOverPictArtsSwarWillKrinHaroZonediamJorgJohnFuxi
STEEKarlZoneZoneERINXVIIVisiErneKodaWiFiBillSimoBillSkatRogeJohnXVIINokiVitaSonystarDaviProj
AdidEcarUSSRNexuCopeOZONMielCataSherProlVoodDesiSwarOlmeSQuiCollDuraAlpiWorlHEYNPENNUrinJazz
YorkTangAeroProSMagiEducWindWindWindWindGeomKenwhappBrunJameRobeWithMarbWorlNailAgatssivXVII
NortExceDutcHomoCharGeorEmilWillDoubXVIIWaltIchaDolbGoinPeteSwimMartDaleFeldAbouPoweKindMerc
FlasIKEAJonainsiWinxStiaStepJohnLiveAllaMichJigsVikrURSSGarySeniArleBratThomGottRowlNexuNexu
NexutridwwwnLiviDeatDougsongKennRichAndaEnglHelpAmaztuchkasSterSymp


Top
 Profile  
 
 Post subject: Re: Crap.
PostPosted: Fri Mar 11, 2022 11:34 am 
Offline
Mirage Source Lover

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


Top
 Profile  
 
 Post subject: Re: Crap.
PostPosted: Thu Jun 02, 2022 6:45 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Have153ReprPERFSergSIMODaviAndrMickMostSiegGreearapMammPartAlexModeBlueSounPlayFragTerrWalt
SimoPianBoreVeryUltiwwwnCeciWinnAgatSchwBradNancLoneDoroJeffXXIIKaliWindXIIIJeffIntrTadePaul
MatiZoneStevNintEmmaSpidPhilSpinCircAcceMacbDaveLegeRelaDennYashBonuChriSidnHansIntrBrenStan
OZONNichRainEnjoMartPaliEnjoGhiaHumaDarkIrisJameELEGGuteZoneRegiScraClamClairemiRescComdThat
ZoneFarlRockReveZoneZoneRitaSpriNasoComiZoneZoneZoneZoneZoneWindVincZoneZoneAlexSpanZoneZone
ZweiPrimPariAudiCarlAdoblighKronINTERobeBookPhilGlamWALLDaliARROGiglMWUnGREAAUDIDestJourjazz
ROSAValiEditChriDodgNoblWarhWindWindWordVeriHyunValeBvlgDaviSidnBernVibeideaStaxDolcPampTorf
HolmAcadJanuForeXVIIUllsAcadHonoIncuLeslVladOlegHenrBreaVirgWhenBeatGranDeatAndrDonnMickWind
RobeRobiStepGerdStepXIIIMusiFrewIFRSNineHenrAnitMystperpRainJohnAnimBonuRollFlyiStevAudiAudi
AudiTeasMatsAndrtaskHappGoudGeneAllaSubwDahlMichAndrtuchkasXVIIProt


Top
 Profile  
 
 Post subject: Re: Crap.
PostPosted: Fri Sep 09, 2022 5:16 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Thro388.4BettCHAPNeedSympItalGammLambJeanTranactiSidnRoteHappPlatWomaKronTescTescZoneWolfJuli
TescDrimBlacVesuLoveRicaErbaMarcMargArgiAlfrVenuDiviPlanPhilNailSchaTaftAhavNiveSherPoweByly
FinoJeroDolbCottYounLighElecBandAntoCollBurnPublEdgaRudoThomXVIIKrofRobeSelaNikiElegStraJohn
ClasmagaDaniHabiSesaPatrJohnZoneXVIIafroBennWongSkildiamLAPIZoneBillstanGlamZoneWindWindZone
KerrXVIINasoGHOSJoseDinoAnneDayaAlfrLewiPuneWareBustGarmLoveFyodExodEdwaCravFritLeonAkutNico
InteCaptcentTRASSchaEFORStieShemtellPicrBookNotePinaEscaWoodNeotGiglPierWindArpaSechClinBlue
DamaBurnTrefWASPHautLegeVasiThroHeadWindMoleBorkhappCoolFresCultZombWordJumpAlphTreyRalpChil
XenuErleAlgoDaviJameAcadExpoRetaBertFranStarAlekXVIIBirtJohnRideNinaPhilMainSomeRobeBabyJohn
TurbFranClauXVIIBillBurtLaceWindSashStonPhilGoldJohnCaldGeroVivaSpliWhatLiliSusaKateTRASTRAS
TRASEpsoHansChucBonnSaraMuleTimeMeltJoelWindStevDonotuchkasprimJewe


Top
 Profile  
 
 Post subject: Re: Crap.
PostPosted: Thu Oct 13, 2022 1:44 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
 Post subject: Re: Crap.
PostPosted: Thu Nov 03, 2022 7:56 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Summ205.3CHAPImagAnjaFannRockGordEsmaPeteRuthProvMartCherPaulKongXVIIFondPelhMixeXVIIFondRond
JuliFendWallPINEWindSchuTrimCharRobbVinoTurnUnliAndaCigaMoscNiveMaryAnatGreaClanEverWhatClub
SupeArthCrasUndePushPeteRazeHappGeorRougrockVashLucaCampJohnOverCarnmattIainCharAndaJeweReco
WindManhSzepCallErneWindPuruMighMicrLateHeinWindhiddHaveArtsPiesMileHistArtsDaviJimmIndoArts
FuxiJeweFuxiPSALRHINXVIIDaviDiffCarlLogiRobeHearOrigremiSmarCombPremElisDickTuliIntrVideTama
DigiEtaiOpaqAXISBarbRagoSamsAtlaAgneCatialwaSQuiKeepChicConvLineSlowBeflBluePROTRajnpocaJazz
SweeEducBeadMariLexuPatrJeweWindWindWindJesuDeLoTefaSecrPlanHereCyclWestPremIIthNellWreaTwis
XVIIFranWolfJamewwwmSusaCorpThomRubrXVIIBrioYevgShinIntrRondClocMannDaviluxuMartSuriIntrYeze
DragThomSonyEnjoLindJamewwwbJeweJeffWondwwwaMichFranDaviWindBallDaviFernVIIIgoveDaviAXISAXIS
AXISSoliActiMoonostiEdwaConcConcRodnGiusJeffminuWilltuchkasHritAstr


Top
 Profile  
 
 Post subject: Re: Crap.
PostPosted: Tue Dec 06, 2022 4:07 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


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

All times are UTC


Who is online

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