Search found 407 matches

by bocochoco
Wed Apr 13, 2011 9:06 pm UTC
Forum: Coding
Topic: Procedurally Generated Content
Replies: 7
Views: 2017

Re: Procedurally Generated Content

Yakk, that is a very good idea. I will look into implementing that sort of functionality tonight. Thank you for the suggestion You may also want to try looking at models like Perlin noise . One nice property of noise functions like these are that they continue infinitely in all directions, without d...
by bocochoco
Tue Apr 12, 2011 10:19 pm UTC
Forum: Coding
Topic: Procedurally Generated Content
Replies: 7
Views: 2017

Re: Procedurally Generated Content

Hmm, what happens if you force the boundary values to agree? E.g. when generating a tile to the right of one which already exists, initialise the left-most column of values with the data from the right-most column of the pre-existing tile, and don't modify these boundary values during the algorithm...
by bocochoco
Tue Apr 12, 2011 8:11 pm UTC
Forum: Coding
Topic: Procedurally Generated Content
Replies: 7
Views: 2017

Procedurally Generated Content

I've written an implementation of the diamond-square algorithm in Python as part of a world generator for a tile-based game I've been working on. It works well enough, but I am at a loss for how to continue generating content on the fly that lines up correctly when tiled. That is, they tile seamless...
by bocochoco
Mon Feb 21, 2011 4:12 pm UTC
Forum: Hardware
Topic: Windows Virtual Memory
Replies: 23
Views: 2479

Re: Windows Virtual Memory

I haven't noticed any performance decrease, nor crashes. Yet. With 8/16gb though, am I really reducing the memory available to the system? It hasn't yet used even half of what I've got in there, even with Paging off.
by bocochoco
Thu Feb 17, 2011 8:47 pm UTC
Forum: Hardware
Topic: Windows Virtual Memory
Replies: 23
Views: 2479

Re: Windows Virtual Memory

Endless Mike wrote:I kind of feel like you're not going to eke a noticeable difference at this point.

:cry: One can hope. World needs more multithreaded applications.
by bocochoco
Thu Feb 17, 2011 7:00 pm UTC
Forum: Hardware
Topic: Windows Virtual Memory
Replies: 23
Views: 2479

Re: Windows Virtual Memory

If you want your computer to feel faster you need to upgrade the CPU, GPU (for games) or the most effective, buy an SSD. $200 or so would be enough to upgrade one of those three. I imagine it wasn't using the pagefile. Under normal use I doubt it's even using 4GB of your 8GB. I've got a phenom II X...
by bocochoco
Thu Feb 17, 2011 2:13 pm UTC
Forum: Hardware
Topic: Windows Virtual Memory
Replies: 23
Views: 2479

Re: Windows Virtual Memory

Well, I turned it off. No problems of yet, but I haven't noticed an obvious performance gain either. With memory being much faster than a hard disk, I figured it would make things work faster.
by bocochoco
Wed Feb 16, 2011 8:16 pm UTC
Forum: Hardware
Topic: Windows Virtual Memory
Replies: 23
Views: 2479

Re: Windows Virtual Memory

Thats the idea, bypass the hard disk for memory operations. I dont have any usb3 keys or I'd try setting up readyboost using one of my usb3 ports.
by bocochoco
Wed Feb 16, 2011 6:50 pm UTC
Forum: Hardware
Topic: Windows Virtual Memory
Replies: 23
Views: 2479

Windows Virtual Memory

How much memory should my computer have for me to disable the pagefile without suffering from crashes? I've got 8GB at the moment, and I've thought about adding another 8gb for $100 to use this stupid Amex gift card without leaving inaccessible amounts of change left over on it, never to be seen aga...
by bocochoco
Fri Dec 24, 2010 1:54 am UTC
Forum: Coding
Topic: [c++] saving a map to a file
Replies: 2
Views: 2302

Re: [c++] saving a map to a file

I did forget to use the address of int size. That explains why it isn't writing anything at all. I was hoping that map worked similarly to a vector and it was stored in a contiguous block of memory, so I wouldn't have to serialize. I didn't know that x86 and x86_64 had different sizes for POD's. Pos...
by bocochoco
Thu Dec 23, 2010 7:48 pm UTC
Forum: Coding
Topic: [c++] saving a map to a file
Replies: 2
Views: 2302

