Pages:
Author

Topic: Crypto Kingdom Ultima Version Development Thread - page 4. (Read 24700 times)

sr. member
Activity: 266
Merit: 250
New player registration:
Tested this today and it works fine.
Only I noticed that new player starts from level 0 which is named "0 Corporation", so perhaps that is not very intuitive. The new level system is coming so this is probably also fixed at the same time.

Global chat room:
In the IRC we were discussing a "global chat" that could be accessed with one click, perhaps addition to the links new player sees now (my character, town map, agora, wiki). The current "global chat" at Malla Palace might not be easy to happen upon, unless you know what you are looking for and also where to find it. Or even the link could lead to Malla Palace chat room (since it already exists the linking should be easy to make) just to have it more visible.

Ultima is looking great, and I want to thank all the people who worked so hard for the past weeks fixing the code so that it works a 100% now. Very excited to enter this new game era!
sr. member
Activity: 414
Merit: 251
Crypto Kingdom Ultima is now live!

We are live! Go ahead and log in Smiley

Your password should be the same as the one that was sent to you before, we have not updated. If, for some reason, they don't work, email SirJacket and he will be able to send to you.




Is it live only for existing players or for everyone?
legendary
Activity: 1610
Merit: 1004
Hooray!

Although I must report something is amiss with the marketplace/WINE not displaying any prices in the bid column, even though there are buy orders.
full member
Activity: 220
Merit: 100
Crypto Kingdom Ultima is now live!

We are live! Go ahead and log in Smiley

Your password should be the same as the one that was sent to you before, we have not updated. If, for some reason, they don't work, email SirJacket and he will be able to send to you.


full member
Activity: 220
Merit: 100
I'd think you could do 2-3 minutes and just make it so that it will loop well. Possibly two songs, one for inside a building, and one for in the exchange screens?

Okay no problem. Two looping tunes, 2-3 minutes in length.

What's your development deadline? Is ~7-10 days okay?

Sure, that would be fine. We are going to release soon, but we can always add music at a later time (7-10 days).
hero member
Activity: 714
Merit: 504
I'd think you could do 2-3 minutes and just make it so that it will loop well. Possibly two songs, one for inside a building, and one for in the exchange screens?

Okay no problem. Two looping tunes, 2-3 minutes in length.

What's your development deadline? Is ~7-10 days okay?
full member
Activity: 220
Merit: 100
If you guys need any music composed then drop me a PM.

Something along those lines would be pretty nice for immersion Smiley
https://www.youtube.com/watch?v=PDl6j3fAU5I


Yep - I can do that. Is this an official commission? Let me know to confirm.

MP3, WAV, AIFF, MIDI, Sp-MIDI, Yamaha SMAF-MA3, MA-5.... any format you like. Although I'm guessing a digital audio loop 44.1Khz WAV 16 would probably be best.

I have most 80/90s audio gaming chipsets as audio instruments so I would probably use something like that....8-bit or 16-bit.... whatever you want to do... Even just basic sine-generation over 4 channel harmony might work nicely for background ambient adventure style immersiveness.

How many minutes are you after? Let me know what you want to do.

I'd think you could do 2-3 minutes and just make it so that it will loop well. Possibly two songs, one for inside a building, and one for in the exchange screens?
hero member
Activity: 714
Merit: 504
If you guys need any music composed then drop me a PM.

Something along those lines would be pretty nice for immersion Smiley
https://www.youtube.com/watch?v=PDl6j3fAU5I


Yep - I can do that. Is this an official commission? Let me know to confirm.

MP3, WAV, AIFF, MIDI, Sp-MIDI, Yamaha SMAF-MA3, MA-5.... any format you like. Although I'm guessing a digital audio loop 44.1Khz WAV 16 would probably be best.

I have most 80/90s audio gaming chipsets as audio instruments so I would probably use something like that....8-bit or 16-bit.... whatever you want to do... Even just basic sine-generation over 4 channel harmony might work nicely for background ambient adventure style immersiveness.

How many minutes are you after? Let me know what you want to do.
legendary
Activity: 1610
Merit: 1004
Looks awesome! Great job everyone.

I will work on a Node.js wrapper for the API this weekend.
legendary
Activity: 1512
Merit: 1012
Still wild and free
If you guys need any music composed then drop me a PM.

Something along those lines would be pretty nice for immersion Smiley
https://www.youtube.com/watch?v=PDl6j3fAU5I
hero member
Activity: 714
Merit: 504
If you guys need any music composed then drop me a PM.
full member
Activity: 220
Merit: 100
Development Update - Release of Ultima is imminent!

