ID:157390
![]() Mar 19 2010, 7:17 pm
|
|
i have a game when i try to log in i cant press start ,load, or delete. can some1 tell me how i can fix the coding and be able to log into my game.
|
![]() Mar 20 2010, 12:49 am
|
|
You're sure you did the Click() in the Buttons?
|
Qwerty56we wrote:
i have a game when i try to log in i cant press start ,load, or delete. can some1 tell me how i can fix the coding and be able to log into my game. Yes, your problem is on line 114. Your function that returns a buttonAction object there is skipping the part that sets the return value because your if statement doesn't cover all the possibilities, so it returns null, so your button that sets its action to the return value has a null action variable, so nothing happens. |
I was being sarcastic. I was trying to make the point that we don't know what you're doing, how you're doing it, what part of the code could possibly be wrong since we don't know anything about your code; we just don't know anything.
|
Oh come on, it's pretty easy to guess what's wrong.
Of course, I have very little desire to help somebody using a stolen source code, so meh. |
Fundamentally the issue is that in pretty much every case I can think of, anybody who decides to start with somebody else's work is completely unwilling to actually learn how to do anything themselves. They'll opt to demand that other people do everything for them rather than spend two minutes being helped.
|
One, you didn't give us the problem code, so we can't help you.
Two, nobody here is going to give you code that you can copy-and-paste into your project to make it work, mainly because you didn't post the problem code. Three, your original code was unfinished and broken, and it very likely lacks comments. Four, if you did know how to program in DM, which you probably don't, you'd know how to fix the problem, as your problem is very likely to be easy to fix. |