[c++] saving a map to a file

I can't seem to get this to work. It doesn't write anything to the file, just creates it. I'm not sure if map works similarly to a vector or if the data is spread out throughout memory. Either way, it should still print something . I've been working at this for some time, and can't get it. typedef p...
by bocochoco
Tue Dec 21, 2010 2:41 pm UTC
Forum: Coding
Topic: What does this do?
Replies: 2
Views: 888

Re: What does this do?


I see. That makes sense. Thank you.
by bocochoco
Mon Dec 20, 2010 3:24 pm UTC
Forum: Coding
Topic: What does this do?
Replies: 2
Views: 888

What does this do?

I just found this bash script in my home directory. I don't remember writing it, and I definitely don't really get what it does. dd if=/dev/zero of=/srv/loop bs=1 count=1 seek=5368709120 losetup -f /srv/loop pvcreate /dev/loop0 vgextend vg0 /dev/loop0 lvcreate -s -n home-snapshot /dev/vg0/home -L 5G...
by bocochoco
Tue Dec 14, 2010 2:53 pm UTC
Forum: Gaming
Topic: MMORPGs: On Permanent Death
Replies: 47
Views: 5293

Re: MMORPGs: On Permanent Death

The closest game I can think of is Darkfall Online. Death is not permanent, but your corpse can be looted if/when you die. And theres open pvp, so anyone can kill anyone else at any time. In many ways its one of the most difficult mmo's I've played yet (and I've played a lot of them). There are no l...
by bocochoco
Fri Dec 10, 2010 7:35 pm UTC
Forum: Coding
Topic: Procedural ocean
Replies: 7
Views: 1495

Re: Procedural ocean

For a game I'm making I need a function which can draw the ocean which varies depending on the weather. The thing is it also has to fit in with the top-down pixel art of the rest of the game. I've been puzzling over this for a while but I can't think of a way of doing it. The closest I've got, by p...
by bocochoco
Thu Dec 09, 2010 10:00 pm UTC
Forum: Hardware
Topic: comp upgrades
Replies: 15
Views: 1482

Re: comp upgrades

Yeah, that Antec is a solid power supply, and the ratings on, well, pretty much everything are very conservative. AnandTech's Bench shows a 5870/OC'd i7 920 rig using no more than 400W in all cases, and that's probably a touch more power hungry than your set up. I wouldn't even bother with a new PS...
by bocochoco
Thu Dec 09, 2010 9:20 pm UTC
Forum: Hardware
Topic: comp upgrades
Replies: 15
Views: 1482

Re: comp upgrades

It lowers the wattage needed on the PSU calculator by like 40W if you unplug that dvd-rw from your PSU. That should put you under 550W with some to spare (~523 W as opposed to ~561 W). Unless your HDDs are 10k RPM in which case damn you. I just assumed they were 7.2k RPM, so if they're slower you h...
by bocochoco
Thu Dec 09, 2010 9:04 pm UTC
Forum: Hardware
Topic: comp upgrades
Replies: 15
Views: 1482

Re: comp upgrades

Just a dvd-rw. I rarely use it anyway. I do have a second sata drive, but thats where all my crap is stored.
by bocochoco
Thu Dec 09, 2010 8:54 pm UTC
Forum: Hardware
Topic: comp upgrades
Replies: 15
Views: 1482

Re: comp upgrades

but do you think I'll do any damage if I order one from newegg, or should I bite my tongue and go to bestbuy? I don't see why you would do damage ordering from NewEgg unless you have a pile of parts and you HAVE to have a finished computer NOW. I mean that something might go wrong while I'm waiting...
by bocochoco
Thu Dec 09, 2010 7:53 pm UTC
Forum: Hardware
Topic: comp upgrades
Replies: 15
Views: 1482

Re: comp upgrades

Is there a computer store nearby like compUSA? I've gotten good deals there and really do dislike bestbuy, which is always more expensive :\ And I do agree that PSU calculators should take a grain of salt, because they aren't exact. When I bought my psu I used every PSU I could find to see what dev...
by bocochoco
Thu Dec 09, 2010 7:35 pm UTC
Forum: Hardware
Topic: comp upgrades
Replies: 15
Views: 1482

Re: comp upgrades

My concern is that I don't want to undervolt anything. I've blown up my fair share of microcontrollers and it's just as harmful as overvolting them. Just to be on the safe side I'll probably pick up a new one, but do you think I'll do any damage if I order one from newegg, or should I bite my tongue...
by bocochoco
Thu Dec 09, 2010 7:24 pm UTC
Forum: Hardware
Topic: comp upgrades
Replies: 15
Views: 1482

Re: comp upgrades

I don't know a lot about power requirements so I usually have to default to newegg's calculator , or ask someone. Using that calculator I had to substitute a different card that required 500w since I didn't see yours listed and I'm assuming you have 1 dvd-rw... it came out as recommended PSU Wattag...
by bocochoco
Thu Dec 09, 2010 6:55 pm UTC
Forum: Hardware
Topic: comp upgrades
Replies: 15
Views: 1482

comp upgrades

I bought a new motherboard, cpu, memory, and video card.. Unfortunately I neglected to check my PSU. It works fine now, but I question if it is enough for the new parts. It's a 550 watt Antec TruePower II. The new parts are an AsRock 890FX Deluxe3, Phenom II X6 1055, 8gb of DDR3, and a Sapphire Rade...
by bocochoco
Mon Nov 15, 2010 9:48 pm UTC
Forum: Forum Games
Topic: Create a Card: MTG
Replies: 3761
Views: 405798

Re: Create a Card: MTG

Raptor Den Legendary Land - Mountain Plains ~ comes into play tapped. When ~ comes into play, return a land you control to its owners hand. T: Add RW to your mana pool. 1, Tap: Put an Egg counter on ~. 1, Tap: Remove X Egg counters from ~. Put that many 1/1 Raptor creature tokens into play under you...
by bocochoco
Tue Nov 02, 2010 1:54 pm UTC
Forum: Forum Games
Topic: Create a Card: MTG
Replies: 3761
Views: 405798

Re: Create a Card: MTG

Valiant Charge WW Sorcery Creatures under your control gain -1/-1 and Exalted until the end of turn. Should any other here share this rash youth's prejudices, let him speak now, ere I sheath my sword, for truly, it is fatiguing to draw the weapon again and again. next card: Sixth Son of a Seventh Son
by bocochoco
Mon Nov 01, 2010 1:33 pm UTC
Forum: Hardware
Topic: Thoughts on this build?
Replies: 16
Views: 2132

Re: Thoughts on this build?

The following is all from anecdotal evidence, but - ASRock boards don't always get the QA testing some other boards receive. With Asus and Gigabyte, for example, if you put all the components in the component shaped holes everything will probably work just fine. Whatever out of date BIOS they ship ...
by bocochoco
Sun Oct 31, 2010 6:15 am UTC
Forum: Hardware
Topic: Thoughts on this build?
Replies: 16
Views: 2132

Re: Thoughts on this build?

Looks nice. The only think I'd mention is that ASRock boards are sometimes a bit harder to get working right (a few more gremlins you need to chase down with a slightly less friendly BIOS), but once setup correctly they're typically just as solid as other brands. Are you sticking with 890FX because...
by bocochoco
Fri Oct 29, 2010 2:54 pm UTC
Forum: Forum Games
Topic: Create a Card: MTG
Replies: 3761
Views: 405798

Re: Create a Card: MTG

Strange Matter
4
Artifact

Tap: Exile target creature. Put a 3/3 Mutated Abomination creature token into play under its owners control. ~ does not untap during your next untap step.


next: Fleshstorm
by bocochoco
Fri Oct 29, 2010 2:06 pm UTC
Forum: Hardware
Topic: Thoughts on this build?
Replies: 16
Views: 2132

Re: Thoughts on this build?

Lots of good thoughts here. I've changed my build taking most of it into account. I need to stop throwing random parts together at 3am in a half-daze. CPU: Phenom II X4 965 Motherboard: AsRock 890FX Deluxe4 Memory: Mushkin Enhanced Ridgeback 4GB 6-8-6-24 HDD: WD Caviar Black 1TB 7200RPM 64MB PSU: Co...
by bocochoco
Thu Oct 28, 2010 5:59 pm UTC
Forum: Hardware
Topic: Thoughts on this build?
Replies: 16
Views: 2132

Re: Thoughts on this build?

Westmere is just Intel's generic architecture that they're currently using in almost all their products. i3, i5, i7 and Xeon are all Westmeres. I doubt that Intel is really overpriced, as their current CPUs are said to offer much higher performance per watt than AMD CPUs. But that's probably less o...
by bocochoco
Thu Oct 28, 2010 5:37 pm UTC
Forum: Hardware
Topic: Thoughts on this build?
Replies: 16
Views: 2132

Re: Thoughts on this build?

I'd guess a 750W PSU is a bit excessive, even for overclocking (but Corsair ftw). And if you're going with a Velociraptor, why not go for the full 600GB? It's faster :) I'm thinking about the future as well. May end up adding a second 6870 to the mix, or wind up upgrading the cpu to something that ...
by bocochoco
Thu Oct 28, 2010 6:24 am UTC
Forum: Hardware
Topic: Thoughts on this build?
Replies: 16
Views: 2132

Thoughts on this build?

Going to build a new comp shortly, and I figured I'd give more thought to my components than I have in previous builds. CPU: AMD Phenom II X6 1090T 3.2ghz CPU Cooler: Corsair h50 Motherboard: Asus Crosshair IV Formula Memory: G.Skill Flare 4GB (2x2GB) 7-9-7-24 Video Card: Sapphire Radeon HD ...
by bocochoco
Tue Oct 26, 2010 1:40 pm UTC
Forum: Forum Games
Topic: Create a Card: MTG
Replies: 3761
Views: 405798

Re: Create a Card: MTG

Tribal Fortitude
GGW
Enchantment

Creatures under your control have forestwalk and gain +0/+2.
Tap: Sacrifice ~, creatures under your control gain +3/+2 until end of turn.

next card: The Tattered Wifebeater of Infinite Laziness
by bocochoco
Fri Oct 22, 2010 1:48 pm UTC
Forum: Forum Games
Topic: Create a Card: MTG
Replies: 3761
Views: 405798

Re: Create a Card: MTG

Alphabetical Order
BB
Instant

If target players permanents are not in alphabetical order, that player loses 5 life.



next card: Smart As The Day Is Wide
by bocochoco
Mon Oct 18, 2010 5:44 pm UTC
Forum: Your art and links
Topic: Font discussion
Replies: 11
Views: 4863

Re: Font discussion

SWGlassPit wrote:Comic Sans. Definitely. 8)


