Version Available (Take 2)

Page 2 of 4 Previous  1, 2, 3, 4  Next

View previous topic View next topic Go down

Re: Version Available (Take 2)

Post by Slaihne on Wed Aug 03, 2011 11:58 am

As a possible cause, is there anything strange about the plus sign "+" in Hungarian?

I use this character with my font drawing routine to mark the places on the map.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 50

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Slaihne on Wed Aug 03, 2011 12:56 pm

I think i've got it solved and it's a doozy.

First thing, i hate case sensitivity. It has its place in specific circumstances but in general, if i call something "Label" i want to be able to refer to it using "label", "Label", "LABEL" etc. My personal opinion is that anyone who wants to have different variables called Label, label, LABEL is just making ammunition to shoot themselves with. But this is just my own opinion.

Now, that aside. I tend to set the options in VB to always use text comparisons when comparing strings. This means that "LABEL" is equal to "label" etc. If i need case sensitivity in a comparison there are ways to do this while still keeping an overall case insensitivity.

So, in my menu handling code i scrape a windows form to get the layout and on the map selection screen i have multiple labels, one called lblX and another called lblY.

In my code i have a bit of code that reads Label = GetControl("lblx")
and another line that reads Label = GetControl("lbly")

(GetControl is my own code that checks each control on the form and see's if the name matches the one i pass in. It uses a simple = comparison to do this)

Note that lblx and lbly as both in lower case while the actual control names are lblX and lblY (the last letter in uppercase).

I should mention that i also have other GetControl(blah) throughout the menu code where blah is in lower case.

All run perfectly well until i change to Hungarian language settings.

Well, at that point, the GetControl("lblx") works fine since i've turned off case sensitivity for the app. But for some reason GetControl("lbly") doesn't. It returns nothing. When i change it to GetControl("lblY") it now works.

So, what is up with "lbly" in Hungarian? Does it have some special significance?

I'm trying to get my head round this since i have loads of references in lowercase and i'm suddenly worried that any of them could fail.

Btw, it works fine in my normal English language settings.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 50

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by adam108 on Wed Aug 03, 2011 1:39 pm

Does it have some special significance?
No.

All run perfectly well until i change to Hungarian language settings.
What do you mean by that exactly?
Changing the OS language, or change something in the program code? Or...?

adam108

Posts : 7
Join date : 2011-08-03

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Slaihne on Wed Aug 03, 2011 1:46 pm

I change my language settings to Hungarian from the control panel.

On further investigation it appears that in Hungarian ...

string.compare("lbly","lblY", true) always says the two strings aren't equal (the True bit means to ignore case).

From the Wiki article http://en.wikipedia.org/wiki/Hungarian_alphabet
I can't see a mention of a lowercase y. In the letter frequency table at the end of the article it mentions 'ly', 'gy', 'ny' almost as if they are treated as single characters, but no y on it's own.

I assume that DotNet is counting "lbly" as 3 characters and "lblY" as 4 characters and thus the comparison will never work. I could be wrong here but it's the only thing i can think off.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 50

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by MrFast on Wed Aug 03, 2011 1:47 pm

Try to run the game from the archive. (I had another problem with launching but maybe it will help you)
avatar
MrFast

Posts : 42
Join date : 2011-04-14
Age : 26
Location : Russia

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Slaihne on Wed Aug 03, 2011 1:56 pm

I've sorted the problem, at least for this instance and will upload a new version in a few minutes. I'll post here when it's available.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 50

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Slaihne on Wed Aug 03, 2011 2:14 pm

Ok, new version available.

Added a couple of new blocks (no new window yet).
Been working on some ambient sounds and now you get crickets at night (outdoors) drippy sounds indoors (all the time) and underwater sounds.

It should also work in Hungary <fingers crossed>

I just remembered i compiled this while i was in Hungarian mode, so i'll re-up a new version as well just to be sure.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 50

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by adam108 on Thu Aug 04, 2011 3:06 am

Slaihne wrote:Ok, new version available.

Added a couple of new blocks (no new window yet).
Been working on some ambient sounds and now you get crickets at night (outdoors) drippy sounds indoors (all the time) and underwater sounds.

It should also work in Hungary <fingers crossed>

I just remembered i compiled this while i was in Hungarian mode, so i'll re-up a new version as well just to be sure.

I downloaded it, and finally it works! Performance is great, graphics are nice. I enabled wireframe mode, I think there is too may things to render - I was in a cave, and in the wireframe I saw lot of trees and block, that are not visible by the player from there - but it is very promising!

adam108

Posts : 7
Join date : 2011-08-03

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Slaihne on Thu Aug 04, 2011 3:15 am

Good job Smile
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 50

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by marcynhow on Sun Aug 07, 2011 9:15 pm

Well I have WinXP. Why not a version for this? I have been playing minecraft for long time but, when I first saw BlokWorld. Well... I'm sorry Notch...

Really, I want to play BlokWorld but yet, no versions for XP =/

Think about that. Maybe?

If it can't run on XP please tell me why, lol.

Gz for the game,

Marc~

marcynhow

Posts : 2
Join date : 2011-08-07

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by adam108 on Mon Aug 08, 2011 12:16 am

marcynhow wrote:Well I have WinXP. Why not a version for this? I have been playing minecraft for long time but, when I first saw BlokWorld. Well... I'm sorry Notch...

Really, I want to play BlokWorld but yet, no versions for XP =/

Think about that. Maybe?

If it can't run on XP please tell me why, lol.

Gz for the game,

Marc~

I guess, it is can't run, because the game need DirectX 10.

It is not released for Windows XP officially. There is a non-official version, I didn't try it out, because I use Windows 7, but maybe you can give it a chance. I don't know, what about "SlimDX runtime".

adam108

Posts : 7
Join date : 2011-08-03

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by marcynhow on Mon Aug 08, 2011 12:26 am

Well will worth a try... but tomorrow... here in my country its 04:00

marcynhow

Posts : 2
Join date : 2011-08-07

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by elijahpederson on Tue Aug 09, 2011 6:04 am

thanks for adding the ability to find what you have created!!!!
avatar
elijahpederson

Posts : 21
Join date : 2011-07-24

View user profile

Back to top Go down

Meh...

Post by GodOfDharkness on Wed Aug 10, 2011 8:16 am

hey slaihne...i gotta ask is blokworld safe and the other 2 downloads? i dont mean to be a bother about this but my pc got hit by a virus the other day and it was a b**** to remove? and well im sorry if it is a stupid question
avatar
GodOfDharkness

Posts : 15
Join date : 2011-08-08
Age : 27
Location : Tartarus

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Slaihne on Wed Aug 10, 2011 8:37 am

Well, as far as i am aware, my PC is free of virii. But, i would advise everyone to have an up to date anti-virus running at all times.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 50

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by GodOfDharkness on Wed Aug 10, 2011 8:53 am

Cool, and will it be too much to ask to do a how to install blokworld video?
avatar
GodOfDharkness

Posts : 15
Join date : 2011-08-08
Age : 27
Location : Tartarus

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Solidfire on Sat Aug 20, 2011 2:21 pm

I'm having some strange issue, assuming singleplayer (campaign) singleplayer (sandbox) and multiplayer being greyed is normal.

when I click single player (creative) I was to select the coordinated location of the map (start location) and nothing happens, I pressed all the keys on my keyboard, nothing. it just puts a big thick + sign on the map.

I have both Dotnet 4.0 and Slimdx Runtime installed and I still can't use it.

what did I do wrong? also, the screen is much larger than the window size, even if I enlarge it, the textures warp and streches, especially the map.

I hope to hear a response soon!


I'm using windows 7 64 bit ultimate, 9600 GT 512 mb nvidia graphisc card, 4 GB of ram. and a 2.40 GHz processor dual core thingy.


Last edited by Solidfire on Sat Aug 20, 2011 2:24 pm; edited 1 time in total (Reason for editing : system info)

Solidfire

Posts : 6
Join date : 2011-08-20

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Solidfire on Sat Aug 20, 2011 8:49 pm

Solidfire wrote:I'm having some strange issue, assuming singleplayer (campaign) singleplayer (sandbox) and multiplayer being greyed is normal.

when I click single player (creative) I was to select the coordinated location of the map (start location) and nothing happens, I pressed all the keys on my keyboard, nothing. it just puts a big thick + sign on the map.

I have both Dotnet 4.0 and Slimdx Runtime installed and I still can't use it.

what did I do wrong? also, the screen is much larger than the window size, even if I enlarge it, the textures warp and streches, especially the map.

I hope to hear a response soon!


I'm using windows 7 64 bit ultimate, 9600 GT 512 mb nvidia graphisc card, 4 GB of ram. and a 2.40 GHz processor dual core thingy.

hmm I couldn't edit it anymore. I just realize I'm missing a tun of option buttons and features, nothing works and I can't do anything with it. after seeing the video, I know I'm missing so much stuff.

right now, the only thing that works is the single player creative mode button that works, it does not slide across the screen, it just flashes to the "choose map location" which is a bit useless right now.

Solidfire

Posts : 6
Join date : 2011-08-20

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by croxxx on Sat Aug 20, 2011 11:25 pm

You're on the right way Solidfire...
Under the map where you select the start position is a button (with Start or something on it).
Click it and your problem is solved...

Greets,
croxxx

croxxx

Posts : 43
Join date : 2011-03-24

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Slaihne on Sun Aug 21, 2011 2:28 am

Hi SolidFire,

I think you may have the DPI adjusted for your desktop.

Check by right clicking the desktop, then clicking Personalize on the menu that appears.
Then click Display in the bottom left corner of the window that appears.

The normal options are 100%, 125%, 150%. I think you may have it set to 125%.

If it's set to 100%, click "Set Custom Text Size (DPI)" over to the left hand side and see if it set at something different than 100%.

Note: This is in Windows 7, it may be slightly different in Vista.

Because you have set fonts etc to be 125% of normal size Windows scales forms up accordingly so everything fits in. Unfortunately I force a form size of 1280 x 720 which means that everything inside the form is scaled by 125% but the form remains at 100%. This leads to controls being pushed off the bottom and side of the screen.

A workaround (until i get iit fixed) is to put the DPI back at 100%. I'll look into getting it fixed within the program.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 50

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Slaihne on Sun Aug 21, 2011 2:56 am

I've fixed the problem but you'll have to wait until i upload the next version to get it i'm afraid.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 50

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Solidfire on Sun Aug 21, 2011 11:50 am

croxxx wrote:You're on the right way Solidfire...
Under the map where you select the start position is a button (with Start or something on it).
Click it and your problem is solved...

Greets,
croxxx

er, actually, I clicked on the map a million times, nothing happens? also, the game doesn't work like the video shows.

-edit- it was a DPI screen size issue that there was no *start button* anywhere.


Last edited by Solidfire on Sun Aug 21, 2011 11:56 am; edited 1 time in total

Solidfire

Posts : 6
Join date : 2011-08-20

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Solidfire on Sun Aug 21, 2011 11:55 am

Slaihne wrote:I've fixed the problem but you'll have to wait until i upload the next version to get it i'm afraid.

sweet brilliant! I never notice the DPI thing till now, least you knew what you were talking about. it fixed everything as far as I know, I now see options button too!

my screen resolution is 1920 x 1080 and windows had a dpi setting of 150%

sheesh, everything looks alot more crisp now. texts are smaller, but thats not a problem lol.

thanks, I'll let you know if I come across any more issues.

-edit- how do I bring up those glow lights and more blocks?

Solidfire

Posts : 6
Join date : 2011-08-20

View user profile

Back to top Go down

Problem...

Post by Avery767 on Wed Aug 31, 2011 4:04 am

Hello, first off I'd like to say you have done an amazing job recreating the look and feel of Minecraft into a beautiful rendition of it. Now, to the problem... I downloaded the latest version of the BlockTest and I extract the files to a folder. Then I click on BlockWorld.exe and instantly an error pops up that you might be familiar with... "Object world not set to an instance of an object". I tried everything, opening it in the archive... (language is on English US)... I'm on a stump here... I can't even get to the main menu. My PC specs are:

OS Name Microsoft Windows 7 Ultimate
Version 6.1.7600 Build 7600
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name AVERY-PC
System Manufacturer Acer, inc.
System Model Aspire 4520
System Type X86-based PC
Processor AMD Athlon(tm) 64 X2 Dual-Core Processor TK-57, 1900 Mhz, 2 Core(s), 2 Logical Processor(s)
BIOS Version/Date Acer v1.3632, 5/14/2008
SMBIOS Version 2.4
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume1
Locale Canada
Hardware Abstraction Layer Version = "6.1.7600.16385"
User Name Avery-PC\Avery
Time Zone Pacific Daylight Time
Installed Physical Memory (RAM) 3.00 GB
Total Physical Memory 2.75 GB
Available Physical Memory 1.48 GB
Total Virtual Memory 5.50 GB
Available Virtual Memory 4.16 GB
Page File Space 2.75 GB
Page File C:\pagefile.sys

Yeah I know my GHz are VERY low but is that a factor?

Thanks for your time.

Avery767

Posts : 2
Join date : 2011-08-31

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Slaihne on Wed Aug 31, 2011 11:17 am

Hi there,

I didn't notice your video card on the list of your specs. Which one are you currently using?

Also, have you installed dotnet 4.0 and the correct version of SlimDX as per the original post of this thread?

Is there a log.txt file in the game folder? Does it contain anything?

The CPU shouldn't cause an error. I actually have a test machine with a similar cpu.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 50

View user profile

Back to top Go down

Re: Version Available (Take 2)

Post by Sponsored content


Sponsored content


Back to top Go down

Page 2 of 4 Previous  1, 2, 3, 4  Next

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum