Author Topic: What is supposed to happen with sysvar pointers?  (Read 2108 times)

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
What is supposed to happen with sysvar pointers?
« on: April 20, 2005, 05:00:13 PM »
Quote
20
*.eye5
store

Does the above mean:

If .eye5 is = 5 Then it does 20 .aimdx store
If .eye5 is = 4 Then it does 20 .aimsx store

??

Quote
10
*.eye5
100
div
store

Does the above mean:

If .eye5 is = 500 Then it does 10 .aimdx store
If .eye5 is = 400 Then it does 10 .aimsx store

??

(for lack of time to test it myself; hey maybe one of you guys has experience with this)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7716
    • View Profile
What is supposed to happen with sysvar pointers?
« Reply #1 on: April 20, 2005, 05:09:36 PM »
:huh:

Where did you find those nuggets?

The range for eye5 is 0 to about 100 (under normal circumstances).

So guess what, you'll end up writing to all memory locations from 1 to 100 in the memory array.  That includes .up, .dn. .dx, .sx, .aimdx, .aimsx, and a bunch more.

It's probably a primitive SB, right?  Basically it's a mess as is.  The way it's being implemented (the two in tandem?) might make more sense.  Or maybe not.

I'd ask whoever came up with it.

Still, in the modern world of DB, there are better ways to do things.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
What is supposed to happen with sysvar pointers?
« Reply #2 on: April 20, 2005, 05:13:28 PM »
You are saying [you]bouth[/you] work?


I need this stuff to see if its practical to evolve *.sysvar in the actions part of the gene , I am planning to change the whole source code.

*Robot plasment , new angel range placement came up with it tuday
*Robot plasment during simulation add the above angel system.
*Smarter Charts , save charts into exsel files
*Robot Colors need to be easy to set during the simulation
*Get Rid of smilys in Db , complete crap
*Do over all mutations add atleast 12 sliders, robots save mutation rates
*Add my music file to the splash screen , make it possible to desable the splash screen and/or the music
*Fix the problem with program crashing on unload


I'll post on my website when done.
« Last Edit: April 20, 2005, 05:24:02 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
What is supposed to happen with sysvar pointers?
« Reply #3 on: April 20, 2005, 05:28:10 PM »
And dont worry , my mutations will be generated from pure random values. I have no idea how the humen brain works therefor I cant come up with anything better.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7716
    • View Profile
What is supposed to happen with sysvar pointers?
« Reply #4 on: April 20, 2005, 05:38:56 PM »
(Something screwy with quotes, bear with me).

Quote
You are saying [you]both[/you] work?

I need this stuff to see if its practical to evolve *.sysvar in the actions part of the gene , I am planning to change the whole source code.

Both do stuff, yes.  Though the second one probably just sticks to .up or not.  I'm not exactly sure how a robot would behave with them.  Try em out and see.

200 *.poison sub .mkpoison store is an example of using *.sysvars in the action part of the gene.

Quote
  • Robot plasment , new angle range placement came up with it today
  • Charts , save charts into excel files
  • Fix the problem with program crashing on unload
  • Robots save mutations
Quote

Awesome.

Quote
  • Robot Colors
  • add atleast 12 labels
Quote

Which 12 labels?  What do you mean about robot colors?

Quote
  • Get Rid of smilys in Db , complete crap
  • Add my music file to the splash screen , make it possible to desable the splash screen and/or the music

Bad idea.

PY's smiley thing is: 1) not in 2.36.5 (It's triangles now) and 2. A precursor for something PY's working on.  There's an unwritten rule among programmers.  Stick to your own projects, and don't screw with each others.

We have to vote for an opening splash screen music piece.  Since I have at least 2, (yours and Henks) and maybe a third (that one lemurgod posted, even if it's unfinished) we should definately vote on one first.

Also, we have to think of a way to include it so you only have to dl it once, since patches should be as tiny as possible (makes exporting it via floppy much easier).
« Last Edit: April 20, 2005, 05:44:14 PM by Numsgil »

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
What is supposed to happen with sysvar pointers?
« Reply #5 on: April 20, 2005, 05:54:36 PM »
What is a floppy?

 ;)
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
What is supposed to happen with sysvar pointers?
« Reply #6 on: April 20, 2005, 05:54:53 PM »
Ok I tryed it , its funny but it works.

*I am also going to check if sexrepro works correctly
sliders*** not labels , ZzZzzz
Ok I want to start messing arround a little with robot dna compilation, more specifcaly the way .sexrepro works and not sure if 20 *.eye5 store actualy works
Therefor if I make a killer firstbot that does not do good in the Db you guys have, then I am going to give you my source code with the changes to robot dna compilation. I might add aimshot... But I will try to keep as mutch of the exsisting code as possible



This one is the best :
Quote
'reguler alga gene here
cond
start
20
*.eye5
9
mult
9
rnd
add
store
stop
end

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7716
    • View Profile
What is supposed to happen with sysvar pointers?
« Reply #7 on: April 20, 2005, 05:55:35 PM »
It's the only thing the manufacturers of my decade old laptop deemed worthy of reading.   :P

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
What is supposed to happen with sysvar pointers?
« Reply #8 on: April 20, 2005, 05:57:57 PM »
cmon Shvartz, A floppy disk , the old-school stuff  :D
« Last Edit: April 20, 2005, 05:58:24 PM by Botsareus »

Offline Shen

  • Bot Destroyer
  • ***
  • Posts: 111
    • View Profile
What is supposed to happen with sysvar pointers?
« Reply #9 on: April 20, 2005, 06:28:33 PM »
Quote
Also, we have to think of a way to include it so you only have to dl it once, since patches should be as tiny as possible (makes exporting it via floppy much easier).
Since you brought this up :P Hows about making DB a single download, like a self extracting zip installer. Rather than having a bazzilion old patches.

Im not suggesting a new one for every patch but you've added a TON of new stuff and it would be a good excuse to update all those old settings files that probably confuse the hell out of newbies since the old bots dont work in the latest version anymore.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7716
    • View Profile
What is supposed to happen with sysvar pointers?
« Reply #10 on: April 20, 2005, 06:37:46 PM »
Love to, but I'm not sure how to do that, to be honest.  There are some .ocx files that need to be installed as well.  I wouldn't know where to begin.

Offline Shen

  • Bot Destroyer
  • ***
  • Posts: 111
    • View Profile
What is supposed to happen with sysvar pointers?
« Reply #11 on: April 20, 2005, 06:52:43 PM »
Try this
As for the .ocx files, yeah I seem to remember having trouble with them when I first installed DB but I havnt formatted my HD for years so all the crap is probably still installed somewhere.