Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 8,079
» Latest member: seanac11
» Forum threads: 10,350
» Forum posts: 91,276
Full Statistics
|
Online Users |
There are currently 221 online users. » 0 Member(s) | 220 Guest(s) Bing
|
Latest Threads |
I'm leaving the site too....
Forum: 2DWorlds Discussion
Last Post: Jacob_
07-03-2023, 04:59 AM
» Replies: 12
» Views: 6,287
|
hi there.
Forum: 2DWorlds Discussion
Last Post: Jacob_
01-03-2020, 04:30 AM
» Replies: 1
» Views: 738
|
obroke
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 10:11 AM
» Replies: 0
» Views: 20,523
|
fcouldn't
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 09:02 AM
» Replies: 0
» Views: 8,227
|
qhow
Forum: Current Games
Last Post: PhilipShums
09-06-2017, 07:25 AM
» Replies: 0
» Views: 2,110
|
zstone
Forum: Current Games
Last Post: TimothyTox
09-06-2017, 07:03 AM
» Replies: 0
» Views: 977
|
vbit
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 03:00 AM
» Replies: 0
» Views: 960
|
sildenafil 100 mg sandoz
Forum: Current Games
Last Post: RichardLen
09-06-2017, 12:28 AM
» Replies: 0
» Views: 1,170
|
mhis
Forum: Current Games
Last Post: TimothyTox
09-05-2017, 04:09 PM
» Replies: 0
» Views: 983
|
sildenafil citrate 100mg ...
Forum: Current Games
Last Post: Waltertog
09-05-2017, 12:27 PM
» Replies: 0
» Views: 938
|
|
|
[Java] How do I convert a string into code? |
Posted by: Qwertygiy - 07-11-2012, 02:43 PM - Forum: Programming
- Replies (4)
|
 |
I'm working on something where I have to load some text from a file, parse it, and then insert that parsed text as code into an array.
For example, here's what the relevant part of my file might look like:
Code: Recipe: new ItemStack(Item.paper, 1, 0); new ItemStack(Item.dyePowder, 1, 5);
Here's what I need the array to look like:
Code: ItemStack[] testRecipe = ItemStack[]{new ItemStack(Item.paper, 1, 0), new ItemStack(Item.dyePowder, 1, 5)};
Here's what I would be getting with my current code:
Code: ItemStack[] testRecipe = ItemStack[]{"new ItemStack(Item.paper, 1, 0)", "new ItemStack(Item.dyePowder, 1, 5)"};
How do I convert those strings into plain codetext? Is it even possible?
|
|
|
Okay, this is interesting. |
Posted by: Qwertygiy - 07-11-2012, 01:30 AM - Forum: Bug Reports
- Replies (2)
|
 |
I've been trying to help Walrus figure out why Buildism isn't working for him. I decided to modify a very helpful Minecraft modder tool, minecrafterrortest.bat, to Buildism and see if it would work.
Well, it sort of did.
Here's the file to test for yourself:
http://www.mediafire.com/?m7bzyg0zx42n6ee
Here's the error log I get (actually running the editor works fine):
Code: ===Simple Buildism Error Test===
Starting Buildism...
Error: Main method not found in class net.buildism.MainApplet, please define the
main method as:
public static void main(String[] args)
Finished session
I believe I messed up when tweaking the .bat file, didn't I?
|
|
|
Mah script no workeh |
Posted by: lordrambo - 07-10-2012, 05:55 PM - Forum: Scripting
- Replies (4)
|
 |
function ArmSpin()
sleep()
game.World.lordrambo.ArmRotation = 5.0
sleep(1)
game.World.lordrambo.ArmRotation = 10.0
sleep(1)
game.World.lordrambo.ArmRotation = 15.0
end
while sleep() do
ArmSpin()
end
|
|
|
Thief 4 leaked trailer! |
Posted by: Who - 07-10-2012, 05:17 PM - Forum: Video Games
- Replies (3)
|
 |
The thief series has been since late 90s, and it is considered the father of the stealth genre. Eidos Montreal (creators of Deus Ex: Human Revolution) are the developers of this new one
|
|
|
Background Help |
Posted by: Dani24Revay - 07-10-2012, 12:07 PM - Forum: Help
- Replies (4)
|
 |
hi, I made a honey bar BG. But it shows on the back of the player, not on the front. How can I solve this?
|
|
|
|