The app code has reached RC status! The dev team has been tirelessly testing and it has been a combined effort of myself, The Wizard, Moneromooo and SirJacket. There have been a number of major blocker bugs fixed, the most important one being the Agora Exchange matching issue. At this point everything we have tried has worked, and there have been zero errors in any trading that has taken place.

New User Registration
You will be happy to know that new user registration has been added to the game and has been tested and is working!  Now everyone who wants to join will be able to Smiley

API Information

There is an API in the game, which is the path for 3rd-party integrations. The following functionality that is currently in the GUI app can now be replicated via API commands:

Public:
-------
/post-command
/getStateForItem/:itemID


Admin-Only
-----------
/setState
/getState
/resetState/:token


To call the API you need to pass a json data payload to it, with this type of format:

Code:
URL: /api/post-command

Method: POST

Request

{
    "token": "0001-7f000001-......-d7bcb690",
    "command": "buy",
    "itemID": "MEAD",
    "amount": "2",
"price": "120000"

}

A token is required, which can be obtained from the URL: /api/login

Code:
Method: POST

Request

{
    "deviceID": "112312312312312312",
    "username": "123",
    "password": "somePassword"
 }
 
 

I have also quickly written a PHP wrapper class that should make coding bots easier. You can get to it here: https://github.com/spherico/ck_api
 
It's not perfect and probably has some bugs, but it encapsulates the basic functionality of the API. You can use it like this:
 
Code:
$api = new CryptoKingdomAPI();
$api->set_url($url) ;
$api->set_username($username) ;
$api->set_password($password) ;
$api->set_device_id($device_id);
$response $api->buy_item("W1603"1300000);
?>

There is additional information about commands in the readme of the repository.

We are almost ready to release!

Once we can get this deployed, the King needs to do some year changeover tasks and then the system should be live! I will let you know once you can play with it.  The Bids/Asks will be removed, as well as all trades that have taken place on the Ultima platform before today. The google sheets will be reimported so the data will be fresh.

Questions or comments? Please ask!
-Wizard, Noms, Moo, SirJacket
donator
Activity: 1722
Merit: 1036
Hi,

This might be a right place to ask about the speedy reinstating of the automatic King's Coinshop. It definitely adds a great amount of liquidity when open.

It works as follows:
- 100 CKG gold bars are used as a standard item
- The character owns ~200,000 CKG, and all of it is listed for sale in an exponential ladder starting from 700,000 and reaching 50,000,000.
- Also all of the 25,000,000,000 m is listed in bids, reaching from 650,000 to 1, and covering all the CKG that exists.
- Each time one ask is executed, a bid is added to the next higher bid level (a fixed number of levels will remain empty to be the "spread" which allows others to set up walls etc., otherwise the bids and asks use the same price points, resulting in that the percentage spread stays constant)
- If a bid is executed, the ask ladder similarly creeps down.

Someone can tell what methods allow this script?

You will need:
- POST method that returns your completed trade history for a certain item
- POST method to add buy/sell orders (already done)

From there it is a matter of writing a script that checks your trade history at a regular interval, if changed then evaluate the order book, and place new orders accordingly.

Also would be nice to expose an "orderID" of some variety, to make it easier to cancel existing orders. For example ("cancel " instead of having to do "cancel ").

Thanks,

King's Coinshop does not cancel orders. Its operation (once initialized with the "infinite ladder") can be summarized as follows:
- Every time King's Coinshop bid is executed, place an ask 3% higher than the bid was.
- Every time King's Coinshop ask is executed, place a bid 3% lower than the ask was.

This is the law and the prophets.

Therefore, the methods needed are reduced to:
- query of trade history.
legendary
Activity: 1610
Merit: 1004
Hi,

This might be a right place to ask about the speedy reinstating of the automatic King's Coinshop. It definitely adds a great amount of liquidity when open.

It works as follows:
- 100 CKG gold bars are used as a standard item
- The character owns ~200,000 CKG, and all of it is listed for sale in an exponential ladder starting from 700,000 and reaching 50,000,000.
- Also all of the 25,000,000,000 m is listed in bids, reaching from 650,000 to 1, and covering all the CKG that exists.
- Each time one ask is executed, a bid is added to the next higher bid level (a fixed number of levels will remain empty to be the "spread" which allows others to set up walls etc., otherwise the bids and asks use the same price points, resulting in that the percentage spread stays constant)
- If a bid is executed, the ask ladder similarly creeps down.