This.
by bocochoco
Mon Oct 18, 2010 5:43 pm UTC
Forum: Coding
Topic: alright, some basics please. (PHP and classes)
Replies: 31
Views: 3149

Re: alright, some basics please. (PHP and classes)

It does not need its own class. Just make it a variable of the user class.
by bocochoco
Fri Oct 15, 2010 8:38 pm UTC
Forum: Forum Games
Topic: Create a Card: MTG
Replies: 3761
Views: 405798

Re: Create a Card: MTG

Erotic Impaling WB You may only play ~ if you control a creature with attached equipment. Choose one: If you control a black creature with attached equipment, destroy target creature. If you control a white creature with attached equipment, target creature takes 3 damage. If you control both a black...
by bocochoco
Fri Oct 15, 2010 1:18 pm UTC
Forum: Coding
Topic: sdl not working?
Replies: 7
Views: 1450

Re: sdl not working?

SDL_DisplayFormat returns type (if I recall) SDL_Surface *. That is, img_in is just a pointer to a SDL_Surface object. When you say _this.image = img_in; _this.image simply takes on the address of your image object, but when you free img_in, _this.image becomes a dangling pointer, pointing to the m...
by bocochoco
Thu Oct 14, 2010 3:44 pm UTC
Forum: Coding
Topic: sdl not working?
Replies: 7
Views: 1450

Re: sdl not working?

The code as I posted works fine when compiled with g++. I'd suggest running it through a debugger, step by step, to see what line it's failing on. It was failing at loading the image. Not sure why, both my function and the changed one you posted seem to do the same thing, though yours works and min...
by bocochoco
Thu Oct 14, 2010 2:04 pm UTC
Forum: Coding
Topic: sdl not working?
Replies: 7
Views: 1450

Re: sdl not working?

Ah that explains it. Not sure why I used memmove to begin with. I always forget the destructor, thank you for pointing that out. Now it doesnt just fail without warning, it just.. fails to work correctly, something to do with the filename I tell it to load. Not sure why though, there isn't much of a...

Go to advanced search