Battling is 'online' in the sense that it doesn't raise any errors, but 'offline' in the sense that it just displays the logo, member's bar, and toolbar.
SeptimusHeap wrote:
maxskywalker wrote:
maxskywalker wrote:
could someone come up with a quick, basic enemy just to test on?
I mean just a name for a basic, sci-fi sounding enemy... anyone?
Dust Digger - These irradiated rats wander around the desolate wasteland, digging for food.
Shop complete! How does evasion work, is that how easily you can dodge? How do all the stats work, for that matter.
EDIT: Buying the golden gun results in purchasing the shiny pistol, could someone look at it?
EDIT 2: How would I get a list of items in a mysql database that have a variable being "1"?
Evasion increases the chance of dodging. Apparently I forgot to implement it into the calculations though I'll fix that now.
Offline
Servine wrote:
SeptimusHeap wrote:
MySQL server is down D:
No its not...
It was. Updated some forum-y stuff, Servine. Take a look!
Offline
A question: Is evasion/accuracy a %, or what? So is 100 mean 100% accurate/evasion chance?
Also, we should move all dev descussion to a private thread in the forums.
Offline
Could someone take a look at battle.html and tell me what the problem might be? Is the logo just over the stuff I'm trying to write?
Offline
SeptimusHeap wrote:
A question: Is evasion/accuracy a %, or what? So is 100 mean 100% accurate/evasion chance?
Also, we should move all dev descussion to a private thread in the forums.
Ok. And yes, 100 is 100%
Offline
Servine wrote:
maxskywalker wrote:
Could someone take a look at battle.html and tell me what the problem might be? Is the logo just over the stuff I'm trying to write?
I REALLY don't get the code for it.
Having trouble with the weapon buy code. I made it so the page loads from the Sql server, which ran fine, but now an error happens when I go to buy something. Look at the weapon_purchase code and the error you get when you try to buy something. The SQL query fails even though it shouldn't. If you find anything, tell me, because I don't want you to accidentally overwrite something fixing it yourself.
Offline
SeptimusHeap wrote:
Servine wrote:
maxskywalker wrote:
Could someone take a look at battle.html and tell me what the problem might be? Is the logo just over the stuff I'm trying to write?
I REALLY don't get the code for it.
Having trouble with the weapon buy code. I made it so the page loads from the Sql server, which ran fine, but now an error happens when I go to buy something. Look at the weapon_purchase code and the error you get when you try to buy something. The SQL query fails even though it shouldn't. If you find anything, tell me, because I don't want you to accidentally overwrite something fixing it yourself.
Anyone?
Offline
SeptimusHeap wrote:
SeptimusHeap wrote:
Servine wrote:
I REALLY don't get the code for it.
Having trouble with the weapon buy code. I made it so the page loads from the Sql server, which ran fine, but now an error happens when I go to buy something. Look at the weapon_purchase code and the error you get when you try to buy something. The SQL query fails even though it shouldn't. If you find anything, tell me, because I don't want you to accidentally overwrite something fixing it yourself.
Anyone?
Don't look at me; I'm busy with combat, and I guess that Sep's working on buying weapons.
Last edited by maxskywalker (2012-06-12 18:32:50)
Offline
maxskywalker wrote:
SeptimusHeap wrote:
SeptimusHeap wrote:
Having trouble with the weapon buy code. I made it so the page loads from the Sql server, which ran fine, but now an error happens when I go to buy something. Look at the weapon_purchase code and the error you get when you try to buy something. The SQL query fails even though it shouldn't. If you find anything, tell me, because I don't want you to accidentally overwrite something fixing it yourself.Anyone?
Don't look at me; I'm busy with combat, and I guess that Sep's working on buying weapons.
I AM Sep
Offline
SeptimusHeap wrote:
maxskywalker wrote:
SeptimusHeap wrote:
Anyone?Don't look at me; I'm busy with combat, and I guess that Sep's working on buying weapons.
I AM Sep
Oh LOL misread; I thought I was talking to Servine. Your names both start with Se!
Offline
maxskywalker wrote:
SeptimusHeap wrote:
maxskywalker wrote:
Don't look at me; I'm busy with combat, and I guess that Sep's working on buying weapons.I AM Sep
Oh LOL misread; I thought I was talking to Servine. Your names both start with Se!
Lol.
Septimus, I'll look at yours now because it's easier.
Max, your's is next.
Offline
SeptimusHeap wrote:
Servine wrote:
maxskywalker wrote:
Could someone take a look at battle.html and tell me what the problem might be? Is the logo just over the stuff I'm trying to write?
I REALLY don't get the code for it.
Having trouble with the weapon buy code. I made it so the page loads from the Sql server, which ran fine, but now an error happens when I go to buy something. Look at the weapon_purchase code and the error you get when you try to buy something. The SQL query fails even though it shouldn't. If you find anything, tell me, because I don't want you to accidentally overwrite something fixing it yourself.
I know you told me NOT to edit, but I did. Don't worry, I got the latest version and you're offline. You're code basically said (in scratch blocks)
when gf clicked if <weapon exists> Say [That weapon does NOT exist!] else Say [You bought dat weapon!]It's the other way round! If the weapon DOES exist, then you can buy it. If not, then you can't!
Offline
Servine wrote:
SeptimusHeap wrote:
Servine wrote:
I REALLY don't get the code for it.Having trouble with the weapon buy code. I made it so the page loads from the Sql server, which ran fine, but now an error happens when I go to buy something. Look at the weapon_purchase code and the error you get when you try to buy something. The SQL query fails even though it shouldn't. If you find anything, tell me, because I don't want you to accidentally overwrite something fixing it yourself.
I know you told me NOT to edit, but I did. Don't worry, I got the latest version and you're offline. You're code basically said (in scratch blocks)
when gf clicked if <weapon exists> Say [That weapon does NOT exist!] else Say [You bought dat weapon!]It's the other way round! If the weapon DOES exist, then you can buy it. If not, then you can't!
I am a total moron sometimes...
Once I was coding some semi-complicated js for my friend, and had an error. I searched for it for 30 minutes. It was a missing =
Offline
SeptimusHeap wrote:
Servine wrote:
SeptimusHeap wrote:
Having trouble with the weapon buy code. I made it so the page loads from the Sql server, which ran fine, but now an error happens when I go to buy something. Look at the weapon_purchase code and the error you get when you try to buy something. The SQL query fails even though it shouldn't. If you find anything, tell me, because I don't want you to accidentally overwrite something fixing it yourself.I know you told me NOT to edit, but I did. Don't worry, I got the latest version and you're offline. You're code basically said (in scratch blocks)
when gf clicked if <weapon exists> Say [That weapon does NOT exist!] else Say [You bought dat weapon!]It's the other way round! If the weapon DOES exist, then you can buy it. If not, then you can't!I am a total moron sometimes...
Once I was coding some semi-complicated js for my friend, and had an error. I searched for it for 30 minutes. It was a missing =
lol.
@max Your JS code is SOOO complex.
Offline
Servine wrote:
SeptimusHeap wrote:
Servine wrote:
I know you told me NOT to edit, but I did. Don't worry, I got the latest version and you're offline. You're code basically said (in scratch blocks)when gf clicked if <weapon exists> Say [That weapon does NOT exist!] else Say [You bought dat weapon!]It's the other way round! If the weapon DOES exist, then you can buy it. If not, then you can't!I am a total moron sometimes...
Once I was coding some semi-complicated js for my friend, and had an error. I searched for it for 30 minutes. It was a missing =lol.
@max Your JS code is SOOO complex.
...it is? I thought it was pretty simple. Maybe it's just my background in software development. I'll add some comments to see if I can walk you through what's going on.
Offline
maxskywalker wrote:
Servine wrote:
SeptimusHeap wrote:
I am a total moron sometimes...
Once I was coding some semi-complicated js for my friend, and had an error. I searched for it for 30 minutes. It was a missing =lol.
@max Your JS code is SOOO complex....it is? I thought it was pretty simple. Maybe it's just my background in software development. I'll add some comments to see if I can walk you through what's going on.
Now with comments on almost every line. Less complex, or at least more understandable?
Offline
maxskywalker wrote:
maxskywalker wrote:
Servine wrote:
lol.
@max Your JS code is SOOO complex....it is? I thought it was pretty simple. Maybe it's just my background in software development. I'll add some comments to see if I can walk you through what's going on.
Now with comments on almost every line. Less complex, or at least more understandable?
I'll check it later.
I sent you, fire and septimus an email.
DO NOT DISCLOSE ANY INFO IN IT TO ANYONE!
Offline
Servine wrote:
maxskywalker wrote:
maxskywalker wrote:
...it is? I thought it was pretty simple. Maybe it's just my background in software development. I'll add some comments to see if I can walk you through what's going on.
Now with comments on almost every line. Less complex, or at least more understandable?
I'll check it later.
I sent you, fire and septimus an email.
DO NOT DISCLOSE ANY INFO IN IT TO ANYONE!
No info disclosed. Wait, but what about the first 3 things to help with?
Last edited by maxskywalker (2012-06-13 10:33:08)
Offline
maxskywalker wrote:
Servine wrote:
maxskywalker wrote:
Now with comments on almost every line. Less complex, or at least more understandable?I'll check it later.
I sent you, fire and septimus an email.
DO NOT DISCLOSE ANY INFO IN IT TO ANYONE!No info disclosed. Wait, but what about the first 3 things to help with?
first thing yes, rest no.
Offline