Sounds good. Looking forward for it.ejwessel wrote:could, but I dont think its ready just yet, I have a couple things left to do before I'd like to test it out amongst the users. I only recently got back to this, this weekend. I'll let you all know.Samuel wrote: Could you provide an apk, or the source code?
Then we can give feedback better. A screenshot can't say anything about behaviour.
Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.10) from Google, F-Droid, our server, or itch.io
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.10) from Google, F-Droid, our server, or itch.io
Bulk buy/sell/drop interface collaboration
-
- VIP
- Posts: 655
- Joined: Wed Feb 23, 2011 3:35 pm
- android_version: 2.2
Re: Bulk buy/sell/drop interface collaboration
Level: 101, XP: 18780586, Gold: 358739
HP: 398, AC: 303%, AD: 84-95, AP: 4, ECC: 12, CM: -, BC: 13%, DR: 0
RoLS: 2, ElyR: 1, RoL: 1, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 2, VSH: 1, WMC: 0, GoW: 0
HP: 398, AC: 303%, AD: 84-95, AP: 4, ECC: 12, CM: -, BC: 13%, DR: 0
RoLS: 2, ElyR: 1, RoL: 1, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 2, VSH: 1, WMC: 0, GoW: 0
-
- Posts: 566
- Joined: Sat Apr 09, 2011 6:18 pm
- android_version: 12 - Android 12
- Location: Chicago area, Illinois, USA
Re: Bulk buy/sell/drop interface collaboration
The interface looks good, a cancel button is probably a good idea.
On buying bonemeal potions and other 10-at-a-time items: just hit the back button to leave the shop and tap the priest again to go back to the shop-entering conversation, and buy 10 more. They are there again; please do not change them to restore at one per minute. I find it only slightly tedious to enter, buy, leave, enter, buy, leave, enter, ----. Certainly not bad enough that changing it would make our lives 10 times easier. (And as I carry a stock of 1000 bonemeal potions, I have done a lot of this.) With the new interface, it may get more annoying because the actual buying process will be so simplified for large numbers. But things like meat are only available 5 at a time, remember.
On buying bonemeal potions and other 10-at-a-time items: just hit the back button to leave the shop and tap the priest again to go back to the shop-entering conversation, and buy 10 more. They are there again; please do not change them to restore at one per minute. I find it only slightly tedious to enter, buy, leave, enter, buy, leave, enter, ----. Certainly not bad enough that changing it would make our lives 10 times easier. (And as I carry a stock of 1000 bonemeal potions, I have done a lot of this.) With the new interface, it may get more annoying because the actual buying process will be so simplified for large numbers. But things like meat are only available 5 at a time, remember.
LVL 108; XP 23,138,749; Gold 1,827,209; 4/23/12
HP 130; AP 4/12; AC 328; AD 55-66; CC 9; CM 0; BC 127; DR 2
RoLS 4; RoL 2; ElyR 4; ChaR 11; GoLF 4; ShaF 4
S Rgn, SP: 1:CE,Ev,SM,EB,PB; 2:WA,HH,Cl,BS,MC,BC,CS,QL,IF,Rgn,MF
HP 130; AP 4/12; AC 328; AD 55-66; CC 9; CM 0; BC 127; DR 2
RoLS 4; RoL 2; ElyR 4; ChaR 11; GoLF 4; ShaF 4
S Rgn, SP: 1:CE,Ev,SM,EB,PB; 2:WA,HH,Cl,BS,MC,BC,CS,QL,IF,Rgn,MF
-
- Posts: 45
- Joined: Tue May 31, 2011 6:23 am
Re: Bulk buy/sell/drop interface collaboration
What's a good way to post my source up for you guys to look at?
I encountered a problem and honestly don't know whats wrong... I'd love help on possibly debugging it =)
I encountered a problem and honestly don't know whats wrong... I'd love help on possibly debugging it =)
-
- VIP
- Posts: 655
- Joined: Wed Feb 23, 2011 3:35 pm
- android_version: 2.2
Re: Bulk buy/sell/drop interface collaboration
Did you try to zip the whole project and upload it to your post?
Or try some online service like: http://www.file-upload.net/
Or try some online service like: http://www.file-upload.net/
Level: 101, XP: 18780586, Gold: 358739
HP: 398, AC: 303%, AD: 84-95, AP: 4, ECC: 12, CM: -, BC: 13%, DR: 0
RoLS: 2, ElyR: 1, RoL: 1, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 2, VSH: 1, WMC: 0, GoW: 0
HP: 398, AC: 303%, AD: 84-95, AP: 4, ECC: 12, CM: -, BC: 13%, DR: 0
RoLS: 2, ElyR: 1, RoL: 1, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 2, VSH: 1, WMC: 0, GoW: 0
-
- Posts: 45
- Joined: Tue May 31, 2011 6:23 am
Re: Bulk buy/sell/drop interface collaboration
Wasn't aware you could put zips up.
Here are the files. The errors I get are:
however if I comment out line 86 then
then the error moves down to every .onClickListener function for any of the buttons that I have
I'm probably just missing something small. Anyways let me know
Here are the files. The errors I get are:
Code: Select all
07-06 11:47:52.560: ERROR/AndroidRuntime(10051): java.lang.NullPointerException
07-06 11:47:52.560: ERROR/AndroidRuntime(10051): at com.PlayingAround.BulkSelectionInterface.<init>(BulkSelectionInterface.java:86)
then the error moves down to every .onClickListener function for any of the buttons that I have
I'm probably just missing something small. Anyways let me know
Last edited by ejwessel on Thu Jul 07, 2011 12:15 am, edited 2 times in total.
-
- VIP
- Posts: 655
- Joined: Wed Feb 23, 2011 3:35 pm
- android_version: 2.2
Re: Bulk buy/sell/drop interface collaboration
This doesn't work:
All your controls are not initialized. They are null.
This results in the errors. However I could not find a bugfix.
Code: Select all
slider = (SeekBar)findViewById(R.id.slider);
decrementButton = (Button)findViewById(R.id.decrement_button);
incrementButton = (Button)findViewById(R.id.increment_button);
finalizeButton = (Button)findViewById(R.id.finalize_button);
cancelButton = (Button)findViewById(R.id.cancel_button);
amountTaken = (EditText)findViewById(R.id.amount_taken);
amountWitheld = (TextView)findViewById(R.id.amount_witheld);
This results in the errors. However I could not find a bugfix.
Level: 101, XP: 18780586, Gold: 358739
HP: 398, AC: 303%, AD: 84-95, AP: 4, ECC: 12, CM: -, BC: 13%, DR: 0
RoLS: 2, ElyR: 1, RoL: 1, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 2, VSH: 1, WMC: 0, GoW: 0
HP: 398, AC: 303%, AD: 84-95, AP: 4, ECC: 12, CM: -, BC: 13%, DR: 0
RoLS: 2, ElyR: 1, RoL: 1, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 2, VSH: 1, WMC: 0, GoW: 0
-
- Posts: 45
- Joined: Tue May 31, 2011 6:23 am
Re: Bulk buy/sell/drop interface collaboration
Yeah, this is what I suspected... But its weird since, this is the way to initialize the buttons from the xmlSamuel wrote:This doesn't work:All your controls are not initialized. They are null.Code: Select all
slider = (SeekBar)findViewById(R.id.slider); decrementButton = (Button)findViewById(R.id.decrement_button); incrementButton = (Button)findViewById(R.id.increment_button); finalizeButton = (Button)findViewById(R.id.finalize_button); cancelButton = (Button)findViewById(R.id.cancel_button); amountTaken = (EditText)findViewById(R.id.amount_taken); amountWitheld = (TextView)findViewById(R.id.amount_witheld);
This results in the errors. However I could not find a bugfix.
-
- Posts: 45
- Joined: Tue May 31, 2011 6:23 am
Re: Bulk buy/sell/drop interface collaboration
OHHH Here's what happened...
I was initializing all of my variables and objects before I told it to set up the content view
this caused it to read from a file it was not currently looking at and therefore the nullpointerexception
In essence I simply fixed it by doing
Thanks so much Samuel, you saved it! =D
I was initializing all of my variables and objects before I told it to set up the content view
this caused it to read from a file it was not currently looking at and therefore the nullpointerexception
In essence I simply fixed it by doing
Code: Select all
setContentView(R.layout.custom_layout_buy); //THIS COMES FIRST NOT AFTER
//initialize variables
typeOfInterface = interfaceType;
item = itemType;
slider = (SeekBar)findViewById(R.id.slider);
decrementButton = (Button)findViewById(R.id.decrement_button);
incrementButton = (Button)findViewById(R.id.increment_button);
finalizeButton = (Button)findViewById(R.id.finalize_button);
cancelButton = (Button)findViewById(R.id.cancel_button);
amountTaken = (EditText)findViewById(R.id.amount_taken);
amountWitheld = (TextView)findViewById(R.id.amount_witheld);
-
- Posts: 45
- Joined: Tue May 31, 2011 6:23 am
Re: Bulk buy/sell/drop interface collaboration
Here's and apk to play around with. Let me know what you think
I currently have the dialog set up for selling 10 items of meat
Note: anything to deal with the slider either does not work or does not work correctly
Also note that as for the amount you're selling is currently being worked on as I'm finding a place to put it.
Yes I do know it says "press the button to buy something" when it should be sell, thats unimportant =P
I currently have the dialog set up for selling 10 items of meat
Note: anything to deal with the slider either does not work or does not work correctly
Also note that as for the amount you're selling is currently being worked on as I'm finding a place to put it.
Yes I do know it says "press the button to buy something" when it should be sell, thats unimportant =P
You do not have the required permissions to view the files attached to this post.
-
- Posts: 103
- Joined: Sun Jul 03, 2011 4:54 am
Re: Bulk buy/sell/drop interface collaboration
Can it be setup so items you only have one of in inventory/store don't invoke the slider?