Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 14 15 [16] 17 18 ... 152

Author Topic: Prospector, a roguelike in development  (Read 284575 times)

codezero

  • Bay Watcher
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #225 on: May 08, 2009, 09:10:48 am »

I've lost things before like aux. oxygen, I thought it was a feature too for a while but then sometimes I wouldn;t lose it. FWIW I get multiple aux oxygen tanks.

EDIT:Nah I thought I realised why but I was wrong.
« Last Edit: May 08, 2009, 09:32:09 am by codezero »
Logged

magellan

  • Bay Watcher
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #226 on: May 08, 2009, 10:41:01 am »

What did you think it could have been codezero?

Maybe that points me in a direction i haven't considered yet or ... well... i have *no* idea why it would be doing that (after looking into some likely culprits). I appreciate any input.
Logged
Prospector, my space exploration roguelike:
http://code.google.com/p/rlprospector/

codezero

  • Bay Watcher
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #227 on: May 08, 2009, 11:21:50 pm »

I thought it was in the way you were writing over item(a) with item(lastitem), I had it confused as you trying to swap item(a) with item(lastitem) and then decrementing lastitems, but you're actually just overwriting (a) without swapping. I had a look at some other stuff, one thing I don't get is in the scanning sub
a=getplanet(foo,bar)
and then later
*item(a).scanmod
where a still equals the selected planet I believe. Is that right? Or maybe that's just how you've got your item array set up.

I wouldn't worry about it for now, I couldn't replicate it last night, maybe it was in an older version. And it's a pretty minor annoyance at any rate.
Logged

magellan

  • Bay Watcher
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #228 on: May 09, 2009, 02:12:41 am »

ooops... that a should have been a b :)
While that doesn't explain items disappearing it explains some scanning oddities!

Thank you!
Logged
Prospector, my space exploration roguelike:
http://code.google.com/p/rlprospector/

codezero

  • Bay Watcher
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #229 on: May 09, 2009, 03:02:33 am »

It is actually a possible explanation, 'cause if you reference an array out of bounds it will do wierd things to whatever is declared before or after it, depending which way you go out of bounds.

Spoiler (click to show/hide)

So if a =-1 and you do stuff with item(-1) it could be messing with the lastitem variable. (vars are stored in memory in reverse order or something)
Logged

magellan

  • Bay Watcher
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #230 on: May 09, 2009, 03:30:05 am »

True.
But since a gets checked for being >0 and a planet right before that and there are more items than planets there can't be an out of bounds there.

It could be an out of bounds somewhere else of course, but where? :)
*continues the search*

Edit:
This could be it. not 100% positive but I think i found the problem
« Last Edit: May 09, 2009, 04:51:14 am by magellan »
Logged
Prospector, my space exploration roguelike:
http://code.google.com/p/rlprospector/

codezero

  • Bay Watcher
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #231 on: May 09, 2009, 06:11:34 am »

oh yeah didn't notice that. How's the next release coming along?
Logged

magellan

  • Bay Watcher
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #232 on: May 09, 2009, 07:19:36 am »

Let me reply with my todo list:
* Make my monsters do stuff again now that they can have other targets than the player
* Add a few ship weapons
* Find out if my monsters only rarely build huts of never ever build huts (And make them build huts more often)  (Speaking of: anybody here ever saw a hut in the current version?)
* yesterday a spider without arms shot me with a bow... that obviously needs some work on consistency :)
* Test the close combat weapons
* Maybe add another unique planet for wich i have one half of an idea (Will add if i can find the other half)
Logged
Prospector, my space exploration roguelike:
http://code.google.com/p/rlprospector/

chaoticag

  • Bay Watcher
  • All Natural Pengbean
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #233 on: May 09, 2009, 07:35:36 am »

I've only seen huts on unique planets.
Logged

codezero

  • Bay Watcher
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #234 on: May 09, 2009, 12:31:26 pm »

if you mean the building they buy and sell stuff from I've seen em
Logged

magellan

  • Bay Watcher
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #235 on: May 09, 2009, 12:41:16 pm »

No, sufficiently intelligent critters (those who hunt with bow & arrows for example) were supposed to build clay, brick and stonehuts and cultivate land. Guess its time to initiate the "affordable housing for aliens" program :)
Logged
Prospector, my space exploration roguelike:
http://code.google.com/p/rlprospector/

Duke 2.0

  • Bay Watcher
  • [CONQUISTADOR:BIRD]
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #236 on: May 09, 2009, 01:23:30 pm »

 I generally go to low-life planets because ore there is easy to get and not terribly dangerous. Still, only planets with the creatures that are warring with other-colored caps have had huts from what I have seen.

 Also, does ship radar show ships on the planetary map or just ship combat? I want to pirate freighters dammit!
Logged
Buck up friendo, we're all on the level here.
I would bet money Andrew has edited things retroactively, except I can't prove anything because it was edited retroactively.
MIERDO MILLAS DE VIBORAS FURIOSAS PARA ESTRANGULARTE MUERTO

ToonyMan

  • Bay Watcher
  • Danger Magnet
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #237 on: May 09, 2009, 01:25:39 pm »

I don't think you can pirate people......yet.  They would add some varity.
Logged

Duke 2.0

  • Bay Watcher
  • [CONQUISTADOR:BIRD]
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #238 on: May 09, 2009, 01:30:17 pm »

 You can attack trading vessels, but I have never been successful seeing as I always did it with the scout and not with a dedicated fighter. The fighters in question always die off before they encounter anything to fight. Also, I need to hit pirates for goodies before I can tackle trader escorts.
Logged
Buck up friendo, we're all on the level here.
I would bet money Andrew has edited things retroactively, except I can't prove anything because it was edited retroactively.
MIERDO MILLAS DE VIBORAS FURIOSAS PARA ESTRANGULARTE MUERTO

magellan

  • Bay Watcher
    • View Profile
Re: Prospector, a roguelike in developpement
« Reply #239 on: May 09, 2009, 02:57:28 pm »

You couldn't pirate people in f, but it works in g. (well, you could but they didn't give stuff) In 0.1.5g they do.

... guess upping fleet production a little wouldn't hurt though...
Logged
Prospector, my space exploration roguelike:
http://code.google.com/p/rlprospector/
Pages: 1 ... 14 15 [16] 17 18 ... 152