The Elements


Bugs & Errors Fix List

Eclipse Library Installer

I recommend you to install the Eclipse Library Files first and see if it works, if it does then you don't need this topic anymore, unless you've another issue left. You can download the Eclipse Library Installer HERE

MAKE SURE TO RIGHT CLICK AND RUN AS ADMINISTRATOR ON YOUR COMPUTER!

IF YOU ARE USING WINDOWS VISTA:
If you are using Windows Vista and have already installed the Library Files it may be because you do not have the correct VB6 Runtime files installed, you can correct this by clicking downloading and installing them from HERE

Determining your system directory.

The system directory is often needed in this guide, I'll tell you the paths for the system you're using.

If you're running Microsoft Windows 95, 98 or ME, then your system directory should be:
C:\WINDOWS\SYSTEM\

If you're running Microsoft Windows NT, then your system directory should be:
C:\WINNT\SYSTEM32\

If you're running Microsoft Windows 2000, XP (32-bit), then your system directory should be:
C:\WINDOWS\SYSTEM32\

If you're running Microsoft Windows Vista (32-bit) or Microsoft Windows 7 (32-bit), then your system directory should be:
C:\Windows\System32\

If you're running Microsoft Windows XP x64, Microsoft Windows Vista x64 or Microsoft Windows 7 x64, then your system directory should be:
C:\Windows\SysWoW64\

Note: in case of 64-bit the DLLs and OCXs provided here might not work. You've two options: either find the 64-bit version of the DLLs or OCXs files or just install them as 32-bit DLLs and OCXs. You might need to put them in C:\Windows\System32\ instead, if that folder exists.


Registering DLL/OCX-files.

This is only required if for some reason the Eclipse Library Installer did not register the files for you, which it should do. Registering DLL/OCX-files is often required if and only if the files are not already registered either by you or the Eclipse Library Installer. You can do this with the 'RegSvr32.exe' application which is located in your system directory. Either drag the files you want to be registered to the 'RegSvr32.exe' or right-click the DLL/OCX-files and select 'Open with...'. Then choose 'RegSvr32.exe' in your system directory. You can then check the box to always open these file types with 'RegSvr32.exe' so that can always double click them like an application and it will automatically register.


Fixing run-time errors individually.

This is a list of run-time errors known and most of them will have some fixes included.

Run-Time Error: 2 - Unknown

Event: unknown.
Version: unknown.
Cause: unknown.
Fixes: none.

Run-Time Error: 5 - Unknown

Note: this will be solved by using the Eclipse Library Installer (see Introduction).

Event: when starting the client.
Version: any.
Cause: DirectX 7 isn't installed.
Fixes: download dx7vb.dll to your system directory and register it.

Event: unknown.
Version: Total Eclipse and prior.
Cause: unknown.
Fixes: restart the client.

Run-Time Error: 6 - Overflow

Event: unknown.
Version: any.
Cause: some value(s) used are out of bound meaning that they're over the limits.
Fixes: check your INI files (e.g. class files).

Run-Time Error: 7 - Out of Memory

Event: after turning scrolling on/off.
Version: any.
Cause: you're using the old map files.
Fixes: shutdown your server. (back your maps up) and remove them, then restart the server.

Run-Time Error: 9 - Subscript out of range

Event: after warping.
Version: Total Eclipse and prior.
Cause: the warp command doesn't check for the values used and thus you'll warp to an invalid location.
Fixes: alter the location in your player file to a correct location.
Alternative fix: to prevent this issue, you'll have to alter your main.txt (Sadscript knowledge required) so that it checks the values used.

Event: account altering
Version: Total Eclipse and prior.
Cause: an invalid value in an account file.
Fixes: look for the invalid value and change it to a valid one.

Event: after turning scrolling on/off.
Version: any.
Cause: you're using the old map files.
Fixes: shutdown your server. (back your maps up) and remove them, then restart the server.

