Sending Gold
#1
fs_greggacam
Posted 23 May 2008 - 02:05
OK, so I bet a lot of people buy Doubler off of say, PabloBison, and they type "50000" instead of "5000." And PabloBison has to dig through his logs to see that he has to send back 45k.
So, I think it would be really beneficial to be able to type "5k" and not have to worry about those dreaded 0's :twisted: . It would also save about .5 seconds of time (those seconds add up) :wink: .
PLEASE COMMENT AND VOTE!
#2
fs_revan767
Posted 23 May 2008 - 02:11
#3
Posted 23 May 2008 - 02:15
say tda has a piece that he decides to sell me in a private sale.. since we are friends, we don't bother with a ST... he decides to sell it to me for and odd price, like 1001 gold
1k wouldn't work...
it's a matter of coding.. but it is good thinking
Just one old lady's opinion

~Love, Penny
Have you hugged your Quango lately?
#4
fs_greggacam
Posted 23 May 2008 - 02:17
on the surface, this seems a good idea, but what about this scenario:
say tda has a piece that he decides to sell me in a private sale.. since we are friends, we don't bother with a ST... he decides to sell it to me for and odd price, like 1001 gold
1k wouldn't work...
it's a matter of coding.. but it is good thinking
And this is a situation where you just have to type in 1001, I'm just talking about a shortcut if it's an even price.
#5
Posted 23 May 2008 - 02:24
Did you know that there are likely over 2000 rouge black holes in our galaxy alone. Each of them can reach very high speeds, even in space terms, are each capable of destroying anything in their path, and are invisible. Well, goodnight!
#6
fs_runnewb
Posted 23 May 2008 - 03:00
#7
fs_greggacam
Posted 23 May 2008 - 03:17
#8
fs_runnewb
Posted 23 May 2008 - 03:22
#9
Posted 23 May 2008 - 03:29
#10
fs_runnewb
Posted 23 May 2008 - 03:32
lol.. im Too Lazy... >.<Why don't we just actually check what we are typing instead of blindly hitting buttons?!?! :?
#11
Posted 23 May 2008 - 03:45
Would you like me to insert your apostrophe for you as well? :roll: :twisted:lol.. im Too Lazy... >.<Why don't we just actually check what we are typing instead of blindly hitting buttons?!?! :?
#12
fs_runnewb
Posted 23 May 2008 - 03:47
Yes Please! XDWould you like me to insert your apostrophe for you as well? :roll: :twisted:lol.. im Too Lazy... >.<Why don't we just actually check what we are typing instead of blindly hitting buttons?!?! :?
#13
fs_jimmyjoe
Posted 23 May 2008 - 04:15
but yeh... im good with the old way too :\
#14
Posted 23 May 2008 - 04:25
its not really hard to code 'K' to be a "signal" that the number before it has to be multiplied with 1000 or "M" to be a signal that the number has to be multiplied by 1000000....
but yeh... im good with the old way too :\
well...
isNaN(100k) = true... so you would get an error page... it would be pointless...
The OPer should just pay more attention when sending gold if they care that much about it :\
If you are too lazy to check your gold sending then that is the price you pay...
You make it idiotproof, someone will make a better idiot... right?
As it is now do we also want to suggest alert boxes when placing bids on the AH... cause I would hate that... I am a potion snipper, and acting in the last 4 seconds of an auction is already hard, adding in an alert box would make it impossible...
#15
fs_runnewb
Posted 23 May 2008 - 04:34
its not really hard to code 'K' to be a "signal" that the number before it has to be multiplied with 1000 or "M" to be a signal that the number has to be multiplied by 1000000....
but yeh... im good with the old way too :\
well...
isNaN(100k) = true... so you would get an error page... it would be pointless...
The OPer should just pay more attention when sending gold if they care that much about it :\
If you are too lazy to check your gold sending then that is the price you pay...
You make it idiotproof, someone will make a better idiot... right?
As it is now do we also want to suggest alert boxes when placing bids on the AH... cause I would hate that... I am a potion snipper, and acting in the last 4 seconds of an auction is already hard, adding in an alert box would make it impossible...
#16
fs_ecolitan
Posted 23 May 2008 - 04:46
#17
Posted 23 May 2008 - 04:59
The first way is to validate the forum before it is sent... and run a for loop testing each character to see if there is a k or a K... then replacing it with 000 then other validation
function sendGold(val) {
for (i=0; i<val.length; i++) {
if ((val.charAt(i) == 'K') || (val.charAt(i) == 'k')) {
val.replace(val.charAt(i), 000);
}
}
if (isNaN(parseInt(val))) {
alert('ERROR: Invalid send value.');
return;
}
else {
val = parseInt(val);
if (val < 0) {
alert('ERROR: Invalid send value.');
return;
}
else {
document.sendGoldForm.gold_amount.value = val;
document.sendGoldForm.submit();
}
}
}But as HCS doesn't run a pre-validation function... they would have to run one later... which makes sense... cause it is simple to code a function off page that will submit bad data overriding the forum... personally if I coded it, I would have included both pre-submitting code and post-submission code...
Coding it afterwards is somewhat similar...
But none the less... this just seems pointless to add...
#18
fs_greggacam
Posted 23 May 2008 - 23:08
#19
fs_greggacam
Posted 24 May 2008 - 12:57
#20
fs_evillove
Posted 24 May 2008 - 21:53
I automatically know how many 0's I have typed in, so I never have this problem. And then I hit the ok button with the correct amount sent.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users

