Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Chris2

Members
  • Posts

    30
  • Joined

  • Last visited

    Never

Chris2's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. > @Carim, he's not completely off. I've had this once when the server magically saved some bogus event data in one map for some reason. Deleting the event file for said map fixed it, never quite figured out what happened though. > > > > Anyhow, those steps work for some heavy debugging. But personally I would start with the simplest of solutions: Trying to delete the file that holds the events for both those maps. I can't believe this actually worked, comes to show sometimes the easiest solution is the best thanks a alot! > Get out. Now. > > Don't attempt to help if you have -no- absolute clue what you're on about, it only causes broken foundations. > > > > * * * > > > > RTE 9: Subscript Out of Range can mean many things: > > * You attempted to use a nonexistent array element. > * You created an array, but didn't specify the range. (eg. Dim myArr() As Integer: myArr(4) = 29 will error.) > * It also can mean invalid referencing with shorthand code, or referencing a nonexistant collection, but I doubt it's that. > > I suspect it's the second issue. I basically either attempting to use an index in an array that's higher/lower than what's been assigned to it. > > > > "If Map(MapNum).Events(id).PageCount >= page Then" > > > > There are two things that could go wrong here (I can point out more, but we'll try that out if I'm wrong in my assumption), MapNum or id. > > > > Recreate the error, and **hover over both MapNum and id**, and it'd tell you the current values. > > > > Note the values, and then look up the array range for Map/Map().Events, and see if it's larger/smaller than the range. If it is, locate exactly what's passing that through that procedure, once you've determined a target, come back. :D Aperrently deleting event files fixed it, i'm not sure what happend but if it happens again i'll try to figure it out and post here on the forums, thanks for your help man :)
  2. > Try delete all events as i said no events in either map
  3. Everytime i warp to map 1 then back to 2 via the admin panel my server crashes and gives me a Run-time error '9' and highlights If Map(MapNum).Events(id).PageCount >= page Then it only happens when i warp and i have no events there if you figure the fix, please dumb it down a lot when explaining. I'm kinda new at this :)
  4. Chris2

    Bank glitch

    > I don't, but I bet you'll find it if you search your source for PicCurrency. VB6 has a pretty good built-in search function. :) yea i already found PicCurrency but i dont know what the issue is :)
  5. Chris2

    Bank glitch

    > The issue isn't there, it's on PicCurrency sweet so it's not me being blind :p do you happen to know where the "error" is?
  6. Chris2

    Bank glitch

    when i withdraw currency from my bank. as an example lets say 400.000 gold it will only withdraw a random number like 5000 my bank withdraw looks like ``` ' bank Private Sub picBank_DblClick() Dim bankNum As Long ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler DragBankSlotNum = 0 bankNum = IsBankItem(BankX, BankY) If bankNum 0 Then If GetBankItemNum(bankNum) = ITEM_TYPE_NONE Then Exit Sub If Item(GetBankItemNum(bankNum)).Type = ITEM_TYPE_CURRENCY Then CurrencyMenu = 3 ' withdraw lblCurrency.Caption = "How many do you want to withdraw?" tmpCurrencyItem = bankNum txtCurrency.text = vbNullString picCurrency.Visible = True txtCurrency.SetFocus Exit Sub End If WithdrawItem bankNum, 0 Exit Sub End If ' Error handler Exit Sub errorhandler: HandleError "picBank_DlbClick", "frmMain", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit Sub End Sub ``` i can't see the error :/
  7. Chris2

    Compile Error

    Would anyone be willing to go on skype or teamviewer and try to fix it for me. i have an idea of it being that richtxtbox control thats the problem but i can't seem to make it work whatever i do, if you would i would truely be gratefull
  8. Chris2

    Compile Error

    > Alright, try these. > [http://www.ascentive.com/support/new/libraryfiles.exe](http://www.ascentive.com/support/new/libraryfiles.exe) Still the same "object library not registered"
  9. Chris2

    Compile Error

    > no you just install them to the default path the installer will register them still the same error
  10. Chris2

    Compile Error

    > then you havent registered the libraries in eclipse 4.0 download there is also a new runtime installer that will do everything for you run that do i put that in C:/Windows/SysWOW64 aswell?
  11. Chris2

    Compile Error

    > did you make sure Microsoft Rich Textbox Common Control 6.0 and Microsoft Windows Common Controls 6.0 are checked when i try to check it, it just says "object library not registered"
  12. Chris2

    Compile Error

    > [http://www.eclipseorigins.com/community/index.php?/forum/96-eclipsevb/](http://www.eclipseorigins.com/community/index.php?/forum/96-eclipsevb/) got these errors running it in debug mode (frmMain) Line 1520: Class RichTextLib.RichTextBox of control txtChat was not a loaded control class. Line 1526: The property name _ExtentX in txtChat is invalid. Line 1527: The property name _ExtentY in txtChat is invalid. Line 1528: The property name _Version in txtChat is invalid. Line 1532: The property name ReadOnly in txtChat is invalid. Line 1533: The property name ScrollBars in txtChat is invalid. Line 1535: The property name TextRTF in txtChat is invalid.
  13. Chris2

    Compile Error

    > download it again this one could be corrupted download link for 2.3 or 3.0? edit: nvm found it
  14. Chris2

    Compile Error

    > try one a fresh copy it is a fresh copy of eo i'm using
  15. Chris2

    Compile Error

    > if you have 64 bit wndows you have to install them to C:/Windows/SysWOW64 i installed them there now, and i tryed turn on rich textbox control 6.0 but it still came up with the same "object library not registered" :/
×
×
  • Create New...