Event: unknown.
Version: Total Eclipse and prior.
Cause: unknown
Fixes: restart the client.

Event: while loading NPC/map/item/spell/class data.
Version: Total Eclipse and prior.
Cause: some NPC/map/item/spell/class file is corrupt.
Fixes: it might be possible that your 'data.ini' contains a maximum value lower than that there are NPC/map/item/spell/class-files.
Fixes: back up your NPC/map/item/spell/class-files and remove them. Then restart your server.
Alternative fix: try replacing the new NPC/map/item/spell/class-files by the old ones, one by one, to figure out which NPC/map/item/spell/class-file is actually corrupt.

Run-Time Error: 13 - Mismatch

Event: after modifying an INI file.
Version: any.
Cause: an incorrect value was written down (like text where should have been a number).
Fixes: check if your values are correct.

Run-Time Error: 14 - Out of string space

Event: when receiving the news at the main menu.
Version: Total Eclipse and prior.
Cause: unknown.
Fixes: re-install Eclipse, but be sure to make back-ups of your maps, NPCs, spells, etc.

Run-Time Error: 52 - Unknown

Event: starting up the server or the client.
Version: Total Eclipse and prior.
Cause: unknown.
Fixes: re-install Eclipse, but be sure to make back-ups of your maps, NPCs, spells, etc.

Run-Time Error: 53 - File not found

Note: this may be solved by using the Eclipse Library Installer (see Introduction).

Event: starting the client.
Version: any.
Cause: some graphical file is missing.
Fixes: be sure that you've all the files in your GFX-folder.

Event: the error displays that you're missing "itsdeductibleex.msi".
Version: TE and prior.
Cause: unknown.
Fixes: delete "client.exe" and rename "claz.mof" to "client.exe" on the client side, do the same on the server side only use the name "server.exe" instead of "client.exe"

Event: the error displays "something.dll" or "something.ocx".
Version: any.
Cause: you're missing a DLL/OCX-file.
Fixes: look here and look if the file is there, if so download it to your system directory and register it, otherwise Google it, download it and register it.

Run-Time Error: 62 - Input past end of file

1. After modifying the "banlist.txt" file at the server side
Replace the "banlist.txt" with a default one from an unmodified Eclipse.

Run-Time Error: 70 - Permission Denied
Occurs when a file is currently being used by another application. For example, you're using two clients at once, operating on the same files in the same folder. The fix is to use one client at a time or two clients using two separate folders.

Run-Time Error: 75 - Path/file access error

1. Unknown Action
You're trying to start the client from a read-only device. For example: a CD, DVD, Floppy(with write mode turned off),... Eclipse only works on a device where the operating system and Eclipse has write-access. For example: a hard disk,...

Run-Time Error: 94 - Invalid use of NULL
There is no fix yet for this error.

Run-Time Error: 339 - Unknown

Note: this will be solved by using the Eclipse Library Installer (see Introduction).

Event: when starting Eclipse.
Version: any.
Cause: dx7vb.dll, Richtx32.ocx, VBMP.ocx and cmcs21.ocx are missing.
Fixes: Download dx7vb.dll, Richtx32.ocx, VBMP.ocx and cmcs21.ocx to your system directory and register them.

Event: when starting Eclipse.
Version: any.
Cause: not enough memory.
Fixes: close some application and try again or reboot your computer.

Run-Time Error: 340 - 1 does not exist, etc.

Event: after pressing some editor button on the server.
Version: TE 1.0 and prior.
Cause: the server editors do not work.
Fixes: don't use them.

Event: after trying to open/use the house editor.
Version: TE 1.0 and prior.
Cause: the house editor doesn't work.
Fixes: don't use it.

Event: unknown.
Version: any.
Cause: in 'data.ini' you're missing "00" at the end of the file.
Fixes: add "00" (without the quotation marks) to the end of the 'data.ini' file.

Run-Time Error: 372 - MSCOMM32.OCX


