Page 1 of 1

Drop All

Posted: Thu Jan 29, 2009 8:29 am
by Idriveayugo
Instead of clicking drop and then clicking continue to drop a resource, why don't we just have an option where you can click "drop all" and it drops all of that resource. It may help reduce the amount of click requests on the cantr server.

Posted: Thu Jan 29, 2009 9:16 am
by Jos Elkink
Isn't it rather rare that people drop everything?

Posted: Thu Jan 29, 2009 9:56 am
by Idriveayugo
I'm not talking about dropping EVERYTHING. I'm referring to just dropping everything of a specific resource. Like say a person has cotton, iron, steel, and copper in their inventory. Now let's say the person wants to drop the cotton into a building. Instead of clicking drop, then clicking continue to drop all of the cotton, the person can instead just click drop all.

Posted: Thu Jan 29, 2009 10:17 am
by Jos Elkink
Ah, that makes more sense :) ... We could reduce the page loads anyway dramatically by using JavaScript and have the form for the amount appear on the list of objects when you click on drop, so we don't need a new page for *every* drop of a resource. Wouldn't that be better?

Posted: Thu Jan 29, 2009 10:55 am
by Miri
It would be, although I'm a bit warry about introducing Java... :?

Posted: Thu Jan 29, 2009 11:02 am
by Tiamo
In fact JavaScript is not Java, it just uses the name for commercial reasons.

Posted: Thu Jan 29, 2009 12:45 pm
by joo
Yes, JS is completely different in that it comes with every (modern) browser and in fact is already used in several places in the game (the floating char descriptions, the manufacturing tree and the autorefresh functionality).

If it is possible for something like this to be implemented, then I think it would do the game a lot of good.

Posted: Fri Jan 30, 2009 6:03 pm
by Idriveayugo
Boo ya. Idea accepted!

Posted: Sat Jan 31, 2009 12:09 pm
by Jos Elkink
To be sure, this is the accepted version:

Jos Elkink wrote:We could reduce the page loads anyway dramatically by using JavaScript and have the form for the amount appear on the list of objects when you click on drop, so we don't need a new page for *every* drop of a resource. Wouldn't that be better?


;) ... but I will take your original suggestion into account so that that should also be possible very quickly, with few clicks.

Posted: Wed Feb 11, 2009 7:56 pm
by marol
Mixed encoding used in database won't allow using AJAX.

Posted: Thu Feb 12, 2009 4:01 pm
by joo
Would it be possible to covert it all to Unicode?

Posted: Thu Feb 12, 2009 4:14 pm
by marol
Yes, but it would require to determine actual encoding of each note, character name, location name etc. It's not a trivial task. How to find the encoding of the note? Depending on location? Language of its owner?

Posted: Thu Feb 12, 2009 4:36 pm
by joo
I do not know much on the subject, but the way which seems most logical to me would be to identify certain key characters which are used by each of the language groups - such as specific polish characters - and select and encoding that would display those correctly. And if that fails, I suppose the language group where the note exists or the language of the character who has assigned dynamic names could be used as well.

It couldn't be much worse than it is at the moment - when some characters cannot be displayed by browsers of those from other language groups. I suppose cut your losses and implement a better system before the problem escalates more?

Posted: Fri Feb 13, 2009 12:05 pm
by Jos Elkink
joo wrote:I suppose cut your losses and implement a better system before the problem escalates more?


You mean, even if we lose half the notes in the game, take your losses?? :-)

I think we can come up with better solutions ... Marol is just saying it is a difficult problem that doesn't have a simple solution - he didn't say it's impossible to solve :)

Re: Drop All

Posted: Sun Feb 02, 2014 12:16 am
by Greek
Implemented.