![](https://forums.mrgreengaming.com/uploads/set_resources_8/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
MiF
-
Posts
1137 -
Joined
-
Last visited
Posts posted by MiF
-
-
What did i just watch?
-
Okey, got to test clavuses theory tommorow (or now).
Kikkers idea would be good, but this pointer thing affects only arrays and that stuff.
Clavuses idea did work. Thanks alot
/Can be locked now
-
Well i solved my last problem (some arrays stuff). Now i have new problem with arrays, my program would work after i fix this, but i cant find any solution.
Problem is those pointers with arrays. As programmers may know that if you just place array to other array, the new one points to that old one. So if you change information of one these arrays, data does change same way in all arrays that are pointed to / that point to that array (Not going 100% right this, but something like this)
Well my problem is copying an array. I have this method/function in Database class
public static String[][] getAllData() {
return dataArray; // original array
}Then i call it like this
String[][] database = (String[][]) Database.getAllData().clone();
String[][] newDatabase = (String[][]) Database.getAllData().clone();After i have done my stuff, all 3 arrays store same data.
I have tried to use system.arraycopy() method, but no luck with that either. I have tried to clone array in getAllData method with clone and arraycopy etc. NOTHING works.
Looking around internet wont help me. clone and arraycopy should work, but they are not on me.
What am i doing wrong?
-
Pie, since cake is a lie.
Elite hax0r or Elite anti-hax0r?
-
I tought a car would insta-die on an EMP, just googled a bit and found this:
http://www.survivalblog.com/2010/08/real_world_emp_effects_on_moto.html
Seems like its the best to just turn off your engine before setting off the EMP.
All this hazzel about EMP affecting on car. Mostly cars will break down (or atleast shut down) if EMP is strong enough. But you can with simple instructions make almost every eletrical device immune to EMP (Made one already)
EDIT: Car itself will be fine, but eletric ciruits will fry (Those green plates with some stuff on them)
-
http://www.youtube.com/watch?v=k-yCKXOe29s
Just a quick test. Sorry about REALLY bad quality (Didnt know it goes that bad, if you put lowest settings)
Pretty sucky that it:
1. Only renders with one core (i7 = useless)
2. Uploads with limited rate (Normal is about 200kb/s, with that it was about 100kb/s)
-
You get 1 Greencoin for every 2 ingame points you have.
I thought it was your end of round score or score on disconnection divided by 2?
No. It does give you coin after every other point score (Tested & Confirmed)
No? What you just said confirmed it.
Well what i really meant was that you get coins "real-time". Not just on disconnect.
-
You get 1 Greencoin for every 2 ingame points you have.
I thought it was your end of round score or score on disconnection divided by 2?
No. It does give you coin after every other point score (Tested & Confirmed)
-
|-|4ppy 81r7hd4y!
-
Go check out his TF2 dance video. That's awesome too (Along with other videos).
-
What exactly is the problem? Are you searching for a sorting algorithm to use or can't you write decent java code in the first place.
I have alghorithm (which works). Problem itself is this;
i have this 2d array with this data (left to right is first dimension, up to down is second):
I need to sort it to this:
Turning them into an ArrayList data structure is going to make your life a lot easier to begin with.
(Ninja'd)
Okey got to check that out ->
-
I have been stuck with problem about hour already, and without working solution, so i think it's time to ask for help.
Problem is this. I have 2 dimension array ( [inf.] [3] ) where first data is name (first and last name), second is age and third is city. Now i need to sort this array of data in order of age (from older to younger).
I am coding it in java, and i can use all libraries which come with java, but no outside ones.
There might be easy solution for this, but i am just locked up (as we say here in finland) :/
-
So mario had a car after all... I was always wondering.
-
I am sure it was good reason enough. Also if he wanted to destroy your turret, he would have done it (Not just trying to destroy).
-
So when are you going to start server?
-
I mean unending loops like these:
. - - .
- = = -
- = = -
. - - .
. = redstone dust
- = repeater
= = grass or something
You can make one by putting a torch on it, and delete it after 1 sec. I tell you this because you might mean another way of making an un-ending loop.
Wait a sec. If you mean with ending of unending loop that all redstones start to glow, the problem is in way you start it up. You need to place redstone torch, and 0.01 sec after that remove it.
Since the upgrades might still be a week or two away, we're going to try to get the server up and running again tomorrow. Fresh world. Latest plugins. Faction Wars!
Yeash! Thanks from me, Chubbygon and Panzer_Haza
-
The only frustrating bug I saw today was unending Redstone loops ending. Only way to fix them is by rebuilding them on another spot (if you use the same spot again it still doesn't work).
This causes TNT and Lava explosions.
Okey that's new o.0. Never happened to me tho. Unending loops (clocks) stay unending after i blow them or throw lava on
-
The big problem with sticky pistons is they are not sticky enough. If i have 3 sticky pistons next to each other They wont grab the last one :/
Sticky pistons ONLY grab block they attach to. And Sticky pistons that arent powered up (or used) at that time, wont grab anything. I just hope this will be "fixed" (Bug or feature, dunno)
-
Minecraft just got updated minute ago, cant find any posts about this or anything, but it seems it added grass to game (3D way).
-
I must say this. Good english you have there
.
Good luck with youtubing
-
Meh... Just tried automaticly building walls with pistons. Those would be cool to see in SMP (and in faction mod :>)
-
Singe player is depressing.
Well it got booring after SMP came out, but it's good for testing purposes
-
Minecraft 1.7 release trailer:
Makes me wanna play moar Minecraft...
-
Offtopic:
Members are only allowed to reply to topics when they are involved.Can we stick in this rule please? Let admins deal with this :> (They know best what to do)
Norway
in Safehouse
Posted
Ontopic:
I just read something odd from newspaper.
That Oslo mass murder guy (cant remember name) did pratice with MW2 before he went to killing spree. He says that MW2 is "Best war simulation game there is". He also said that WoW is good way to relax and hide loneliness.
There was something more about this too, but cant remember much.