rec.autos.simulators

"AI Tweaker" for GPL

Jack

"AI Tweaker" for GPL

by Jack » Fri, 08 Jan 1999 04:00:00

Has anyone tried the shareware "AI Tweaker" for GPL? I have version 1.03 and
it doesn't even work!

 When I try to save my changes, it blows up with a dialog saying that
"Control array element 20" doesn't exist.

Has anybody had any luck with this thing? Is there a more recent version?

Alan Bernard

"AI Tweaker" for GPL

by Alan Bernard » Fri, 08 Jan 1999 04:00:00


>Has anyone tried the shareware "AI Tweaker" for GPL? I have version 1.03
and
>it doesn't even work!

> When I try to save my changes, it blows up with a dialog saying that
>"Control array element 20" doesn't exist.

>Has anybody had any luck with this thing? Is there a more recent version?

Threre are two essential things that you have to do to get this tweaker to
work.  First-- and I'm sure you've done this-- make sure the tweaker is in
your main GPL directory.  Second, you need to plop the file,
"vbrun300.dll", into your WINDOWS directory.  This *.dll file came with the
tweaker zip file; but if you need it, give me a buzz and I'll happily send
it to you.

If you do this or you've done this already and it still doesn't work, then
I'm not sure what problem you're having.

Later,

Alanb

Jack

"AI Tweaker" for GPL

by Jack » Fri, 08 Jan 1999 04:00:00

Alan...

I'm a Visual Basic developer and AI Tweaker is written in VB. The error
message stems from a bug in the code where the author is trying to "walk"
through a series of control objects on the screen (in this case, probably
the horizontal scroll bars which control AI speed) and has mistakenly
specified an "index" for a control array element that doesn't exist. That's
a fatal error in VB. In my case, my version of AI Tweaker is specifying an
index of 20 for the control array, when the maximum index for the array is
probably 19.

FYI, had the VB Runtime Library (VBRUN300.DLL) or AI Tweaker not been
properly located, the program would not have loaded, in the prior case, or
would not have found GPL's settings, in the latter case. Also, BTW,
VBRUN300.DLL should, by convention, most appropriately reside in the
Windows\System folder. System DLLs such as that are shared by many different
applications, and most install to the System folder. Odds are good that you
already have a VBRUN300.DLL there now. If so, delete the copy that's in the
Windows folder and save yourself a little disk space. Even if you don't
currently have a copy in the System folder, I would move the copy in Windows
there now, because it's likely that some future application will install a
copy in the System folder later and you'll have an unnecessary copy wasting
disk space.

Anyway, glad yours is working though. What version do you have?

Alan Bernard

"AI Tweaker" for GPL

by Alan Bernard » Fri, 08 Jan 1999 04:00:00

Jack,


>Alan...

>I'm a Visual Basic developer and AI Tweaker is written in VB. The error
>message stems from a bug in the code where the author is trying to "walk"
>through a series of control objects on the screen (in this case, probably
>the horizontal scroll bars which control AI speed) and has mistakenly
>specified an "index" for a control array element that doesn't exist. That's
>a fatal error in VB. In my case, my version of AI Tweaker is specifying an
>index of 20 for the control array, when the maximum index for the array is
>probably 19.

>FYI, had the VB Runtime Library (VBRUN300.DLL) or AI Tweaker not been
>properly located, the program would not have loaded, in the prior case, or
>would not have found GPL's settings, in the latter case. Also, BTW,
>VBRUN300.DLL should, by convention, most appropriately reside in the
>Windows\System folder. System DLLs such as that are shared by many
different
>applications, and most install to the System folder. Odds are good that you
>already have a VBRUN300.DLL there now. If so, delete the copy that's in the
>Windows folder and save yourself a little disk space. Even if you don't
>currently have a copy in the System folder, I would move the copy in
Windows
>there now, because it's likely that some future application will install a
>copy in the System folder later and you'll have an unnecessary copy wasting
>disk space.

>Anyway, glad yours is working though. What version do you have?

