Author Topic: Out of interest...  (Read 25111 times)

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Out of interest...
« Reply #30 on: June 24, 2005, 10:55:22 AM »
Quote
And also the help form has some registry code in it that isn't used locally... is it meant to be there?

No it probably doesn't need to be there at all.
When you create a new "help" or "about" form in VB it just puts all that junk there automatically.
Some is needed but most isn't so picking out the stuff to get rid of was way to much hassle.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Ulciscor

  • Bot Destroyer
  • ***
  • Posts: 401
    • View Profile
Out of interest...
« Reply #31 on: June 24, 2005, 10:55:58 AM »
[PY] on my pc the help form takes about 20 seconds to load because of all the code lol.
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Out of interest...
« Reply #32 on: June 24, 2005, 10:57:54 AM »
Quote
The propertybox is tiny though lol and I don't know if tabs will work in it.
Good point.

Just imagine trying to edit a chuffing great file like that in the property box.

It makes me shudder to think about it.  :blink:
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Out of interest...
« Reply #33 on: June 24, 2005, 11:00:05 AM »
rofl good point;

I never edit it in thouse crapy tool boxes.

I paste it into notepad , edit it , then paste it there.

Offline Ulciscor

  • Bot Destroyer
  • ***
  • Posts: 401
    • View Profile
Out of interest...
« Reply #34 on: June 24, 2005, 11:01:01 AM »
Oh my God why did I never think of that?? The hours I have been stuck peering into a tiny little property box trying to find spelling mistakes. Grrrrrr
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Out of interest...
« Reply #35 on: June 24, 2005, 11:02:29 AM »
Quote
[PY] on my pc the help form takes about 20 seconds to load because of all the code lol.
20 seconds??????  :blink:

Bloody hell! What is your PC? a 386 or summat?

On my 700meg system it is instant.
On my 3gig system it is also instant

Adding text to a text box should be one of the fastest processes in VB. It should be able to display hundreds of thousands of lines per second.

I really don't get that. I think there must be something a little amiss with your PC.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Ulciscor

  • Bot Destroyer
  • ***
  • Posts: 401
    • View Profile
Out of interest...
« Reply #36 on: June 24, 2005, 11:05:07 AM »
I'm on a 3.2Gig system. Which is slightly worrying.
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Out of interest...
« Reply #37 on: June 24, 2005, 11:05:26 AM »
Quote
I paste it into notepad , edit it , then paste it there.

I guess that works too. Formatting sucks in notepad though. Half the time the spaces disappear and the tabs screw up when you try to put it into the text box. It's just so much easier to define them all in code. Gives a much more precise control.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Out of interest...
« Reply #38 on: June 24, 2005, 11:08:21 AM »
Quote
fun stuff fun stuff blabla bla .... Please remember that this file is about 300 lines long and growing all the time.

I was replying to that ^

Offline Ulciscor

  • Bot Destroyer
  • ***
  • Posts: 401
    • View Profile
Out of interest...
« Reply #39 on: June 24, 2005, 06:13:02 PM »
Aaaaah! I have 2 sysvars files, neither of which are the same as the help form in DB! Which one do I use?!
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Out of interest...
« Reply #40 on: June 24, 2005, 06:40:10 PM »
2.21 is the current one.

Offline Ulciscor

  • Bot Destroyer
  • ***
  • Posts: 401
    • View Profile
Out of interest...
« Reply #41 on: June 24, 2005, 06:50:36 PM »
Ta very much!
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Ulciscor

  • Bot Destroyer
  • ***
  • Posts: 401
    • View Profile
Out of interest...
« Reply #42 on: June 26, 2005, 12:20:51 PM »
OK there are some new commands I do not know and they are not in the help file (I spose those are the new commands Num made just after PY did the help file lol). Would you mind explaining them briefly and giving an example? I can guess some of them but I'd rather be sure.

.shflav, in fact all the ones starting with .sh
.velscalar, I can guess but I'd rather have a good definition lol
.bodgain & .bodlos, again I can guess but need a good answer
.thisgene ???
.vtimer,.vshoot

Sorry to be a nuisance lol.
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline Shen

  • Bot Destroyer
  • ***
  • Posts: 111
    • View Profile
Out of interest...
« Reply #43 on: June 26, 2005, 01:02:26 PM »
*.shflav returns the value of the last shot to hit the bot. So if its being shot by venom it will give you -3. Note, this doesnt reset each cycle.

*.velscalar gives you the magnitude of your velocity disregarding your heading. So you can be traveling backwards at 50 and *.velscalar will give 50 whereas *.vel will give -50. Incidently is *.velup the same as *.vel? Why have a duplicate?

Same as *.pain the difference between last cycles body and this cycles.

*.thisgene gives the number of the gene its used in. So using it in the first gene will return 1, second gene 2 etc..

vtimer is the time till another virus shot is ready. Vshoot fires the virus.
« Last Edit: June 26, 2005, 01:02:39 PM by Shen »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Out of interest...
« Reply #44 on: June 26, 2005, 01:34:47 PM »
check the readme, I put expanations of new commands in there.

*.velup and *.vel actually refer to the same memory location, I just wanted to maintain the nomenclature of the new sysvars while keeping it backwards comaptible.
« Last Edit: June 26, 2005, 01:35:37 PM by Numsgil »