Making Configuration Manager

09/20/2011 13:06 The_Warrior#16
Quote:
Originally Posted by logical691 View Post
@Warrior im pretty sure your code does not work as i believe i tried it like that, thats php style not vb i could be wrong though but im sure i tried that and it failed. was a while ago though.
Hmm; You're apparently right; Booted up an old box to test

Quote:
If Check1.Value = 1 Then
MsgBox "This is ticked."
Else
MsgBox "This isn't ticked."
End If
And
Quote:
If Check1.Value Then
MsgBox "This is ticked."
Else
MsgBox "This isn't ticked."
End If
Works perfectly fine

PHP's would be

Quote:
if($value == true)
{
echo 'This is true';
}else{
echo 'This is false';
}
or: if($value) - Depends on style of code.

Although to get back to the question BeginnerDO asked; Can Sheet!Cell solve your problem; and save you time?

Tw
09/20/2011 13:42 logical691#17
Yeh i just thought if check1.value = true then
msgbox "on"
else
msbbox "off"
end if

didnt work dont matter ive not played with it for a few months and was only a beginner anyhow i did an ink and started 10 projects at same time lol

Anyway thanks for clearning it up maybe i'll do the things i plan on doing one day just need a clear mind for learning and atm its full of rubbish :P
09/23/2011 13:43 BeginnerDO#18
Hey again... I have "little" more to do so I haven't have time to do this manager really.

BUT again. 2 question :D

Here is video about my problem:


First the littler question but now I have set: (for example seproms)
if checkbox1.enabled= true Then
Checkbox1.text = 1.6 ...
Label1.text = checkbox1.text * checkbox2.text * checkbox3.. etc

Label2.text = label1.text * amount of lfs in ship and drones.

Now I need to click labels (cause I have coded like it) but how it can refresh it automatically? (i can hide label1.text but now I didnt cause u see the problem)
I need to switch "declarations" but which is the correct?

And another. How can I set "value" for checkboxs? Now it switch the checkbox's text to value, but is it possible to checkbox keeps it's name but value is different?
I tested like that:
If checkbox1.checked then
label.text = hit * 1.6 (hit = label2.text = amount of lfs * hit)
If checkbox2.checked then *1.05
If checkbox1.checked and checkbox2.checked then * 1.68
etc

but if there was 5 checkboxs and 3-4 of them clicked, vb didnt understood it :D everytime somekind of mistake was on amount of hit..
09/23/2011 14:38 hoocrax#19
Hmm what about we make a discussion thread for programmers about anything related to DarkOrbit ? :)
09/23/2011 16:58 SUPERZETH#20
Quote:
Originally Posted by hoocrax View Post
Hmm what about we make a discussion thread for programmers about anything related to DarkOrbit ? :)
Thats A good idea ^^
09/23/2011 17:06 ĤΛƇҠ#21
Config Manager : [Only registered and activated users can see links. Click Here To Register...]

Tutorial : [Only registered and activated users can see links. Click Here To Register...]

Tutorial 2 : [Only registered and activated users can see links. Click Here To Register...]

THX nicht vergessen zu drücken
09/23/2011 20:04 BeginnerDO#22
Hack, that manager is not good: the amount of shield and hit is incorrect.
"tutorial" is my first post? What kind of tutorial is it? :) And that tutorial2 is for different code language and I dont understand deutschland.

Maybe someone could post fastly/short responce to those questions. But now the (last?) question. Declarations.. What is the right for this program? It should refresh it automatically (not by clicking it). Its not so big problem with hits & shields but in 1vs1-configuration Im stuck. I think everything else works than that ***ing declaration :D (it just cannot work so I need to click progressbars every time..:P)
09/23/2011 20:07 ĤΛƇҠ#23
Sorry I didn't read the topic to the end