Problem with script editor

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
skywalker666
Private
Posts: 3
Joined: Sat Apr 17, 2004 3:22 am
Location: canada

Problem with script editor

Post by skywalker666 »

itt said when i open it "component MSCOMCTL.OCX
or one of its dependencies not correctly registered:a file
is missing or invalid."

What im i suppose to do ???????? :roll:

skywalker6667@hotmail.com
i would like too know how too get my texture in the moh radiant tool bar i put my pk3 file in and cant see my texture ???????
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

That's some kind of Windows error, *.ocx files are kind of like *.dll, as they provide extra functions for programs to use.

I would suggest editing your scripts using an word procccessor external to MoH, something like notepad or wordpad, that doesn't add extra formatting information into the text should to the job.
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

they look like vb run time files.....its in vb:S....ok.hehe

search in google for vb6 run time files and download the service pack..it includes all the files u need for programs in vb that need them dependancies.
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

mscomctrl....from memory...thats vb's microsoft common controlls 6.oxc..i have it right here in my...comp:P but it may not be the only controll its missing.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

.scr

Post by tltrude »

Windows and Mohaa both use the ".scr" file extention. However, Windows uses it for "Screen Saver Files" and Mohaa uses it for Game Scripts. The Mohaa scripts are just text files and, if the extention is changed to .txt, can be opened with Notepad.

It is ok the change the .scr file type to open with Notepad. Then you wont have to keep changing it to .txt and back to work on your script. Also, it is a good idea to change Winzip options to not "Automattically install Screen Savers"--so that you can unzip pk3s. Then you can set the .pk3 file type to open with Winzip.
Tom Trude,

Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Who ever wrote the scripter for you should have made a setup file that installed and registered any activex controls that the program needed .
Image
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

can i have a look at teh script editor? whats it called
Post Reply