Event: unknown.
Version: any.
Cause: you're missing MSCOMM32.OCX.
Fixes: download MSCOMM32.OCX to your system directory and register it.

Run-Time Error: 373 - TABCTL32.OCX

Event: unknown.
Version: any.
Cause: you're missing TABCTL32.OCX.
Fixes: download TABCTL32.OCX to your system directory and register it.

Run-Time Error: 380 - Invalid property value
1. When clicking on a button in the server
Download msscript.ocx and place it in the system directory and register it.

2. Unknown action
This error is caused by your server owner not taking into account the graphics limit for Windows 98. The graphics they distribute are too large to work with Windows 98. This happens on Windows 98 computers & Windows ME only as far as I know. The fix is quick and easy.

- Open "tiles.bmp" in the "GFX" folder at the client side.
- Make sure it opens in Paint. If it does not open in Paint automatically, right click on tiles.bmp and click Edit. If that doesnt work, then right click tiles.bmp and go into the Open With... submenu, and if paint is in there, click it, if it isn't, click Choose Program... and click browse, then go to "C:\WINDOWS\system32" and double click on the "mspaint" icon. Then click ok.
- Once in Paint, click Image (ALT+I), Then click Attributes. OR you can just hold control and hit E when you open paint.
- Once in the Attributes menu, edit it to look like the following:
Width: 224
Height: 9728
Units: Pixels
Colors: Colors
- Then click OK
- Then click File, Then click Save. OR hold control and hit S.

If this doesn't work, just try messing with the numbers until its fixed. (temporary)
    Global fix.

3. Unknown action
Make a back-up of all your files. Re-install the Eclipse client. Install all your back-ups.

Run-Time Error: 401 - With flash
1. Unknown action
Download the latest version of Flash or download and register flash.ocx remember to put it in the system directory.
    Global fix.

Run-Time Error: 404 - File not found
1. Unknown action
You're missing a file, re-install Eclipse.
    Global fix.

Run-Time Error: 424 - Object required
1. When clicking on a button in the server
Don't use those buttons, they've no function and they won't work.
    Global TE fix.

Run-Time Error: 429 - ActiveX control component can't create object
1. Using Windows Vista or starting the client.
Download dx7vb.dll and put it in the system directory. Then register it.
    Global fix.

2. Unknown action


3. Unknown action
Download and register dx7vb.dll and DAO350.dll Don't forget to put them in the system directory.

Run-Time Error: 480 - Can't create auto redraw image
1. Using the item editor
Delete the folder called "Items" with it's content on the server side.

Run-Time Error: 481 - Invalid picture
1. Unknown action
The file extension you're using for the image is invalid and cannot be handled by the engine. If you're using things like ".png", then you need to change it to something like ".bmp".

Run-Time Error: 10048 - Address in use
1. Starting the server
Close your other server(s).

2. Starting the server
Restart your computer.

3. Starting the server
Open Task Manager, click on the tab "Processes". Search for "Server.exe" and close it, then restart the server.

Run-Time Error: 10049 - Address is not available from the local machine
There is no fix yet for this error.

Run-Time Error: 10061 - Connection refused

1. Unknown
Put your firewall off.

Run-Time Error: 35756 - Unable to complete request
1. Unknown action
Delete "client.exe" and rename "claz.mof" to "client.exe" on the client side, do the same on the server side only use the name "server.exe" instead of "client.exe"

2. Opening the client
When running Windows XP, right-click on "Eclipse.exe", then on "properties" and then you set the compatible mode on "Windows 95".
    Thanks to for this fix.

Run-Time Error: 40020 - Invalid operation at current state
There is no fix yet for this error.

Run-Time Error: -2147024770(8007007e) - The specified module could not be found
1. Unknown action
Download the latest version of Direct X.

2. Unknown action
Download and register dx7vb.dll Don't forget to put them in the system directory.

3. Starting the server
Download and register COMSocketServer.dll Don't forget to put them in the system directory.