Someone can tell what methods allow this script?

You will need:
- GET method that returns the open order book (asks and bids) for an item
- POST method that returns your completed trade history for a certain item
- POST method to add buy/sell orders (already done)
- POST method to cancelBid/cancelAsk (already done?)

Bonus method that would be nice, but not completely necessary given the above:
- POST method to moveOrder, that would cancel an existing order and place a new one immediately in the same transaction (can define new rate and amount)

From there it is a matter of writing a script that checks your trade history at a regular interval, if changed then evaluate the order book, and place new orders accordingly.

Also would be nice to expose an "orderID" of some variety, to make it easier to cancel existing orders. For example ("cancel " instead of having to do "cancel ").
legendary
Activity: 1750
Merit: 1036
Facts are more efficient than fud
So I'm crossing my fingers, but it sounds like once we get the goahead from the wizard (today??!?)

I read that as ....once we get the goathead from the wizard--I was thinking, "Noms is really committing to character."
donator
Activity: 1722
Merit: 1036
Hi,

This might be a right place to ask about the speedy reinstating of the automatic King's Coinshop. It definitely adds a great amount of liquidity when open.

It works as follows:
- 100 CKG gold bars are used as a standard item
- The character owns ~200,000 CKG, and all of it is listed for sale in an exponential ladder starting from 700,000 and reaching 50,000,000.
- Also all of the 25,000,000,000 m is listed in bids, reaching from 650,000 to 1, and covering all the CKG that exists.
- Each time one ask is executed, a bid is added to the next higher bid level (a fixed number of levels will remain empty to be the "spread" which allows others to set up walls etc., otherwise the bids and asks use the same price points, resulting in that the percentage spread stays constant)
- If a bid is executed, the ask ladder similarly creeps down.

Someone can tell what methods allow this script?
full member
Activity: 220
Merit: 100
Crypto Kingdom Development Update

So there is some very good news on the horizon. We have just met up with the wizard in his castle, and his magical experiments are nearly at their conclusion! What does this mean to you? Well, here is a bit of conversation in internal dev chat:

Quote
sphericon: can we release yet?

wizarddeveloper: it will require an hour or two of my work today and we are ready after that  Smiley

So I'm crossing my fingers, but it sounds like once we get the goahead from the wizard (today??!?) we can reimport the initial database import, revert data to all good, and then the game is unpaused!!!


I will let you all know as soon as you can pull the trigger Smiley

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

  • Registration should send a confirmation email, perhaps?
  • When registering with the same email you only get a Registration failed message. I understand the need to prevent email scanning but one way to address this could be to send an email with something in the lines of: "It seems you tried to register with this email. You are already a CK Player! Did you forgot your password et etc."
  • If you attempt to register with a username or password smaller than 3 chars it just shows the message "Please correct required fields". It would be useful to state that what the problem is and highlight the field. Also minimal password strength should be enforced.
  • Usernames are not exclusive



Thanks, I've entered a "new feature request" issue into the issue database!
hero member
Activity: 649
Merit: 500
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

  • Registration should send a confirmation email, perhaps?
  • When registering with the same email you only get a Registration failed message. I understand the need to prevent email scanning but one way to address this could be to send an email with something in the lines of: "It seems you tried to register with this email. You are already a CK Player! Did you forgot your password et etc."
  • If you attempt to register with a username or password smaller than 3 chars it just shows the message "Please correct required fields". It would be useful to state that what the problem is and highlight the field. Also minimal password strength should be enforced.
  • Usernames are not exclusive

full member
Activity: 220
Merit: 100
Agora Exchange Matching System Update

So the Wizard Developer has been working tirelessly in his castle to get the exchange code ready. There is now a state system setup. Why does this matter? This means that now Moneromooo's code can get a state, run a test, and compare the expected result with the actual result. This is absolutely key in making sure that there are no errors in the exchange. Once these tests are setup, it then means new features can be added to the exchange and these tests will ensure that all existing features are functioning as expected.

Since that was completed, he switched gears to work on the matching bugs, and it is hoped that they will be finished in the next 12-18 hours.  This will include a preview of the command result combined with a master changelog which can restore the executed command with a single click. This should be a great improvement in gaining trust amongst players.

Once these changes are complete, we will be releasing it to the production site and then you guys can go wild.

Then, as saddam said:

then its wine bot time  Cool




Pages:
Jump to: