Pages:
Author

Topic: Crypto Kingdom Ultima Version Development Thread - page 5. (Read 24685 times)

legendary
Activity: 1610
Merit: 1004
Hi guys, we need some testers to help test some specific issues with the ultima platform. Can people log in and let me know if these bug numbers are fixed and working as expected?

Code:
#16. API Purchase - positive price given but API asks for positive price

I can login and get a token, but when I try to buy some wine i get this error:

Code:
{
"token": "******",
"command": "buy",
"itemID": "W1604",
"amount": 1,
"price": 300000
}

{"status":200,"error":false,"data":{"result":"Price must be a positive integer."}}


bug #16 is fixed, i can buy now!  Cheesy

looking forward to some GET methods, would be nice to query the quantity of my own items and one to return the order book for any given item.

then its wine bot time  Cool
sr. member
Activity: 350
Merit: 250

You guys aren't missing it yet--the site is not yet live. We were hoping to make it live, but there were too many bugs in the trading engine a few days ago to keep the system live. We have a few blocker bugs that are being worked on as we speak, and we hope to make the site live soon. Once this is ready, everyone will be notified.


Edit: In the meantime, if you are able to help test the site so we can get it out sooner, that would be amazing!

I was going to ask as well, thanks for the notice, I personally have no problem waiting for quality stuff, thats what Monero is about Smiley
sr. member
Activity: 478
Merit: 250

OK Thanks for the response noms! Will snoop around the site and try to break things (in a helpful way)..
full member
Activity: 220
Merit: 100
Hello, i have received the password to activate the account, but i was unable to login.

I am using:
User name:bytemuma
Password: *********

This is the link that i am using
https://cryptokingdom.me/player/login

What i'm doing wrong?

Thanks.

Hi, I would love some clarification as to whether I can receive my login info yet. I am in the db. Have been scouring for info but can't find it. I do see that they will be asking for testers soon which makes me think its not time yet. I'll be happy to wait, but just wanna know if it is active and I am missing out. I received PM saying login info is ready but haven't received it. Have mercy on noob.


bytemuma and g4q34g4qg47ww: You guys aren't missing it yet--the site is not yet live. We were hoping to make it live, but there were too many bugs in the trading engine a few days ago to keep the system live. We have a few blocker bugs that are being worked on as we speak, and we hope to make the site live soon. Once this is ready, everyone will be notified.


Edit: In the meantime, if you are able to help test the site so we can get it out sooner, that would be amazing!
full member
Activity: 220
Merit: 100
Hi guys, we need some testers to help test some specific issues with the ultima platform. Can people log in and let me know if these bug numbers are fixed and working as expected?

Code:
#16. API Purchase - positive price given but API asks for positive price

I can login and get a token, but when I try to buy some wine i get this error:

Code:
{
"token": "******",
"command": "buy",
"itemID": "W1604",
"amount": 1,
"price": 300000
}

{"status":200,"error":false,"data":{"result":"Price must be a positive integer."}}




Code:
#14. Personal Items list not filtering. I can see my items when I click on "all my items" on the top right, but if I then click on a category in which I own some items, I get an empty list (visible, but empty). Now, if I click "all my items" again, I get an empty list too...


Code:
#13. The "space in command" happened again. User went back with cursor to count the number of zeroes before placing, then pressed enter, while the cursor was not at the end of the command. This causes the command to split, and then be submitted.

fix: can use 2000, 2k, 22k, 5mil, 2.2k, 5.255mil (which will be transferred to 5 255 000) etc.


Code:
#12. short buy command gives "something went wrong" instead of the usual syntax help/error:
buy mead
buy mead 0
buy mead 0 10

Code:
#3. Cancelsell and CancelBuy commands do not accept the "mil" unit.

fix: Added support for mil in any price expression..
Also added support for k which is represent of 1000.
1k = 1000
sr. member
Activity: 478
Merit: 250
Hello, i have received the password to activate the account, but i was unable to login.

I am using:
User name:bytemuma
Password: *********

