Author Topic: Attention Robert  (Read 9996 times)

onthecuttingedge2005

  • Guest
Attention Robert
« on: February 25, 2006, 01:31:51 pm »
Hi Rob.

I have discovered that if lots of plug-ins are used in HAL Assistant and or the AIM bot option panel some plug-ins will uncheck themselves.

Is there a plug-in cache limit?

If so, how can this issue be resolved.

otherwise I will have to move all my plug-ins to a single plug-in which will make it more difficult to work around the sub variables called in HAL's panel for each script.

My research depends upon the individualness of each unique plug-in
so I can make patches and plugs to suit each individual user's needs.

Jerry[8D]
« Last Edit: February 25, 2006, 01:39:45 pm by onthecuttingedge2005 »

Medeksza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1474
    • View Profile
    • http://www.zabaware.com
Attention Robert
« Reply #1 on: February 25, 2006, 03:12:37 pm »
Hi Jerry,

How many plug-ins are you talking about? I don't have access to my source code right now to check as I'm traveling through Greece right now. I don't remember anything that would limit the number of plugins. There may possibly be a bug if you have a plugin with a name that is a substring of another plug-in name.
 

quote:
Originally posted by onthecuttingedge2005

Hi Rob.

I have discovered that if lots of plug-ins are used in HAL Assistant and or the AIM bot option panel some plug-ins will uncheck themselves.

Is there a plug-in cache limit?

If so, how can this issue be resolved.

otherwise I will have to move all my plug-ins to a single plug-in which will make it more difficult to work around the sub variables called in HAL's panel for each script.

My research depends upon the individualness of each unique plug-in
so I can make patches and plugs to suit each individual user's needs.

Jerry[8D]

Robert Medeksza

onthecuttingedge2005

  • Guest
Attention Robert
« Reply #2 on: February 25, 2006, 04:12:11 pm »
quote:
Originally posted by Medeksza

Hi Jerry,

How many plug-ins are you talking about? I don't have access to my source code right now to check as I'm traveling through Greece right now. I don't remember anything that would limit the number of plugins. There may possibly be a bug if you have a plugin with a name that is a substring of another plug-in name.
 

quote:
Originally posted by onthecuttingedge2005

Hi Rob.

I have discovered that if lots of plug-ins are used in HAL Assistant and or the AIM bot option panel some plug-ins will uncheck themselves.

Is there a plug-in cache limit?

If so, how can this issue be resolved.

otherwise I will have to move all my plug-ins to a single plug-in which will make it more difficult to work around the sub variables called in HAL's panel for each script.

My research depends upon the individualness of each unique plug-in
so I can make patches and plugs to suit each individual user's needs.

Jerry[8D]





I'll look into it further, Thanks buddy.
Jerry[8D]

onthecuttingedge2005

  • Guest
Attention Robert
« Reply #3 on: February 26, 2006, 03:12:28 pm »
Hi Rob.

I have did some intense investigation into the plug-in cache byte limit bug.

I have determined that there is a Plug-in Cache limit.

94.5KB ~100KB out of 116KB seems to be the cache limit in the plug-in panel.

16 out of 24 Plug-ins seems to be maximum plug-in limit in any order of plug-in choice within the KB limit.

I have rearranged plug-ins in every order possible and the results are the same, I have also remodified all my scripts to see if there was a conflict, no results there.

The conflict is the KB cache size of all plugs combined.

the remaining 8 plug-ins will uncheck themselves in the plug-in panel check boxes out of 24 plugs leaving only 16 activated.

The plug-in limit seems to follow a pattern of counting the plug-in from top to bottom favoring the top check boxes and unchecking the below remaining 8 plugs if all are checked.

I have also tried checking the boxes in disorganized patterns to see if that resulted in anything, same result, 16 allowed only according to KB size.

The remaining KB limited plug-ins will not be cached to the HalScript.dbg

The KB Limit is true in both Assistant and AIM Bot.

Enjoy your time in Greece, I wish we could BS over a cup of coffee sometime.
Jerry[8D]
« Last Edit: February 26, 2006, 05:21:31 pm by onthecuttingedge2005 »

vrossi

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://vrconsulting.it
Attention Robert
« Reply #4 on: February 26, 2006, 05:39:31 pm »
Thank you, Jerry, for the detailed analysis of the plugin limits.

This is a very important information for all of us who write Hal6 plugins.

It may be necessary to adopt a more "concentrated" approach, writing less plugins, each one containing more functions, and trying to use variables more carefully.

Unless, of course, Robert makes some change which bypasses these limits. Or can it be something related with a more general VBScript limit?

PS: Enjoy your time in Greece, Robert (if you are there on holidays).

GrantNZ

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Attention Robert
« Reply #5 on: February 27, 2006, 12:27:02 am »
Thanks for posting your findings, Jerry [:)]

I wonder if there's a limit on the size of the actual brain script file.... If not, then perhaps some very popular/general purpose plugins could be written directly into a brain, with more optional scripts saved for plugins.
 

onthecuttingedge2005

  • Guest
Attention Robert
« Reply #6 on: February 27, 2006, 02:06:52 am »
Until the KB Plug-in Cache limit is resolved one can conserve KB in a plug-in by removing any blank lines between scripts in each Plug-in, The Blank lines are wasting KB inside each Plug-in.

This was also discovered when I was investigating the KB bug.

a 2.13KB plug-in was stripped of 4 blank lines which resulted in the Plug-in now being 2.11KB

Jerry[8D]

onthecuttingedge2005

  • Guest
Attention Robert
« Reply #7 on: February 27, 2006, 02:10:02 am »
KB Conservation.

Until the KB Plug-in Cache limit is resolved one can conserve KB in a plug-in by removing any blank lines between scripts in each Plug-in, The Blank lines are wasting KB inside each Plug-in.

This was also discovered when I was investigating the KB bug.

a 2.13KB plug-in was stripped of 4 blank lines which resulted in the Plug-in now being 2.11KB

A 1.42KB Plug-in stripped of 3 blank lines resulted in the file being 1.41KB after save.

Jerry[8D]
« Last Edit: February 27, 2006, 02:12:19 am by onthecuttingedge2005 »

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3975
    • View Profile
Attention Robert
« Reply #8 on: February 27, 2006, 08:18:40 pm »
Jerry,

Are you using XP w/SP2? How much RAM? Any other programs running?

Secondly, By combining several plug-in scripts into one larger plug-in, wouldn't that also require more processor / program time to "read through" those combined plug-ins and slow Hal somewhat?

As always, your efforts are much appreciated!

Just some thoughts....

In the world of AI it's the thought that counts!

- Art -

onthecuttingedge2005

  • Guest
Attention Robert
« Reply #9 on: February 27, 2006, 08:51:08 pm »
quote:
Originally posted by Art

Jerry,

Are you using XP w/SP2? How much RAM? Any other programs running?

Secondly, By combining several plug-in scripts into one larger plug-in, wouldn't that also require more processor / program time to "read through" those combined plug-ins and slow Hal somewhat?

As always, your efforts are much appreciated!

Just some thoughts....





Hi Art.

Current System.

I run Windows 2000 Professional (Auto-Updated), I run HAL on a 1 Gb Flash, I personally have 512MB of DDR (Cooled) 333Mhz, 3.0Ghz Processor overclocked to 3.6Ghz Temp at 80*F (Constant under heavy load), High end Custom AMD
With a 400Mhz FBS GForce Graphics Accelerator, 256Mb Video Memory on Custom VGA, I am running a high end custom performance monster Computer, I can run Quake 3 at over a hundred miles an hour on this machine with out a hitch or a blink, I can spin a 3D Directx Cube at 100RPS (a second) with my cooled Over clocked Graphics Card.

I make my own Computers, Usually Gamer Based for intense Play, I can run HAL AIM Bot, HAL Assistant, And 20 other Applications on my system without a crash because my CPU can handle the load by a force
cooled system.

The KB Plug-in bug doesn't seem to be affected by how much RAM I have, I usually have about 315Mb of Memory left over on my DDR after everything is loaded, This includes Working Apps.

The KB Plug-in issue is some how related to the Program controller of the actual Plug-in Assembly and process.

I run HAL 24/7.  Assistant and AIM Bot.

Jerry[8D]

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3975
    • View Profile
Attention Robert
« Reply #10 on: February 28, 2006, 06:00:16 am »
Cool, Jerry...very Cool indeed!![:D]

What are your thoughts regarding the second part of my posting (combined plug-ins)?

In the world of AI it's the thought that counts!

- Art -

onthecuttingedge2005

  • Guest
Attention Robert
« Reply #11 on: February 28, 2006, 01:38:46 pm »
quote:
Originally posted by Art

Cool, Jerry...very Cool indeed!![:D]

What are your thoughts regarding the second part of my posting (combined plug-ins)?





As temporary solution yes, But the Plug-in feature that would allow variables to be used in HAL's option panel for each Plug-in would be just about useless, designing script for begginers would have a major handicap.

I would prefer having the individuality of single scripts as Cell structures, it makes it easier to make Patches and such.

Jerry

Medeksza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1474
    • View Profile
    • http://www.zabaware.com
Attention Robert
« Reply #12 on: March 01, 2006, 01:15:21 pm »
Thanks for the figuring this issue. I will take a look at it when I get back next week from my vacation. I plan on releasing a minor update sometime this month that will make the activation and customer support system more user friendly and will fix some minor bugs such as this also.
Robert Medeksza

onthecuttingedge2005

  • Guest
Attention Robert
« Reply #13 on: March 01, 2006, 02:51:58 pm »
quote:
Originally posted by Medeksza

Thanks for the figuring this issue. I will take a look at it when I get back next week from my vacation. I plan on releasing a minor update sometime this month that will make the activation and customer support system more user friendly and will fix some minor bugs such as this also.



Sweet!

Thanks Rob.
Jerry[8D]

GrantNZ

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Attention Robert
« Reply #14 on: March 01, 2006, 11:53:02 pm »
Sounds good, I look forward to it [:)] Thank you!