The only part of your message that I understood was the last question.  I
have version 1.03, I believe.  The rest of your message-- I couldn't tell
you what you meant if you give me the state of Arizona.  :)

As far as putting the vbrun file in my "system" folder, I tried that and the
tweaker did not work.

So what we have here is a guy who knows nothing about runtime this or
runtime that-- whose teaker works.  Then we have a guy who knows all about
such things and more-- whose tweaker doesn't work.  :)

Take care and thanks for the explanation, even though I don't speak Bantu.

Later,

Alanb

Randy Wilso

"AI Tweaker" for GPL

by Randy Wilso » Fri, 08 Jan 1999 04:00:00

Have you added, deleted or modified any drivers (race car drivers, that
is) in your drivers.ini file (or any other ini files)?

As far as VBRUN300.DLL (16 bit VB3) goes, you aren't likely to load any
commercial software that still uses it, so it can probably just go in
the GPL directory (since it doesn't need to be registered) where it will
be easy to expunge once the AI is "tweakable" within the game
(hopefully). Also (I'm pretty sure) if you already have VBRUN4xx & 5xx
in your Windows/System directory, VBRUN300.DLL is not required at all.

Randy


> Alan...

> I'm a Visual Basic developer and AI Tweaker is written in VB. The error
> message stems from a bug in the code where the author is trying to "walk"
> through a series of control objects on the screen (in this case, probably
> the horizontal scroll bars which control AI speed) and has mistakenly
> specified an "index" for a control array element that doesn't exist. That's
> a fatal error in VB. In my case, my version of AI Tweaker is specifying an
> index of 20 for the control array, when the maximum index for the array is
> probably 19.

> FYI, had the VB Runtime Library (VBRUN300.DLL) or AI Tweaker not been
> properly located, the program would not have loaded, in the prior case, or
> would not have found GPL's settings, in the latter case. Also, BTW,
> VBRUN300.DLL should, by convention, most appropriately reside in the
> Windows\System folder. System DLLs such as that are shared by many different
> applications, and most install to the System folder. Odds are good that you
> already have a VBRUN300.DLL there now. If so, delete the copy that's in the
> Windows folder and save yourself a little disk space. Even if you don't
> currently have a copy in the System folder, I would move the copy in Windows
> there now, because it's likely that some future application will install a
> copy in the System folder later and you'll have an unnecessary copy wasting
> disk space.

> Anyway, glad yours is working though. What version do you have?

Jack

"AI Tweaker" for GPL

by Jack » Fri, 08 Jan 1999 04:00:00

Randy...

Yeah, I realized after I posted that I had added some sections to my
driver.ini file and that AI Tweaker was probably mistakenly counting the
number of sections in driver.ini and correlating that to the number of
controls in its control array.

For VB3 apps, VBRUN300.DLL is required. It's not replaced by the newer
runtimes. Moving the DLL to the GPL folder is NOT a good idea...any existing
VB3 apps will fail.

Jack

"AI Tweaker" for GPL

by Jack » Fri, 08 Jan 1999 04:00:00

Greetings from the land of Bantu...

Yeah, I guess I got a little off-topic. ;-) I mistakenly surmised, from your
post, that you had some technical background and hence might be interested.
Silly me.

I'm curious that moving VBRUN300.DLL from c:\windows\ to c:\windows\system\
caused AI Tweaker to fail. Windows searches c:\windows\system\ for required
system files. Are you sure that you moved VBRUN300.DLL to
c:\windows\system\?...Should work. Works for me.

Randy Wilson, in his post on this thread, suggested that you could move the
DLL to your GPL folder. Doing so would disable any other VB3 applications
that you may have, so I wouldn't encourage you to do so.


rec.autos.simulators is a usenet newsgroup formed in December, 1993. As this group was always unmoderated there may be some spam or off topic articles included. Some links do point back to racesimcentral.net as we could not validate the original address. Please report any pages that you believe warrant deletion from this archive (include the link in your email). RaceSimCentral.net is in no way responsible and does not endorse any of the content herein.