This is the link that i am using
https://cryptokingdom.me/player/login

What i'm doing wrong?

Thanks.

Hi, I would love some clarification as to whether I can receive my login info yet. I am in the db. Have been scouring for info but can't find it. I do see that they will be asking for testers soon which makes me think its not time yet. I'll be happy to wait, but just wanna know if it is active and I am missing out. I received PM saying login info is ready but haven't received it. Have mercy on noob.
hero member
Activity: 574
Merit: 500
Hello, i have received the password to activate the account, but i was unable to login.

I am using:
User name:bytemuma
Password: *********

This is the link that i am using
https://cryptokingdom.me/player/login

What i'm doing wrong?

Thanks.
full member
Activity: 220
Merit: 100
Hi all, can you attempt to register and break the registration system for http://cryptokingdom.me?

Bugs we know about already:

Change color of age dropdown in registration as it is light grey on white
full member
Activity: 220
Merit: 100
Thanks, I wasn't sending as jsonrpc to begin with.

I can login and get a token, but when I try to buy some wine i get this error:

Code:
{
    "token": "******",
    "command": "buy",
    "itemID": "W1604",
    "amount": 1,
    "price": 300000
}

{"status":200,"error":false,"data":{"result":"Price must be a positive integer."}}


Thank you for testing saddam. I have created a ticket into the issue queue with this information. PJ will be on this as soon as possible Smiley
legendary
Activity: 1610
Merit: 1004
Thanks, I wasn't sending as jsonrpc to begin with.

I can login and get a token, but when I try to buy some wine i get this error:

Code:
{
    "token": "******",
    "command": "buy",
    "itemID": "W1604",
    "amount": 1,
    "price": 300000
}

{"status":200,"error":false,"data":{"result":"Price must be a positive integer."}}

legendary
Activity: 1276
Merit: 1001
Hm, I don't have anything in my params.

Just submitting the deviceID (which I assume is just an arbitary number?), username, and password in the request body.

could you maybe paste a curl command that works for you so i could see what i'm doing wrong?


That one worked (with different login/password):

curl --cacert /home/user/CryptoKingdom-cert --ssl -v -v --resolve 'Crypto Kingdom:443:188.166.24.181' -X POST 'https://Crypto Kingdom:443/api/login' -d '{"jsonrpc":"2.0","id":"0","deviceID":"1234567890abcdef","username":"user","password":"pass"}' -H 'Content-Type: application/json'
legendary
Activity: 1610
Merit: 1004
Hm, I don't have anything in my params.

Just submitting the deviceID (which I assume is just an arbitary number?), username, and password in the request body.

could you maybe paste a curl command that works for you so i could see what i'm doing wrong?
legendary
Activity: 1276
Merit: 1001
Yes, you probably included the "params": something, as bitmonerod needs. I did that at first and got that error. The parameters for CK need to be at top level, without a params set.
legendary
Activity: 1610
Merit: 1004
tried logging in via API, getting this error:

Code:
{
  "player": null,
  "error": true,
  "msg": "WARNING: array_keys() expects parameter 1 to be array, string given",
  "status": 500
}

any advice?
full member
Activity: 220
Merit: 100
Your transparency is great! I would like to help test things when ready.

Great! We would love to have you help. We will be trying to use the "1 bugfix -> 1 set of testing" mentality so that we will be able to narrow down specific items that have been fixed and declare a release candidate once all are resolved.
hero member
Activity: 686
Merit: 500


Our current issue queue has 14 items in it:

  • #14 Personal Items list not filtering a day ago
  • #13 Clarification on prices - use mil vs 000000 a day ago
  • #12 Short buy not working correctly a day ago
  • #11 Buying stone reverses the amount of stone and still charges a day ago
  • #10 API a day ago
  • #9 Add new player registration and tutorial a day ago
  • #8 Add visual admin tool a day ago
  • #7 Cancelling bids not working (for suits, maybe other) a day ago
  • #6 Monerito balance from trades not correct a day ago
  • #5 Built are and Stone in profile not implemented a day ago
  • #4 See quantities of all owners of certain item a day ago
  • #3 Cancelsell and CancelBuy commands do not accept the "mil" unit. a day ago
  • #2 IC not being removed when sold a day ago
  • #1 Item History reversed a day ago

We will be asking for testers soon, so please be ready Smiley

-The Marquess of White Cross

Your transparency is great! I would like to help test things when ready.
full member
Activity: 220
Merit: 100
Two new API Methods now exist! You can now login and also run CLI commands.  This is the start of making it possible for 3rd party integrations and applications to interact with Crypto Kingdom!

If anyone is technically-minded, it would be a great help if they could test these out. It will involve creating a post request (perhaps using postman?) and seeing if what you've done via the API is reflected in-game.  It will be good to get as many eyes on this as possible.


Code:
URL: http://cryptokingdom.me/api/login

Method: POST

Request

`{
    "deviceID": "112312312312312312",
    "username": "123",
    "password": "somePassword"
 }`
Success Response

`{
      "status": 200,
      "error": false,
      "data": {
        "username": "PJ",
        "playerID": "5611b...66",
        "email": "",
        "token": "0001-7f000001...e18ebace"
    }
}`

Code:
URL: http://cryptokingdom.me/api/post-command

Method: POST

Request

`{
    "token": "0001-7f000001-......-d7bcb690",
    "command": "dividend",
    "itemID": "MEAD",
    "sender": "1",
    "receiver": "1",
    "amount": "2"
}`
Success Response

`{
  "status": 200,
  "error": false,
  "data": {
    "result": "You do not have MEAD (or sufficient quantity of it)."
  }
}`
full member
Activity: 220
Merit: 100
Development updates for CK:

Firstly, the API has been coded and it has been rudimentarily hooked up to the system. You can now post a JSON string to the CK servers and it will execute commands, as long as you first run the authentication API request and get a token.  Right now it is only returning a string, but soon it will be a json object. Moneromooo has already written some basic unit tests for it, and will be adding more in the next couple days. The documentation for this should be written in the next few hours, and I will post it here.

The registration of new players via the UI has been in the system since the beginning, but as much in the system has changed since Ultima development started, it will need to be updated with those changes. New player registration via the API will also come, but that will be worked on at a later time, as the website should be first priority.


Github status:

Over the last week:

Excluding merges, 1 author has pushed 60 commits to master and 60 commits to all branches. On master, 103 files have changed and there have been 11,247 additions and 3,089 deletions.

Our current issue queue has 14 items in it:

  • #14 Personal Items list not filtering a day ago
  • #13 Clarification on prices - use mil vs 000000 a day ago
  • #12 Short buy not working correctly a day ago
  • #11 Buying stone reverses the amount of stone and still charges a day ago
  • #10 API a day ago
  • #9 Add new player registration and tutorial a day ago
  • #8 Add visual admin tool a day ago
  • #7 Cancelling bids not working (for suits, maybe other) a day ago
  • #6 Monerito balance from trades not correct a day ago
  • #5 Built are and Stone in profile not implemented a day ago
  • #4 See quantities of all owners of certain item a day ago
  • #3 Cancelsell and CancelBuy commands do not accept the "mil" unit. a day ago
  • #2 IC not being removed when sold a day ago
  • #1 Item History reversed a day ago

We will be asking for testers soon, so please be ready Smiley

-The Marquess of White Cross
full member
Activity: 220
Merit: 100
I don't want this to be misunderstood, so: I'm just trying to help out building a set of unit tests for the exchange matching system, I'm not a core dev or anything. The idea is to give PJ a way to easily check the matching code (and any changes to it) are free of any bugs that the tests catch (which hopefully will try to catch a large amount of them), which should give a much faster turnaround that asking people to test and report. That's all I'm doing.



And we thank you for that!  I meant core as in monero core dev, not CK core dev. I should have been more clear.
legendary
Activity: 1610
Merit: 1004
thank you Moooo!

When the db trading is real again I will deliver some excellent wines and spirits to you.
Pages:
Jump to: