Bitcoin Forum
May 08, 2024, 02:03:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [All]
  Print  
Author Topic: Crypto Kingdom Ultima Version Development Thread  (Read 24617 times)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 05, 2015, 06:29:21 PM
 #1

This thread is for the Ultima technical development. Gameplay belongs to the main thread.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
1715177004
Hero Member
*
Offline Offline

Posts: 1715177004

View Profile Personal Message (Offline)

Ignore
1715177004
Reply with quote  #2

1715177004
Report to moderator
1715177004
Hero Member
*
Offline Offline

Posts: 1715177004

View Profile Personal Message (Offline)

Ignore
1715177004
Reply with quote  #2

1715177004
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
binaryFate
Legendary
*
Offline Offline

Activity: 1484
Merit: 1003


Still wild and free


View Profile
August 05, 2015, 06:42:51 PM
 #2

Any way to get a test login already?

EDIT: Just noticed the "Explore anonymously" link. Leading to 404 for now.

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
August 05, 2015, 06:46:49 PM
 #3

This thread is for the Ultima technical development. Gameplay belongs to the main thread.

How do we login with are current characters?

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 05, 2015, 06:48:03 PM
 #4

You can create a new character from the "Register" link. After this you "Login".

You can currently add your own wealth ie. the "edit balances" mode is enabled for the character, which of course would not happen when it's in serious play.

Make sure to enter all of your known titles! Wink

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 05, 2015, 06:49:14 PM
 #5

This thread is for the Ultima technical development. Gameplay belongs to the main thread.

How do we login with are current characters?

Create a new character and add your information. This is test mode, you can add whatever you want, but please add the actual data so that we can practise stuff such as listing according to X etc.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
binaryFate
Legendary
*
Offline Offline

Activity: 1484
Merit: 1003


Still wild and free


View Profile
August 05, 2015, 06:54:57 PM
 #6

Make sure to enter all of your known titles! Wink

My venerable age (and that of most players) is not part of the possible choices on the 'Edit profile' page.

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 05, 2015, 06:59:00 PM
 #7

Make sure to enter all of your known titles! Wink

My venerable age (and that of most players) is not part of the possible choices on the 'Edit profile' page.

Let's see how fast is the feedback time on this! Smiley

Tell me when it works  Wink

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
binaryFate
Legendary
*
Offline Offline

Activity: 1484
Merit: 1003


Still wild and free


View Profile
August 05, 2015, 07:02:13 PM
 #8

Little bugs?
- The "land" field can't be saved and falls back to zero.
- The password seems to reinitialize to 3 characters whenever we visit the "Edit profile" page. Don't know yet if that is just display error or actually changed in DB.

It's encouraging, and I like this extreme approach. I'm eager to somehow move the map so I can see my house!

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
August 05, 2015, 07:12:05 PM
 #9

Maybe because I've invested so much of my time and energy in the game already, I don't want to manually input more values in a separate mirror of the game...

I feel like CK should be building on the core of what has made it successful and fun so far which is the Google DB, everything else should grow from there.

I used this tool to make cryptokingdomgold.com - https://github.com/jsoma/tabletop

Perhaps the dev could use that so our stats are live updated and everything still exist in one core place?


Ale
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
August 05, 2015, 07:13:20 PM
 #10

Same bugs encountered as BinaryFate +

- Can't login with created account
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
August 05, 2015, 07:24:33 PM
 #11

Same bugs encountered as BinaryFate +

- Can't login with created account

Can't login with created account and "forgot Password" doesn't work.

saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
August 05, 2015, 07:25:29 PM
 #12

Bug:

http://188.166.24.181/game/add-character

leads to a blank page. Maybe still in the works?

Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 05, 2015, 07:27:26 PM
 #13

Hello everyone,

I am the lead developer for new version of Crypto Kingdom.

Thanks everybody for great feedback, please continue Smiley

Let me answer to some of yours questions:
- Manual input:
The reason why you are need to update data manually is speed. We wanted you to get a feeling of new UI as soon as possible. I am working currently on implementation of automated script which will update your data "automagically". This is just first step and everything you see is result of our 3 day's work Smiley
 
- Age is increased and live.

- Account access:
There was an bug with saving password in backend script, which accidentally rewrite your password. Your account is still there, but you will just need to reset password in order to access it. The reason why it showed *** is: your passwords are encrypted and nobody can't see what it is. I updated message for password fields, so you won't get confused anymore..

Thanks everybody for patience and sorry for initial inconvenience Smiley
 
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
August 05, 2015, 07:37:49 PM
 #14

Security bug:

If I click edit profile and change the number of userID I can go directly to another users page!

saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
August 05, 2015, 10:54:43 PM
 #15

Security bug:

If I click edit profile and change the number of userID I can go directly to another users page!

Looks already fixed! Nice work PJ. This guy is quick.

blacky90
Full Member
***
Offline Offline

Activity: 384
Merit: 117


View Profile WWW
August 05, 2015, 10:57:50 PM
 #16

I Want to see some Screenshots Huh

saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
August 05, 2015, 11:07:32 PM
 #17

This should probably be in the OP for people that come to this thread not knowing where to find the link in the main CK thread:

"Ultima Version First Iteration" is playable.

Discussion concerning it, including technical feedback HERE.


The Ultima Version of CK design was started in June as a response to the V.4 development deviating further and further from the development principles set when CK started:

- Rapid version launch
- Direct access to developer
- Agile development
- Real-time development.

The current release was made in 2.5 workdays. Its database design has taken into account the "final" featureset. The UI and graphics can be changed and/or customized as needed.

The whole length of Ultima project is about 100 workdays. It should be enough for the "complete game" as explained earlier.

We are considering the possibilities whether data could be migrated to the platform significantly earlier.

Please use the newly opened thread for all communication that relates to the Ultima platform. Report actual bugs and errors, avoid to report things that you can reasonably conclude are already in my knowledge, since I will be the hub gathering feedback and directing it to the programmer. For this and the following week, we will be doing this 16/7.

Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 06, 2015, 07:45:54 AM
 #18

Hello again,

Just a quick info about yesterday's issues:

- Reset password is fixed and working now. It was long list of steps, but it is completed. Email you will receive after you submit your username or email  for reseting, could end in spam inbox. So, please check there if you don't see email at first.
- Security problem is solved. Now you can't see any other account / character except your own. Thanks for finding this.
- Empty character screen: yes, that screen is still in progress.. We wanted to provide you more than one character in game, but for practical reasons and complications which could arise with that, we delayed that for a bit later phase... Will remove that button, so you won't get confused Wink

Next steps:
- Linking google database with Ultima (this new UI one) and automatic update without need to change data manually anymore
- I agree with you, static map is not interesting at all. One of the effort will be to have dynamic render of complete map.

Thanks for your feedback, it was very valuable and please continue. I promise I will do my best to fix every issue as fast as possible Wink
iluvbitcoins
Legendary
*
Offline Offline

Activity: 2198
Merit: 1150


Freedom&Honor


View Profile
August 06, 2015, 11:15:09 AM
 #19

Clicking register leads me to

Slim Application Error
The application could not run because of the following error:

Details

Type: ErrorException
Code: 2
Message: include(/var/www/html/current/vendor/googleSheet/buildrequesturl.php): failed to open stream: No such file or directory
File: /var/www/html/releases/20150806110031/app/controllers/PlayerController.php
Line: 44
Trace

#0 /var/www/html/releases/20150806110031/app/controllers/PlayerController.php(44): Slim\Slim::handleErrors(2, 'include(/var/ww...', '/var/www/html/r...', 44, Array)
#1 /var/www/html/releases/20150806110031/app/controllers/PlayerController.php(44): CryptoKingdom\PlayerController::dashboard()
#2 /var/www/html/releases/20150806110031/app/bootstrap/routes.player.php(94): CryptoKingdom\PlayerController::dashboard()
#3 [internal function]: {closure}()
#4 /var/www/html/releases/20150806110031/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#5 /var/www/html/releases/20150806110031/vendor/slim/slim/Slim/Slim.php(1357): Slim\Route->dispatch()
#6 /var/www/html/releases/20150806110031/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#7 /var/www/html/releases/20150806110031/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#8 /var/www/html/releases/20150806110031/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#9 /var/www/html/releases/20150806110031/vendor/slim/slim/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#10 /var/www/html/releases/20150806110031/app/bootstrap/start.php(76): Slim\Slim->run()
#11 /var/www/html/releases/20150806110031/app/bootstrap/setup.php(20): require_once('/var/www/html/r...')
#12 /var/www/html/releases/20150806110031/index.php(Cool: require_once('/var/www/html/r...')
#13 /var/www/html/index.php(2): require_once('/var/www/html/r...')
#14 {main}

Looking for a signature campaign.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 06, 2015, 12:13:49 PM
 #20

As mentioned in the main thread, we are exploring ways for effortless data transfer from google-DB to Ultima DB.

The important thing is to define all data types exactly. For this reason I will have to edit and combine the data types in the google-DB to achieve an even more sleek and robust structure.

Installed Chrome, which does not make the use of google-DB very fast, but it is now fast enough that such a thing can be carried out, and has never jammed the machine yet. Recommended to all the admins at minimum!

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
August 06, 2015, 12:46:50 PM
 #21

Next steps:
- Linking google database with Ultima (this new UI one) and automatic update without need to change data manually anymore

Hi PJ

One thing I found that helped me pull data out of the Google DB is using an intermediate sheet to link only the data I want using =IMPORTRANGE("). Then grab the data from that sheet (I used Tabletop.js library), easy way to ignore all the data that doesn't need to be imported.

For example:
Code:
=IMPORTRANGE("1tgIzgMza7NQsTpMO9pHke1ZVXYH7l5Sj5bHdZHItivo", "trade_gold!C7")

Anyway, I am just a beginner developer so perhaps you have a better solution!

Getting ahead of myself:
I also found this resource to be of use, in case you are considering implementing two way changes to the DB at some point:
https://mashe.hawksey.info/2014/07/google-sheets-as-a-database-insert-with-apps-script-using-postget-methods-with-ajax-example/

saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
August 07, 2015, 01:08:15 AM
Last edit: August 07, 2015, 01:14:24 PM by saddambitcoin
 #22

I am also getting an error, except this time its at line 255. Guessing you probably know this but just in case!

Code:
Type: PDOException
Code: 1045
Message: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
File: /var/www/html/releases/20150806130045/vendor/j4mie/idiorm/idiorm.php
Line: 255

Trace

#0 /var/www/html/releases/20150806130045/vendor/j4mie/idiorm/idiorm.php(255): PDO->__construct('mysql:host=loca...', 'root', '*****', NULL)
#1 /var/www/html/releases/20150806130045/vendor/j4mie/idiorm/idiorm.php(237): ORM::_setup_db('default')
#2 /var/www/html/releases/20150806130045/app/models/PlayerModel.php(190): ORM::for_table('player')
#3 /var/www/html/releases/20150806130045/app/models/PlayerModel.php(51): CryptoKingdom\PlayerModel::checkUsername('*****@gm...')
#4 /var/www/html/releases/20150806130045/app/controllers/PlayerController.php(29): CryptoKingdom\PlayerModel::registerPlayer(Array)
#5 /var/www/html/releases/20150806130045/app/bootstrap/routes.player.php(45): CryptoKingdom\PlayerController::registerPlayer(Array)
#6 [internal function]: {closure}()
#7 /var/www/html/releases/20150806130045/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#8 /var/www/html/releases/20150806130045/vendor/slim/slim/Slim/Slim.php(1357): Slim\Route->dispatch()
#9 /var/www/html/releases/20150806130045/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#10 /var/www/html/releases/20150806130045/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#11 /var/www/html/releases/20150806130045/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#12 /var/www/html/releases/20150806130045/vendor/slim/slim/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#13 /var/www/html/releases/20150806130045/app/bootstrap/start.php(76): Slim\Slim->run()
#14 /var/www/html/releases/20150806130045/app/bootstrap/setup.php(55): require_once('/var/www/html/r...')
#15 /var/www/html/releases/20150806130045/index.php(8): require_once('/var/www/html/r...')
#16 /var/www/html/index.php(2): require_once('/var/www/html/r...')
#17 {main}


Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 07, 2015, 07:53:26 AM
 #23

Hello,

Issue you experienced is fixed and live now. Thanks for letting me know.

I found a working solution how to implement all data from google sheet database  to Ultima and it will be live in a few hours max. Stay tuned Smiley


rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 07, 2015, 08:30:21 AM
Last edit: August 07, 2015, 09:31:19 AM by rpietila
 #24

The next focus points will be:
- Finalising the Character Screen to show all the needed info, viewable, editable and hidable, with permissions
- Finding a solution to the data synchronising between googleDB and Ultima; how to transfer data both ways (and if not possible, how does it affect)
- Mapping the land and having a land create editor.

In Ultima, Borough is a basic unit of land, and the whole world consists of a (x,y) grid of boroughs, which are centered on the Obelisk. Most of the boroughs are rural, and are not very interesting. If the borough is urban, it is subdivided to 9 chapelries and these further to 150x100 "2D grid atoms", 1x1 m in size. A "lot" is one or more of these land atoms, but maximum one chapelry. Lots can be of any size and shape.

When land is "created", Town urbanizes a borough, so it becomes 9 lots, each 1 chapelry in size. These are sold to the land developers at 1,000 mil each. The land developers would typically quarry them first, and then landscape, terraform, garden, etc. the areas and divide them to lots of preferred size. (Lot borders can be defined by corner points or visually). Then the new lots can be put to the market.

The Kingdom of Crypto Kingdom consists of about 1 million boroughs. In the city, it is relevant to subdivide one borough to hundreds of pieces. In the countryside, it is relevant to combine 10,000s of boroughs to Duchies.

As for Lots, the current thinking is to create the Lot editor, and add the Lots via the editor by a few admins. Admins, stay tuned today - we might have the lot registry ready sooner than you expect, but only if you help!  Cheesy

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Professor James Moriarty
aka TheTortoise
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
August 07, 2015, 12:16:10 PM
 #25

#0 /var/www/html/releases/20150806130045/vendor/j4mie/idiorm/idiorm.php(255): PDO->__construct('mysql:host=loca...', 'root', 'VKBC8y07dy', NULL)

PDO->__construct('mysql:host=loca...', 'root', 'VKBC8y07dy', NULL)

'root', 'VKBC8y07dy'

VKBC8y07dy

Maybe you need to let professionals do this instead of some amateur who doesn't know what he's doing. Letting a web application use root access to mysql is stupid but revealing the password in your public error trace is just messed up. You guys are going to lose everyone's money, mtgox 2.0
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
August 07, 2015, 01:27:41 PM
 #26

I had a feeling I should have blocked that out. Thank you Professor, for pointing out the security issue.

To address your concerns about money, 99% of user funds are being stored in a cold wallet. The rest is not even able to be accessed by this front end or stored in the db for that matter.

Beyond that, in the future viewkeys will be published so that anyone can independently verify the balances on their own.

I think the point of the development being out in the open like this is to quickly identify bugs and security flaws before progressing, and so far it seems to be working.

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 07, 2015, 01:32:53 PM
 #27

Dear Professor,

As can be seen from the thread title, this is a development environment. We are using agile+scrum methodology, which is the reason that stuff normally confined to the devs only in their offline systems, are now visible to the whole community (and everyone) online. The community input and testing forms a very important boost enabling to get it done fast and right.  Smiley

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Professor James Moriarty
aka TheTortoise
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
August 07, 2015, 04:51:10 PM
 #28

Dear Professor,

As can be seen from the thread title, this is a development environment. We are using agile+scrum methodology, which is the reason that stuff normally confined to the devs only in their offline systems, are now visible to the whole community (and everyone) online. The community input and testing forms a very important boost enabling to get it done fast and right.  Smiley

lol 'agile+scrum'

Don't use buzzwords you don't understand. This is obviously written by an incompetent amateur and is going to be a nightmare.

I'll leave this here http://seclists.org/fulldisclosure/2015/Mar/16
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 07, 2015, 05:32:36 PM
 #29

A quick conversation with the Wizard revealed that the so-called "password visible" was in fact nothing that could be utilized, just a lame attempt to derail our development.

So the so-called "professor" can consider going to other threads to be disrespectful to other people. This is the ban from this thread, any further posts will be reported.

Thank you and hope to see you never again! Smiley


Troll caution: There is no shortage of paid harassment and/or disillusioned supporters of shitcoins that pose as something knowledgeable and spread FUD. Writing to this thread is forbidden for future trolls, and if needed, one more self-moderated thread will be created to keep "professors" out of our game. Sorry for all the others.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 07, 2015, 05:33:53 PM
 #30

Phew, a full 48 hours without malicious feedback  Tongue Tongue

For the record, I and P.J. spent about 30 minutes in total discussing about this and writing to you so unfortunately it paid off as a harassment. That's why in the future, negative and disrespectful outsider feedback will be deleted without mercy.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 09, 2015, 07:16:54 PM
 #31

Today's release is related to Land management:

- Lots are now manageable, and the colorful map of lots generates automatically
- Boroughs and chapelries are implemented.

Soon (a few days):
- More layers will be added to the map, so that you can view the lot owners, building density, floorplans, commercial (owner-defined) content etc.
- All characters and linkage to lots
- Lot view, to list all lot stats
- Editor for building pixel images for your lot canvas
- World map (bird's eye all boroughs)

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 12, 2015, 11:33:41 AM
 #32

Crypto Kingdom Ultima "Ancients"

The first spex for the online version called for such a version to be ready in 3-4 weeks.

Now a planned soft release time is set for Friday night, 11 days and a few hours from the start of the Ultima project, to deliver a playable beta including the desired functionality.

Quote
The overall design philosophy is incrementalism. We do not exactly know what features the game will need in the future, also the amount of players cannot be estimated with any certainty. The development should be very lean with only the features that are deemed needed to implement now. It is expected that the game will continue to have resources which are outside the now-starting online version, and the border between this game and external functions is intended to be very blurred anyway once the integration tools for customized functionalities start to be brought to the game from the V.3 on.

This principle from the Spex is honored to the fullest.

It should be noted that the Ultima version was not originally designed to be "V.2: Ancients" so it does not completely map to the Ancients spex.

Main additions:
- Town map in addition to the Chapelry (Main City) Screen, Lot Screen and Character Screen
- Different layers in Chapelry screen show Lot-specific information in graphic format
- More things listed in Lot screen and Char screen based on the much widened scope of the game
- Chat window part of each Lot separately instead of one global

Main subtractions:
- Completely pixellated UI is scrapped for a more sleek design (the reason for pixellation was to make it quick to develop, which did not turn out to be true)
- Is not tested with smartphone
- No tipping and drinking in the Trollbox
- Some formulas, scripts etc may not be complete
- No incoming cryptocurrency management

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 14, 2015, 02:59:44 PM
Last edit: August 14, 2015, 03:13:44 PM by Wizard Developer P.J.
 #33

Hello everybody,

I have an honour to announce today's release of Crypto Kingdom Ultima version.
Address is: http://cryptokingdom.me (yes, we got a new domain too !!) Cheesy

Most important changes in today release are:
- lot detail screen with a lot of informations there (including automatic calculation of lot area and details of buildings)
- character profile screen with all promotions and decorations listed historically, amount of player wealth and current possession
- active chapelry maps! now you can interact with each lot on the map, go back and fort between different regions and boroughs and explore land like you will do in 1600-th.
- not only that, you can chat with other people in same location (lot) and back to middle age time where you needed to go to different location in order to speak with each other. Sounds crazy from from this perspective Smiley

Anyway, all players and characters from google db are here. In order to give everyone opportunity to play and test new UI and functionality, HM Kings gave me approval to unify all usernames and password for each character, so everybody can be the King. (At least, for a moment)
In order to login with some character, use his short name from google db (Column B: Account owner/wealth mgr) and add @criptokingdom.me at the end.

Like this:
Wizard Developer P.J.@cryptokingdom.me  (even if user name contains special characters or spaces, use it like that, without changing anything)

For password, just use: crypto2015

And don't worry about security, all that we currently store in Ultima db is just temporary. Main google DB won't be changed at all.

Enjoy playing and please let the know for each bug you find or question you have.

Best,
Wizard Developer P.J.

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 14, 2015, 03:50:07 PM
 #34

Hello,

No party goes exactly as scripted. The previous announcement login should be the "Full Name in Game"@cryptokingdom.me instead!

If you are desirous of some wine, please meet me in the Royal Palace chat window! First ones get the most Wink

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
August 15, 2015, 11:11:49 AM
 #35

Development notes to Wizard:
1. I am not able to change avatar. t worked initially when testing, and I uploaded a much-too-modern avatar that I would find appropriate to change.
2. Browsing character main screens I found that some characters have all badges, honors and level updates view-able on profile. And others like myself (char id 17), don´t have them.
No hurry, just putting it out here for information.
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 17, 2015, 07:20:02 PM
 #36

Development notes to Wizard:
1. I am not able to change avatar. t worked initially when testing, and I uploaded a much-too-modern avatar that I would find appropriate to change.
2. Browsing character main screens I found that some characters have all badges, honors and level updates view-able on profile. And others like myself (char id 17), don´t have them.
No hurry, just putting it out here for information.

Dear @Roopatra,

Avatar will be fixed in very short time.. Also, the main issue we have with some of the accounts are duplicate records. We expecting another transition which will happened next week (Thursday 25th) when we will migrate whole Google DB to Ultima and do clean installation. Yes, for some of the players this means they will need to upload avatar again (very sorry for that) but after that we will not delete anyone and all actions will be official and recorded with full attention and care.

Thanks for notes and will update/fix existing issues very quickly Smiley

Best,
Wizard Dev. PJ
binaryFate
Legendary
*
Offline Offline

Activity: 1484
Merit: 1003


Still wild and free


View Profile
August 18, 2015, 11:10:27 AM
Last edit: August 18, 2015, 11:23:58 AM by binaryFate
 #37

My password didn't work, even after reseting with email link. So I registered again and now it seems I have two accounts with same email. I still can't log to the first one, which is correct and linked to the DB I think (char_id 14).

EDIT: Nevermind that, didn't see the recent post about unified names! Will try.

EDIT 2: Doesn't work. I tried with "Sir binaryFate, The Earl of Naoned"@cryptokingdom.me or Sir binaryFate, The Earl of Naoned@cryptokingdom.me or binaryFate@cryptokingdom.me and password "crypto2015".

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 19, 2015, 12:03:36 AM
 #38

Dear @binaryFate,

Sorry for waiting resolving your issue, I was travel back to home on Sunday and it took me some time to adapt to change a bit..

Your issue should be solved now.
Please try to login with this username:
Sir binaryFate, The Earl of Naoned@cryptokingdom.me

Your password remained unchanged, so try the same like you mentioned in your post.

If you still have an issue to login, let me know and I will fix it, this time much faster Smiley

Best,
Wizard Developer PJ
binaryFate
Legendary
*
Offline Offline

Activity: 1484
Merit: 1003


Still wild and free


View Profile
August 19, 2015, 04:54:09 AM
 #39

Dear @binaryFate,

Sorry for waiting resolving your issue, I was travel back to home on Sunday and it took me some time to adapt to change a bit..

Your issue should be solved now.
Please try to login with this username:
Sir binaryFate, The Earl of Naoned@cryptokingdom.me

Your password remained unchanged, so try the same like you mentioned in your post.

If you still have an issue to login, let me know and I will fix it, this time much faster Smiley

Best,
Wizard Developer PJ

Login works, thank you!

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
August 22, 2015, 04:22:36 PM
 #40

Hi P.J., can you help me with my account? Tried logging in today after some time away, says wrong credentials and reset password doesn't seem to be sending me an email.

Also, great work with the city map! The new details look awesome.

generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
August 23, 2015, 06:00:41 PM
 #41

What are the details for the building editor? I was playing around with it and I like the set-up. Though block production is flaky--sometimes the block appears as soon as you click, sometimes you won't be able to place a block until you've placed a few more blocks near it, and sometimes it won't appear at all. Also, will there be rotational-view in the future versions? This part of the game is the one i'm most excited to play--your creativity and hard work can make a mediocre lot an architectural masterpiece.

Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 24, 2015, 06:47:40 AM
 #42

Hi P.J., can you help me with my account? Tried logging in today after some time away, says wrong credentials and reset password doesn't seem to be sending me an email.

Also, great work with the city map! The new details look awesome.

Hi @ saddambitcoin,

Your username (full name) is recently changed in Google Sheet DB, which caused this sort of confusion. Your new username for login should be:
Corp; CEO = 7@cryptokingdom.me
with same password like previously.

We are getting close to the date when ultima db will become primary db and  your usernames won't be change anymore, but for now, sorry for inconvenience.

Let me know if you or anyone else have similar issues again.

PS. I am very glad you like my work. I will continue with great results, for sure Smiley
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 24, 2015, 06:56:09 AM
 #43

What are the details for the building editor? I was playing around with it and I like the set-up. Though block production is flaky--sometimes the block appears as soon as you click, sometimes you won't be able to place a block until you've placed a few more blocks near it, and sometimes it won't appear at all. Also, will there be rotational-view in the future versions? This part of the game is the one i'm most excited to play--your creativity and hard work can make a mediocre lot an architectural masterpiece.

Hi @generalizethis,

Current version of buildings editor is more like an experiment or playground, published with a purpose to give you an idea how future editor could look like. Of course, blocks for building will not be that big and whole experience will be much more smooth and intuitive.
This is also a reason why current version have glitches and difficulties, but thanks to your and feedback from others, I will remember and implement in next version all improvements we found.

I hope I will prepare next version very very soon, so you can start living your fully digital life in Crypto Kingdom Smiley
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 24, 2015, 07:50:47 AM
 #44

In the

http://cryptokingdom.me/player/dashboard

it is not showing the Promotion History and Decorations correctly. There is only the title but no data.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 24, 2015, 07:56:36 AM
 #45

(I think) We need to open Treasurer-accounts to correctly show who has the XMR that is backing up the moneretos. Currently it seems as if all is my responsibility which naturally is not the case Smiley

These accounts would have as much negative as the characters have positive, and King would become a normal player who needs a positive balance.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 24, 2015, 09:56:28 AM
 #46

Specification for the STONE in V3.9

Stone has just been made indestructible, which raises the building costs somewhat (because the expected loss of material upon collapse/demolish is already taken into account when building).

Stone will be localized to Lots in the coming version this week. (Quarries are lots, building sites are lots.)

Every moving of stone will incur a transport cost, which is dependent on the distance.

Public piles of stone will be emptied and if there is no lot belonging to the owner of the stone in the same borough, the stone will be redeemed by the owner of the current storage lot (The Royal CryptoArmy) at midprice.

You have about 24 hours to build what you want with the existing rules, after which the labor price will rise and building will be paused for some time, to wait for the migration.

Wizard: There will be an item type "Pile of Stone" which is in the same category as "Immovable Land Feature" or "Building", always linked to a parent Lot. I'll add the stone to the DB as soon as the deadline has ended.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
August 27, 2015, 11:25:28 AM
 #47

I was wondering if there are any plans for an API, or if there is a rudimentary one already in existence? Perhaps we have an IRC bot that is able to buy/sell things that are in the db. It would need to have read access to items in our "shop" inventory, as well as write access to give items to other players. Also, maybe we could even have an external website that is an ecommerce store that uses ckg as currency, and programming method to exchange goods, such as:

  • transferMoney(seller_id, buyer_id, amount, note);
  • giveItem(gifter_id, giftee_id, item_num);


we'd just need a few simple commands, and perhaps a secret key of some sort that can be generated from your account page to facilitate the trades. Just food for though..

Monero.
XMRpromotions
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


View Profile
August 27, 2015, 12:57:36 PM
 #48

https://twitter.com/XMRpromotions/status/636802610884808705

Have you considered selling CKG via sShapeshift? It seems to be doing well in promoting @spellsofgenesis

Don't buy Monero: https://twitter.com/MoneroPromotion/status/746006420508729344

XMR: 43hPTYyKarCTWyh4ZnMVn8AtFeEmtzTXo3Y6TGGMV26BWonJ4tpR7eP9RkUDYQbvg6LbrnMXWfghddE NGtvKxr7B5oML4qd
Febo
Legendary
*
Offline Offline

Activity: 2730
Merit: 1288



View Profile
August 27, 2015, 01:56:23 PM
 #49

https://twitter.com/XMRpromotions/status/636802610884808705

Have you considered selling CKG via sShapeshift? It seems to be doing well in promoting @spellsofgenesis

as i understand to buy assets in game, you need and will need to deposit XMR. To get XMR, when you have other coins, you can use Shapeshift.
XMRpromotions
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


View Profile
August 27, 2015, 03:25:53 PM
 #50

https://twitter.com/XMRpromotions/status/636802610884808705

Have you considered selling CKG via sShapeshift? It seems to be doing well in promoting @spellsofgenesis

as i understand to buy assets in game, you need and will need to deposit XMR. To get XMR, when you have other coins, you can use Shapeshift.

Someone please correct me if I am wrong but I was under the impression that CKG would eventually trade as a separate asset outside of the game on exchanges such as poloniex. If that is the case then it could be exchanged for any currency currently offered by shapeshift

Don't buy Monero: https://twitter.com/MoneroPromotion/status/746006420508729344

XMR: 43hPTYyKarCTWyh4ZnMVn8AtFeEmtzTXo3Y6TGGMV26BWonJ4tpR7eP9RkUDYQbvg6LbrnMXWfghddE NGtvKxr7B5oML4qd
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 27, 2015, 09:19:22 PM
 #51

Hello everyone,

API question is very good idea, actually. All subgames in Crypto Kingdom will also be based on API interface, not accessing directly to DB.

In this moment, since it's very early stage, current base code is organised as internal API, but its not accessible yet from 3rd party locations.
Opening some API methods is in our timeline, but can't tell you when precisely will be live yet.

Anyway, this is very good idea and please send more of them..  Smiley
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
August 27, 2015, 09:39:44 PM
 #52

Anyway, this is very good idea and please send more of them..  Smiley

Incomplete unordered list of things that would be useful:

Connection via https/ssl/whatever
Ability to know when someone enters, leaves, and/or says something in a particular building
Read access to properties of buildings, characters, and other interesting things
Ability to "appear" as a character (albeit one that may be controlled by a program)
Write access to relevant properties of the character the program controls
Ability to move the character to another building
Ability to say somehting in the current building's chat
Ability to transfer things between the program character and another character [1]
Ability to enumerate characters and things in a particular building

[1] This introduces an interesting point about permissions: if someone codes a trading bot, CK has to somehow decide whether the bot's commands to transfer stuff (presumably based on a chat line from another player, such as "buy W11600 for 1M monerito") is consistent with that player's wishes.

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 29, 2015, 09:26:55 AM
Last edit: September 01, 2015, 08:00:31 PM by rpietila
 #53

Specification for Agora Market


Mission statement and use case:

Agora Market is a great achievement in 1603. It allows real-time entering of buy and sell offers for all the game items and lots, for the user-defined product, quantity and price. The orders stay in the system until canceled or executed. Matching orders are executed automatically and the items and moneretos change owner as a result.

Things to be handled:

- Items and Lots. Items are referred to with their unique Item_id, and Lots with their Lot_id (old version). The DB needs to enforce that the Item_id and Lot_id's remain unique, by disallowing a new Item_id or Lot_id to be generated by any means, if it conflicts with the existing id.

- All Items can be traded, except ones that have Untradable=1 in the ITEMS. ("M" are not tradable due to being the currency to be traded with; "CUL" is forbidden to trade, and some immovable objects properly change owner with the Lot only.)

- Gold, silver and stone are not tradable as such. They are embedded in the items that can be traded (STO1...STO9 are items that all include 1 stone, so can be thought as "stone in Borough #"). Gold objects are always trading with their gold value included. Therefore, a 1,500 CKG bowl that could have cost 15 mil (p.o.) a while ago, would now be 1,115 mil (15 mil item premium on top of 1,100 mil worth of gold).

- There is a command line for quick and accurate entering of buy and sell commands. It is a text box that can also be used to copy-paste the commands in text lines format in bulk. If such a batch is entered, it evaluates from the first line, one by one.

- The syntax for entering buy and sell offers and other commands is as follows (item_id means both item_id and lot_id, as they share the idspace; in GIVE, the recipient may be either specified by his shortname (max 12 alphanumerics, case matters) or char_id (a number of max a few digits) - these also have a common idspace):

BUY item_id max_quantity (max_price)

SELL item_id max_quantity (min_price)

GIVE item_id quantity recipient [char_id OR short_name]

CONSUME item_id quantity

TRANSFER item_id quantity giver recipient


Examples of the commands and their parsing:

BUY 1-C-K 1 10000000000       An offer to buy the Lot 1-C-K (Royal Palace) for 10,000 million

SELL W1601B 2200 44000      An offer to sell W1601B (Friar Maximus Barley Wine) up to 2,200 bottles for 44,000 m a piece

GIVE IC1602 10 31      A command to give 10*IC1602 (IC point of the year) to HH of North Face. Same could be accomplished by:
GIVE IC1602 10 djjacket)

CONSUME MEAD 168      A command to take 168*MEAD (168 liters of mead) from your inventory and add to your health. Anything can be consumed, but not all is healthy.

TRANSFER TS136 1 4 cryptonic      Admin-only command to take 1*TS136 Trade Silver Coin from the Town and give it to cryptonic.

- Using these commands, the command line, the batch command functionality, and the trading API (defined as a means for a character to authorize a software to type to the command line), most of the game's internal needs can be satisfied in this one subsystem. Character #5 "New" is the place where the system can create new things from - it is the only item owner whose balance is negative in all he owns Smiley


Script spex when a command is entered


BUY item_id max_quantity max_price

The command enters a new BID to the trading system for the max_quantity units of item_id, at max_price. The price is expressed in moneretos.

if item_id is not a current item_id or lot_id, print "No such item or lot exists." and abort
if max_quantity is not a positive integer, print "Quantity must be a positive integer." and abort
if max_price is not a positive integer, print "Price must be a positive integer." and abort
if (max_quantity * max_price) < (amount of m the character owns), print "Not enough money to place a bid." and abort
quantity_remaining = max_quantity
repeat
         if max_price >= min_price in lowest_ask_for_item_id, call MATCHBID char_id item_id quantity_remaining max_price char_id1 item_id1 max_quantity1 min_price , this returns new quantity_remaining. The parameters char_id1 item_id1 max_quantity1 min_price come from lowest_ask_for_item_id
         if max_price < lowest_ask_for_item_id, abort loop and move on (to 30)
         if quantity_remaining = 0, abort
(30) newBID char_id item_id quantity_remaining max_price , where char_id = active_character_id
print "New bid added for quantity_remaining units of item_id at a limit price of max_price."

NOTE: since an earlier revision, max_price is a mandatory parameter.


SELL item_id max_quantity min_price

The command enters a new ASK to the trading system for the max_quantity units of item_id, at max_price. The price is expressed in moneretos.

if item_id is not a current item_id or lot_id, print "No such item or lot exists." and abort
if max_quantity is not a positive integer, print "Quantity must be a positive integer." and abort
if active_character does not have at least max_quantity units of item_id, print "You do not have item_id (or sufficient quantity of it)." and abort
if min_price is not a positive integer, print "Price must be a positive integer." and abort
quantity_remaining = max_quantity
repeat
         if min_price <= max_price in highest_bid_for_item_id, call MATCHASK char_id item_id quantity_remaining min_price char_id1 item_id1 max_quantity1 max_price , this returns new quantity_remaining. The parameters char_id1 item_id1 max_quantity1 max_price come from highest_bid_for_item_id
         if min_price > highest_bid_for_item_id, abort loop and move on (to 30)
         if quantity_remaining = 0, abort
(30) newASK char_id item_id quantity_remaining min_price , where char_id = active_character_id
print "New ask added for quantity_remaining units of item_id at a limit price of min_price."

NOTE: since an earlier revision, min_price is a mandatory parameter.


GIVE item_id quantity recipient

The command transfers the ownership of quantity units of item_id from active_character to recipient. Recipient can be expressed as char_id or char_shortname.

if item_id is not a current item_id or lot_id, print "No such item or lot exists." and abort
if quantity is not a positive integer, print "Quantity must be a positive integer." and abort
if recipient is not found from char_id and char_shortname tables, print "No such recipient." and abort
if active_character does not have at least quantity units of item_id, print "You do not have item_id (or sufficient quantity of it)." and abort
remove quantity units of item_id from active_character and add quantity units of item_id to recipient
print "quantity units of item_id given to recipient."


CONSUME item_id quantity

The command consumes quantity units of item_id. It is intended for consumption for sustenance (at present: drinks) but it can be used to consume all items to get rid of them.

if item_id is not a current item_id, print "No such item exists." and abort
if quantity is not a positive integer, print "Quantity must be a positive integer." and abort
if active_character does not have at least quantity units of item_id, print "You do not have item_id (or sufficient quantity of it)." and abort
remove quantity units of item_id from active_character
print "quantity units of item_id consumed"
call HEALTH_CHALLENGE_EVALUATOR char_id item_id quantity

NOTE: lots cannot be destroyed, or, hence, consumed.


TRANSFER item_id quantity giver recipient

The command transfers the ownership of quantity units of item_id from giver to recipient. Giver and Recipient can be expressed as char_id or char_shortname.

if item_id is not a current item_id or lot_id, print "No such item or lot exists." and abort
if quantity is not a positive integer, print "Quantity must be a positive integer." and abort
if giver is not found from char_id and char_shortname tables, print "No such giver." and abort
if recipient is not found from char_id and char_shortname tables, print "No such recipient." and abort
if giver does not have at least quantity units of item_id, print "giver does not have item_id (or sufficient quantity of it)." and abort
remove quantity units of item_id from giver and add quantity units of item_id to recipient
print "quantity units of item_id given from giver to recipient."

NOTE: Admin only.


CANCELASK item_id max_quantity min_price

if in Ask table, there is no order active_character item_id max_quantity min_price, print "You do not have such an order active." and abort
remove order from Ask table: char_id item_id max_quantity min_price , where char_id = active_character_id
print "Order removed."


CANCELBID item_id max_quantity max_price

if in Bid table, there is no order active_character item_id max_quantity max_price, print "You do not have such an order active." and abort
remove order from Ask table: char_id item_id max_quantity max_price , where char_id = active_character_id
print "Order removed."


MOVE source_borough_id destination_borough_id amount

This command is used for changing the location of stone, which technically removes STOx items and creates STOy items, against a cost.

if source_borough_id is not a valid borough_id, print "No such source borough." and abort
if destination_borough_id is not a valid borough_id, print "No such destination borough." and abort
if active_character does not have at least amount units of concatenate("STO";source_borough_id) item, print "Not enough stone in borough source_borough_id." and abort
cost = lookup stone_transport_cost_table for concatenate(source_borough_id;"-";destination_borough_id)
if cost * amount > character has money, print "Not enough funds for operation." and abort
remove amount units of concatenate("STO";source_borough_id) from active_character and add amount units of concatenate("STO";destination_borough_id) to active_character.
remove amount * cost of M from active_character and add amount * cost of M to char_id=37
print "amount stone moved from borough source_borough_id to borough destination_borough_id."


Ask and Bid table datatype

Ask table: char_id item_id max_quantity min_price
Bid table: char_id item_id max_quantity max_price

Separately are kept:
lowest_ask_for_item_id: char_id item_id max_quantity min_price
highest_bid_for_item_id: char_id item_id max_quantity max_price

NOTE: In Ask and Bid tables, all orders submitted are kept perpetually until canceled. In lowest_ask_for_item_id and highest_bid_for_item_id, only one instance of data is kept for each item_id (if any). This is used to display the ASK and BID columns in Items listings and used in evaluating the MATCHBID/MATCHASK.


Routines, cannot be commanded

MATCHBID char_id item_id quantity_remaining max_price char_id1 item_id1 max_quantity1 min_price

The routine matches the recently entered bid which the BUY evaluation procedure has deemed needs to be executed.

quantity_traded = min(quantity_remaining;max_quantity1)
remove quantity_traded units of item_id from char_id1 and add quantity_traded units of item_id to char_id
remove quantity_traded * min_price units of M from char_id and add quantity_traded * min_price units of M to char_id1
print "Bought quantity_traded units of item_id at min_price m/unit, for a total of quantity_traded * min_price m."
quantity_remaining -= quantity_traded // reduce quantity_remaining by quantity_traded
if quantity_traded = quantity1; set new lowest_ask_for_item_id // put the new best ask to the lowest_ask_for_item_id (first lower price, if same, earlier order timestamp)
return quantity_remaining


MATCHASK char_id item_id quantity_remaining min_price char_id1 item_id1 max_quantity1 max_price

The routine matches the recently entered ask which the SELL evaluation procedure has deemed needs to be executed.

quantity_traded = min(quantity_remaining;max_quantity1)
remove quantity_traded units of item_id from char_id and add quantity_traded units of item_id to char_id1
remove quantity_traded * max_price units of M from char_id1 and add quantity_traded * max_price units of M to char_id
print "Sold quantity_traded units of item_id at max_price m/unit, for a total of quantity_traded * max_price m."
quantity_remaining -= quantity_traded // reduce quantity_remaining by quantity_traded
if quantity_traded = quantity1; set new highest_bid_for_item_id // put the new best bid to the highest_bid_for_item_id (first higher price, if same, earlier order timestamp)
return quantity_remaining


HEALTH_CHALLENGE_EVALUATOR

return

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
August 29, 2015, 10:18:35 AM
 #54

Fantastic to see this coming together, including the trading market
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
August 31, 2015, 10:28:56 AM
 #55

Specification for new gold generation

USDCKG  global variable, set by admin "SET USDCKG value"
New_gold_target  global variable, defined as 2400*USDCKG
New_gold_counter  global variable, += K during the routine that gives characters EXP every minute, so that K="# of chars"or "EXP given" (same)

if (New_gold_counter > New_gold_target; SET New_gold_counter 0 & CREATE CRxxxxA 1 4 (create anew 1*CRxxxxA to character "4" (Town), where xxxx is the system current year) & raffle the coin somehow among the characters currently online (did receive EXP in last round) so that the character must prove humanity in 2 minutes else the coin is reraffled.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
September 01, 2015, 04:28:15 PM
 #56

Connection via https/ssl/whatever

Has this been done before we move to "final" credentials ?
Throughout, or at least for login and anything that has potential to write to the DB.

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 01, 2015, 05:55:48 PM
 #57

Connection via https/ssl/whatever

Has this been done before we move to "final" credentials ?
Throughout, or at least for login and anything that has potential to write to the DB.

I asked and the answer was "yes".

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 03, 2015, 06:35:24 PM
 #58

Ping

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
canth
Legendary
*
Offline Offline

Activity: 1442
Merit: 1001



View Profile
September 04, 2015, 06:58:34 PM
 #59

Ping

Pong?

ChrisPop
Legendary
*
Offline Offline

Activity: 2310
Merit: 1033

Not your Keys, Not your Bitcoins


View Profile
September 05, 2015, 11:03:24 AM
 #60

Can we register through the site now? https://cryptokingdom.me/player/register  (btw the browser tells me that the page is not safe,maybe because you don't have a ssl certificate)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 05, 2015, 12:13:20 PM
 #61

We will tell when it is released. The (currently test) version is all the time in Cryptokingdom.me, and some of the features can be browsed without registration even during the development stage.

We have realized that the system is such compact that I am able to do the main testing alone for most of the time. Only when the Agora Market (bid/ask exchange system for all ingame items) is launched, will multiple testers be needed.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
newb4now
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


View Profile
September 05, 2015, 10:35:19 PM
 #62

We will tell when it is released. The (currently test) version is all the time in Cryptokingdom.me, and some of the features can be browsed without registration even during the development stage.

We have realized that the system is such compact that I am able to do the main testing alone for most of the time. Only when the Agora Market (bid/ask exchange system for all ingame items) is launched, will multiple testers be needed.

Just like it was in WoW, I think the ingame exchange will be important
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 06, 2015, 08:24:05 AM
 #63

Just like it was in WoW, I think the ingame exchange will be important

Yeah. It is funny such evolution. Right now we have 69 items categories with 1433 different items (+932 lots, likewise tradable). The limitation to efficient trading is afewfold:
- admins need to be contacted for the trade
- the trade must be registered manually
- the information about what is what, is not very much sorted
- the information about the cost is in a different place, a matrix with 1000+ columns.

When the Agora Market opens, all these are alleviated greatly. The new problem will be that of realism - early 1600s just did not have 24/7 frictionless exchanges. It is too easy to have one. Therefore the system will have a limited lifespan, but I also hope it will greatly contribute to the success meanwhile! Smiley

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
September 06, 2015, 10:58:28 AM
 #64

Hi PJ, I was wondering how things are going with this release? Do you need any help with testing or the like? I'm happy to help where I can.

Monero.
Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
September 06, 2015, 11:30:55 AM
 #65

https://cryptokingdom.me/player/register  (btw the browser tells me that the page is not safe,maybe because you don't have a ssl certificate)

I get the same, when accessing the page.
canth
Legendary
*
Offline Offline

Activity: 1442
Merit: 1001



View Profile
September 06, 2015, 12:16:04 PM
 #66

https://cryptokingdom.me/player/register  (btw the browser tells me that the page is not safe,maybe because you don't have a ssl certificate)

I get the same, when accessing the page.

It's a self signed certificate. I presume that it'll be swapped out for a CA issued certificate, no? FYI, my preference is Comodo PositiveSSL certs purchased through Namecheap. Cost is $9/yr or $94/yr for the wildcard version.

saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
September 06, 2015, 01:06:26 PM
 #67

Slightly off topic, but later this year SSL will become free to all!

https://letsencrypt.org/


rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 07, 2015, 08:53:50 AM
Last edit: September 07, 2015, 09:51:21 AM by rpietila
 #68

Hi all!

Now is the time for hopefully final testing of the V3.9U before it goes live, including data transmission from GoogleDB to Ultima platform!

So please enroll for the testing by asking the username+passwd from me by PM here or in IRC Smiley

Fill in all the points that you tested and post your testing report to this thread. Note that there is no benefit for vague and incomplete testing reports so be very specific and imitate the style of the best of the previous ones.


Testing directions

1. Go to cryptokingdom.me and sign in with the username+password provided. Does it happen, does it happen intuitively, what else?

2. Try to "get hold" of the system. Is navigation working, the scope of the game easy to grasp, what else?

3. My Character. Is the data correct (except built, age now, stone)? Is there data you feel is needless, or that should be there?

4. My Items. Is the data correct? How should the layout be improved?

5. Town Map / town view / chapelry view. Is the navigation logical? Can you get to all the views? Is the data correct? Are there wrong coordinates in lots, causing funny renderings?

5.1./5.2./5.3. Lot Usage / Building Density /Lot Division views in chapelry view. Work as intended?

6. Lot view (by clicking on the lot in the chapelry view). Is data correct and works fine?

7. Chat in Lot view. (Arrange testing with someone else to get the realtime chat.) How is the practical chatting? Issues? Are you ready to start using this as the main game chat? Why(/not)?

8. Agora Marketplace. Does the items listing work? How could it work even better? Is the data correct? Other wishes?

9. Item view (click on an item in Agora). How this view layout should be? Does all data display correctly? Is command line visible?

10. Command line. Test methodically all the commands below and tell the changes observed in the item ownerships etc. Command syntaxes are as follows:
BUY item_id max_quantity max_price
SELL item_id max_quantity min_price
GIVE item_id quantity recipient
CONSUME item_id quantity
TRANSFER item_id quantity giver recipient
CANCELASK item_id max_quantity min_price <-- not implemented when last checked
CANCELBID item_id max_quantity max_price <-- not implemented when last checked
MOVE source_borough_id destination_borough_id amount <-- for moving stone

11. Exchange matching engine. Using normal rules followed in all online exchanges, this should execute the trades when bids and asks match. Tell all the impressions whether it worked as it should, or not.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
September 07, 2015, 09:54:17 AM
Last edit: September 07, 2015, 01:53:13 PM by noms
 #69

*Note: all of my CLI testing was done in a lot details screen, as I couldn't find the item trading CLI. That is probably a UX bug if I wasn't able to use the right CLI.


1. Go to cryptokingdom.me and sign in with the username+password provided. Does it happen, does it happen intuitively, what else?

* Site doesn't have proper SSL cert so initial view of domain looks really dodgy. - IMO highest priority.
* Logging in worked. It was not intuitive because the login field asked for email, which was a bit confusing. Should be labeled "email OR username" so people know that they can use either their email address or supplied username.

2. Try to "get hold" of the system. Is navigation working, the scope of the game easy to grasp, what else?

*Clicked Menu -> Town Map.  This is confusing; it should show all land, not just default to 1-C as that is a portion of CK.

3. My Character. Is the data correct (except built, age now, stone)? Is there data you feel is needless, or that should be there?

* Level on player info page should say "7 - Knight", not just "7"
* IMO, moneritos on player info page is more important than CKS, so those should switch places
* Player Health should be given as a vital statistic, perhaps displayed prominently in player info section, also maybe in site header?
* When i attempt to edit my character, i get http://pastebin.com/raw.php?i=MN4PTd1g
* shows that my stone count is 0 and I know i have more than that...

4. My Items. Is the data correct? How should the layout be improved?

* Looks good, all data appears to be there that I would expect. Maybe add a column for "unique owners", and maybe "estimated value"

5. Town Map / town view / chapelry view. Is the navigation logical? Can you get to all the views? Is the data correct? Are there wrong coordinates in lots, causing funny renderings?

* "Land Map" accurately shows all 9 boroughs. I cannot find a town view. Chapelry view appears to display correctly for all boroughs.

* funny renderings in: 5:C, 1:SE, 4:C, 4:S

5.1  Lot Usage views in chapelry view. Work as intended?

 * Appears to work. things that would make it more clear: perhaps owner ID or link to owner's profile, or maybe a link to a buy/sell page for land. It would also be nice to be able to label land for sale (see it in legend, not sure how to do in GUI?)

5.2  Building Density views in chapelry view. Work as intended?

* Doesn't seem to work-5:C shows San Pietro as having 0 building density, as an example.

5.3. Lot Division views in chapelry view. Work as intended?

* Lot divisions are clear in this view, however people won't click on it.  There should be a border and meaningful color (building, path, garden) present in lots IN THE LOT USAGE VIEW
* Perhaps owner ID or link to owner's profile, or maybe a link to a buy/sell page for land. It would also be nice to be able to label land for sale (see it in legend, not sure how to do in GUI?)

6. Lot view (by clicking on the lot in the chapelry view). Is data correct and works fine?

* Data seems correct. Command line doesn't work right (see question 10 for examples)

7. Chat in Lot view. (Arrange testing with someone else to get the realtime chat.) How is the practical chatting? Issues? Are you ready to start using this as the main game chat? Why(/not)?

* Didn't have another person to test this with. There should be an option to have a global chat (unless the building chat is actually global anyhow? wasn't sure about this). Until that is implemented, I would want to keep using IRC.


8. Agora Marketplace. Does the items listing work? How could it work even better? Is the data correct? Other wishes?

* i was told this will not be tested. probably why i get this when i click on it:
    View all items causes Fatal error: Call to undefined method CryptoKingdom\ItemOwnershipModel::countItemsByItemID() in /var/www/html/releases/20150906225612/app/controllers/MarketController.php on line 31



9. Item view (click on an item in Agora). How this view layout should be? Does all data display correctly? Is command line visible?

data is not correct:
* I clicked on https://cryptokingdom.me/marketplace/item/TRC2-4 and it shows currently exists: 0, even though I have this item in my inventory.
* Item type was blank
* material was blank
* original quantity was blank
* debtor was blank, but that is expected as I don't owe anything on it. Should put empty text, such as "no debt"

would be nice to have ability to upload picture

10. Command line. Test methodically all the commands below and tell the changes observed in the item ownerships etc. Command syntaxes are as follows:

BUY item_id max_quantity max_price

BUY TRC2-4 1 30000000
COMMAND RESULTS
Input command is not correct.
Example: BUY itemID amount price


SELL item_id max_quantity min_price

SELL TRC2-4 1 80000000
COMMAND RESULTS
"No such recipient.





GIVE item_id quantity recipient

GIVE TRC2-4 1 1
COMMAND RESULTS
Command GIVE is not found


GIVE TRC2-4 1 HM_The_King
COMMAND RESULTS
"No such recipient.


CONSUME item_id quantity

CONSUME CLXII 1
COMMAND RESULTS
"No such recipient.



TRANSFER item_id quantity giver recipient

TRANSFER CLXII 1 94 1
COMMAND RESULTS
Input command is not correct.
Example: BUY itemID amount price

TRANSFER CLXII 1 noms HM_The_King
COMMAND RESULTS
Input command is not correct.
Example: BUY itemID amount price



CANCELASK item_id max_quantity min_price <-- not implemented when last checked
this was not to be tested


CANCELBID item_id max_quantity max_price <-- not implemented when last checked
this was not to be tested


MOVE source_borough_id destination_borough_id amount <-- for moving stone

MOVE 1 2 3
COMMAND RESULTS
Input command is not correct.
Example: BUY itemID amount price




11. Exchange matching engine. Using normal rules followed in all online exchanges, this should execute the trades when bids and asks match. Tell all the impressions whether it worked as it should, or not.

this was not to be tested

Monero.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 07, 2015, 10:52:30 AM
 #70

Items I found with potential issues:

  • I had a username of noms supplied to me. The login field asked for email, which was a bit confusing. Should be labeled "email OR username" so people know that they can use either their email address or supplied username.
  • There should be an option to have a global chat (unless the building chat is actually global anyhow? wasn't sure about this)
  • Land listing is confusing. There should be a link in menu to see all land, not just default to 1-C

Can you please mention what did you test (each point) and answer the questions. Freetext is not very useful to us at this point: what we need is rigorous testing of the methods in command line etc. "boring" stuff.

 Smiley

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 07, 2015, 11:46:33 AM
 #71


Example of the testing report.

1. At 14:34 local time sign in worked as usual.

2. I have used the system before so unable to test the intuitiveness of the UI.

3. Again I am blind to it since have designed it. All data displayed seems to be correct; itemcount in GoogleDB=403 here 401, likely reason recent changes in the game.

4. Data seems to be correct.

5. I did not do testing of this module now, because I had already accepted it for production.

5.1./5.2./5.3. These will be added and improved later, but for now the rendering is correct.

6. Data seems to be correct.

7. I was not able to arrange a chat partner, so could not test this module. (Others: please DO arrange a chat partner!) My intention is to be able to use this as the main ingame chat, so that only a few buildings would be opened in the beginning, for different purposes.

8. Unexpected:
Quote
Fatal error: Call to undefined method CryptoKingdom\ItemOwnershipModel::countItemsByItemID() in /var/www/html/releases/20150906225612/app/controllers/MarketController.php on line 31
made testing not possible.

9.-11. Testing this module could not be done due to fatal error above.

Testing ended 14:46 local.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
September 07, 2015, 12:05:21 PM
 #72

*Item 8: Fatal error * is corrected and live.
Market place should work fine now.
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
September 07, 2015, 12:15:13 PM
 #73

Also,  a quick info about security and SSL certificates (sorry for a bit late response here)

Currently, secure protocol is signed with self signed certificate. We already bought CA issued one too, but it's not yet implemented because of preparation main functionalities in Agora Market.
As soon as release is ready I will replace certificates so everything will be officially secure too Smiley

Thanks for patience and reporting about it.

Best,
PJ
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 07, 2015, 12:37:16 PM
 #74


Testing resumed from "8." at 15:23

8. Agora Marketplace.

The listing has issues with logical ordering, but these are postponed to later release/bugfix round.
"exists" does not show the amount of instances of item existing. (This is quick to fix because the same script in My Items does work.)

9. Item view.

Tested with CR1400E, which shows that I own only 1 instance. (Correct: 4). Command line is visible in the end. Would be more useful in the beginning, next to the bid/ask data.

10. Command line.

Tried BUY CR1400E 1 100000000000000 to see if error message is correct. Wrong error message "No such recipient." Command execution does not work as it should. Aborted testing of BUY.

Tried SELL CR1400E 1 1 to see if SELL works and matches the order with the existing bid in the system. Wrong error message "Sender and recipient should have different ID's." Command execution does not work as it should. Aborted testing of SELL.

Tried GIVE MEAD 1 2. Error message: "Command GIVE not found." Aborted testing of GIVE.

Tried CONSUME MEAD 1. Error message: ""No such recipient." Command execution does not work as it should. Aborted testing of CONSUME.

Aborted testing due to none of the commands working properly.

Testing ended at 15:36.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 07, 2015, 12:50:49 PM
Last edit: September 07, 2015, 01:13:04 PM by rpietila
 #75

I got feedback from PJ that the commands entered did not go to COMMAND_EVALUATOR at all, and this was because of secure connection requirement. This is also why error messages were random. So the malfunction seemed serious but was quick to repair. Another issue was with the capitalization of commands - now there is no difference whether capitals are used or not.


Testing commences again.  Grin

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 07, 2015, 02:09:07 PM
 #76

Testing resumed from "10." at 16:47.

Tried GIVE BEER 1 2. Successful. Beer was removed from source and added to recipient. "Exists" stayed the same. Output was clear.

When trying to logout, the following was given:
Quote
Slim Application Error
The application could not run because of the following error:

Details

Type: ErrorException
Code: 8
Message: Trying to get property of non-object
File: /var/www/html/releases/20150907132228/app/controllers/PlayerController.php
Line: 75
Trace

#0 /var/www/html/releases/20150907132228/app/controllers/PlayerController.php(75): Slim\Slim::handleErrors(8, 'Trying to get p...', '/var/www/html/r...', 75, Array)
#1 /var/www/html/releases/20150907132228/app/bootstrap/routes/player.r.php(126): CryptoKingdom\PlayerController::playerDetails('logout')
#2 [internal function]: {closure}('logout')
#3 /var/www/html/releases/20150907132228/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#4 /var/www/html/releases/20150907132228/vendor/slim/slim/Slim/Slim.php(1357): Slim\Route->dispatch()
#5 /var/www/html/releases/20150907132228/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#6 /var/www/html/releases/20150907132228/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#7 /var/www/html/releases/20150907132228/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#8 /var/www/html/releases/20150907132228/vendor/slim/slim/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#9 /var/www/html/releases/20150907132228/app/bootstrap/start.php(105): Slim\Slim->run()
#10 /var/www/html/releases/20150907132228/app/bootstrap/setup.php(63): require_once('/var/www/html/r...')
#11 /var/www/html/releases/20150907132228/index.php(Cool: require_once('/var/www/html/r...')
#12 /var/www/html/index.php(2): require_once('/var/www/html/r...')
#13 {main}

Tried CONSUME MEAD 1. Successful. Mead disappeared and "exists" was reduced.

Experimented with BUY and SELL and had orders apparently matched with self. More rigorous testing is needed with multiple accounts to ensure correct functionality.

TL;DR: For the first time, the intended features for the release seem to be there. Testing is needed for bug fixing because these commands are critical - they change the system status.


Please concentrate your testing on 8.-11. and do it methodically. The testing and feature requests in 1.-7. is also nice, but since these are not critical (do not change status), the requests will be evaluated for the next release, not the V3.9U.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
September 07, 2015, 02:27:03 PM
 #77

8. Items listing works. I had trouble finding the command line at first, then noticed that I first needed to click on an item to show the COMMAND LINE underneath the item details.

I think this could be a bit more intuitive if the command line were available in the list item view, as well as the detail item view.

Also, some visibile guide as to how to format prices, I just assumed that 1 = 1,000,000 moneretos and that seems to be the case. But for new users it could alleviate some confusion.

I would like to see a complete history somewhere of my successful command line requests.

9. Item view looks good, but perhaps the data could be condensed in a way so the command line is visible without scrolling down. Also, some styling to differentiate the open BUY/SELL orders from the regular item data would be nice, as I missed that at first.

10. BUY/SELL works as it should. I bought an item from noms and then placed it back for sale. ARS4 if anyone wants to purchase it from me.

GIVE works as it should. I gave some WINE to noms and the quantity was decreased in my items and increased in his items.

CONSUME works as it should. I consumed some WINE and my quantity decreased. Tried to consume a TS160 silver coin, but it said "Lots can't be consumed". This message could be more general, something like "This item can't be consumed."

TRANSFER, I tried to transfer an item to noms from my account but it said "Input command is not correct". Maybe this transfer function is not available for my account?

Did not test CANCELASK, CANCELBID, or MOVE yet.

11. BUY/SELL works as noted above. I also bought an item from myself and it did not change my quantity of that item, so that also works as it should. Trying to sell something I do not have results in "You do not have item_id or sufficient quantity", so that is good too.

One bug detected, if I place a buy order for something and the bid price is ABOVE the ASK price, order does not match. Order should be sold at the ask price. See https://cryptokingdom.me/marketplace/item/ARS4

Also, it seems that I can place multiple ASK orders even if I only have 1 quantity of that item.



noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
September 07, 2015, 03:37:48 PM
Last edit: September 07, 2015, 04:27:20 PM by noms
 #78

Feature ideas:

  • when viewing the chapelry map view, it's hard to see what you are clicking on. either a tooltip with the owner, building title, etc should pop up, or some helpful text on the property would be good.
  • have a global chat so you don't have to be in a building to read it. this would make it truly a replacement for irc.
  • move the CLI to a spot that is the same on all pages and a setting in profile to "enable/disable CLI"
  • give chatbox a title and more info so you can tell it is a chatbox. a recent betatester was unable to find the chatbox even after given a link to a room, so it's a little confusing UX.
  • give admins the ability to place an "announcement" in the header of the site for important news (e.g. auction for xxx ends in xx minutes!)
  • give players ability to "pin" the menu so it is always expanded and add custom links to lots they like, or establishments they frequent
  • build in a forum-esque system so that players may have discussions like we do on bitcointalk, but not on bitcointalk Wink
  • make player decorations on the player info page be links to the actual item pages
  • in the left nav menu, make a link to a page that explains about levels, promotions, and what they do and why you want them. Also how to get them.
  • a location (small widget in footer, page) that shows active users
  • a page that shows all users in-game, regardless of their online status. This would be similar to CHAR spreadsheet listing so you can compare yourself and your stats.
  • move the game manual, quickguide, FAQ's, etc into pages inside this game. No reason to have it outside.
  • create a CLI quick-reference page (not completely necessary, but could be helpful for those who want to utilize system in current state and aren't computer geniuses)
  • there needs to be a way to see how much land you own, like a details view that will link to each chapelry view it's in, or the lot page itself.

Monero.
binaryFate
Legendary
*
Offline Offline

Activity: 1484
Merit: 1003


Still wild and free


View Profile
September 07, 2015, 04:02:34 PM
 #79

Started testing at 17:16

Quote
1. Go to cryptokingdom.me and sign in with the username+password provided. Does it happen, does it happen intuitively, what else?
No issue with signing.

Quote
2. Try to "get hold" of the system. Is navigation working, the scope of the game easy to grasp, what else?
Navigation on menu working.
Scope of the game I suppose for a new player is impossible to grasp at this stage.

Quote
3. My Character. Is the data correct (except built, age now, stone)? Is there data you feel is needless, or that should be there?
Bug, it says "Age now: 0"

Quote
4. My Items. Is the data correct? How should the layout be improved?
Looks good.

Quote
5. Town Map / town view / chapelry view. Is the navigation logical? Can you get to all the views? Is the data correct? Are there wrong coordinates in lots, causing funny renderings?
I would find more intuitive that the landing page for the map would be
https://cryptokingdom.me/land
instead of
https://cryptokingdom.me/land/chapelry/1:C

Tootips indicating some building info would be nice. Showing the number/names of peoples inside too. (for chat).
 

Quote
5.1./5.2./5.3. Lot Usage / Building Density /Lot Division views in chapelry view. Work as intended?
I don't understand the scale in the legend for "Building Density", it only goes up to 2.4%. Bug?

Quote
6. Lot view (by clicking on the lot in the chapelry view). Is data correct and works fine?
Looks correct.

Quote
7. Chat in Lot view. (Arrange testing with someone else to get the realtime chat.) How is the practical chatting? Issues? Are you ready to start using this as the main game chat? Why(/not)?
I see other people's messages appearing twice (not always, looks random, was often the case with Noms and a bit with Tavastia).
A list of people being present would be nice!
Not ready to use as main game chat yet, it's still too hard to find where are people actually talking at a given moment.

Quote
8. Agora Marketplace. Does the items listing work? How could it work even better? Is the data correct? Other wishes?
Looks good. A way to see the list of all bids/asks, or items that have at least one bid/ask would be nice.

Quote
9. Item view (click on an item in Agora). How this view layout should be? Does all data display correctly? Is command line visible?
Good.

10. Command line. Test methodically all the commands below and tell the changes observed in the item ownerships etc. Command syntaxes are as follows:
BUY item_id max_quantity max_price
SELL item_id max_quantity min_price
GIVE item_id quantity recipient
CONSUME item_id quantity
TRANSFER item_id quantity giver recipient
CANCELASK item_id max_quantity min_price <-- not implemented when last checked
CANCELBID item_id max_quantity max_price <-- not implemented when last checked
MOVE source_borough_id destination_borough_id amount <-- for moving stone

SELL and BUY:
After adding a SELL, the bid doesn't appear in the table (even after refresh).
It says "New ask added for 1 units of BF1500Eat a limit price of 10000000" (a space missing between item ID and "at").
GIVE:
I tried "GIVE W1600 1 noms" ("noms" is the name as I was seeing on chat), it says ""No such recipient." (Which starts with an unnecessary quote character).
CONSUME:
Works ok.
TRANSFER:
I don't understand this command. What's "giver"? I suppose it's only for admins.
CANCELASK & CANCELBID:
Didn't test
MOVE:
Didn't test

Quote
11. Exchange matching engine. Using normal rules followed in all online exchanges, this should execute the trades when bids and asks match. Tell all the impressions whether it worked as it should, or not.
I could buy it from my own bid and it was confirmed. But then, it doesn't show up in my items anymore. (I had 70 BF1500E, now only 69 BF1500E).
Didn't test beyond my simple purchase from myself at the exact same price.

Finished testing at 17:52


EDIT Additionally I posted this in the wrong thread:
Haven't tested yet, but accepting commands with units such as "800mon" and "800mil" (with mil = 10^6 mon obviously) would be quickly mandatory.
If meaningful economic activities are taking off on this game exchange, we can't afford mistakes with one missing zero in a string of +10 zeros.

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
September 07, 2015, 06:22:24 PM
 #80

BCT logged me out and ate all my lovely point by point prose, and I'm not going through that again, so here are just some main points I remember:

- binaryFate reports trading worked, it did not for me. I ended up with a bid and ask both at 600 for mead (only one of them was mine).

- when in the command line, it needs a list of commands handy. Also needs to understand names, there's no way to tell someone's ID, the player list is gone.

- the number of items owned should really be in the item page, so when you type a SELL/BUY/GIVE command, you can see it change (or not). I found I constantly switched pages to find out things, and it becomes tiring quickly. Relevant info should be on the page.

- command response seems to use only the first world in a name: I gave some mead to 5, which seems to be New Liberty, since the response told me I have them to "New".

Edit:
- also wrong years in some items, I've lost the list, but my suits at least were wrong, and CUL points IIRC. There were more.
Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
September 07, 2015, 07:00:24 PM
 #81

Testing started 18.35 (6.35pm)

BUY item_id max_quantity max_price

Buy Mead 5 750
Result: Bought 3 units of mead at 600 m/unit, for a total of 1800m.
It bought the 3 available at the price point, but the remaining 2 mead that did not find matching price were not recorded in the ASK.
(It did show up eventually, but I had to hit refresh)

SELL item_id max_quantity min_price

Sell W1601B 1 80000
Result: New ask added for 1 units of W1601Bat a limit price of 80000
(shows up only after refresh)

GIVE item_id quantity recipient

Give Cook-1 1 94
Result: 1 units of cook-1 given to noms.
(Noms did this show up on your character?)

CONSUME item_id quantity

Consume mead 10
Result: 10 units of mead consumed
(works fine)

Consume PWS-6 1
Result: You do not have item_id of sufficient quantity of it
(I do have one of these daggers, not for consumption, just tested to see what it says)
 
TRANSFER item_id quantity giver recipient

transfer W1600M 5 17 94
Result: Input command is not correct.
(Did not work)


CANCELASK item_id max_quantity min_price <-- not implemented when last checked

cancelask mead 5 950
Result: input command is not correct.
(I did not in fact have an ask of mead to cancel, someone else had an ask at that price, but I only got input command not correct message)


CANCELBID item_id max_quantity max_price <-- not implemented when last checked

cancelbid mead 2 750
Result: input command is not correct
(did not work)


MOVE source_borough_id destination_borough_id amount <-- for moving stone

Don´t own any stone so could not test.

Testing finished 19.00 (7.00pm)
Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
September 07, 2015, 07:03:04 PM
 #82

Slim application error when logging out.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 07, 2015, 07:14:28 PM
Last edit: September 08, 2015, 07:50:59 AM by rpietila
 #83

I feel a bit ill, so have to go to bed early. Thank you for all the testers so far, and please continue. The new ones can find their username in the google DB /CHAR column "D", and all accounts can now be accessed with the common password: "4o5nPKktHyNj".
My bad told wrong column at first, sorry all!

Please test the exchange functionality by placing orders and then going to another character to buy them.

As should be obvious, even though the "current" data is used for testing, none of the changes will remain, the data will be remigrated before starting in the new platform for real Smiley

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Karl Hungus
Full Member
***
Offline Offline

Activity: 212
Merit: 100


View Profile
September 08, 2015, 12:46:49 AM
 #84

I'm having trouble logging in.

I'm trying:

username=B Karl Hungus
password=4o5nPKktHyNj

I've tried guessing a few variations but still no luck.
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
September 08, 2015, 01:45:04 AM
 #85

I'm having trouble logging in.

I'm trying:

username=B Karl Hungus
password=4o5nPKktHyNj

I've tried guessing a few variations but still no luck.

Try your short name (c column I think).

generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
September 08, 2015, 01:46:38 AM
Last edit: September 08, 2015, 05:35:48 AM by generalizethis
 #86

Testing started 20.50 (8.50pm)

BUY item_id max_quantity max_price

Buy ARS4 1 3000
Result: Bought 1 unit of ARS4 at 3 m/unit, for a total of 3m.
It bought the 1 available at lowest price point--lower than price entered--as should be expected. Item showed in my items and was removed from asks.

SELL item_id max_quantity min_price

Sell ARS4 1 1000
Result: New ask added for 1 units of ARS4at a limit price of 1000
(Didn't fill BUY listed at 1 for 1000--hit refresh twice and went to my item's page and saw that the item was still listed. Also at should have a space between ITEM and at--with m you get mat as message =p)

GIVE item_id quantity recipient

Give COM-163 1 1
Result: MESSAGE:

COMMAND RESULTS
$item string(1) "1"
→Called from <ROOT>/releases/20150908010552/app/bootstrap/start.php:113 [pr()]
1. <ROOT>/releases/20150908010552/app/models/CharacterModel.php:239 [pr()]
2. <ROOT>/releases/20150908010552/app/routines/CKCli.php:83 [CryptoKingdom\CharacterModel::getCharacterByGoogleIDOrShortName()]
3. <ROOT>/releases/20150908010552/app/routines/CKCli.php:37 [CryptoKingdom\CKCli->validateRequest()]
4. <ROOT>/releases/20150908010552/app/bootstrap/routes/cli.r.php:14 [CryptoKingdom\CKCli->processCommand()]
5. <ROOT>/releases/20150908010552/vendor/slim/slim/Slim/Route.php:468 [call_user_func_array()]
6. <ROOT>/releases/20150908010552/vendor/slim/slim/Slim/Slim.php:1357 [Slim\Route->dispatch()]
7. <ROOT>/releases/20150908010552/vendor/slim/slim/Slim/Middleware/Flash.php:85 [Slim\Slim->call()]
8. <ROOT>/releases/20150908010552/vendor/slim/slim/Slim/Middleware/MethodOverride.php:92 [Slim\Middleware\Flash->call()]
9. <ROOT>/releases/20150908010552/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php:67 [Slim\Middleware\MethodOverride->call()]
10. <ROOT>/releases/20150908010552/vendor/slim/slim/Slim/Slim.php:1302 [Slim\Middleware\PrettyExceptions->call()]
11. <ROOT>/releases/20150908010552/app/bootstrap/start.php:105 [Slim\Slim->run()]
12. <ROOT>/releases/20150908010552/app/bootstrap/setup.php:63
13. <ROOT>/releases/20150908010552/index.php:8
14. <ROOT>/index.php:2

(Tried with various items (mead, cul), # of units (10, 3) and characters (2, 3), but similar message each time. Tried a few hours earlier and everything worked fine.)

CONSUME item_id quantity

Consume XLII 1
Result: 1 units of Louis XII Cognac consumed
(works fine)

 
TRANSFER item_id quantity giver recipient

Transfer cr1584e 1 130 1
Result: Input command is not correct.
(Did not work)


CANCELASK item_id max_quantity min_price

Cancelask ars4 1 1000
Result: Order removed
(works fine)


CANCELBID item_id max_quantity max_price <-- not implemented when last checked

Cancelbid ars4 1 1000
Result: Order removed
(works fine)


MOVE source_borough_id destination_borough_id amount <-- for moving stone
Don´t own any stone so could not test.

Testing finished 21.30 (9.30pm)

Karl Hungus
Full Member
***
Offline Offline

Activity: 212
Merit: 100


View Profile
September 08, 2015, 07:17:51 AM
 #87

I'm having trouble logging in.

I'm trying:

username=B Karl Hungus
password=4o5nPKktHyNj

I've tried guessing a few variations but still no luck.

Try your short name (c column I think).


Thanks, that worked!

edit: I will try and be available for chat testing in about 4 hours time (when kids in bed) if anyone is interested, approx 11.30am BTT time
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
September 08, 2015, 07:55:43 AM
 #88

Good morning everyone,

Thanks for great feedback and effort for testing the latest version of Ultima version. It helps me a lot to fine tune market functionality and make it even better Smiley

So, short update list will help you to recognize what is fixed and what you could test again.
- fixed issue with error “lot can’t be consumed”, when lot id is not used
- added cancel bid/ask commands
- moved command line to be directly bellow ask/bid information in item details view
- also, ask/bids for item are automatically load after each commands

Please, let us know if you find any issue or have any suggestion for improving overall experience, will be glad to hear them all. 
 
Best,
Wizard Developer PJ
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 08, 2015, 08:54:09 AM
 #89

I am satisfied with the progress and now, finally, the release seems to be at hand.

What is most needed to test still, is the exchange matching. Every committed tester is invaluable! Take an item which everybody has and what is supposed to have a liquid market, such as mead (MEAD). Enter a lot of bids or asks with your character. Take note of the amounts to a separate paper. Then login with a different guy and enter orders that should result in filling some of the previous orders. Again ensure that the mead actually moves from the seller to the buyer, that the moneretos (M) do likewise but opposite direction, and the totals of both stay unchanged.

A lot of detailed testing is needed before we are confident that this important game function can be migrated. Please take the time to do it properly (thank you all the ones who have done it! Smiley )

As a token of gratitude by the Town, detailed and documented testing after this post will be compensated at the usual 0.33 mil/minute rate - indicate it in the post here.

CANCELBID and CANCELASK should also work. Try them!

TRANSFER is admin only so do not test it.

GIVE should work.

On the condition that the testing can be conducted in massive volume, we can now estimate that the migration could happen in tomorrow or Thursday.

I will make the list of "final annoyances" to PJ, which has the UI issues that are most complained upon. This, along with "critical bugs" revealed by the testing, will be fixed before the release. The rest of the issues you mention are categorized to "more urgent" and "less urgent" requests, which will be corrected after the release.

I am on the opinion that a github is not needed currently due to us having only one developer and one designer. I am not keen to delegate my role except when manpower is needed (as it is now). When the APIs etc allow more developers to start churning out content, then it will be a good control tool in my opinion, and that day is not even far!

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Karl Hungus
Full Member
***
Offline Offline

Activity: 212
Merit: 100


View Profile
September 08, 2015, 01:14:31 PM
Last edit: September 08, 2015, 01:58:05 PM by Karl Hungus
 #90

Testing Agora exchange:
Using OZ and Hokusai adding BUY & SELL & GIVE for item W1600,

Hokusai started with zero item balance, OZ with about 800
  • BUG - Hokusai can enter a BUY, 'command results' indicate success, but Hokusai's item quantity stays zero
  • BUG - OZ can enter a GIVE, 'command results' indicate success, but Hokusai's item quantity stays zero
  • BUG - Hokusai can enter SELL commands even though his W1600 item quantity appears to be zero
  • BUG - OZ made a BUY for quantity 23, 10 fulfilled & 13 added as a bid as expected, but item quantity in profile increased by 23, not the expected 10

I suspect Hokusai's W1600 balance is positive (i.e. his SELL commands go through, and OZ quantities adjust for BUY and GIVE)

odd scenario - OZ put in a bid & ask at the same price which were both accepted, then Hokusai entered a bid  at that price that wasn't accepted in the command results. Hokusai then entered an offer at the same price and it did register in the 'command results' but the quantity did not change (Hokusai had a zero balance for W1600 during all my testing).

OZ was able to CANCELBID and CANCELASK successfully. I noticed with CANCELBID it worked even if the quantity entered was less than the original BUY (i.e. my CANCELBID quantity was 22 which cancelled an original BUY order of 25).

general observations & suggestions:
  • You can't see your current quantity owned for the item being traded in Agora (i.e. you need to keep checking the quantity in the 'items in possession' list). Can the current quantity owned and/or available for trade be shown in the Agora item trading screen?
  • You can't tell which current bids & offers are your ones. Could you add an asterix next to the current user's bids/offers?
  • I really wanted to see my transaction history after a while
  • Suggest hiding fields with no content for each item (e.g. 'stone contained' is not relevant to wine so hide it)
  • Suggest adding things like last price, 24 high, 24 low etc
  • Suggest adding health stats and drinking plan to the 'character info'
  • Suggest showing logged-in character name in the header so it's on every screen (help for users with sockpuppets)
  • Suggest have command syntax tips on Agora exchange screen or in a pop-up

Overall I'm super impressed with Ultima, and incredibly excited!!

edit: I also suggest nominating a place to be the main 'chat' venue, (at least at the start when player numbers are smaller) to avoid having multiple chat ghettos at the expense of one larger one. When multiple chats are viable, maybe allow users to add to their public profile a 'status', something like "I'll be at this location at this time if anyone wants to find me"

edit: further testing indicates moneretos aren't adjusting to BUY and SELL orders. OZ BUY increases W1600 quantity but his moneritos balance stays the same, SELL decreases quantity but moneritos balance constant. Might be related to Hokusai's quantity always being zero?
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
September 09, 2015, 06:10:10 AM
 #91

Went to test, but can't sell mead for under 750. Is this intended? Bids are under 750, so the system should acknowledge the bid/ask limit on both sides. Also, I placed an ask 2 @ 750 and the bid for 2 @ 750 hasn't been filled--hit refresh multiple times.

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 09, 2015, 07:03:17 AM
 #92

Went to test, but can't sell mead for under 750. Is this intended? Bids are under 750, so the system should acknowledge the bid/ask limit on both sides. Also, I placed an ask 2 @ 750 and the bid for 2 @ 750 hasn't been filled--hit refresh multiple times.

Of course it is not intended   Smiley What is intended, is one page above in pseudocode - the normal exchange functionality although (for now) without fees, and without limits.

Thanks for this, but otherwise: Guys, I am disappointed with the volume of the testing. We sorely need the monotonous banging of the command line and observing and documenting all changes of status. We pay for it. And nothing happens! Please help - this is now the critical path activity!

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
September 09, 2015, 07:33:52 AM
 #93

Went to test, but can't sell mead for under 750. Is this intended? Bids are under 750, so the system should acknowledge the bid/ask limit on both sides. Also, I placed an ask 2 @ 750 and the bid for 2 @ 750 hasn't been filled--hit refresh multiple times.

Of course it is not intended   Smiley What is intended, is one page above in pseudocode - the normal exchange functionality although (for now) without fees, and without limits.

Thanks for this, but otherwise: Guys, I am disappointed with the volume of the testing. We sorely need the monotonous banging of the command line and observing and documenting all changes of status. We pay for it. And nothing happens! Please help - this is now the critical path activity!

I got up to do a few hours of testing before work, but I didn't figure out that the limit was the problem until late in my morning--I'll have to do some testing after work or tomorrow morning.

*But I did get some poems edited, so maybe the poetry gods were trying to tell me something.

Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
September 09, 2015, 11:32:31 AM
 #94

Testing Ultima platform started 10.37am

1. Go to cryptokingdom.me and sign in with the username+password provided. Does it happen, does it happen intuitively, what else?
Login works well and is intuitive.

2. Try to "get hold" of the system. Is navigation working, the scope of the game easy to grasp, what else?
Yes it seems to work well, I have tested a few times so I might be blind to detect something obvious.

3. My Character. Is the data correct (except built, age now, stone)? Is there data you feel is needless, or that should be there?
Built and age now are missing. Monerito balance is not the latest. Everything else looks to be the correct data.

4. My Items. Is the data correct? How should the layout be improved?
Yes, all items look familiar as well as the amounts of each owned.

5. Town Map / town view / chapelry view. Is the navigation logical? Can you get to all the views? Is the data correct? Are there wrong coordinates in lots, causing funny renderings?
Funny rendering in 4-C, 4-S, 1-SE. Navigation seems logical.

5.1./5.2./5.3. Lot Usage / Building Density /Lot Division views in chapelry view. Work as intended?
Yes it works.

6. Lot view (by clicking on the lot in the chapelry view). Is data correct and works fine?
I checked some at random in each borough, and yes, data was correct on those.

7. Chat in Lot view. (Arrange testing with someone else to get the realtime chat.) How is the practical chatting? Issues? Are you ready to start using this as the main game chat? Why(/not)?
I chatted in 1-C Malla Palace chat room, there was nobody present at the time, but I saw previous messages in the chat as well as my own messages. It seems to work as intended. I would like to use some form of private messaging, and a "global" chat would be good where any player who is online can be easily contacted. Until then I would probably use some other channels as well as the game chat.

8. Agora Marketplace. Does the items listing work? How could it work even better? Is the data correct? Other wishes?
Looks good. But lets get to testing.

9. Item view (click on an item in Agora). How this view layout should be? Does all data display correctly? Is command line visible?
I am used to the layout, so it looks good to me. Command line visible at the top of the page. The item categories on the left side of the screen could be more intuitive and the list too long to browse effectively, could be easier with sub categories such as drinks, Gold coins and items, Horses and Carriages, etc. so all categories are not visible at the front page but can be accessed with a click or mouse hover over the main category.

10. Command line. Test methodically all the commands below and tell the changes observed in the item ownerships etc. Command syntaxes are as follows:

BUY item_id max_quantity max_price
Buy mead 5 800
Result: Bought 2 units of mead at 750m/unit for a total of 1500m.
There were two more asks that match my bid but they were not taken, instead my bid is visible on the bid side while there are lower asks. Refreshing the page did not help.

SELL item_id max_quantity min_price
Sell mead 6 600
No command result even after several tries and page refreshes. It only says "here comes the command result".

Tried with Wine:
Sell W1600 1 500
No command result. But after refresh my ask showed up, however it did not take the bid at the corresponding price point.

GIVE item_id quantity recipient
give butler-2 1 7
Command result: Not such item/lot exists or you do not have it.

Retried:
give BUT-2 1 7
Command result: 1 units of BUT-2 given to saddam.
The butler left from my items. And did you receive it saddam?

CONSUME item_id quantity
consume SCI 5
Command result: You do not have item_id or sufficient quantity of it.
I should have them, didn´t work.

tried with drinks next:
consume W1600 3
Command result: 3 units of W1600 consumed.
Works ok, and the quantity leaves from my character.


TRANSFER item_id quantity giver recipient
Admin command, did not check.

CANCELASK item_id max_quantity min_price
sell wirs 1 500000
cancelask wirs 1 500000
Command result: order removed

CANCELBID item_id max_quantity max_price
buy wirs 5 200000
cancelbid wirs 3 200000
Command result: Order removed
BUG: It removed the entire order though I tried to remove only part of it.


MOVE source_borough_id destination_borough_id amount <-- for moving stone
I don´t have stone to move so cannot test.

11. Exchange matching engine. Using normal rules followed in all online exchanges, this should execute the trades when bids and asks match. Tell all the impressions whether it worked as it should, or not.
I tested the ones mentioned above. It had problems to match the bids and asks when they overlapped.

Testing finished at 11.32am (55mins)
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
September 09, 2015, 12:52:25 PM
 #95

Hello again,

Thanks everybody for testing, please continue with it, it's very valuable for improving the game Smiley

For today, i prepared some new improvements so let's start with list:
- new amount option for price: from now on, you can use also 1mil instead of writing so much zeros. It will recognized and converted to actual number. Keep in mind, though, please don't put space between number and "mil", because command line is sensitive to spaces (use it for recognizing different elements). So, correct expression will be:
[command] [item_id] [amount] 4mil . If you put 2 mil for a price, it will not work properly at the moment.

- fixed issue with editing profile. Critical error is fixed and you will be able to change your password, email and other editable data
- command line is also improved and tested, it should be more stabile now (bug with not transferring item from one player to another after successful buy/sell is fixed).
- history view with all previous player's transactions, bids and asks are in preparation too. You will be able to see each transaction you made, including consume, give and move
- item list and item details views are improved in order to bring more clarity and easier navigation through

Thanks for all other suggestions too, all of them will be taken in consideration and added to our project timeline.

Also, if anybody wants to check latest code base (the Github discussion from the other day), please send me your github username or email and you will be given read access to whole project.

@Roopatra Can you provide me a bit more details about overlapped bids / asks, so i can understand where is a problem to fix it. Thanks Smiley

Again, thanks everybody for effort and help about testing and please don't stop.

Best,
Wizard Developer PJ
Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
September 09, 2015, 03:37:01 PM
 #96

Ultima Agora market testing: Testing started at 15.04 (3.04pm)

P.J: The Wizard, PM sent about the details of bid/ask that did not get matched.

Testing commences:

BUY item_id max_quantity max_price
buy mead 5 777
Command Result: Bought 1 units of mead at 777m/unit for a total of 777m.
It also added a bid for the remaining quantity of the buy order correctly as it should. (maybe this should also be mentioned in the command result?)

SELL item_id max_quantity min_price
Sell mead 40 500
(no result, does not update even when hitting refresh)

Tried again:
sell mead 30 500
(no result, does not update even when hitting refresh)

sell mead 3 500
Command result: Sold 3 units of mead at 800m /unit for a total of 2400m.
(it matched my ask with the highest bid, as it should. but it did not match several separate bids to my (one large) ask like it should have. So it looks like the buy orders have to be for the exact quantities on the bid side. Or perhaps there was another problem why selling larger quatities of mead did not work, but selling 3 worked normally)

GIVE item_id quantity recipient
Will test this later because I did not find test partner who is online.

CONSUME item_id quantity
consume VOH 2
Command result: 2 units of VOH consumed
Works ok.

consume M 1mil
Command result: You do not have item_id or sufficient quantity of it
(consuming moneritos did not seem to work, perhaps on purpose, but maybe command result could be different.

CANCELASK item_id max_quantity min_price
cancelask M 100 100000
Command result: You do not have such an order active
(works perfectly, because there was an order but it wasn´t mine, and I was unable to cancel it.)

Another to cancel my own ask:
sell M 10 10000
Command result: new as added for 10 units of mat at a limit price of 10000.
BUG: it says Mat instead of moneritos
cancelask M 10 10000
Command result: Order removed
(that works ok.)

CANCELBID item_id max_quantity max_price
buy BUT-5 1 5mil
Command result: New bid added for 1 units of BUT-5 at a limit price of 5mil.
(so the abbreviation mil is working correctly)
cancelbid BUT-5 1 5mil
Command result: Order removed

Testing finished 15.37 (3.37pm) Testing duration: 33 min.
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
September 09, 2015, 08:11:54 PM
 #97

Testing starting at 6:56

1. Go to cryptokingdom.me and sign in with the username+password provided. Does it happen, does it happen intuitively, what else?

Certificate warning (self signed).
After adding an exception, login works fine.
Login link in the corner could be easier to see, it feels a bit hidden away.
While not logged in yet, links like "Agora marketplace" are available, yet they're not for unlogged in characters. Maybe there should be only the map link, which is available when not logged in.

2. Try to "get hold" of the system. Is navigation working, the scope of the game easy to grasp, what else?

The first screen is the character screen, which is a bit of a complex one to digest. Starting on the city center map may be more attractive for a new user. The = menu may not be super intuitive that clicking it shows a list of links, though it might be a "well known" thing, as I've seen the same sign in Firefox.

First link to try after character screen (town map) is a bit abstract, as it appears as a list of rectangles. It's not super obvious they're buildings until you click. Maybe names on them might help, if that's not too space consuming.

Apart from that, all fine.

3. My Character. Is the data correct (except built, age now, stone)? Is there data you feel is needless, or that should be there?

Land is wrong (250 against 2). Rest seems to match the DB. I'm richer than I thought Smiley
Ancient/blessed is not present. Closing Google DB before it crashe again.

4. My Items. Is the data correct? How should the layout be improved?

Data looks correct, though I've not crosschecked in detail.
Search box is pretty useful. Maybe a "current market price" column could be useful here (for items for which it makes sense). Also blessed status is not here.

5. Town Map / town view / chapelry view. Is the navigation logical? Can you get to all the views? Is the data correct? Are there wrong coordinates in lots, causing funny renderings?

Navigation is logical. It could be improved by having "arrow" links to move directly from chapelry to chapelry in a given borough, or a 3x3 grid link in the side bar, instead of going back and forth.

Colors for some land types (street, unbuilt, swampy) are similar enough that it can be not obvious which is which at first glance.

In the building view, the future building editor looks nifty. Would gain a lot by having rotation, as it's hard to see some walls.

5.1./5.2./5.3. Lot Usage / Building Density /Lot Division views in chapelry view. Work as intended?

Everything working there.

6. Lot view (by clicking on the lot in the chapelry view). Is data correct and works fine?

Command line when clicking on a building has the text: Here will come respond. Typo: response.
Also, the response field would be better below, not on the side, to avoid scrolling when it fills up.

Some things could do with a little "i" icon (eg, in the building view, "desire"). That'd have a small popup text when the mouse is over it, telling what this means. It's not obvious to newcomers.

Some names missing, eg: https://cryptokingdom.me/land/lot/details/675

A help command in the command line would be good. Or a help link to a command list on another page.

7. Chat in Lot view. (Arrange testing with someone else to get the realtime chat.) How is the practical chatting? Issues? Are you ready to start using this as the main game chat? Why(/not)?

Chat works. It feels not compact enough: it doesn't take many lines to scroll away. Maybe move time on the same line as the nick, and diminish the amount of free space around each person's chat. I'm viewing this on a laptop, so smaller screen than most, maybe.

Needs a /me command, as in IRC Tongue

Since there's a chat per building, it's hard to "meet" by chance. Maybe have an icon over buildings where somehting was said in the last 5 minutes, so people can find others more easily. Otherwise it feels dead and you're missing a reason to stay.

Some people show as "Visitor". There will be many people trying it I guess, so add a number, or somesuch, like "Visitor 23". Numbers can be recycled after a couple days I guess, so they don't become huge.

Timestamps are absolute. Maybe change to "X minutes ago", easier to make sense of them, and then you never have to guess what timezone they're in.

Once, I typed something and the whole thing just seemed to restart scrolling at me from the start. This happened just once.

I remember some lines being doubled. This did not happen to me today, but I'll mention it anyway for completeness, I'm not sure if this got fixed.

On my laptop, in a non fullscreen browser (but almost full size), the chat appears on the bottom, not the side. Not sure it's worth doing anything about it, but just so you know.

8. Agora Marketplace. Does the items listing work? How could it work even better? Is the data correct? Other wishes?

Listing works. It's not always obvious if you're in "my items" or "all items" mode. Could use an extra label/title for this. Dynamic search is great. My suits have year 0. Same for BEER, MEAD. My windows are year 16. My TS156 is year 156. Suits do not have a level (everything else seems to). Again, a "market price" column would be nice.

9. Item view (click on an item in Agora). How this view layout should be? Does all data display correctly? Is command line visible?

Quantity owned is not here. There is "original quantity", which I'm not sure is the same, but it's empty here for BEER (I have 229, as shown in the Agora listing). I think quantiy and description should come before color/material/stone/ckg/cks.

Command line is here. Same comments as for command line above.

10. Command line. Test methodically all the commands below and tell the changes observed in the item ownerships etc. Command syntaxes are as follows:

There seems no way to know which orders are yours. I placed some yesterday.
Nor a way to see what orders of yours were possibly filled while you were away (history).

BUY item_id max_quantity max_price

I can place a buy for MEAD at price 0. This does not show in the orders list, even after reloading the page. An order at 550 shows up without having to reload. I can place a buy order for 0 MEAD at a price of 120. It does not show up in the order book.
Other orders seem to work.

SELL item_id max_quantity min_price

I tried to sell 1 MEAD at 333333333333333333333333333. I got no reply in response, and the order book did not change. I suspect an error in the backend. Selling 1 for 3333 (a more sane price) does the same: no order book change, no output in response.
Now, I tried to buy again, and I got a response telling me the order was passed, but I do not see it in the order book. I think it displays only the first 5, without scrollbar. After that, selling 1 mead for 855 worked.

GIVE item_id quantity recipient

give mead 1 sphericon -> No such recipient.
The player list that was there weeks ago is now gone, so you can't know the character ID of someone.

give mead 2 5 -> 2 units of mead given to New.
I suspect that's New Liberty, so bug: it uses only the first word in the name.

Giving reduces my count properly.


CONSUME item_id quantity

Works. Item count reduced properly.

TRANSFER item_id quantity giver recipient

Admin, not tested.

CANCELASK item_id max_quantity min_price <-- not implemented when last checked

Trying to cancel an ask I made earlier:
You do not have such an order active.


CANCELBID item_id max_quantity max_price <-- not implemented when last checked

Trying to cancel an ask I made earlier:
You do not have such an order active.


MOVE source_borough_id destination_borough_id amount <-- for moving stone

I do not have stone, not tested.

11. Exchange matching engine. Using normal rules followed in all online exchanges, this should execute the trades when bids and asks match. Tell all the impressions whether it worked as it should, or not.

There was a buy order of 4 mead at 777. I think this was wrong in the first place, but I did not keep the steps before so I can't tell. However, after that, I did:  buy mead 3 777. This did not get me a response, but I saw an extra bid order appear for 1 (ONE) mead at 777. I expected 3, not 1.

Then buy mead 2 800 -> no response, and no order book change, though there were two different sell orders for mead at 800, each for 1 mead.

Trying to cancelbid the new 1 mead at 777 did not work (You do not have such an order active.), trying either with 3 (original command) or 1 (what ended up in the book).

In general, it's not obvious if the command line response is a new message that reads the same as the previous one, or whether nothing was changed. Should clear the response first thing when a new command is entered. Or maybe scroll the responses like in chat, keeping the last three or so.


Testing ending at 8:04 pm
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
September 09, 2015, 08:33:34 PM
 #98

Start test: 8:49pm

logged in noms in chrome
logged in petrarch in IE

clicked agora marketplace for mead

exists: bid for 4 units at 777
exists: ask for 1 unit at 800


noms entered
SELL MEAD 11 777

response: New ask added for 11 units of MEADat a limit price of 777

However, the bid for 4 units at 777 still exists.
refresh page
the bid for 4 units at 777 still exists.

petrarch entered:
buy mead 11 777
Bought 11 units of mead at 777 m/unit, for a total of 8547m.

petrarch entered:
sell mead 4 777
response: New ask added for 4 units of meadat a limit price of 777 .
 
petrarch entered:
sell mead 2 750

response:
No such item / lot exists or you do not have it
 (this is bad, because I have 221 in my inventory at this moment).

 
noms entered:
sell mead 2 777
response: New ask added for 2 units of meadat a limit price of 777 .

screen doesn't show the quantity in the ask/bid info updated. I tried

entering this 6-7 more times, and quantity still didn't update in table.

noms entered:
buy mead 1 800
command results: Here will come respond

noms entered:
sell mead 1 800
New ask added for 1 units of meadat a limit price of 800 .
(ask/bid table did update, but now there are two seperate entries saying

800/1)

petrarch enters:
buy mead 800 1

response: New bid added for 800 units of mead at a limit price of 1 .
(bid/ask table does not update)


noms enters:
buy mead 1 2
response: New bid added for 1 units of mead at a limit price of 2 .
table does not update

NOMS ENTERS:
SELL MEAD 2 801
SELL MEAD 2 802
SELL MEAD 2 803
SELL MEAD 2 804

seems to work right to add those bids. However, I think there is a bug. It

looks like the ask list is sorted DESC, when it should be sorted ASC.

I can't seem to see the whole list either, so it is making purchasing quite confusing. I am having a hard time testing whether my bids/asks are working as I cannot see if they are actually accepted or not.

End testing 9:31pm, duration 42 minutes

Monero.
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
September 09, 2015, 08:56:32 PM
 #99

There was a buy order of 4 mead at 777. I think this was wrong in the first place, but I did not keep the steps before so I can't tell.

Disregard this, this is explained by noms' testing below, as he was adding these at the same time I was testing Smiley
Karl Hungus
Full Member
***
Offline Offline

Activity: 212
Merit: 100


View Profile
September 10, 2015, 03:39:47 AM
Last edit: September 10, 2015, 03:58:21 AM by Karl Hungus
 #100

Testing

1. Go to cryptokingdom.me and sign in with the username+password provided. Does it happen, does it happen intuitively, what else?
Login successful & intuitive


2. Try to "get hold" of the system. Is navigation working, the scope of the game easy to grasp, what else?
Navigation working well. Scope of game not easy to comprehend IMO, maybe add an intermediate introduction page when first logged in with things like CK vital statistics (number of characters, land mass, invested XMR and/or market cap etc), a stylised map graphic of 3d medieval world (think Game of Thrones introduction), a basic description of what CK is e.g. "CK is a roll-playing game of skill that is fun to play, and depending on your skill, might make the time you spend playing it profitable', links to help files and FAQ's, message from the King etc


3. My Character. Is the data correct (except built, age now, stone)? Is there data you feel is needless, or that should be there?
Data is not correct (gold, silver), looks out of date. Suggest adding health, SCI, CUL, IC


4. My Items. Is the data correct? How should the layout be improved?
Data appears correct. I think the LHS 'Category' menu could benefit from condensing into a smaller number of top-level categories with expanding sub-categories and items underneath.


5. Town Map / town view / chapelry view. Is the navigation logical? Can you get to all the views? Is the data correct? Are there wrong coordinates in lots, causing funny renderings?
Navigation is working well. I suggest for the navigation 'breadcrumb' links use "Land Map > Borrough > Chapelery > Lot", current navigation links doesn't add 'Borrough', but I guess that's because there isn't a borrough view. Data I viewed was accurate. At first I didn't realise where I clicked inside a 'buit' area on the chapelery view determined which lot I would open. Then I discovered "Lot Division", but not straight away so it wasn't obvious to me. I also miss the option of viewing a whole borrough like in the original spreadsheet version (i.e. Ultima goes from town view showing all 9 borroughs to chapelery view, but no borrough view)


5.1./5.2./5.3. Lot Usage / Building Density /Lot Division views in chapelry view. Work as intended?
Bug, when viewing 'Old Town' in 'Building Density' view I was unable to click and open Embassy Tower, Lot 1-C-F10, but could open all the other lots. I could open Embassy Tower in 'Lot Division' view. Lot 1-C-F10 has density 2.535



6. Lot view (by clicking on the lot in the chapelry view). Is data correct and works fine? Lot view working well, data correct.
Lot data I viewed looked correct.


7. Chat in Lot view. (Arrange testing with someone else to get the realtime chat.) How is the practical chatting? Issues? Are you ready to start using this as the main game chat? Why(/not)?
Checked mutliple lot chats and was able to view and add comments. I made some previous suggestions on game 'chat' in an earlier post.

8. Agora Marketplace. Does the items listing work? How could it work even better? Is the data correct? Other wishes?
I made some previous suggestions on Agora Marketplace in an earlier post. I also think the LHS 'Category' menu could benefit from being condensed into a smaller number of top-level categories with expanding menus for sub-categories and items underneath.

9. Item view (click on an item in Agora). How this view layout should be? Does all data display correctly? Is command line visible?
I made some previous suggestions on Item view in an earlier post.


10. Command line. Test methodically all the commands below and tell the changes observed in the item ownerships etc. Command syntaxes are as

11. Exchange matching engine. Using normal rules followed in all online exchanges, this should execute the trades when bids and asks match. Tell all the impressions whether it worked as it should, or not.

OZ starting balances
Moneretos: 1,483,734,623
mead: 200

BUY mead 1 804
Bought 1 units of mead at 777 m/unit, for a total of 777m.
NOT what I expected - order book suggested I should have bought 1 unit @ 804
moneritos: 1,483,734,623 - incorrect (unchanged)
mead 201: increased by 1 - correct


SELL mead 2 777
New ask added for 2 units of mead at a limit price of 777 .
NOT what I expected - order book suggested I should have sold 2 units @ 777, order not added to marketplace
Moneretos: 1,483,734,623 (no change)
mead: 201 (no change)


GIVE mead 5 hokusai
5 units of mead given to Hokusai.
OZ mead: 196 - correct (reduced by 5)
Hokusai mead: 205 - correct (increased by 5)
Yes, What I expected



SELL mead 7 800
New ask added for 7 units of mead at a limit price of 800
NOT what I expected, Order not added to marketplace - couldn't test CANCELASK


BUY mead 5 780
Bought 2 units of mead at 777 m/unit, for a total of 1554m.
NOT what I expected, expected my whole bid to be added to the order book, so appears my earlier 'SELL mead 2 777' was in the marketplace but invisible - correct residual bid for 3 mead @780 added to order book

CANCELBID mead 2 780
Order removed.
Removed previous residual Bid order for 3 from previous 'BUY mead 5 780' command (i.e. didn't leave a residual Bid order for 1 unit in the order book as expected)
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
September 10, 2015, 04:10:05 AM
Last edit: September 10, 2015, 05:33:52 AM by generalizethis
 #101

TEST: "SINGLE ASK"

Test started 21.50 (9.50pm)

 
Ask/Crichton

command: sell cr1602e 1 1

command result: New ask added for 1 unit of cr1602e 1 1 .

(Showed up as correct in asks--this was the first ask and bid shows up directly underneath it instead of to the right. Could confuse newer users)

as shown:

Ask

                        1/1

Bid

as expected:

Ask                                                    Bid

      1     1

*A monereto balance on item pages would be helpful. If your unsure of your total , it would eliminate the step of having to go to the "your items" page to check.

Test ended 22.05 (10.05pm) 15 minutes

-----------------------------------------------------------------------------------------------------------------------------------

TEST: "SINGLE BID"

Test started 22.18 (10.18pm)


Bid/Bank

command: Buy cr1602e 1 1

command result: Bought 1 units of of cr1602e at 1 m/unit for total of 1m .

(executed as expected. Did not take monerito from account balance. Bank's total was 1,171,817,160 before and after purchase. Chriton's balance was 129,173,562 before and after transaction. Item was moved from Crichton's items to Bank's items)

Test ended 22.27 (10.29pm) 11 minutes

-----------------------------------------------------------------------------------------------------------------------------------

TEST: "MULTIPLE ASKS"

Test started 22.51 (10.51 pm)

Asks/Crichton

command: sell 1602e 3 5

command result: No such item / lot exists or you do not have it.

(executed as expected)


command: SELL CR1602E 3 20

command result: New ask added for 3 units CR1602E at a limit price of 20 .

(executed as expected. Order shows in Bids)


command: sell cr-1602e 5 40

command result: No such item / lot exists or you do not have it.

(executed as expected)


commmand: sell cr1602e 5 40

command result: New ask added for 5 units of cr1602e at a limit price of 40 .

(order shows in Bids, but previous order 3 at 20 shows beside it instead of below it. Same unexpected result as in "SINGLE BID" test.)


command: sell cr1602e 10 100

command result: New ask added for 10 units of CR1602E at a limit price of 100 .

(order shows in Bids, but same setting of order beside the other orders instead of in a verticle collumn. Also, there's a space between the order and the period ( 100 .) in the command result)

Test ended: 23.17 (11.17pm)  26 minutes

-----------------------------------------------------------------------------------------------------------------------------------

TEST: "MULTIPLE BIDS"

Test started 23.21 (11.21pm)

Bids/Bank

command: buy cr1602e 10 100

command result: New bid added for 10 units of CR1602E at a limit price of 100 .

(Bid showed as expected, but didn't buy the listed ask. Refreshed twice. *Will log out and see if that changes things once all my bids are placed)


command: buy cr1602e 5 40

command results: Bought 3 units of cr1620 at m/unit, for a total of 60m.

(2 units still appear on Bids and 5 units still appear on the ask side. Should have been even swap. Refreshed twice)

command: buy cr1602e 3 20

(bid shows in bids, but ask of 3 at 20 is gone. Extremely slight possibility that someone besides the Bank bought these item; the Bank's total of cr1602e is 47 (+5 from when all bids were placed in "Multiple Bids" test), so most likely the 3 units were bought by the bank, but still show up in the bids. *If any testers can confirm that they did or did not buy these 3 units, it would be helpful to confirm the actual results. 5 total CR1602E were removed from Crichton's account as should be expected)

Overall: the Bids and Asks do not work as expected--instantaneous matching and transference.  Also, no monereto were removed or added from either the Bank's or Crichton's accounts. All items that were added to Bank's account matched items removed from Crichton's accounts. I logged out and back into both accounts to check if it might be a lag issue, but the results did not change.)

Test ended: 23.58 (11.58pm) 37 minutes

-----------------------------------------------------------------------------------------------------------------------------------

 4 tests total: 89 minutes

Biggest concerns:

--Bids and Asks are not being fufilled as expected.

--No monereto are being added or removed

Suggestion:

--Add monereto balance to item pages

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 10, 2015, 09:15:09 AM
 #102


Hi, and thanks to you and Crichton (and others who did the laborious testing)!

I am back from an internet blackout and have some catching up.

PJ lamented that some of his changes which had corrected issues mentioned here in the last 2 days did not update to the online version. So good news: the progress is further than it seems, bad news: some of you tested the outdated version due to the update glitch. Same has happened before with me, and it is annoying but not critical.

I will update as soon as the latest version of the exchange is updated to the online.


Scope of game not easy to comprehend IMO, maybe add an intermediate introduction page when first logged in with things like CK vital statistics (number of characters, land mass, invested XMR and/or market cap etc), a stylised map graphic of 3d medieval world (think Game of Thrones introduction), a basic description of what CK is e.g. "CK is a roll-playing game of skill that is fun to play, and depending on your skill, might make the time you spend playing it profitable', links to help files and FAQ's, message from the King etc

As soon as new character login is enabled (it will likely not be in the first iteration), there will be a push-message tutorial which is about 30 push-messages delivered based on EXP (playtime), and accompanied with a gift ranging from 2 bottles of mead, to IC and gold coins. The wiki will also start to be expanded when we get the basics together. The third way to distribute information is the "annual bulletin" similar to what I have been written in the thread but somewhat customized based on the character receiving it (as push-message).

Quote
8. Agora Marketplace. Does the items listing work? How could it work even better? Is the data correct? Other wishes?
I made some previous suggestions on Agora Marketplace in an earlier post. I also think the LHS 'Category' menu could benefit from being condensed into a smaller number of top-level categories with expanding menus for sub-categories and items underneath.

I scrapped this (it was there in the beginning). Will think when to put it back, now or later.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 10, 2015, 03:49:28 PM
 #103


Hi all,

After much labor, our new urgency grading looks like this:

1 = immediate (prevents testing or critical for data coherency)
2 = urgent (needed before/for release of V3.9)
3 = asap (may be done if it is not feasible to do any more urgent things - does not postpone release though)
4 = one week (is needed for year_change routines etc)
5 = next release (will be done before any new features in V4.0)
6 = good to have (will be done "later(TM)")

The issues the testers have brought about, have been graded for their urgency. Most UI grievances were not prioritized, but the importance of being able to use the Exchange convincingly and comfortably was realized.

So the release will consist of the "1" and "2" items above, and the main remaining issues are:
- Matching does not work completely as it should. It needs to work 100%.
- Items listing will undergo streamlining.
- The "Exchange view" will show the active character's money and current item balances, best bids and asks and the command line. ("Last trades of item" and "Last trades of individual" are in "asap" category so may appear a few days after release).

I will tell when the latest update is uploaded to the online testing platform. Right now there is no need for further testing, the issues in the current version are known. It is very possible to get the new one today

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 13, 2015, 08:38:27 PM
 #104

Prepare yourselves! PJ will soon announce here the newest version of the exchange, which is rumored to be wonderful! Smiley

I have a travel day tomorrow so have to go to sleep now, but will come back in a few hours to check it out! This time you get to see it before me Wink

(Instructions by PJ soon...)

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
newb4now
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


View Profile
September 14, 2015, 12:54:27 AM
 #105

Prepare yourselves! PJ will soon announce here the newest version of the exchange, which is rumored to be wonderful! Smiley

I have a travel day tomorrow so have to go to sleep now, but will come back in a few hours to check it out! This time you get to see it before me Wink

(Instructions by PJ soon...)

I love the idea of an in game exchange. I think the exchange was part of what made WoW so successful
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
September 14, 2015, 03:57:59 AM
 #106

Hello everyone,

I have opportunity to proudly announce latest changes in our Ultima version. There is a lot of details so will try to be very quick and concise, but you are welcome to ask further questions or explore it directly Smiley

For start, I updated latest changes from Google DB, but same concept for login and credentials are still applied. You can use character short name and earlier provided password to get in.

List of latest changes are:
- visual representation of bids / asks are improved drastically (it is visible in agora market items list and in itemDetails)
- updated sorting for asks from lowest price on top (it was reversed before)
- bids/asks lists are updating after each command in itemDetails view
- also, as player status its visible now total money and amount of owner items (for example, king owns 200 items of mead)
- those numbers, including amount of money will also update after each command
- fixed issue with overlapping bids too
- added script for calculating current age of player (based on current and start year and players age on start)
- my items and agora market are same view now, it’s just a matter of filter if you select My items or All items
- for each command (almost all of them) change event will be saved in history log..

I hope you will enjoy new changes, we preparing more very very soon and, as always, please let me know if you find any issue with anything.. I will try to fix/improve it as quick as possible..

Best,
Wizard Developer PJ

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 14, 2015, 06:06:30 AM
 #107

Nice! Looks good Smiley To make sure the functionality/logic is 100% correct, only testing can help!

With the previous promises concerning m payment in this world and eternal glory in the next one, please continue with the testing!

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
September 14, 2015, 08:32:24 AM
 #108

Here's another go then:


Testing starting at 9:04 AM

General comments:

The MEAD books contain "intersecting" orders: I see these two orders:
Sell: 690 9 OZ
Buy: 700 11 Hokusai

I can place two sell orders for 200 MEAD, though I only have 200. The "max amount" limit
uses your total owned, rather than owned minus what you already have listed for sale.

The "Owned Items of" field should also contain number of items you have on bid/ask books.

Add two commands: cancelbuy (synonym for cancelbid) and cancelsell (synonym for cancelask).
This is to stay consistent with buy and sell commands (and what the screen says).

Step by step:

BUY item_id max_quantity max_price

buy mead 6 670
Order placed and directly visible.
buy mead 30 450
Order placed, but non visible because it goes below the list, no scrollbar.
This makes it easy to forget you have an order, and hard to cancel it if you don't recall
exactly the price/amount. Maybe have a separate list for your own orders.
buy mead 3 692
Order placed, this bought from the existing sell order. M and mead amount updated directly.
buy mead 8 800
This was an order designed to be larger than the first sell order.
while the first sell order was entirely taken (6 mead at 690), I end up with a buy order
for the rest at 2 mead to 800, but the sell book still shows an 8 mead sell at 700, which
should have been bought from.

SELL item_id max_quantity min_price
sell mead 2 800
I bought my own order. All fine.
sell mead 30 950
Order placed.

GIVE item_id quantity recipient
give mead 6 88
The command succeeded, but I lost the mead (I expected the balance would be 0).
give mead 2 5
Works, though it still says "2 units of mead given to New." (ie, missing "Liberty").
Same comments about not being able to know another's ID easily.

CONSUME item_id quantity
consume mead 2
Works, mead amount decreased by 2.

TRANSFER item_id quantity giver recipient
Not tested

CANCELASK item_id max_quantity min_price
cancelask mead 20 950
This removed my existing order of 30 (different anount) at 950.

CANCELBID item_id max_quantity max_price
cancelask mead 1 1000
This appears to do nothing. I ahve an buy order for 6 mead at 670, which stayed there.
I see no echo of the command below the box. The response seems to not have updated.
cancelask mead 6 670
This did not remove my existing order of 6 for 670. I get "You do not have such an order active."
but the order book shows such an order.

MOVE source_borough_id destination_borough_id amount
Not tested

Testing stopped at 9:31 AM

generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
September 14, 2015, 03:28:27 PM
 #109

TEST 1: "SINGLE ASK"

Test started 8.49 (8.49am)

 
Ask/Crichton

command: sell w1600m 1 1

command result: New ask added for 1 unit of w1600m at a limit price of 1 .

(worked as expected. Orders shows in sell que)

Test ended 8.53 (8.52am) 3 minutes

-----------------------------------------------------------------------------------------------------------------------------------

TEST 2: "SINGLE BID"

Test started 8.54 (8.54am)


Bid/Bank

command: buy w1600m 1 1

command result: Bought 1 units of of w1600m at 1 m/unit for total of 1m.

(worked almost as expected. Item added to Bank's total. Monereto deleted from Bank's total. Crichton's total of w1600m dropped by one. *Crichton's monereto total did not increase by one.)

Test ended 8.58 (8.59am) 5 minutes

-----------------------------------------------------------------------------------------------------------------------------------

TEST 3: "MULTIPLE ASKS"

Test started 9.00 (9.00am)

Asks/Crichton

command: sell 1600 3 5

command result: No such item / lot exists or you do not have it.

(worked as expected)


command: SELL W1600M 4 5

command result: New ask added for 4 units W1600M at a limit price of 5.

(worked as expected. Order shows in sell que)


command: sell w1600m 3 10

command result: New ask added for 3 units w1600m at a limit price of 10 .

(worked as expected. Order shows in sell que. Could use a tally to keep track of units still available for trade.)


commmand: sell w1600m 50 100

command result: New ask added for 50 units of  w1600m at a limit price of 100.

(worked as expected. Order shows in sell que.)


command: sell w1600m 2 1

command result: New ask added for 2 units of w1600m at a limit price of 1 .

(worked as expected. Order shows in sell que.)


command: sell w1600m 4 4

command result: No such item /  lot exist or you do not have it

(worked as expected. Had no more w1600m to offer for sale.)

Test ended: 9.25 (9.25am)  25 minutes

-----------------------------------------------------------------------------------------------------------------------------------

TEST 4: "MULTIPLE BIDS"

Test started 9.34 (9.34am)

Bids/Bank

command: buy w1600m 1 2

command result: Bought w units of w1600m at 1m/unit, for a total of 2m.

(worked as expected. Sell order removed. 2 monereto removed. 2 items added .)


command: buy w1600m 4 5

command results: Bought 4 units of w1600m at 5m/unit, for a total of 20m.

(Worked as expected. Sell order removed. 20 moneretos removed. 4 items added.)

command: buy w1600m 55 100

command results: Bought 3 units of w1600m at 10 m/unit, for a total of 30m.

(Didn't work as expected. Only removed the lowest sell order and left an executable bid and sell order in que. The moneretos were only deleted from the order that was shown as executed (the one that disappeared from the que), but all the items available were put into the Bank's item que--meaning the Bank was given all the items available in the sell que, but only having paid for the 3. The que does not show the sell order completed or the buy order completed. Also, no Moneretos have as yet been added to Crichton's account, all items have been removed.)

*the tests that follow focus on this glitch.


Test ended: 9.58 (9.58am) 24 minutes

-----------------------------------------------------------------------------------------------------------------------------------

TEST 5: "OVER-BID ONE ASK"

Test started 10.10 (10.10am)

Ask/Crichton

command: sell ths1 1 1

command results: New ask added for 1 units of ths1 at a limit price of 1 .

(worked as expected. Order shows in sell que.)

Bid/Bank

command: Buy ths1 2 1

command results: Bought 1 units of ths1 at 1 m/unit, for a total of 1m.

(worked as expected. Unit added to items. Over bid added to Buy orders. Ask removed from sell orders. Monereto removed from Bank's total.)

Test ended 10.21 (10.21 am) 11 minutes

---------------------------------------------------------------------------------------------------------------------------------

TEST 6: "OVER-BID MULTIPLE ASKS"

Test started 10.25 (10.29am)

Ask/Crichton

command: sell clxii 1 1

command results: New ask added for 1 units of clxii at a limit price of 1 .

(worked as expected. Order shows correctly in sell que.)

command: sell clxii 4 10

command results: New ask added for 4 units of clxii at a limit price of of 10 .

(worked as expected. Order shows correctly in sell que.)

Bid/Bank

command: buy clxii 7 10

command results: Bought 1 units of clxii at 1 m/unit, for a total 1m.

( The bank had 1,171,817,160m and 15 units of clxii before the bid was placed, now it has

1,171,817,159m and 20 units of clxii. As you can see the small order was filled correctly, but all the units from both sell orders were placed in the Bank's item que without charging the Bank.

Both Crichton's 4 unit ask and the remaining units(6) in the Bank's bid still appear in their respective ques.  )

Test ended 10.48 (10.48am) 19 minutes

----------------------------------------------------------------------------------------------------------------------------------


Biggest concerns:

--Bids and Asks do not work as expected when overbids happen.

--No monereto are being added to ask side's account when orders are filled, but the units are being removed.


Minor concerns:

--Sell orders show # of m but not the m before the period as orders do in bids.

Example of ask: "Bought 1 units of clxii at 1 m/unit, for a total of 1m."

Example of bid: "New ask added for 1 unit of clxii at a limit price of 1 ."


Suggestions:

--Update tally of units available to sell as sell orders are being placed.


6 tests: 87  minutes



rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 14, 2015, 03:42:20 PM
 #110

The "Owned Items of" field should also contain number of items you have on bid/ask books.

Well yeah, there are many things in the professional exchange software. I'd postpone this just to the next revision Smiley

Quote
Add two commands: cancelbuy (synonym for cancelbid) and cancelsell (synonym for cancelask).
This is to stay consistent with buy and sell commands (and what the screen says).

Yes. PJ: let's add these two commands, with identical syntax and evaluation:
cancelbuy (synonym for cancelbid)
cancelsell (synonym for cancelask)

Also new command:
CANCELALL item_id
- remove all bids and asks of active_character for the item_id

This is to ease the situation when it is unclear if there are orders in the books, and difficult to remember them exactly.

Quote
Maybe have a separate list for your own orders.

Yes we will, later.

Quote
I end up with a buy order
for the rest at 2 mead to 800, but the sell book still shows an 8 mead sell at 700, which
should have been bought from.

PJ, check what is up here!

Quote
give mead 2 5
Works, though it still says "2 units of mead given to New." (ie, missing "Liberty").
Same comments about not being able to know another's ID easily.

- char_id "5" = "New"
- char_id "3" = "NewLiberty"

Char_id's are always ints and char_shortnames are max 12 char text strings without spaces.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 14, 2015, 05:24:07 PM
 #111

Can somebody please verify that my specification (upthread) concerning the matching engine is correct? Please!

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
September 15, 2015, 06:33:59 PM
 #112

Hello everybody,

I uploaded new commands for test Smiley

Commands for testing are:
- cancelbuy (should work as cancelbid)
- cancelsell (should work as cancelask)
- cancelall item_id this is new command, it will cancel all yours active bids/asks for selected item


We are working to improving usability of command line functionality and it will come few more features too very soon. For this reason, both bids and asks list will show all bids for current item, you will just need to scroll to get to the bottom of the list.

In mean time I will appreciate your help with testing current functionalities, so we can together find and kill all remain bugs in it.

Also, I want to thank all testers with previous test results, it was very valuable and helped me a lot. Please continue!! Smiley

Best,
Wizard Dev. PJ
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
September 16, 2015, 06:24:20 AM
 #113

Testing started 1.31 (1.31am)

TEST: "CANCEL BUY"

command: buy mead 10 1
command results: New bid added for 10 units of mead at a limit price of 1.
(worked as expected)

command: cancelbuy mead
command results: Input command is not correct
(worked as expected)

command: cancelbuy mead 10 1
command results: Order removed
(worked as expected)

command: cancelbuy mead 15 650 (Hokusai's buy order)
command results: You do not have such an order active.
(worked as expected)

command: buy mead 10 1
command results: New bid added for 10 units of mead at a limit price of 1.
(worked as expected)

command: cancelbuy mead 9 1
command results: Input command is not correct.
(Wasn't sure what would happen, but good to know that the whole order must be canceled)

command: cancelbuy mead 11 1
command results: Order removed.
(Assumed from previous result that the exact order would have to be removed. Counter intuitve, but easy enough to adapt to.)



--------------------------------------------------------------------------------------------------------------------------------------



TEST: "CANCELSELL"

command: sell mead 10 1000
command results: New ask added  for 10 units of mead at a limit price of 1000.
(worked as expected)

command: cancelsell mead
command results: Input command is not correct.
(worked as expected)

command: cancelsell mead 10 1000
command results: Order removed.
(worked as expected)

command: sell mead 10 1000
comand results: New ask added for 10 units of mead at a limit price of 1000.
(worked as expected)

command: cancelsell mead 9 1000
command results: Order removed.
(Thought an "Input command is not correct." message would appear as in the CANCELBUY test. Or that only 9 of the order would be removed. Don't mind that it cancelled the whole order, but would like it to be consistent with cancelbuy command.)

command: sell mead 10 1000
command results: New ask added for 10 units of mead at a limit price of 1000.
(worked as expected)

command: cancelsell mead 11 1100
command results: You do not have such an order active.
(worked as expected)

command: cancelsell mead 11 1000
command results: Order removed.
(worked as expected)

Suggestions: cancelsell and cancelbuy have consistent command results.

Test ended 2.16 (2.16am) 45 minutes


The functionality is really improved, Wizard Dev P.J.. It's coming along nicely. I'll try to test the cancelall command tonight or tomorrow.

papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
September 16, 2015, 12:48:47 PM
 #114

Hi guys,

Do you need any more testers? If so, I'd like to do it.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 16, 2015, 02:13:44 PM
 #115

Hi guys,

Do you need any more testers? If so, I'd like to do it.

Yeah, go for it. The instructios are in the thread! THank you Smiley

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
September 16, 2015, 05:22:09 PM
 #116

 Undecided When you don't play nice with the trading engine strange things happen as described bellow:
- Items get destroyed
- Negative balances
- Money is created

TESTING STARTED 16:16

8. It would be easier if there were a command box available without having to open an item.


9. The price in the orders tables should present a unit even if the moneretos are implicit. For the new guys.

10.
a) I am able to sell into my bids. When I do it i get deducted of the item sold and get the value for what it was sold. An the item is destroyed:


Mybalance: 200,148,306
Owned Items of MEAD : 823
command: sell MEAD 1 200mil
command results: New ask added for 1 units of mead at a limit price of 200000000.

command: buy MEAD 1 200mil
command results: Bought 1 units of mead at 200000000 m/unit, for a total of 200000000m

Mybalance: 400,148,306
Owned Items of MEAD : 822

b) When you command a buy order which spans two or more sell orders the system places a bid for each of the command results with the ammount being the diference between the ammount commanded and the ammount bought and the price of that sell order.
The same thing happens on sell orders into 2 or more buy orders.


Ex.1:
command: sell MEAD 22 800
New ask added for 22 units of mead at a limit price of 800.
command: sell MEAD 100 900
New ask added for 100 units of mead at a limit price of 900.
command: buy MEAD 1000 900
Bought 22 units of mead at 800 m/unit, for a total of 17600m.
Bought 100 units of mead at 900 m/unit, for a total of 90000m.

And places 2 BUY orders:
978 MEAD at 900
878 MEAD at 900

Ex.2:
buy orders:
15 MEAD at 650 Hokusai
10 MEAD at 625 Roopatra

command:sell MEAD 50 620
Sold 15 units of mead at 650 m/unit, for a total of 9750m. <-

Placed a sell order
35 at 620 Angus


Ex.3:
BUY ORDERS
Price    Amount    Player
625   10   Roopatra
600   15   Hokusai
550   15   Hokusai
500   100   King
500   15   Hokusai

command:sell MEAD 200 500
Sold 15 units of mead at 600 m/unit, for a total of 9000m.
Sold 15 units of mead at 550 m/unit, for a total of 8250m.
Sold 100 units of mead at 500 m/unit, for a total of 50000m.
Sold 15 units of mead at 500 m/unit, for a total of 7500m.

BUY ORDERS
Price   Amount   Player
625   10   Roopatra
500   10   Roopatra
450   100   King
450   30   Moo

SELL ORDERS

Price   Amount   Player
500   185   Angus
500   170   Angus
500   70   Angus
500   55   Angus
620   35   Angus


c) There is something wrong with the accounting when the balance is negative:

Ex. 1:)
My balance: -161,144,442
Owned Items of NP1600E: 11
command: sell NP1600E 11 60mil
Sold 11 units of np1600e at 60000000 m/unit, for a total of 660000000m.
My balance: -161,165,353
Owned Items of NP1600E: 11

d) The negative balance is related to being able to sell into your own bids:

My balance: 100,220,570
Owned Items of NP1600E: 1

command:sell 1 NP1600E 100mil
command:sell 1 NP1600E 100mil
command:sell 1 NP1600E 100mil
command:sell 1 NP1600E 100mil
command:sell 1 NP1600E 100mil
command:sell 1 NP1600E 100mil
command:buy NP1600E 100 10020000 0
results:
Bought 1 units of np1600e at 100000000 m/unit, for a total of 100000000m.
Bought 1 units of np1600e at 100000000 m/unit, for a total of 100000000m.
Bought 1 units of np1600e at 100000000 m/unit, for a total of 100000000m.
Bought 1 units of np1600e at 100000000 m/unit, for a total of 100000000m.
Bought 1 units of np1600e at 100000000 m/unit, for a total of 100000000m.

My balance: -399,779,430
Owned Items of NP1600E: 1

e)
command: cancelall NP1600E
results: Your asks and bids are cancelled
OK

cancelsell order is not interpreting the values in million moneretos:
command: sell NP1600E 1 1mil
results: New ask added for 1 units of np1600e at a limit price of 1000000.
command: cancelsell NP1600E 1 1mil
results: You do not have such an order active.
command: cancelsell NP1600E 1 1000000
results: Order removed.

TESTING ENDED 17:33
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
September 17, 2015, 08:19:21 AM
 #117

Hello everyone,

For today's update, I prepared few new items, too.

- move command is working. It will also deduct some (predefined) amount as costs of moving stone from one borough to another. Command example: MOVE source_borough_id destination_borough_id amount

- support for multiple command at the same time!
It almost everything the same like single command, you just need to press shift+enter to start new command in new line. Once you prepare you command(s) press enter to save it all.
 
- matching script.  Thanks for extensive testing. It helped me to improve it a lot. As a result of new discoveries, i re - wrote it again (it's a third time now). I hope you noticing improvement with each version and I really believe this one is very close to final version. As always, only your testing will confirm or decline it Smiley
This update also addressing some of the issues with yesterday's testing, like money creation and destroying items, too..

Looking forward to see how new tests will result Smiley

Best,
Wizard Developer PJ
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
September 17, 2015, 10:05:33 AM
 #118

START - 10:25

8. It would be useful if the results showed the results for each trade/order placement.

a) When you sell smt the quantity increases and the deal is made for the price you command instead of the prices of the order book.
  
char1 (seller):
My balance: 100,235,570
Owned Items of MEAD: 532

char2: (buyer)
My balance: 314,403,139
Owned Items of MEAD: 280

1 bid in orderbook of 20 MEAD @ 200
command:sell MEAD 100 100
results:New ask added for 80 units of mead at a limit price of 100.
^ Should also show the trade that was made
ex:
Sold sold 1 mead for 200 total 200
New ask added for 80 units of mead at a limit price of 100.

char1 (seller):
My balance 100,237,570 -> +2000m should be 4000
Owned Items of MEAD 552 -> +20 should be -20

char2: (buyer):
My balance 314,401,139 -> -2000 should be -4000
Owned Items of MEAD 260 -> -20 should be +20

b) When buying the accounting is correct

char2 asks:
10 MEAD @ 100
10 MEAD @ 150
10 MEAD @ 200

char1 (buyer):
My balance 100,237,570
Owned Items of MEAD 552

char2 (seller):
My balance 314,401,139
Owned Items of MEAD 260

char1:
command: buy MEAD 50 500
results: New bid added for 20 units of mead at a limit price of 500.

char1:
My balance 100,233,070 -> -4500 OK
Owned Items of MEAD 582 -> +30 OK

char2:
My balance 314,405,639 -> +4500 OK
Owned Items of MEAD 230 -> -30 OK

c1) Multiple command executed, only shows results of last execution.
   When buying from self no changes in m or item - OK


char1:
My balance 100,233,070
Owned Items of MEAD 582

char1:
command:
sell MEAD 100 1000
sell MEAD 100 2000
sell MEAD 100 3000
results:
New ask added for 100 units of mead at a limit price of 3000. <- should show all the asks added

char1:
command: buy MEAD 500 5000
results: New bid added for 200 units of mead at a limit price of 5000.

char1:
My balance 100,233,070 -> no change OK
Owned Items of MEAD 582 -> no change OK

c2)
char1 buy orders
200 MEAD @ 5000
20 MEAD @ 500

command:sell MEAD 300 1
New ask added for 80 units of mead at a limit price of 1.

My balance 100,233,070 - no change OK
Owned Items of MEAD 582 - no change OK

TEST ENDED - 10:57
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
September 17, 2015, 03:59:53 PM
 #119

Can somebody please verify that my specification (upthread) concerning the matching engine is correct? Please!


start 15:28

Quote
- All Items can be traded, except ones that have Untradable=1 in the ITEMS. ("M" are not tradable due to being the currency to be traded with; "CUL" is forbidden to trade, and some immovable objects properly change owner with the Lot only.)

One can sell/buy CULture/moneretos/The Obelisk/etc

char1 (seller):
My balance: 100,209,970
Owned Items of CUL: 55

char2 (buyer):
My balance 314,428,699
Owned Items of CUL 35

char1:
command: sell CUL 20 10mil
result: New ask added for 20 units of cul at a limit price of 10000000.

char2:
command: buy CUL 20 10mil
result Bought 20 units of cul at 10000000 m/unit, for a total of 200000000m.

char1 (seller):
My balance: 300,209,970
Owned Items of CUL: 35

char2 (buyer):
My balance 114,428,699
Owned Items of CUL 55

char1:
command: sell M 10 10mil
results: New ask added for 10 units of m at a limit price of 10000000.

char2
command: buy M 10 10mil
results: Bought 10 units of m at 10000000 m/unit, for a total of 100000000m.
command: buy BFS-2 1 1
result: New bid added for 1 units of bfs-2 at a limit price of 1.

Quote
- Gold, silver and stone are not tradable as such. They are embedded in the items that can be traded (STO1...STO9 are items that all include 1 stone, so can be thought as "stone in Borough #"). Gold objects are always trading with their gold value included. Therefore, a 1,500 CKG bowl that could have cost 15 mil (p.o.) a while ago, would now be 1,115 mil (15 mil item premium on top of 1,100 mil worth of gold).

OK- Was unable to buy gold, silver or stone not embeded in some item
When buying gold/silver item the CKG/CKS belonging to each char was updated accordingly

Quote
- There is a command line for quick and accurate entering of buy and sell commands. It is a text box that can also be used to copy-paste the commands in text lines format in bulk. If such a batch is entered, it evaluates from the first line, one by one.

OK - Copied the bellow orders to the box and they were executed successfully

sell MEAD 1 20
sell MEAD 1 200
sell MEAD 1 201

Quote
- The syntax for entering buy and sell offers and other commands is as follows (item_id means both item_id and lot_id, as they share the idspace; in GIVE, the recipient may be either specified by his shortname (max 12 alphanumerics, case matters) or char_id (a number of max a few digits) - these also have a common idspace):

BUY item_id max_quantity (max_price) -> If you don't specify the max_price it assumes 0.

char1 (buyer)
My balance 400,205,930
Owned Items of BEER 0

char2 (seller)
My balance 14,432,709
Owned Items of BEER 223

char2:
command: sell beer 3 10
results: New ask added for 3 units of beer at a limit price of 10.

char1:
command: buy beer 3
results: New bid added for 3 units of beer at a limit price of 0.


SELL item_id max_quantity (min_price) -> If you don't specify the min_price bad things happen

char1 (buyer)
My balance 400,205,930
Owned Items of BEER 0

char2 (seller)
My balance 14,432,739
Owned Items of BEER 223

char1:
command: buy beer 10 500
results: New bid added for 10 units of beer at a limit price of 500.

char2:
command: sell beer 10
results: Sold 10 units of beer at 0 m/unit, for a total of 0m.

char1 (buyer)
My balance 400,205,930
Owned Items of BEER -10 (minus TEN)

char2 (seller)
My balance 14,432,739
Owned Items of BEER 230 <- wrong

GIVE item_id quantity recipient [char_id OR short_name] - WORKS AS INTENDED

char2:
command:give beer 10 91
result: 10 units of beer given to Angus.
command:give beer 10 Angus
result: 10 units of beer given to Angus.

char1:
command:give beer 10 91
result: 10 units of beer given to Angus. -> Owned items do not change - OK

CONSUME item_id quantity - Mechanism works as intended but there are no restrictions as to which items can be consumed

command: consume beer 10
result: 10 units of beer consumed.
Owned items updated

command: consume COO-1 1 <- this is a bronze torque
result: 1 units of coo-1 consumed.

TRANSFER item_id quantity giver recipient - not tested

End 16:36
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
September 18, 2015, 02:54:12 AM
Last edit: September 18, 2015, 03:36:15 AM by generalizethis
 #120

Test started 22.07 (10.07pm)

TEST: "CANCELALL"

commands: buy mead 1 1
                buy mead 10 100
                buy mead 999 9,999
(all worked as expected)

commands: sell mead 100 12,000
                sell mead 99 50,000
                sell mead 2 99,999
(all worked as expected)

command: cancelall mead
command results: Your asks and bids are cancelled
(worked as expected)

commands: sell mead 1 2
                sell mead 1 3
(all worked as expeceted)

command: buy mead 4 1
(worked as expected)

command: buy w1600 9 99
(worked as expected)

command: cancelall mead w1600
command results: Your asks and bids are removed
(removed mead bid and asks. The w1600 bid remained. I reversed the item order in the command and it removed the w1600 bid--so it only removes the first item's orders and disregards the second--this seems to be a quality result once understood.

suggestions:

--have a VIEW ALL ITEMS link on the item page--makes navigation more efficient.

--a cancelall "all" command would be nice to remove all items bids.

test ended 22.17 (10.33pm) 26 minutes

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
September 21, 2015, 11:35:55 AM
Last edit: September 21, 2015, 12:19:26 PM by rpietila
 #121

Development News

As you have noticed, I am not bombarding the threads with every day "it is migrating NOW" posts anymore. The reason is that we have a good situation: our google DB is working much better (than in March for instance), and we also have the Ultima platform that can handle all the static data (ie. data that defines the status of the game). In some ways Ultima is more advanced, which is a reason to hasten migration, in others it is still more clumsy, or lacks features such as dynamic UI scripts. Periodical status_change scripts eg. the year_change (which all in all now takes me two full days each week Tongue in google DB) is also not ready yet, or even rigorously specified.

Emphasizing how much work especially me and Roopatra have done to make the items, lots and buildings lists correct and the world interesting is not needed. Work well done rewards the worker.

In a word, it is our choice to migrate when the new platform fulfils the goals:
- Enables WOW! 1991 experience to the users
- Lessens admin load.

Our Ultima project is milestoned until the end of December with the original release schedule being in the november-december.

With PJ we have spent time in discussing about the architecture of the game. As it is, it has a quite limited number of objects, with the foremost ones being:
Character (PC and playable Corp, but not NPC)
Lot (a customizable subdivision of chapelry, which in turn is a fixed area inside a borough)
Borough (map grid unit in global map)
Building (an economic pool share generator, technically a link list of resources located on a lot)
Item (everything else with very variable characteristics from NPC to shares of stock, coins and consumables)

We have devised that the way to most quickly open the game up to programmers, even for those with limited skills in particular technologies. With such a limited number of objects to be handled, we are making the command line to be quite handy for instant actions. There have been talks about resident batch files triggered by the changes in global variables as well, making it possible for instance to have a command batch file that is automatically called to update the King's Coinshop prices based on the change in gold_midprice. And especially that this is not done in a hardcode privileged way but a way that enables anyone to do the same, as we already saw in the Google DB.

Then we will build an API as well, which has a somewhat different mode of operation and purposes.

The graphic/music/UI design is a task that consumes a lot of resources, and is for many reasons best to do in a distributed way. Having the rights management in place, this can be completely crowdsourced (sandbox), which has of course been the plan all along.


More commands/routines to be specified:
(Difference of a command and a routine here is that routine may not be called directly from the command line regardless of the permissions, but in practice there is no big difference)

These are all admin-level commands, which can be used as part of the game scripts (signup of new player, year_change), building editor interface, IC conversion to items, etc.

NEWCHAR needed_parameters


NEWBUILDING needed_parameters


NEWITEM needed_parameters
makes a new item (note: "item" may have any number of instances 0...N)

CREATE item_id new_owner amount
adds the amount of instances of item_id to new_owner and increases the number of "made" of item_id.

(Chapelries cannot be created because they are defined as subdivisions of a Borough. Boroughs cannot technically be created since they always exist at their gridpoints. If they are urbanized, ie become a part of CryptoTown or another town, they are added by the dev as a toggle_urban=1 action. Since urban land always belongs to lots, they cannot be created either. Zoning happens in a different graphic editor, it would require a lot of commands to be able to make it cli and nobody would use it anyway.)

DIVIDEND payer_char_id recipient_item_id dividend_item_id amount
Dividend is used to give the owners of recipient_item_id a bonus in the form of amount*dividend_item_id.
Normal use case: DIVIDEND 87 S-RW M 400000   // RWWC gives 400,000 m dividend to its own stock.

note: it is possible that in case of non-monetary dividends, several recipient_item_id is required to get one dividend_item_id, for instance the current script gives new IC based on new CUL as follows (note pseudocode, this is not a valid command - NewCUL is not an item_id):
DIVIDEND New NewCUL IC1606 0.333
therefore the amount does not need to be an integer, and command should floor the amount actually given, down to the nearest integer.



UI features/admin tools:
(there are different "admin" ranks, with some of the current admins dropped out of all of them since the manual entry of stuff is not needed as much as before, then at least BI/sheriff admin for access to land zoning (given to all who have a chapelry), general admin for all kinds of needs and technical admin for overseeing the year_changes etc critical stuff where things might happen despite and because of automatization).


TBD

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
September 21, 2015, 02:44:00 PM
 #122

Sorry to hear about the delayed release but glad to hear it will be on a "WOW! 1991" level experience.  Smiley I am impressed with what has been achieved thus far and look forward to the release.
 
----------
---------

Related to testing, I think it would be useful for PJ to drop oneliners with feedback to the feedback. Tongue

Something like "Stop testing. The last issues are being addressed." Or "Market engine updated - Retest"

This because I was about to start another round and found the issue bellow and don't really know if I was supposed to be testing the market right now, if the code I would be testing is final, nor if you guys are focused on this part of the engine now.


start 15:09

char1:
My balance 400,205,930
Owned Items of BEER 0

char2:
My balance 14,432,739
Owned Items of BEER 210

char1:
buy BEER 1 400mil
New bid added for 1 units of beer at a limit price of 400000000.
buy BEER 1 400mil
New bid added for 1 units of beer at a limit price of 400000000.
buy BEER 1 400mil
New bid added for 1 units of beer at a limit price of 400000000.

char2:
sell beer 3 400mil
Something went wrong

-- The bids where reduced to 2 of 1 BEER at 400mil each

char1:
My balance 205,930
Owned Items of BEER -1 (the item was deducted from the buyer)

char2:
My balance 414,432,739
Owned Items of BEER 211 (the item was added to the seller)

char1:
buy beer 1 5000
New bid added for 1 units of beer at a limit price of 5000.
buy beer 1 5000
New bid added for 1 units of beer at a limit price of 5000.

char1:
My balance 205,930
Owned Items of BEER -3 (the item was deducted from the buyer)

char2:
My balance 414,432,739
Owned Items of BEER 213 (the item was added to the seller)

end 15:20
bytemuma
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
September 21, 2015, 03:11:59 PM
 #123

I am sorry for my ignorance, but what is "WOW 1991"?

Thanks.


                                ███
                              █████
           ██           █████████              ██
       █████         
█████████         ██████
     ████████         
█████         █████████
         ████████       
███       █████████
            ████████              █████████
               █████       ███       █████
         
      ███       ██       █████       ██       ███
    █████            █████████            █████
█████████    █████████████    █████████
█████████    █████████████    █████████     
    █████            █████████            █████
      ███        ██      █████      ██      ███
               █████      ███       █████
            ████████              █████████
         ████████       
███       █████████
     ████████         
█████        █████████
       █████         
█████████        ██████
           ██           
█████████           ██
                              █████
                                ███
                             


Adonx.one


◆ Twitter
◆ Telegram
◆ Discord

papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
September 21, 2015, 03:29:56 PM
 #124

I am sorry for my ignorance, but what is "WOW 1991"?

Thanks.

You open it and you think "WOW! Am I in 1991 again?"  Tongue
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 04, 2015, 04:19:03 PM
Last edit: October 04, 2015, 04:33:35 PM by papa_lazzarou
 #125

Before anything else I would like to congratulate you for this milestone. This is a game of great complexity and its great to see it flow so seemingly easy from your mind. Congrats on this milestone of getting the game out here.  Grin

This is the stuff I found so far. Hope it's easy to solve so that we can get our hands on our candy.

1. Agora Market > My Items

URL: https://cryptokingdom.me/player/playerItems/91

Code:
Slim Application Error
The application could not run because of the following error:

Details

Type: ErrorException
Code: 8
Message: Trying to get property of non-object
File: /var/www/html/releases/20151004150520/app/controllers/PlayerController.php
Line: 286
Trace

#0 /var/www/html/releases/20151004150520/app/controllers/PlayerController.php(286): Slim\Slim::handleErrors(8, 'Trying to get p...', '/var/www/html/r...', 286, Array)
#1 /var/www/html/releases/20151004150520/app/bootstrap/routes/player.r.php(126): CryptoKingdom\PlayerController::listItems('91')
#2 [internal function]: {closure}('91')
#3 /var/www/html/releases/20151004150520/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#4 /var/www/html/releases/20151004150520/vendor/slim/slim/Slim/Slim.php(1357): Slim\Route->dispatch()
#5 /var/www/html/releases/20151004150520/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#6 /var/www/html/releases/20151004150520/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#7 /var/www/html/releases/20151004150520/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#8 /var/www/html/releases/20151004150520/vendor/slim/slim/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#9 /var/www/html/releases/20151004150520/app/bootstrap/start.php(106): Slim\Slim->run()
#10 /var/www/html/releases/20151004150520/app/bootstrap/setup.php(63): require_once('/var/www/html/r...')
#11 /var/www/html/releases/20151004150520/index.php(8): require_once('/var/www/html/r...')
#12 /var/www/html/index.php(2): require_once('/var/www/html/r...')
#13 {main}

2. The past trades on the Agora market were not erased for the migration (Player Dashboard > My Chronicle)

3.  Player Dashboard => Edit Profile => Left StatusBar -> Link to Promotions, Decorations and My Items lead to a 404.

4. Migration Stuff
Title not ok.
Age nok
CKG OK
CKS OK
Moneretos OK
IC OK
CUL OK
Rest of Items OK
Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
October 04, 2015, 04:28:49 PM
 #126

Ultima testing:

Login and password change work well. Login with new changed password works well.

Balance for moneritos, stone, gold, silver and horses, appear correctly. Promotions are correct, decorations (medals) as well.

In Agora, View my items: Slim application error. (could not check if imported correctly)
Type: ErrorException
Code: 8
Message: Trying to get property of non-object
File: /var/www/html/releases/20151004150520/app/controllers/PlayerController.php
Line: 286


rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 04, 2015, 04:38:01 PM
 #127

Thank you. These are the reason that I gave the access to a small test people only. The agora and trade history will be fixed in 30 minutes since PJ comes back from his deserved break (in a few hours).

To me it currently looks that we can continue migration, the first things to be checked before I start to give masses of accounts out are the item balances.

Come to IRC to ask me for your passwd. 1-2 more testers can have theirs now.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
October 04, 2015, 04:39:21 PM
Last edit: October 04, 2015, 05:19:50 PM by Roopatra
 #128

Other issues (less urgent):

Changes to the data in profile page are not saved: changing profile pic, selecting the character age.

Land map does not have the latest import, some recently (in the last 5 game-years) built areas do not appear on map, also some (recently) fixed coordinates have not been updated.

I cannot read Wiki entries, can only see first two lines of the text but no link to access the full wiki text.

Built appears as 0. (so this was not imported, I hear on purpose, and will be done later)

In /player/editprofile page when clicking promotions, decoration or items: Page not found. (404 looks like you have been lost) Also there the number of decorations appears as 0. Promotions and items have correct amount, the same as on the profile page.
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 04, 2015, 05:01:31 PM
 #129

Checked in with Saddam, Riddick, Gabriel, Saddam QC and changed passwords successfully.

All info is correct except for land and build area.

For example:
-Saddam's land is displayed as 4,590 when the value from GoogleDB is 46.
-Riddick's land is displayed as 860 when GoogleDB is 9.

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 04, 2015, 05:08:15 PM
 #130

Checked in with Saddam, Riddick, Gabriel, Saddam QC and changed passwords successfully.

All info is correct except for land and build area.

For example:
-Saddam's land is displayed as 4,590 when the value from GoogleDB is 46.
-Riddick's land is displayed as 860 when GoogleDB is 9.


Thank you for trying out!

- Land is correct in Ultima. The googleDB land has been incorrect ever since the coordinate system was started to designate the actual borders. Also urban land "Land" is now displayed as sqm, which makes the value 100 times higher than previous q.

- Built area "Built" script is not implemented.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
October 04, 2015, 05:11:48 PM
 #131

Agora testing "My Items"

The slim application error persists, but I checked some of my items at random by substituting the /CUL in URL with the items code:

CUL correct amount
SCI correct amount

W1600M correct amount
CLXII correct amount
MEAD correct amount

RM1600B correct amount
WIRS correct amount
TS139 correct amount
COT1369 correct amount
H9 correct amount (my dear unicorn Star)

All data on random testing appears correct.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 04, 2015, 05:55:17 PM
 #132

Excellent! I am back from dinner (pig head and heart, cooked with wine and laurels / French wine 2012) and PJ is back from his appointment.

The issues:
- admin mode not enabled for councillors
- slim application error prevents linking to items
- some histories tabs not erased

are under operation and should be ready shortly. After that, I am making the 2nd stage call to all the testers to test and check that the functionality shows up decently. (Built script is an example of a thing we harshly postponed to be done in connection with the "building" module.)

When this round is done, and it may be just 1-2 hours, I still expect to be able to send the passwords of all claimed accounts to their holders.

Please change your password right away. It will be locked if used without changing password!

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
kazuki49
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
October 04, 2015, 06:33:50 PM
 #133

Awesome news, can't wait to start playing, I'm mostly interested in the sophisticated internal market this game is displaying. It'll sure be interesting.
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 04, 2015, 07:47:23 PM
 #134

BUY W1600M 50 0.05 -> "New bid added for 50 units of w1600m at limit price of 0.05"

Displays Price as 0 on the table of BUY ORDERS

Also, the object property name is switched up:

Code:
{command: “buy”, 
itemID: “w1600m”,
amount: “1”,
“characterID: “7”}

the "characterID" property should be Price

MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 04, 2015, 08:07:36 PM
 #135

Here's a list of the things that don't look right:

- clicking on promotions goes to a 404 page (https://cryptokingdom.me/player/promotions/)
- same for decorations
- same for "my items"
- earned decorations is missing MG-2 from 1600
- age shows 44, google says 47
- "my chronicle" is empty (probably expected, but I'll mention just in case)
- in the Agora market, I seem to have no items whatsoever: click on "view my items", then on "gold coin", one category of which I own a number, I get an empty screen. Same for all other categories I tried.
- in the wiki, I can't click on any of the articles presented (non 404, just nothing happens when clicking)

Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
October 04, 2015, 09:23:39 PM
 #136

Hello everyone,

Thanks for great testing and very useful testing results.

I uploaded latest changes which contains several fixes for found issues:
- promotions and decorations links are fixed
- my items link is also fixed and working now
- updating My Profile and uploading avatar working fine now
- My Chronicle is functional but it will show empty dataset for most of the users since there will be presented money history, asks, bids and other commands history
- wiki is still most in the progress, but soon will be new update which will complete functionality. You will find wiki page with description how to make wiki Smiley

We will continue to improve it so be ready for new great features very soon and thanks again for great feedback Smiley
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 04, 2015, 09:59:05 PM
 #137

It seems quite broken now, in the character screen:

Born: 483887802

Start year: 483887802

Age now: -483886194

It also shows me as marquess, while I'm wizard.

Promotion history is all over the place.

I seem to have misread earlier about MG-2, it's not in the google DB. My Ultima decorations now show a new MG-4, which is not in the google DB either. I thought I had one of those MG-x, but the google DB does not show any so I probably remember wrong here.

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 04, 2015, 10:13:14 PM
 #138

Well good that we already passed the data validation phase. The egregious errors are results of things being fixed. PJ has guidance to fix only the things that provide immediate relief now, since otherwise the release looks worse than it is Smiley

MG-2, in spite of being a copper token, is a pretty high medal. It is the highest that you can get for game development until it has at least 100,000 players and MG-1 thus becomes available. Only 3 MG-2 have been awarded.

Perhaps this thread is a good place to announce that certain 108 year old gold items (GOO-12 and 14 if I'm not mistaken) have been transferred to the new owners, Lord Thud and Wizard P.J. The items weigh in total 1,300 CKG and have a long history.

As soon as the interface is again usable, Zechariah the Prince Royal will log in and list wines and spirits for sale from his depleted stocks. You heard it here first that death, destruction and plague have decimated the production countries so that these vintages have been consumed or gone into private hiding, and after W1604, there is a few years' gap.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 04, 2015, 10:55:49 PM
 #139

MG-2, in spite of being a copper token, is a pretty high medal. It is the highest that you can get for game development until it has at least 100,000 players and MG-1 thus becomes available. Only 3 MG-2 have been awarded.

Indeed. I think I must have read the wrong row, as the Wizard dev PJ has a MG-2, and is above me in the Google DB.  Ultima now shows a MG-4, but oddly, this is not in the Google DB. So I got curious and looked back in the thread, and it is indeed a MG-4 (https://bitcointalk.org/index.php?topic=819073.msg10895081#msg10895081). The year is 1599 in the thread, but 1600 in Ultima. I've no idea how this was pulled in since the MG-4 column is empty for Mooo...

So something's not importing right here, but I'm not sure exactly what.

Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
October 04, 2015, 11:22:14 PM
 #140

Hello,

I found cause of wrong data showing in character dashboard view. List of columns for  character in GoogleDB has changed recently and i was update character table without being aware of this change.

I working now to fix it and it should be live in next few minutes, for sure..

Some of players who already saved new password will found that their passwords are reseted. This was intentionally from my side, since I cleared table with wrong data, in order to have just valid one.

Sorry for this inconvenience and will be more careful in future.

Thanks!
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 05, 2015, 07:03:43 AM
 #141

I now see the character screen for xulescu (char id 24), instead of mine (char id 88)...

I did not re-login, I just reused the tab I was logged in yesterday.

The promotion history has incorrect years for the first two (381 and 1).
boolberry
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
October 05, 2015, 07:11:37 AM
 #142

When is the data migration expected to be finished?
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
October 05, 2015, 07:16:54 AM
 #143

Moving / updating data from Google DB to Ultima is complete.

We are now in the phase of validating is data correct and is any issue popup, which i trying to fix in shortest period possible.
I believe most of the issue are already solved, but (like any software) you can't be 100% sure, except to test it rigorously. Smiley

Anyway, during today, rest of the accounts should be delivered to their owners and bugs found should be cleared too..

Best,
PJ Wizard Developer
Wizard Developer P.J.
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
October 05, 2015, 07:18:07 AM
 #144

I now see the character screen for xulescu (char id 24), instead of mine (char id 88)...

I did not re-login, I just reused the tab I was logged in yesterday.

The promotion history has incorrect years for the first two (381 and 1).


Please, re-login and test is everything show correctly now, since i did reset accounts last night.
Sorry for inconvenience.
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 05, 2015, 08:09:51 AM
 #145

Re-login works, but it does hint at easily brute-forceable access to others' data.

A couple things are still wrong after re-login:

- I am still shows as marquess, and the promotion history still includes marquess and other noble promotions I do not have (I double checked the Google DB does not have a marquess date for me)
- in "Edit profile", the decorations link on the left side shows 0, but there are 4 when you click on it

Edit: Agora market lists are still empty (CSS issue, as pappa_lazzarou found yesterday, adding display:block to the table makes it visible in Firefox).
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 05, 2015, 10:36:47 AM
 #146

Re-login works, but it does hint at easily brute-forceable access to others' data.

- Others' data is freely viewable by all.
- Others' password security is up to them; the temp passwords have been specified to 36 bits, which is well enough for everything you can possibly do with them. Withdrawals require that you have both claimed and activated your account, the latter requiring password change

Quote
A couple things are still wrong after re-login:

- I am still shows as marquess, and the promotion history still includes marquess and other noble promotions I do not have (I double checked the Google DB does not have a marquess date for me)
- in "Edit profile", the decorations link on the left side shows 0, but there are 4 when you click on it

Edit: Agora market lists are still empty (CSS issue, as pappa_lazzarou found yesterday, adding display:block to the table makes it visible in Firefox).

Thanks. We made a mistake in the process which delayed us. All data is safe.

More updates in a minute.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 05, 2015, 10:39:39 AM
 #147

looks good so far!

One feature request: not important now but a thought-when viewing items in agora marketplace/my items, have the table headers be sticky so you always know what you're looking at.

Monero.
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 05, 2015, 10:54:42 AM
 #148

Another bug I saw just now:

Yesterday, I said "Hello everyone!" in chat in the King's castle.
Today, I went back there, and I see this line, but it's shown as being from Black Widow.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 05, 2015, 11:26:40 AM
 #149

Another bug I saw just now:

Yesterday, I said "Hello everyone!" in chat in the King's castle.
Today, I went back there, and I see this line, but it's shown as being from Black Widow.

Hey you are a programmer, so you know that this is caused by a linking/parsing error in the DB, which in the end arises from the need to handle objects with history and existing id_spaces. Every time we reimport stuff, if the parser reads the wrong columns, the results are hilarious. It is corrected by making sure the datatype from where to read exactly matches that where to write.

The need and permissions to reimport have just been cut to zero, this is why it is called "migration of master data".  Grin

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 05, 2015, 12:26:53 PM
 #150

bugs:

* When I click on my player items, I can see them all. However, when i filter with a category by clicking on a left-hand-nav menu item, nothing comes up.
* Built area = 0, when it should be higher than that.
* Promotion history has me promoted to grand duke and king in the user profile.
* Level = 15 (King) in user profile. This isn't right.
* Stone level is 77m, I should have around 12m.
* I have all the earned decorations. I shouldn't have Knight Commander in the Order of the Core Team, for example.

Monero.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 05, 2015, 12:45:23 PM
 #151

bugs:

* When I click on my player items, I can see them all. However, when i filter with a category by clicking on a left-hand-nav menu item, nothing comes up.
* Built area = 0, when it should be higher than that.
* Promotion history has me promoted to grand duke and king in the user profile.
* Level = 15 (King) in user profile. This isn't right.
* Stone level is 77m, I should have around 12m.
* I have all the earned decorations. I shouldn't have Knight Commander in the Order of the Core Team, for example.

We had a late erroneous data import yesterday which was intended to fix some UI-related bug.

The import needed to be reversed from the original google DB data that was then master.

Now our situation is that the bug that caused the whole chain of events need to be fixed, and then the "original masterdata" reimported, and hoped that the changelog (luckily there are little changes you can do to Character table yourself) still works, else the (few) changes made to Characters in the last 18 hours will be lost.

 Tongue Nothing serious, just work. It was bad luck to first test 6 hours for data validity, and then practically right after pronouncing the data as final, mess it up anyway.  Tongue

PJ and I are both working and once there is something to report, we will do it.

For now, it's good if you postpone login attempts before the system is back in stable mode.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Kushedout
Legendary
*
Offline Offline

Activity: 1123
Merit: 1000


SaluS - (SLS)


View Profile
October 05, 2015, 05:48:50 PM
 #152

My Admin level is set too high.

I am able to give myself any decoration or promote to any level.
Not sure if this effects everyone.

Thanks,

-Kushed


rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 05, 2015, 05:58:36 PM
 #153

As I mentioned in the main thread, now we are giving the claimed accounts to their holders, in order for them to:

- login
- change the password
- check that their data is correct
- enjoy the features, including the exchange where 100% functionality is not reached but all wrongly matched trades (ones not corresponding to your bid/ask, which have not been experienced btw.) will be rolled back.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 05, 2015, 05:59:26 PM
 #154

My Admin level is set too high.

I am able to give myself any decoration or promote to any level.
Not sure if this effects everyone.

Thanks,

-Kushed



Same here. Promotions and decorations.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 05, 2015, 06:15:06 PM
 #155

My Admin level is set too high.

I am able to give myself any decoration or promote to any level.
Not sure if this effects everyone.

Thanks,

-Kushed

Same here. Promotions and decorations.

This ability was removed from permissions level 1. Thank you for noticing Smiley

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 05, 2015, 06:18:27 PM
 #156

My Admin level is set too high.

I am able to give myself any decoration or promote to any level.
Not sure if this effects everyone.

Thanks,

-Kushed

Same here. Promotions and decorations.

This ability was removed from permissions level 1. Thank you for noticing Smiley

There is still a link allowing you to add decorations if you don't have any.
"There is no decorations for this character. Add new?"
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 05, 2015, 06:20:45 PM
 #157

The items don't have the color descriptor.
Kushedout
Legendary
*
Offline Offline

Activity: 1123
Merit: 1000


SaluS - (SLS)


View Profile
October 05, 2015, 06:25:51 PM
 #158

Two more bugs.

1) I was able to select a Age from a drop down list within profile settings, was able to save the change with no errors, though the actual change does not take effect. Never the less, might cause confusion.

2) I was able to manually edit my level from Expert to  "Super  Expert"

Will keep digging.

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 05, 2015, 06:35:13 PM
 #159

Two more bugs.

1) I was able to select a Age from a drop down list within profile settings, was able to save the change with no errors, though the actual change does not take effect. Never the less, might cause confusion.

2) I was able to manually edit my level from Expert to  "Super  Expert"

Will keep digging.

1) Some misunderstanding and/or permissions thing. "Age" is not even a data field, it is a script field, making it impossible to edit even by me.

2) What you are editing is your "Title" and that is something we seek to keep open for everyone to edit for themselves. This would mean that they must exercise judgment what to put there, and will receive punishment such as fines if they use restricted titles, eg. claiming to be a "Wizard", which requires being or having been in L7. "Super Expert" is probably fine. Besides, you should be a Master already...


HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 05, 2015, 06:38:47 PM
 #160

All seems to be fixed, except those two:

- in "Edit profile", the decorations link on the left side shows 0, but there are 4 when you click on it (very minor, probably not worth fixing now)

- Agora market lists are still empty (CSS issue, as pappa_lazzarou found yesterday, adding display:block to the table makes it visible in Firefox).

That second one means I can't use the market except if I edit the DOM every time the page loads to find the table and add a display:block, which nobody will realistically do. Apparently it works in Chrome but not Firefox.

MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 05, 2015, 09:03:15 PM
Last edit: October 05, 2015, 09:28:07 PM by MoneroMooo
 #161

I see the items table now, excellent! Smiley

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...
There may be a filter applied, and I'm not sure how to remove it.
For this reason, it may be good to have a "All" category in the list on the left, first in the list (before "Distilled beverage").

Edit: I saw a "all items" button, but it's not always there. I also sometimes see buy/sell orders on the main list, but not always. For instance, in "distilled beverages", there are no buy/sell visible in the main list for LAG, but I was seeing them at least once in that screen. Looking at the inner screen for LAG, the buy/sell are here.

Edit 2: I tried a buy order, I apparently typoed and added a space in the middle of the price, so: buy con 10 7 200000
This got me an error mesage that the command wasn't valid, but then an order was placed for 7 at 10, or 10 at 7, can't recall.
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 05, 2015, 10:28:51 PM
 #162

When in My Items view click a in a Category of items that the player has none of (is this clear?)

Example:
I don't have silver coins and clicked on the silver coins category

URL: https://cryptokingdom.me/player/playerItems/91/SIC

Code:
Slim Application Error
The application could not run because of the following error:

Details

Type: PDOException
Code: 42000
Message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
File: /var/www/html/releases/20151005221229/vendor/j4mie/idiorm/idiorm.php
Line: 429
Trace

#0 /var/www/html/releases/20151005221229/vendor/j4mie/idiorm/idiorm.php(429): PDOStatement->execute()
#1 /var/www/html/releases/20151005221229/vendor/j4mie/idiorm/idiorm.php(1828): ORM::_execute('SELECT * FROM `...', Array, 'default')
#2 /var/www/html/releases/20151005221229/vendor/j4mie/idiorm/idiorm.php(638): ORM->_run()
#3 /var/www/html/releases/20151005221229/vendor/j4mie/idiorm/idiorm.php(627): ORM->_find_many()
#4 /var/www/html/releases/20151005221229/app/models/ItemModel.php(486): ORM->find_many()
#5 /var/www/html/releases/20151005221229/app/controllers/PlayerController.php(287): CryptoKingdom\ItemModel::getItemsByCategoryIDs(Array, true)
#6 /var/www/html/releases/20151005221229/app/bootstrap/routes/player.r.php(131): CryptoKingdom\PlayerController::listItems('91', 'SIC')
#7 [internal function]: {closure}('91', 'SIC')
#8 /var/www/html/releases/20151005221229/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#9 /var/www/html/releases/20151005221229/vendor/slim/slim/Slim/Slim.php(1357): Slim\Route->dispatch()
#10 /var/www/html/releases/20151005221229/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#11 /var/www/html/releases/20151005221229/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#12 /var/www/html/releases/20151005221229/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#13 /var/www/html/releases/20151005221229/vendor/slim/slim/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#14 /var/www/html/releases/20151005221229/app/bootstrap/start.php(106): Slim\Slim->run()
#15 /var/www/html/releases/20151005221229/app/bootstrap/setup.php(63): require_once('/var/www/html/r...')
#16 /var/www/html/releases/20151005221229/index.php(8): require_once('/var/www/html/r...')
#17 /var/www/html/index.php(2): require_once('/var/www/html/r...')
#18 {main}
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 05, 2015, 10:56:02 PM
Last edit: October 05, 2015, 11:09:10 PM by papa_lazzarou
 #163

1. The amount column in My Items shows 0 for all the items. The column Owned/Exists is correct.
2. Angus (91) bought a suit from SirJacket but in the trade history SirJacket is presented as buyer and Angus as seller. Item and m were transferred in the right ways.
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 05, 2015, 11:22:32 PM
 #164

That "space in command" happened again. I know what happened: I went back with cursor to count th enumber of zeroes before placing, then I pressed enter, while the cursor was not at the end of the command. This causes the command to split, and then be submitted.
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 06, 2015, 12:10:41 AM
 #165

That "space in command" happened again. I know what happened: I went back with cursor to count th enumber of zeroes before placing, then I pressed enter, while the cursor was not at the end of the command. This causes the command to split, and then be submitted.


Suggestion while this is not fixed. Use mil instead of 000000.
Syksy
Full Member
***
Offline Offline

Activity: 260
Merit: 105


A Lingering Ghost


View Profile
October 06, 2015, 12:16:48 AM
Last edit: October 06, 2015, 12:57:51 AM by Syksy
 #166

EDIT:
I removed my bug report, devs are aware of it and working on it.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 06, 2015, 12:22:57 AM
 #167

This is forwarded to PJ, and all trades that have exploited it will be reversed. Thank you for finding it, I will send some reward when I wake up!

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
Syksy
Full Member
***
Offline Offline

Activity: 260
Merit: 105


A Lingering Ghost


View Profile
October 06, 2015, 12:24:41 AM
 #168

This is forwarded to PJ, and all trades that have exploited it will be reversed. Thank you for finding it, I will send some reward when I wake up!

Cheers, good night!
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 06, 2015, 10:39:28 AM
 #169

Character ID: 91 (Angus)

1. The amount column in My Items shows 0 for all the items. The column Owned/Exists is correct.
2. Angus (91) bought a suit from SirJacket but in the trade history SirJacket is presented as buyer and Angus as seller. Item and m were transferred in the right ways.

3. Must be related to number two above: I only have 29 different items. Those appear correct in the market view. But my profile shows 32.
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 06, 2015, 11:26:10 AM
 #170

That "space in command" happened again. I know what happened: I went back with cursor to count th enumber of zeroes before placing, then I pressed enter, while the cursor was not at the end of the command. This causes the command to split, and then be submitted.


Suggestion while this is not fixed. Use mil instead of 000000.

This idea will be evaluated and if good, put into practice.

(not sure if you missed this)
This is already possible. I was only suggesting that people use it instead of counting zeros.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 06, 2015, 11:28:50 AM
 #171

That "space in command" happened again. I know what happened: I went back with cursor to count th enumber of zeroes before placing, then I pressed enter, while the cursor was not at the end of the command. This causes the command to split, and then be submitted.


Suggestion while this is not fixed. Use mil instead of 000000.

This idea will be evaluated and if good, put into practice.

(not sure if you missed this)
This is already possible. I was only suggesting that people use it instead of counting zeros.

Oh thanks, I specified it myself long ago, but thought to have postponed the implementation to #6...

Do the other common things work, decimal point/comma, "xmr", "m" etc?

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 06, 2015, 11:56:46 AM
 #172

That "space in command" happened again. I know what happened: I went back with cursor to count th enumber of zeroes before placing, then I pressed enter, while the cursor was not at the end of the command. This causes the command to split, and then be submitted.


Suggestion while this is not fixed. Use mil instead of 000000.

This idea will be evaluated and if good, put into practice.

(not sure if you missed this)
This is already possible. I was only suggesting that people use it instead of counting zeros.

Oh thanks, I specified it myself long ago, but thought to have postponed the implementation to #6...

Do the other common things work, decimal point/comma, "xmr", "m" etc?
sell MEAD 1 10,5mil -> New ask added for 1 units of MEAD at a limit price of 10000000. -> Bid placed accordingly
sell MEAD 1 10.5mil -> New ask added for 1 units of MEAD at a limit price of 10500000. -> Bid placed accordingly
sell MEAD 1 10xmr -> New ask added for 1 units of mead at a limit price of 10xmr. -> Bid placed at 10 moneretos
sell MEAD 1 1.5m -> New ask added for 1 units of mead at a limit price of 1.5m. -> Bid placed at 2 moneretos
sell MEAD 1 1,5m -> New ask added for 1 units of mead at a limit price of 1,5m. -> Bid placed at 1 monereto
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 06, 2015, 01:16:59 PM
 #173

Time to place some new sell orders in WINE, my friends.

 Wink

papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 06, 2015, 01:22:41 PM
 #174

Time to place some new sell orders in WINE, my friends.

 Wink

Whoohooo. I LOVE YOU MAN!
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 06, 2015, 01:27:55 PM
 #175

- Trying to go to: https://cryptokingdom.me/player/playerItems/MEAD, I get:

Quote
Slim Application Error

The application could not run because of the following error:
Details
Type: ErrorException
Code: 8
Message: Trying to get property of non-object
File: /var/www/html/releases/20151006111135/app/controllers/PlayerController.php
Line: 280
Trace

#0 /var/www/html/releases/20151006111135/app/controllers/PlayerController.php(280): Slim\Slim::handleErrors(8, 'Trying to get p...', '/var/www/html/r...', 280, Array)
#1 /var/www/html/releases/20151006111135/app/bootstrap/routes/player.r.php(126): CryptoKingdom\PlayerController::listItems('MEAD')
#2 [internal function]: {closure}('MEAD')
#3 /var/www/html/releases/20151006111135/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#4 /var/www/html/releases/20151006111135/vendor/slim/slim/Slim/Slim.php(1357): Slim\Route->dispatch()
#5 /var/www/html/releases/20151006111135/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#6 /var/www/html/releases/20151006111135/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#7 /var/www/html/releases/20151006111135/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#8 /var/www/html/releases/20151006111135/vendor/slim/slim/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#9 /var/www/html/releases/20151006111135/app/bootstrap/start.php(106): Slim\Slim->run()
#10 /var/www/html/releases/20151006111135/app/bootstrap/setup.php(63): require_once('/var/www/html/r...')
#11 /var/www/html/releases/20151006111135/index.php(Cool: require_once('/var/www/html/r...')
#12 /var/www/html/index.php(2): require_once('/var/www/html/r...')
#13 {main}

This is not a valid URL, it should be https://cryptokingdom.me/marketplace/item/MEAD (which works), I was trying to go faster Smiley


- You can sell fractional parts of items:

sell mead 0.1 3
New ask added for 0.1 units of mead at a limit price of 3.


- short buy command gives "something went wrong" instad of the usual syntax help/error:

buy mead
buy mead 0
buy mead 0 10

All of these give: something went wrong

- I am able to set a dummy sell trade for 0 mead:

sell mead 0x10 20

- same for a price of 0:

sell mead 10 0x10

- I can cancel a sell order with a different setting:

sell mead 100 100            works, creates an entry in the books with the right settings
cancelsell mead 100         does not find, ok
cancelsell mead 99 100    removes the 100 100
cancelsell mead 101 100  also removes it

LucyLovesCrypto
Sr. Member
****
Offline Offline

Activity: 414
Merit: 251


View Profile
October 06, 2015, 01:29:45 PM
 #176

Time to place some new sell orders in WINE, my friends.

 Wink

Is there a legal drinking age in game?
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 06, 2015, 01:54:38 PM
 #177

Time to place some new sell orders in WINE, my friends.

 Wink

Is there a legal drinking age in game?

No minors are implemented in the game at all. Earliest nobles have been introduced at 14 which is the minimum age to be a Jungherr. 13 could be considered for girls but nobody has tried. One cat has been admitted at 8. Everyone admitted to the game may drink anything.

Also, drinking water is unhealthy, so not advisable to anyone.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
October 06, 2015, 06:49:06 PM
 #178

I put a bid to buy 200,000 sto9 this morning and now it says I have -200,000 stone. Worse, I think it charged me for the stone i didn't have to sell.  Sad


rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 06, 2015, 07:56:59 PM
 #179

Update

(We hope that) most issues reported about items multiplying in trade and related, are because of a sign error. It was fixed about 2 hours ago.

Transactions during this period (that has ended), with correct intent but faulty execution in the system, will be corrected to show the correct outcome as well. Ones with obvious testing intent will be erased.

Please use the system and trading feature actively! That is the way we get on!! Smiley

Current near-term dev pipeline:
1. Add a visual admin tool for better browsing of changelogs to tables
2. New Player Reg / Tutorial
3. API
4. Year Change
5. (as soon as bug is identified by the tool in 1.) Matching script

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
djjacket
Hero Member
*****
Offline Offline

Activity: 784
Merit: 501


View Profile
October 06, 2015, 09:09:42 PM
 #180

Canceling my previous sell bids is not working for my suits.

I have a Sell Order for WOS-146 at 8,000,000m

CANCELALL WOS-146  -  You can't buy or sell Moneretos
CANCELSELL WOS-146 1 8000000 -  You can't buy or sell Moneretos

EDIT:

Looks like I can't make any sell offers on my suits at the moment they must be classified as moneretos?
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
October 06, 2015, 09:19:00 PM
 #181

Canceling my previous sell bids is not working for my suits.

I have a Sell Order for WOS-146 at 8,000,000m

CANCELALL WOS-146  -  You can't buy or sell Moneretos
CANCELSELL WOS-146 1 8000000 -  You can't buy or sell Moneretos

EDIT:

Looks like I can't make any sell offers on my suits at the moment they must be classified as moneretos?

I'm getting the same error when trying to make a bid.

Syksy
Full Member
***
Offline Offline

Activity: 260
Merit: 105


A Lingering Ghost


View Profile
October 06, 2015, 09:29:11 PM
 #182

I'm getting the same error. I'm guessing that trading in the market is under a lockdown until they fix the reported few bugs and revert a few funky transactions.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 06, 2015, 10:27:29 PM
 #183

Trading should work completely now!

As usual, report errors Smiley

This is the way things get done. As "prerequisites" for some of the stuff we have had in the feature list, other features have been developed, you can for instance see the trading UI is already much better than the original. Try also chain commands (shift-enter allows to add a line in the command line, making it possible to copy a large ladder of orders at the same time)

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 06, 2015, 10:35:43 PM
 #184

I think the monerito balance from the trades earlier is not correct, even after erroneous trades were fixed.

I started with about 488 monero. The chronicle shows two trades:
A sale of 3 W1601B at 275k
A sale of 46 W1603A at 320k

Those total 15.5, and my balance is now about ~500k, so +12.

Moreover, I had placed a trade of 3 W161B at 245k, which does not appear in the chronicle, but the 3 bottles are gone from my owned count, and the order is not on the list, so I'm pretty sure it got bought by saddam at the same time he bought the 275k order, so the difference is even larger.
I did not buy anything that would have made the balance lower (unless bug).

I'll play some more with the market tomorrow, now is sleep time Smiley
kronicblazer
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
October 06, 2015, 11:10:49 PM
 #185

I was able to reset password and login with it successfully.  I took a look at my character info page and everything looks good except:
built area = 0 , should be 2748
stone = 0 , should be 7994

All the items, decorations and promotions are correct.  I really like how we can see what items we have now easily.  I haven't tested the agora marketplace yet, will try it out tomorrow when I have more time.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 06, 2015, 11:38:17 PM
 #186

I think the monerito balance from the trades earlier is not correct, even after erroneous trades were fixed.

Well, they are not yet repaired. Smiley

built area = 0 , should be 2748
stone = 0 , should be 7994

These have not been implemented (script to calculate not there)

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 07, 2015, 12:14:00 AM
 #187

One thing I miss in the transition to Ultima from Google DB is the ability to easily see the quantities of all owners of a certain item.

For example: I would like to be able to click on an item (say, W1604) and then see a table of all owners and the amount they have, it guides me when I decide to make a purchase or not.

It's also fun because you can see if you have the most of a certain item, or strategically plot to become the largest holder, etc.

djjacket
Hero Member
*****
Offline Offline

Activity: 784
Merit: 501


View Profile
October 07, 2015, 12:39:14 AM
 #188

Cancelsell and CancelBuy commands do not accept the "mil" unit.

Example:

Buy WOS-146 1 8mil
Sell WOS-146 1 8mil

Each of these set buys and sells at the price 8,000,000.

cancelsell wos-146 1 8mil ->  You do not have such an order active.
cancelbuy wos-146 1 8mil -> You do not have such an order active.
cancelsell wos-146 1 8000000 ->  Works as expected
cancelbuy wos-146 1 8000000 ->  Works as expected
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 07, 2015, 01:01:26 AM
 #189

Error report: I sold 69 IC to Jacket, but my balance still shows 69 IC.

Karl Hungus
Full Member
***
Offline Offline

Activity: 212
Merit: 100


View Profile
October 07, 2015, 05:50:51 AM
 #190

logged in and changed passwords successfully. So far all balances look correct!

error report:
cmd - BUY HM02B1000 2 70mil
result - item quantity & moneritos balances adjusted as expected
but, 'item history' shows 'OZ' as the seller for this transaction and 'Coinshop' as the buyer, should be reversed
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 07, 2015, 11:58:49 AM
 #191

Hello all!

After a multi-hour meeting, Town Council decided to designate this is now Test environment. See more from thread.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 08, 2015, 10:20:21 AM
 #192

As you may or may not have heard, the Queen is in town and His Majesty will be relatively unavailable for the next few in-game years!  That said, some of the town duties have been delegated to senior players so that they might still get done.  

I am going to be taking over the role of Ultima Development Project Manager. I just wanted to give you all an update on what we have decided so far. We have setup various communication channels, such as Slack and Trello to help us manage the progress.  We are moving the code to github, and there will be an issue queue that will be usable by myself, PJ, and a couple others.  This will be the organization method to keep all features/bugs on the radar, as well as prioritize features/bugs. Once the code has been moved over, PJ will enter all known issues. Once that is complete, I will go through this thread and IRC logs to determine what is still outstanding that may have slipped through the cracks.  We will prioritize these features and try to get this game out of testing and into a playable state post-haste!

I'd also like to welcome moneromooo to the unofficial "dev team". He will be helping out (free of charge) by writing us a suite of unit tests that will access the app via the API. The API will have Buy and Sell methods hooked up sometime today (if all goes as planned) so that this may be done.  This may not be ready for public use, but once we test it out, we will release it along with other API functionality ASAP so 3rd-party developers can start building modules. I can't wait to see what comes out of this! I'm thinking specialty shops, online casinos, bank depositories, and many other things. \

As I am new to the PM role with Ultima, I welcome any feedback that players have in regards to the game development (or anything else for that matter). I cannot guarantee that we will be able to do everything suggested, but we will consider everything.

Once we have gotten everything running at full speed, we will be asking for testers again. This will happen soon, and we will have specific things we'd like to test and report on. More to come on that later.

Monero.
XMRpromotions
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


View Profile
October 08, 2015, 02:02:51 PM
 #193

As you may or may not have heard, the Queen is in town and His Majesty will be relatively unavailable for the next few in-game years!  That said, some of the town duties have been delegated to senior players so that they might still get done.  

I am going to be taking over the role of Ultima Development Project Manager. I just wanted to give you all an update on what we have decided so far. We have setup various communication channels, such as Slack and Trello to help us manage the progress.  We are moving the code to github, and there will be an issue queue that will be usable by myself, PJ, and a couple others.  This will be the organization method to keep all features/bugs on the radar, as well as prioritize features/bugs. Once the code has been moved over, PJ will enter all known issues. Once that is complete, I will go through this thread and IRC logs to determine what is still outstanding that may have slipped through the cracks.  We will prioritize these features and try to get this game out of testing and into a playable state post-haste!

I'd also like to welcome moneromooo to the unofficial "dev team". He will be helping out (free of charge) by writing us a suite of unit tests that will access the app via the API. The API will have Buy and Sell methods hooked up sometime today (if all goes as planned) so that this may be done.  This may not be ready for public use, but once we test it out, we will release it along with other API functionality ASAP so 3rd-party developers can start building modules. I can't wait to see what comes out of this! I'm thinking specialty shops, online casinos, bank depositories, and many other things. \

As I am new to the PM role with Ultima, I welcome any feedback that players have in regards to the game development (or anything else for that matter). I cannot guarantee that we will be able to do everything suggested, but we will consider everything.

Once we have gotten everything running at full speed, we will be asking for testers again. This will happen soon, and we will have specific things we'd like to test and report on. More to come on that later.

The update is appreciated. Dealing with existing bugs before resuming more testing sounds like a good idea. Welcome to the team Moneromoooo!

Don't buy Monero: https://twitter.com/MoneroPromotion/status/746006420508729344

XMR: 43hPTYyKarCTWyh4ZnMVn8AtFeEmtzTXo3Y6TGGMV26BWonJ4tpR7eP9RkUDYQbvg6LbrnMXWfghddE NGtvKxr7B5oML4qd
Karl Hungus
Full Member
***
Offline Offline

Activity: 212
Merit: 100


View Profile
October 08, 2015, 08:07:27 PM
 #194

As you may or may not have heard, the Queen is in town and His Majesty will be relatively unavailable for the next few in-game years!  That said, some of the town duties have been delegated to senior players so that they might still get done.  

I am going to be taking over the role of Ultima Development Project Manager. I just wanted to give you all an update on what we have decided so far. We have setup various communication channels, such as Slack and Trello to help us manage the progress.  We are moving the code to github, and there will be an issue queue that will be usable by myself, PJ, and a couple others.  This will be the organization method to keep all features/bugs on the radar, as well as prioritize features/bugs. Once the code has been moved over, PJ will enter all known issues. Once that is complete, I will go through this thread and IRC logs to determine what is still outstanding that may have slipped through the cracks.  We will prioritize these features and try to get this game out of testing and into a playable state post-haste!

I'd also like to welcome moneromooo to the unofficial "dev team". He will be helping out (free of charge) by writing us a suite of unit tests that will access the app via the API. The API will have Buy and Sell methods hooked up sometime today (if all goes as planned) so that this may be done.  This may not be ready for public use, but once we test it out, we will release it along with other API functionality ASAP so 3rd-party developers can start building modules. I can't wait to see what comes out of this! I'm thinking specialty shops, online casinos, bank depositories, and many other things. \

As I am new to the PM role with Ultima, I welcome any feedback that players have in regards to the game development (or anything else for that matter). I cannot guarantee that we will be able to do everything suggested, but we will consider everything.

Once we have gotten everything running at full speed, we will be asking for testers again. This will happen soon, and we will have specific things we'd like to test and report on. More to come on that later.

The update is appreciated. Dealing with existing bugs before resuming more testing sounds like a good idea. Welcome to the team Moneromoooo!

+1
Very good news, a BIG thanks to noms & Moneromooo for stepping up to help with the dev work!!
Syksy
Full Member
***
Offline Offline

Activity: 260
Merit: 105


A Lingering Ghost


View Profile
October 09, 2015, 07:24:05 AM
 #195

Concordantly, thanks for stepping up! It helps to allocate the vast required effort to multiple people and have several eager people step up Smiley

Out of curiousity, what language is CryptoKingdom coded in and would you like to have external people (such as myself) try commit also new things to the game?
I work in bioinformatics (main languages R and Matlab), but am adept also in C, C#, Java and Python, in case git commits would be appreciated from others as well.
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 09, 2015, 08:11:29 AM
 #196

Concordantly, thanks for stepping up! It helps to allocate the vast required effort to multiple people and have several eager people step up Smiley

Out of curiousity, what language is CryptoKingdom coded in and would you like to have external people (such as myself) try commit also new things to the game?
I work in bioinformatics (main languages R and Matlab), but am adept also in C, C#, Java and Python, in case git commits would be appreciated from others as well.

The app is built using slim framework on PHP, but moneromooo's contribution (as a core dev, not web dev) is to write python unit tests that will utilize the API for sanity checking. Once we have that solid, you can use any language you like to help out with testing, 3rd party software, etc. 

Monero.
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 09, 2015, 10:46:58 AM
 #197

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.

saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 09, 2015, 12:57:29 PM
 #198

thank you Moooo!

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

noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 09, 2015, 01:21:15 PM
 #199

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.

Monero.
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 10, 2015, 01:03:10 PM
 #200

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

Monero.
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 10, 2015, 01:33:32 PM
Last edit: October 10, 2015, 03:40:36 PM by noms
 #201

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)."
  }
}`

Monero.
newb4now
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


View Profile
October 10, 2015, 02:36:10 PM
 #202



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.
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 10, 2015, 03:42:32 PM
 #203

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.

Monero.
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 10, 2015, 04:03:31 PM
 #204

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?

MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 10, 2015, 05:14:06 PM
 #205

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.
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 10, 2015, 05:27:40 PM
 #206

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?

MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 10, 2015, 06:19:01 PM
 #207

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'
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 10, 2015, 07:47:05 PM
 #208

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."}}


noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 11, 2015, 09:50:21 AM
 #209

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

Monero.
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 11, 2015, 11:35:18 AM
 #210

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

Monero.
bytemuma
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
October 11, 2015, 09:48:34 PM
 #211

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.


                                ███
                              █████
           ██           █████████              ██
       █████         
█████████         ██████
     ████████         
█████         █████████
         ████████       
███       █████████
            ████████              █████████
               █████       ███       █████
         
      ███       ██       █████       ██       ███
    █████            █████████            █████
█████████    █████████████    █████████
█████████    █████████████    █████████     
    █████            █████████            █████
      ███        ██      █████      ██      ███
               █████      ███       █████
            ████████              █████████
         ████████       
███       █████████
     ████████         
█████        █████████
       █████         
█████████        ██████
           ██           
█████████           ██
                              █████
                                ███
                             


Adonx.one


◆ Twitter
◆ Telegram
◆ Discord

g4q34g4qg47ww
Sr. Member
****
Offline Offline

Activity: 478
Merit: 250


View Profile
October 11, 2015, 10:05:31 PM
 #212

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.
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 11, 2015, 10:24:04 PM
 #213

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

Monero.
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 11, 2015, 10:26:44 PM
 #214

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!

Monero.
g4q34g4qg47ww
Sr. Member
****
Offline Offline

Activity: 478
Merit: 250


View Profile
October 12, 2015, 12:04:29 AM
 #215


OK Thanks for the response noms! Will snoop around the site and try to break things (in a helpful way)..
kazuki49
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
October 12, 2015, 12:43:27 AM
 #216


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
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 12, 2015, 12:55:01 AM
 #217

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

noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 12, 2015, 08:15:49 AM
 #218

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





Monero.
papa_lazzarou
Hero Member
*****
Offline Offline

Activity: 649
Merit: 500



View Profile
October 12, 2015, 09:52:39 AM
 #219

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

noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 12, 2015, 07:24:05 PM
 #220

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!

Monero.
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 13, 2015, 12:30:41 PM
 #221

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


Monero.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 13, 2015, 02:19:15 PM
Last edit: October 13, 2015, 04:49:02 PM by rpietila
 #222

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?

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
October 13, 2015, 04:02:24 PM
 #223

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."

saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 14, 2015, 12:37:48 AM
 #224

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 <orderID>" instead of having to do "cancel <item> <quantity> <price>").

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 14, 2015, 08:08:10 AM
 #225

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 <orderID>" instead of having to do "cancel <item> <quantity> <price>").

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.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 14, 2015, 09:15:56 AM
Last edit: October 14, 2015, 09:27:09 AM by noms
 #226

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:
<?php 
$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

Monero.
rangedriver
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504



View Profile
October 14, 2015, 10:53:59 AM
 #227

If you guys need any music composed then drop me a PM.
binaryFate
Legendary
*
Offline Offline

Activity: 1484
Merit: 1003


Still wild and free


View Profile
October 14, 2015, 11:34:57 AM
 #228

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

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 14, 2015, 12:50:17 PM
 #229

Looks awesome! Great job everyone.

I will work on a Node.js wrapper for the API this weekend.

rangedriver
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504



View Profile
October 14, 2015, 01:03:42 PM
 #230

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.
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 14, 2015, 01:43:38 PM
 #231

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?

Monero.
rangedriver
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504



View Profile
October 14, 2015, 02:20:02 PM
 #232

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?
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 14, 2015, 03:02:27 PM
 #233

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).

Monero.
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 14, 2015, 08:47:48 PM
 #234

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.



Monero.
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 15, 2015, 01:02:26 AM
 #235

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.

LucyLovesCrypto
Sr. Member
****
Offline Offline

Activity: 414
Merit: 251


View Profile
October 15, 2015, 06:56:07 AM
 #236

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?
Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
October 15, 2015, 06:59:48 AM
 #237

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!
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 15, 2015, 07:38:52 AM
 #238

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.

This does not take long to fix, there was misunderstanding between devs that first level would be L3: Beginner (sounds like "first"..?), then it was changed to L2 and back to L1. So accidental implementation is now L0. Okeh  Cheesy

"New" level system is further in the future and will not be waited.

Quote
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.

There will not be any resource allocation to improving ingame chat now. The Trollbox module is specified ages ago, and will be a thought-out complete module which builds upon the command line, enabling a full gameplay experience.

Upon development in August, the Wizard told that implementation of trollbox would take 5 days, which meant that it was quickly postponed to far in the future. Some time ago we voted if the ingame chat in its current state is usable, and the vote was "no", so use something else. We won't waste time on this one. The current implementation was a 2-hour effort anyway and will remain so.

There are still some modules with higher prioritization than the Trollbox coming, Health Challenge being one.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 15, 2015, 07:49:42 AM
 #239

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.

This part is accomplished!!

I entered 1,500 bids and asks just concatenated from text in a spreadsheet and copy-pasted to the command line box, took about 15 minutes including generating the ladder values and the text for the 3,000 orders in the spreadsheet and executing them.

Now that's what I call good job from PJ  Grin It's more than 3 ops (orders per second)  Grin

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 15, 2015, 09:57:19 AM
 #240

2 new commands specified, overruling possible previous spexes on them. Since they are required for year change, they need to be in production in 48 hours, prior to that is a useful bonus.


NEW item_id [other parameters may be given in the format "Year=1600 ..."]

Using the parameters correctly you can automatically populate all the fields in the Item table. Other option is to fill them using administration - item table view module, which is easier for 1 or 2 new items at a time, but for bulk additions (suits are unique yet come into being dozens at a time) the parameters come in handy, allowing the whole batch planned in an external spreadsheet and newed with one click.


The command adds a new row to Items and may initialize the values of its fields.

if no item_id is given, print "Command NEW syntax is 'NEW item_id [parameters]'." and abort
if item_id is in use in the unified id-space, print "Item_id already in use." and abort
if item_id is invalid (starts with number, or other than 3-6 characters), print "Item_id is required to start with a letter and be 3-6 characters with no spaces or special characters." and abort
create a new row in Items table, try to enter values to its fields with validation on
ignore other parameters to the extent they are not in the correct format (valid_field=valid_value), in the case a value does not pass the normal validity check of their respective fields, tag minor issues flag
print "New item added."
if minor_issues=1, print "Some of the parameters were not translated correctly, you might want to check the results in Admin section."
return

NOTE: Required: senior admin. Newing items without filling in all the fields before leaving (there is no check) is forbidden. The command does not create any instances of the item. Newing items and forgetting to create them is unadvised.




CREATE item_id quantity recipient

The command increases the number of instances of item_id owned by recipient by quantity units.

if no item_id is given, print "Command CREATE syntax is 'CREATE item_id quantity recipient'." and abort
if item_id is not a valid item_id, print "No such item." and abort
if quantity is not a positive integer, print "Quantity must be a positive integer." and abort
if recipient is not found from char_id and char_shortname tables, print "No such recipient." and abort
add quantity instances of item_id to recipient and update changelog
print: "quantity units of item_id created to recipient".

NOTE: Required: senior admin.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
djjacket
Hero Member
*****
Offline Offline

Activity: 784
Merit: 501


View Profile
October 15, 2015, 11:12:44 AM
 #241

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.

Thanks saddam - I have submitted this as a bug and it will be looked into.
iourzzz
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
October 15, 2015, 03:33:09 PM
 #242

Just entered the following command and thought that it will add ask for 490,000

sell cvs 1 490,000

But instead I got COMMAND RESULTS:
Sold 1 units of cvs at 215000 m/unit, for a total of 215000m.

Before that the same happened with

sell cvs 2 490,000

it has been just sold to the highest bid.

Am I doing something wrong?
djjacket
Hero Member
*****
Offline Offline

Activity: 784
Merit: 501


View Profile
October 15, 2015, 03:36:35 PM
 #243

Just entered the following command and thought that it will add ask for 490,000

sell cvs 1 490,000

But instead I got COMMAND RESULTS:
Sold 1 units of cvs at 215000 m/unit, for a total of 215000m.

Before that the same happened with

sell cvs 2 490,000

it was just sold to the highest bid.

Am I doing something wrong?

The commas are the problem with your entry.  The entry was evaluated as - sell cvs 1 490.

This issue is being worked on currently.  We are looking at implementing a option to have a confirmation message other other options.

The following would work

sell cvs 1 490000
sell cvs 1 .49mil

BE VERY CAREFUL WITH YOUR CLI ORDERS
I should know - I made some misplaced orders as well.
iourzzz
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
October 15, 2015, 03:55:12 PM
 #244

Just entered the following command and thought that it will add ask for 490,000

sell cvs 1 490,000

But instead I got COMMAND RESULTS:
Sold 1 units of cvs at 215000 m/unit, for a total of 215000m.

Before that the same happened with

sell cvs 2 490,000

it was just sold to the highest bid.

Am I doing something wrong?

The commas are the problem with your entry.  The entry was evaluated as - sell cvs 1 490.

This issue is being worked on currently.  We are looking at implementing a option to have a confirmation message other other options.

The following would work

sell cvs 1 490000
sell cvs 1 .49mil

BE VERY CAREFUL WITH YOUR CLI ORDERS
I should know - I made some misplaced orders as well.

Thanks a lot!
iourzzz
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
October 15, 2015, 04:09:54 PM
Last edit: October 15, 2015, 04:24:22 PM by iourzzz
 #245

I have just added an ask order for Moneretos as an item Smiley
Probably it's better to restrict it. It's a bit illogical (but fun).

It was already reported before, but probably lost: after Roopatra bought 1 Beer from me in item history the buyer and the seller are messed up.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 15, 2015, 04:44:00 PM
 #246

I have just added an ask order for Moneretos as an item Smiley
Probably it's better to restrict it. It's a bit illogical (but fun).

The concept of item "M" is new for everyone who was not here in the 1800s. Quick explanation:

- "M" is an aggregation of items containing "resource M", same as HM02B100 is an item that contains 100*resource CKG.
- Currently there is only one such item, also called M so this causes the confusion
- Later, several depositories are needed to hedge risks, so these will issue items "M1", "M2", etc against the XMR they hold in a publicly viewable address
- In the UI side players only see "M" since all these are legal tender
- I skip the brilliant part how robust this system is in the case of any adversity attempted against our world.

So it is intended that you are able to sell M in the same way as you can sell CKG, and if it is too stupid to do, don't do it.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 16, 2015, 12:28:28 AM
 #247

Bug Report:

Code:
give IC 32 7

Riddick tried to give Saddam 32 IC, command reponse says it was successful. But Riddick's balance not decreased, nor Saddam's IC increased.

Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
October 16, 2015, 08:19:19 AM
Last edit: October 16, 2015, 11:02:39 AM by Roopatra
 #248

BUG: The "color" for WIRS windows is wrong, it says "bronze/copper".

BUG: giving land (trading lots) does not work. I tried command "give 9-C-C5 1 130" (to Crichton, who bought the lot)

BUG (sort of): In the Agora sell/buy listing the no. of "amount" is so close to the previous cell, that it is difficult to read.

FEATURE REQUEST: In "my chronicle" the traded item_id is not listed, would be very helpful to keep up with trading.

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 16, 2015, 08:59:06 AM
 #249

BUG: The "color" for WIRS windows is wrong, it says "bronze/copper".

Request to check the parser lookup_table first, because the error may be there as well. Although the drinks show ok.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 17, 2015, 01:28:51 AM
 #250

Forgot Password does not appear to be working, not sure if this is a known bug or in progress.


opennux
Full Member
***
Offline Offline

Activity: 231
Merit: 100


View Profile
October 17, 2015, 07:00:15 AM
 #251

I've signed up thrice now. All times I cannot login again. As saddambitcoin said I have also had issues with not receiving any reset mail (I was in contact with him about this).
The error-code is "Wrong credentials".
djjacket
Hero Member
*****
Offline Offline

Activity: 784
Merit: 501


View Profile
October 17, 2015, 11:16:55 AM
 #252

I've signed up thrice now. All times I cannot login again. As saddambitcoin said I have also had issues with not receiving any reset mail (I was in contact with him about this).
The error-code is "Wrong credentials".

Try logging in with your email address as the username.  We are working on revamping the registration, but I think currently the username for new signups is the email address entered during registration.

Roopatra
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
October 17, 2015, 12:07:05 PM
 #253

I've signed up thrice now. All times I cannot login again. As saddambitcoin said I have also had issues with not receiving any reset mail (I was in contact with him about this).
The error-code is "Wrong credentials".

Try logging in with your email address as the username.  We are working on revamping the registration, but I think currently the username for new signups is the email address entered during registration.

There was an error that the registration only worked with email, and not leaving it blank, (though it was possible to write anything in the field and it accepted).

More recent registration attempt worked without any email, just choose your nick and age and go! Then you use the nick as your username when you want to login again.

Update BUG: I have same problem now, cannot login with my test character, giving username and password just says "wrong credentials".
opennux
Full Member
***
Offline Offline

Activity: 231
Merit: 100


View Profile
October 17, 2015, 01:08:45 PM
 #254

I've signed up thrice now. All times I cannot login again. As saddambitcoin said I have also had issues with not receiving any reset mail (I was in contact with him about this).
The error-code is "Wrong credentials".

Try logging in with your email address as the username.  We are working on revamping the registration, but I think currently the username for new signups is the email address entered during registration.



Thanks, but it still says "Wrong credentials".
anthonycamp
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
October 17, 2015, 01:10:51 PM
 #255

you say soo much about errors can you specify whats this all about this cryptokingom its for trade invest ponzi game btc sorry never did go there
djjacket
Hero Member
*****
Offline Offline

Activity: 784
Merit: 501


View Profile
October 17, 2015, 01:14:17 PM
 #256

I've signed up thrice now. All times I cannot login again. As saddambitcoin said I have also had issues with not receiving any reset mail (I was in contact with him about this).
The error-code is "Wrong credentials".

Try logging in with your email address as the username.  We are working on revamping the registration, but I think currently the username for new signups is the email address entered during registration.



Thanks, but it still says "Wrong credentials".

Ok - I have submitted a bug ticket to the developer and will update here once I have information.
djjacket
Hero Member
*****
Offline Offline

Activity: 784
Merit: 501


View Profile
October 17, 2015, 01:38:38 PM
 #257

you say soo much about errors can you specify whats this all about this cryptokingom its for trade invest ponzi game btc sorry never did go there

Check out this thread instead...
https://bitcointalk.org/index.php?topic=819073
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 17, 2015, 10:39:32 PM
Last edit: October 18, 2015, 12:28:09 AM by saddambitcoin
 #258

New API client available for Node.JS!

Includes all these API commands for your trading needs: getStateForItem, buy, sell, cancelbid, cancelAsk, cancelAll, consume, give!

Get it here, with full documentation:
https://github.com/saddammonero/cryptokingdom

OR install via NPM:
Code:
npm install cryptokingdom

Will be adding further methods as they are released.

saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
October 18, 2015, 01:54:08 AM
 #259

Is there a limit on how many API calls can be made in a certain amount of time?

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 18, 2015, 08:10:32 AM
 #260

Is there a limit on how many API calls can be made in a certain amount of time?

I cannot exactly say what is the limit at present, and how it will be allocated if the number of calls exceeds it.

What I do know is that the cli processor is currently not threaded, and does not have a limit. Once some teenager decides to apply constant load to it in the production system, we will have to instate the limits.

In the longer term, characters themselves will have to pay the (very small) amount that their hosting costs. If you for instance have a cli/API bot that makes 10,000 bids/asks per month in the Agora, it is hardly noticeable in your m balance, but if it makes 10,000 orders per hour, the cost will be considerable, incentivizing to build well-behaving bots. Similarly, new items created will incur a cost. Even a very small cost, when linear, inhibits spam attacks which seek to create billions of rows in itemsOwnership table (this, and Items, are the main bloat attack targets).

The command processor seems to be able to process roughly 20 cps, which indeed became a bottleneck for my larger ladder orders.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
binaryFate
Legendary
*
Offline Offline

Activity: 1484
Merit: 1003


Still wild and free


View Profile
October 18, 2015, 01:11:20 PM
 #261

Bug report:

There is at least one sell order for each of the items BF1500Y and BF1500J, but they don't show up in the "Ask" and "Bid" columns in the table at https://cryptokingdom.me/marketplace.

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
opennux
Full Member
***
Offline Offline

Activity: 231
Merit: 100


View Profile
October 19, 2015, 01:07:28 AM
 #262

I've signed up thrice now. All times I cannot login again. As saddambitcoin said I have also had issues with not receiving any reset mail (I was in contact with him about this).
The error-code is "Wrong credentials".

Try logging in with your email address as the username.  We are working on revamping the registration, but I think currently the username for new signups is the email address entered during registration.



Thanks, but it still says "Wrong credentials".

Sorry to pester, but any way I can sign in? Tried all combinations. 
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
October 19, 2015, 10:37:53 AM
 #263

Sorry to pester, but any way I can sign in? Tried all combinations. 

Sorry, but you just have to wait a bit, some registrations with empty email (which should have been optional) created issues. This bug is highest priority after year change work. We'll let you know when that's corrected and you can try again then. Sorry!


rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 19, 2015, 09:26:19 PM
Last edit: October 19, 2015, 09:45:12 PM by rpietila
 #264

DIVIDEND recipient_item_id dividend_item_id quantity

The command is used to give amount units of dividend_item_id per each instance of recipient_item_id the recipient owns. (Recipient is only specified indirectly by recipient_item_id.)

if no recipient_item_id is given, print "Command DIVIDEND syntax is 'DIVIDEND recipient_item_id dividend_item_id amount'." and abort
if recipient_item_id is not a valid item_id, print "recipient_item_id is not a valid item to give the dividend to." and abort
if dividend_item_id is not a valid item_id, print "dividend_item_id is not a valid item to give as dividend." and abort
if quantity is not a positive integer, print "Quantity must be a positive integer." and abort
total1 = recipient_item_id:exists * quantity
if active_character does not have total1 units of dividend_item_id, print "Insufficient number of dividend_item_id to pay the proposed dividend." and abort
loop through all characters who have ItemsOwnership in recipient_item_id
  amount1 = quantity * recipient_item_id_owned_by_char_id
  GIVE dividend_item_id amount1 char_id  
  update changelogs
print: "total1 units of dividend_item_id given to owners of recipient_item_id."

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rangedriver
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504



View Profile
October 20, 2015, 07:59:45 AM
 #265

Okay so here's the first track:-

https://soundcloud.com/user-763969972/ckg-01-b

Depending how well this is received I'll see if I can compose the second track later this week.
noms
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
October 20, 2015, 09:38:26 AM
 #266

Okay so here's the first track:-

https://soundcloud.com/user-763969972/ckg-01-b

Depending how well this is received I'll see if I can compose the second track later this week.

This is amazing! I love the 8-bit sound. It really reminds me of Final Fantasy 1-esque music. I would love to hear this in the game, HM_The_King, what do you think? 

Are you a player in the game yet? If so please let me know your username so I can send you some rewards!

Monero.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 20, 2015, 09:46:38 AM
 #267

Okay so here's the first track:-
https://soundcloud.com/user-763969972/ckg-01-b

Depending how well this is received I'll see if I can compose the second track later this week.

This is amazing! I love the 8-bit sound. It really reminds me of Final Fantasy 1-esque music. I would love to hear this in the game, HM_The_King, what do you think? 

Yeah Smiley This music is really cool! Now I am wishing the graphics also be from the era as well, but have to acknowledge that having more stuff on the screen and readable fonts is something I am accustomed to in 25 years..

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
October 20, 2015, 10:16:10 AM
 #268

DB structure overhaul

During the phase after release we have learnt that the basic structure of having a large number of commands that double as API methods, is an extremely powerful way to quickly make the game very expandable.

We have also learnt that it is quick to develop the commands so that they are not thoroughly tested prior to releasing them live. Live testing quickly shows if they work properly.

Now, the third thing we have learnt is that such untested commands should not be allowed to directly update the DB values (mainly: item balances). This can easily cause corruption in the values, and finding out the cause and repairing it is difficult.

What we now proceed to do, is:

- Make an inner-core script that calculates the item balances from changelog. This is a log of all changes to item balances from the beginning of the game. For performance reasons, it is milestoned daily so that only the last day changes in practice need to be summed to know the balance.

- The commands and API methods will not have the right to update the DB, only the changelog. All the changes they want to make are publicly visible and take effect immediately, but can also be filtered, sorted and reversed very easily (unlike in the current structure where the information on the effect of various commands is dispersed, and also not master, meaning that even the log can theoretically be wrong).

This further speeds up the testing because all the commands aim to the same thing - make changes in the database. With changelog construction, all they (can) do is to write to the changelog. So debugging can be made live, with instant reversal of wrong effects.

- Malicious corrupting of the DB (by hackers) becomes impossible or at least easy to detect. Comparable situation is an old-fashioned bank where you may have keys to the vault that allows to steal gold directly. But now you don't have them, and instead need to trick the clerk to give the gold to you, and all your personal info is required and stored before writing to the changelog.

It is possible that at some point in the nearest days, the game will be down for maintenance as the change will take effect.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rangedriver
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504



View Profile
October 20, 2015, 03:13:36 PM
 #269

This is amazing! I love the 8-bit sound. It really reminds me of Final Fantasy 1-esque music. I would love to hear this in the game, HM_The_King, what do you think?  

Yeah Smiley This music is really cool!

Cool, thanks for the feedback! Good to know I'm on the right track.

At the moment the first track is about 4.36MB in MP3 format 192Kbps. Musically speaking, I've designed it to loop, however MP3s can be a technical pain in the ass for looping so let me know how you get on with it. The alternative would be WAV which loops seemlessly, but then clearly the data footprint starts to rise considerably for the same quality.

If you PM me an address I can send it over to you, or we can do DropBox or... whichever way you want. Smiley

I'll start work on the second track. I'm thinking similar instrumentation and same kind of feel - possibly interweaving some of the melodies of the first track. That said, maybe something completely different would also work well? I'll do some experimentation and see what it brings. If there's something in particular you'd like to hear in the second track then now would be a good time to mention it.

Now I am wishing the graphics also be from the era as well, but have to acknowledge that having more stuff on the screen and readable fonts is something I am accustomed to in 25 years..

Yeah it would cool for sure. Perhaps it's possible to have era-reminiscent graphics while maintaining high-resolution visibility. I remember Habbo Hotel did a good job of emulating a "retro" colorful pixellated environment, while actually being technically hi-res. In any event, the way you're designing it seems to be modular, so I'm sure there's room for graphical expansion in the future once the logical foundations have been layed... perhaps?

Are you a player in the game yet? If so please let me know your username so I can send you some rewards!

Hah thanks! I recently registered but I haven't been able to log-on yet. Password area says 'Wrong Credentials' and after changing the password using the 'Lost Password' facility, I still am not able to log-on. I'll PM you the details. Smiley
equipoise
Hero Member
*****
Offline Offline

Activity: 794
Merit: 1000


Monero (XMR) - secure, private, untraceable


View Profile WWW
October 22, 2015, 08:56:33 AM
 #270

Okay so here's the first track:-
https://soundcloud.com/user-763969972/ckg-01-b

Depending how well this is received I'll see if I can compose the second track later this week.

This is amazing! I love the 8-bit sound. It really reminds me of Final Fantasy 1-esque music. I would love to hear this in the game, HM_The_King, what do you think? 

Yeah Smiley This music is really cool! Now I am wishing the graphics also be from the era as well, but have to acknowledge that having more stuff on the screen and readable fonts is something I am accustomed to in 25 years..
Do you think the authors of Conversion of amino-acid sequence in proteins to classical music: search for auditory patterns will be willing to generate some tracks for the game. You could loop the four tracks attached for hours. Tracks 3 and 4 are with rhythm based on the same amino-acid sequence. We could even ask them if they are willing to give us the generator code to incorporate it in the game with a basic GUI. You only need to copy/paste an amino acid sequence from a biological database, switch a few switches and voila - you have your own classical track generated Smiley

About me | zRMicroArray - phase 2 - Gene Expression Analysis software | [Weed Like to Talk - Bulgaria] Start a wave of cannabis seminars in Europe | Monero weighted average price stats: moneroprice.i2p
BTC: 1KoCX7TWKVGwqmmFw3CKyUSrKRSStueZar | NMC: NKhYEYpe1Le9MwHrwKsdSm5617J4toVar9 | XMR (Tip me a beer OpenAlias Monero address): tip.changetheworldwork.com
[XMR] Monero - A secure, private, untraceable cryptocurrency: 4AyRmUcxzefB5quumzK3HNE4zmCiGc8vhG6fE1oJpGVyVZF7fvDgSpt3MzgLfQ6Q1719xQhmfkM9Z2u NXgDMqYhjJVmc6KX
Syksy
Full Member
***
Offline Offline

Activity: 260
Merit: 105


A Lingering Ghost


View Profile
October 23, 2015, 03:33:54 AM
 #271

Do you think the authors of Conversion of amino-acid sequence in proteins to classical music: search for auditory patterns will be willing to generate some tracks for the game. You could loop the four tracks attached for hours. Tracks 3 and 4 are with rhythm based on the same amino-acid sequence. We could even ask them if they are willing to give us the generator code to incorporate it in the game with a basic GUI. You only need to copy/paste an amino acid sequence from a biological database, switch a few switches and voila - you have your own classical track generated Smiley

Interesting paper and idea!

Though I must notify as a bioinformatician working with genomics and proteomics, that proteins are much more than just their amino-acid sequence - there's epigenomics (modifications such as phosphorylation) as well as the secondary and tertiary 3d-structures that make them the complex functional "tools" that they are. Bare amino-acid sequence is a very redundant representation of the complexity and diversity that they offer.

It's really hard to replace the talent and experience of an actual 8-bit musician with such Smiley but I can help translate this paper into an actual music tool if it is pursued further.
djjacket
Hero Member
*****
Offline Offline

Activity: 784
Merit: 501


View Profile
November 05, 2015, 02:32:01 PM
 #272

DB structure overhaul

During the phase after release we have learnt that the basic structure of having a large number of commands that double as API methods, is an extremely powerful way to quickly make the game very expandable.

We have also learnt that it is quick to develop the commands so that they are not thoroughly tested prior to releasing them live. Live testing quickly shows if they work properly.

Now, the third thing we have learnt is that such untested commands should not be allowed to directly update the DB values (mainly: item balances). This can easily cause corruption in the values, and finding out the cause and repairing it is difficult.

What we now proceed to do, is:

- Make an inner-core script that calculates the item balances from changelog. This is a log of all changes to item balances from the beginning of the game. For performance reasons, it is milestoned daily so that only the last day changes in practice need to be summed to know the balance.

- The commands and API methods will not have the right to update the DB, only the changelog. All the changes they want to make are publicly visible and take effect immediately, but can also be filtered, sorted and reversed very easily (unlike in the current structure where the information on the effect of various commands is dispersed, and also not master, meaning that even the log can theoretically be wrong).

This further speeds up the testing because all the commands aim to the same thing - make changes in the database. With changelog construction, all they (can) do is to write to the changelog. So debugging can be made live, with instant reversal of wrong effects.

- Malicious corrupting of the DB (by hackers) becomes impossible or at least easy to detect. Comparable situation is an old-fashioned bank where you may have keys to the vault that allows to steal gold directly. But now you don't have them, and instead need to trick the clerk to give the gold to you, and all your personal info is required and stored before writing to the changelog.

It is possible that at some point in the nearest days, the game will be down for maintenance as the change will take effect.

Just wanted to give a quick update on the progress:

-  We have completed the testing of the new changelog DB format.  All commands have been converted to the new changelog structure.
-  All transactions in the changelog are now used to calculate item balances for players.
-  Admins now have the ability to view/revert previously executed commands and transactions in the overall changelog

The next steps are reverting the DB item counts to a previous date and reviewing post-date transactions to apply to the changelog.  Then the item balances will be spot checked to verify functionality.  We anticipate this occurring today. 

Once it is all verified, HM will be informed to start his processes that have been placed on hold to get 'time' moving once again.

Thanks for your patience.




djjacket
Hero Member
*****
Offline Offline

Activity: 784
Merit: 501


View Profile
November 06, 2015, 04:19:02 AM
 #273

Just wanted to give a quick update on the progress:

-  We have completed the testing of the new changelog DB format.  All commands have been converted to the new changelog structure.
-  All transactions in the changelog are now used to calculate item balances for players.
-  Admins now have the ability to view/revert previously executed commands and transactions in the overall changelog

The next steps are reverting the DB item counts to a previous date and reviewing post-date transactions to apply to the changelog.  Then the item balances will be spot checked to verify functionality.  We anticipate this occurring today. 

Once it is all verified, HM will be informed to start his processes that have been placed on hold to get 'time' moving once again.

Thanks for your patience.

The New ChangeLog DB is going live soon.  What this means is that you should be able to login and view you item counts and transactions.  Here is an explanation of the changes and how to interpret.

-  The Base Item count has been established from the Oct 14 date where we relaunched.  The Base Item count changelog entry is noted as a Transferfromitemown Command in the History
-  The transactions that occurred after that date will be applied to the changelog.  These will be Buy/Sell/Give/Consume Commands

Once we have imported the transactions, please review your inventory and note any buggy trades that occurred to me with the changelog information and we will review the results.

As of the moment of this post, the DB currently has been restored the the Oct 14 date, but the transactions after that date have not been "replayed" into the changelog.  I will update this thread once that has occurred.

Syksy
Full Member
***
Offline Offline

Activity: 260
Merit: 105


A Lingering Ghost


View Profile
November 07, 2015, 03:06:01 PM
 #274

Sounds great, thanks Jacket & others who are putting a vast effort into this. It's looking good so far.
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
November 07, 2015, 03:30:05 PM
 #275

I love the new image on the landing page!!

saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
November 09, 2015, 11:56:33 PM
 #276

I noticed that now when you place ask orders, the appropriate item quantity is reduced from your "available balance". This is awesome!

Is it being considered to also do this with Moneretos on the bid side?

Otherwise someone can place many fake bids that will not execute if they don't have the available moneretos.

rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
November 10, 2015, 08:36:04 AM
 #277

I noticed that now when you place ask orders, the appropriate item quantity is reduced from your "available balance". This is awesome!

Is it being considered to also do this with Moneretos on the bid side?

Otherwise someone can place many fake bids that will not execute if they don't have the available moneretos.

Yes, we thought that it might be useful to see both (after some detour of only showing the "available", causing more trouble than good really Wink )

There is currently no intention to do it with the bid side. Reasons:

- Many people/corps in business want to offer buy liquidity for multiple items. It would not be possible if 100% reserve was required. This would destroy the bidside liquidity - the value of non-M items (stuff) in the characters' accounts is 35x the value of M items (money). An obvious mismatch that can be easily remedied by doing what we are doing.

- 100% reserve when placing bids has never been the custom with any reputable financial institution. Even I have used stockbrokers who had this mode of operation prior to the online era starting in late 1990s. The usual reason why online stockbrokers incl. crypto exchanges really want 100%+100% reserve is more sinister than cares to be mentioned. We don't want to even allow ourself the option to do such things and want to have as little customer depository balances (XMR) as possible.

- The practical result of hitting zero funds is that the trade just does not happen, which will be noticeable to the seller, and not cause him any more difficulty than lost opportunity that would never have been there to begin with. A trade cannot make you go negative. Admin command TRANSFER only can make you go negative (and only in M).

=> I will change the policy when it needs changing but going to fully covered bids is so far from rational here that it is unlikely it will happen. Other things that actually improve the system are planned.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
November 10, 2015, 07:25:56 PM
 #278

CREATE item_id quantity recipient

The command increases the number of instances of item_id owned by recipient by quantity units.

if no item_id is given, print "Command CREATE syntax is 'CREATE item_id quantity recipient'." and abort
if item_id is not a valid item_id, print "No such item." and abort
if quantity is not a positive integer, print "Quantity must be a positive integer." and abort
if recipient is not found from char_id and char_shortname tables, print "No such recipient." and abort
add quantity instances of item_id to recipient and update changelog
print: "quantity units of item_id created to recipient".

NOTE: Required: senior admin.

Request to enable this command via API please. Then I will be able to setup a bot that creates M automatically when a user deposits XMR to their CK account.

saddambitcoin
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
November 10, 2015, 11:58:16 PM
 #279

I noticed that now when you place ask orders, the appropriate item quantity is reduced from your "available balance". This is awesome!

Is it being considered to also do this with Moneretos on the bid side?

Otherwise someone can place many fake bids that will not execute if they don't have the available moneretos.

Yes, we thought that it might be useful to see both (after some detour of only showing the "available", causing more trouble than good really Wink )

There is currently no intention to do it with the bid side. Reasons:

- Many people/corps in business want to offer buy liquidity for multiple items. It would not be possible if 100% reserve was required. This would destroy the bidside liquidity - the value of non-M items (stuff) in the characters' accounts is 35x the value of M items (money). An obvious mismatch that can be easily remedied by doing what we are doing.

- 100% reserve when placing bids has never been the custom with any reputable financial institution. Even I have used stockbrokers who had this mode of operation prior to the online era starting in late 1990s. The usual reason why online stockbrokers incl. crypto exchanges really want 100%+100% reserve is more sinister than cares to be mentioned. We don't want to even allow ourself the option to do such things and want to have as little customer depository balances (XMR) as possible.

- The practical result of hitting zero funds is that the trade just does not happen, which will be noticeable to the seller, and not cause him any more difficulty than lost opportunity that would never have been there to begin with. A trade cannot make you go negative. Admin command TRANSFER only can make you go negative (and only in M).

=> I will change the policy when it needs changing but going to fully covered bids is so far from rational here that it is unlikely it will happen. Other things that actually improve the system are planned.

Thank you for this explanation also, it makes sense now!

kazuki49
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
November 11, 2015, 12:58:03 AM
 #280

Really nice seeing improvements all over the place, I like the retro intro page, may I suggest a page where it list all the user's active sells/buys. With the amount of items to trade it is somewhat easy to forget.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
November 14, 2015, 10:08:02 PM
 #281

TAX taxed_item_id amount recipient

The command is used to transfer amount units of M to recipient per each instance of taxed_item_id the recipient owns. (The character paying the tax is only specified indirectly by taxed_item_id.)

TAX is senior admin command and may cause the M balance of the character taxed to go negative.

validation active_character must be senior admin, else print "You do not have the permission to tax (needed: senior admin)." and abort
if no taxed_item_id is given, print "Command TAX syntax is 'TAX taxed_item_id amount recipient'." and abort
if taxed_item_id is not a valid id in the uniform idspace, print "taxed_item_id does not exist." and abort
if amount is not a positive integer, print "Amount must be a positive integer." and abort
if recipient is not a valid char_id or char_shortname, print "recipient is not a valid character." and abort
total1 = 0

loop through all characters who own taxed_item_id (char_id is the char_id of the character in the loop)
  amount1 = amount * taxed_item_id_owned_by_char_id
  TRANSFER M amount1 char_id recipient   
  total1 += amount1
print: "Taxation successful. total1 M collected from owners of taxed_item_id."

Usual uniform idspace validations apply. The idspace is case-independent meaning that if item DOH exists, no items doh, dOh, Doh may exist as separate items; therefore the command parses all these to mean item DOH. The correct way to output/list the names of items is all-uppercase always.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
binaryFate
Legendary
*
Offline Offline

Activity: 1484
Merit: 1003


Still wild and free


View Profile
November 24, 2015, 08:42:47 AM
 #282

I'm curious what is being worked on right now? And what are the development goals/directions short term (for the next month)?

Also when is registration going to be open to new players again?

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
November 26, 2015, 06:04:06 AM
Last edit: November 26, 2015, 02:20:45 PM by rpietila
 #283

SPOIL item_id_or_item_type_id percentage_spoiled

The command is used to randomly destroy a percentage of instances of item_id_or_item_type_id.

validation active_character must be senior admin, else print "You do not have the permission to spoil (needed: senior admin)." and abort
if no percentage_spoiled is given, print "Command SPOIL syntax is 'SPOIL item_id_or_item_type_id percentage_spoiled'." and abort
if percentage_spoiled is not a positive integer between 1...99, print "Percentage to be spoiled must be a positive integer (which the system will divide by 100)." and abort
if item_id_or_item_type_id is not a valid item_id or item_type_id, print "No such item or item type." and abort

loop through all instances of the item(s) in question and assign each item an equal probability P=(percentage_spoiled / 100), eg. if percentage_spoiled = 33, then P=0.33 with the result that as n=>inf, the fraction of all instances destroyed tends to 33/100 of the original # of instances.
transfer the instances destroyed back to #5.
print "Spoil successful. instancesdestroyed items destroyed."

The random die roll must be done separately for each instance of the item. This command will be used for stuff like VEG with an average holding of 200-400 instances per character and percentage_spoiled=50. If it consumes too much resources, it needs to be threaded, or I may be able to give concession to the rule if the expected

User note: The command SPOIL is also used to kill NPC and animals, we skip the need for a KILL command (or the name can be saved for more troubled times Tongue ) SPOIL is the original "d100 kill roll"  Grin


PROMOTE item_id percentage_promoted promoted_to

The command is used to randomly mutate a percentage of instances of item_id to promoted_to.

validation active_character must be senior admin, else print "You do not have the permission to promote (needed: senior admin)." and abort
if no promoted_to is given, print "Command PROMOTE syntax is 'PROMOTE item_id percentage_promoted promoted_to'." and abort
if promoted_to is not a valid item_id, print "No such item to be promoted to." and abort
if percentage_promoted is not a positive integer between 1...99, print "Percentage to be promoted must be a positive integer (which the system will divide by 100)." and abort
if item_id is not a valid item_id, print "No such item." and abort

loop through all instances of the item in question and assign each item an equal probability P=(percentage_promoted / 100), eg. if percentage_promoted = 5, then P=0.05 with the result that each instance of the item has 5%=1/20 chance to be promoted.
transfer the instances of item_id that will be promoted, back to #5.
create 1 instance of promoted_to per each instance of item_id destroyed, to its original owner.

print "Spoil successful. instancespromoted items promoted."

The random die roll must be done separately for each instance of the item.


MERGE item_id percentage_remaining

The command is used to scale down the number of instances of an item proportionately for all owners.

validation active_character must be senior admin, else print "You do not have the permission to merge (needed: senior admin)." and abort
if no percentage_remaining is given, print "Command MERGE syntax is 'MERGE item_id percentage_remaining'." and abort
if percentage_remaining is not a positive integer between 1...99, print "Percentage remaining must be a positive integer." and abort
if item_id is not a valid item_id, print "No such item." and abort

calculate each character's holdings of item_id, multiply by percentage_remaining / 100. Everyone gets to keep this many items (always rounded down (floored) to nearest full item. The rest are destroyed and transferred to #5.

print "Merge successful."

Since this command floors the result, it should not be used when the items are of high value so that the lost fraction is significant. In these cases it is fairer to use the random_roll SPOIL command.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
November 26, 2015, 06:29:22 AM
Last edit: November 26, 2015, 07:36:58 AM by rpietila
 #284

Duty Paid (3rd party module)


Background of IC

IC is an ingame imports currency, which is currently generated at a rate of 3000-4000 IC/year. For comparison, the IC generated and spent in the Ancient era (200 years) was about 50,000 IC. (In real-time, the difference is not so big since it would take about 100 days to generate 50,000 IC now, whereas the ancient era lasted only 140 days realtime.)

IC can come in 3 ways:
- New characters get personal IC after a few hours of playtime
- Many NPC types yield CUL, which always comes with half its amount in IC
- Residences and cultural institutions yield CUL (+IC).

The "gamemaster book value" of IC is 100,000 m. If rental income is diverted to CUL, solely to gain IC, the conversion efficiency is about 200,000 m/IC. IC is tradable and its price in the market has reached up to 500,000 m/IC due to scarcity. Now we have ended the scarcity, but are also expanding the uses of IC greatly.

Background of Items

Items have many attributes and will have even more when combined with Skills module (coming "soon" = months). The unifying characteristic is item level "K". The levels of items range from K1...K10, with the level in theory based on the IC cost of the item as follows:

K1 = 1 IC
K2 = 2-4 IC
K3 = 5-9 IC
K4 = 10-19 IC
K5 = 20-49 IC
K6 = 50-99 IC
K7 = 100-199 IC
K8 = 200-499 IC
K9 = 500-999 IC
K10 = 1000+ IC

There are many exceptions, however. Financial and other immaterial products are typically K0, regardless of their price. Material products (such as consumables) are K1 even if much cheaper than 1 IC equivalent. Products with embedded value (gold) get level only based on their remolding cost, not the price of gold. Backdated items cost more IC but the backdating does not increase their level. If level is to be assessed for an item that can not be converted, it is gamemaster decision. Historically some items got +1 level bonuses, and this may still happen as a promotion.

Item Parameters are (from Items table, can be populated with NEW command, API accessible with permission):
year <- current game year or any past year no older than 1600. Backdating adds to price in calculator)
level <- is calculated from the price IC (and other parameters/attributes)
name <- user specified, the listing name
itemType <- it_type_code for sorting, mandatory
ckg <- ckg contained
cks <- cks contained
stone <- stone contained
desc <- description of the item, mandatory
history <- stories of the item, perhaps to add flavor and resale value
specialNote <- if the item has encumbrance or other important info
adminNotes <- reserved
material <- code (for lookup), mandatory
colCode <- color code (for lookup), mandatory
repair <- always start at 1 (100%)
Attributes <- take value of 0...3, where 1=Attribute, 2=Most Attribute, 3=Very Attribute (upping by 1 typically doubles the price)
ancient <- always 0
elaborate
powerful
imported <- always 1 in this shop (range 0/1)
cultural
scientific
historical <- not used
royal <- King only
noble <- admin only
blessed <- church only
cursed <- church only
legendary <- (range 0/1) general population only
untradable <- (range 0/1) will appear in listing but cannot place bids/asks (currently does not work)

Duty Paid shop feature specification

Some might remember the time of AIC in March-2015 and the "AIC shop" in Google DB. With the help of calculators there, it was possible to add new rows to the Items tab. What we seek to do now is the same, in Ultima context.

The shop needs to have Ultima authentication. When the user is in, he sees item converters and can enter the values for the item attributes. Upon "calculate price", he gets to see the price in IC. Upon "convert", the item is NEWed (new line created to the DB) and 1 instance created to the owner. The IC is consumed.

Example: Imported Wig
"You know, we have not had wigs before, but they are in high fashion in France and the places where we get our influences from. So I want to buy one to join the ranks of the people who know how to dress."

Wig item type is (currently) GIP, "Personal Item". After this is selected, a simple questionnaire is given to the willing importer with the following fields:

year <- current game year or any past year no older than 1600. Backdating adds to price in calculator)
name <- user specified, the listing name
desc <- description of the item, mandatory
history <- stories of the item, perhaps to add flavor and resale value
specialNote <- if the item has encumbrance or other important info
Size of the Item   <- 1=small, 2=handheld, 3=tabletop, 4=large, 5=very large) this is not saved as such but will determine the price
material <- code (for lookup), mandatory
colCode <- color code (for lookup), mandatory
elaborate
powerful
cultural
scientific

The lookup fields must work with the looked_up (plaintext) display, but save the code.

Press "Calculate price"

Then the formula which I will supply will calculate the price in IC. In this case the wig is "tabletop" size and "elaborate" so costs 20 IC. They are not cheap! Most elaborate would be 50 IC..

Level <- is calculated from the price IC (and other parameters/attributes)

From here, it is still possible to edit the descriptions.

When it is ready, then ->"Create item" will:
- calculate the final price after possible changes
- try to consume the associated IC from the active_character
- if successful, NEW and CREATE the item.

Example: Imported Wine Store

Wines and silver are bulk products that can be directly converted for some time after their introduction. They are listed with fixed prices denominated in IC. There needs to be a script to bill the town tax (10,000 m/wine bottle) as well and it needs to work as one-click shopping.

Admin UI

Admin needs to be able to edit the products for sale in the fixed price section. This happens rather often. Also the pricing etc formulas in the other converters. This does not happen often.


HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
December 17, 2015, 04:24:17 PM
 #285

This list is just to show what we are about to finalize before switching on the marketing

If you want to help in these or some other thing (and are not member of Town admin sheet) chime in to this thread!! Smiley


Related to: General Game Core
New Gold Creation by Proof-of-Play
Unified ID space
Admin Rights / Permissions
API features
API rights management
DB tables cleared of bogus data
Chapelry wallpapers installed
Ability to put a note for divs, tax, etc to know what it relates to
Building Enabled (will be after "release")

Related to: New Player registration and first contact

Tutorial, EXP-scripted events
check the register page works with and without email, and maybe send a confrmation mail
start page with some intro text, links to wiki, links to bct forum and irc until we get chat stuff working better

Related to: Playability

Agora market categories organized into sub categories
Transaction id's showing price/quantityof item in the individual page view
health challenge status at top of page
Individual notification/list of what changed when txes get cancelled - otherwise, it can be very confusing as you don't know what happened and still see your balance changed
Add basic info about wines tastiness to each wine's page - since they change, expiration etc
A voluntary confirmation button/popup that would confirm transactions from the command line, i.e. to prevent spurious line-break transactions or if somebody remembers a command syntax wrong. It would be turned off by default.
Daily quests with meager rewards (together obviously with a system to prevent abuse, or maybe only cosmetic rewards)
Fixes on the fields that do not currently update correctly: Land/Built on Character page, CKG amount on Admin Page
In the "View My Items" page there should be an option to not list items that the character currently owns 0 instances of

Related to: Ingame-"out-of-game" Communication

activity marker on the map, so people can find places where chat happens
Notifications (ie, message at page top when something happens we want players to know, like "oh, health challenge was just fixed"
The Terms/Agreements drafted by HM should be on the front page in character creation and also somehow in the login page
Chat (with private messaging)
Push messages / Announcements
An in-game forum to discuss and announce things

Related to: Document creation

Health Challenge guide
Wiki pages with useful content
Rulebook
FAQ

Related to: Security, Antifragility etc

Upgrade security in accounts and server side, perhaps an external evaluation or stress test (Injections, DDoS, etc). As more people will come, it will also attract more hoaxers, abusers, hackers, especially given that there is a potential monetary gain.
Daily backups
IRC-channel moderation

Related to: Other

Halls of Fame
need social media accounts setup with a person who will be managing them
CK theme song

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
December 17, 2015, 04:27:12 PM
 #286

It might feel that there is work for much longer time than "2 weeks". But we are talking about the last fixes here, most of the stuff has been on the pipeline for weeks if not months and only requires the irresistible final push to be live. Similar numbers of new features have been implemented all the time, with many of them being admin-only so the ordinary player does not see but the tip of the iceberg.

1900 CKG left in the Holiday Fund of James Daniel

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
December 17, 2015, 11:47:44 PM
Last edit: December 18, 2015, 12:02:57 AM by MoneroMooo
 #287

FAQ

As promised earlier, here's the FAQ:

http://fpaste.org/302485/95893145/

If you would like to see more questions, please feel free to list them and I will add them in.


Edit: and for those who already know the answer to "How do I register ?", the FAQ's on the CK site wiki now.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
December 18, 2015, 03:03:42 PM
 #288

New Player registration specification

- it is mentioned that email is not a mandatory field but warned that without it, there is currently no way to claim the account if password is lost
- character Full name is asked
- shortname must conform to Unified ID-space requirements and be 12 char max
- sex (M/F) is asked
- possibility for Advanced start as follows:
* pay 50 XMR => character starts as FOC (Foreign-Owned-Corporation) which is an ingame corporation with no ingame stockholders. In practice, speculators that don't want character management might want to use this option. FOC don't die.
* pay 100 XMR => character starts from level Baronet (just below Baron). Suitable for power players who want to skip commoner living totally.
* pay 50 XMR => character that is offspring to an Earl+, start from Jungherr
* upon application/recognition, there have been instant promotions to noble levels if the player has a high standing outside of the game. So far the following have been worthy of the honor:

HM The King (rpietila) started as King L20 (1400)
HG The Prince-Bishop (David Latapie) started as Earl L13 (1400)
HE The Prince of Forte Spagnolo (fluffypony) started as Earl (1420)
HH The Duke of NewLiberty and HE The Prince of Soul (Dr.Choo) started as Baron L12 (1418)
HE The Marquess Cryptoluna (smooth) was promoted Baron straight from Beginner (1428)
Roopatra (1418), eizh, tacotime, othe and NoodleDoodle (1600) started as Knight/Dame L11

Please add what is needed in the registration routine! Smiley

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
December 18, 2015, 03:37:27 PM
 #289

Please add what is needed in the registration routine! Smiley

I would love to see an optional public key.
This would be used to prove you are the owner of an account, by signing some message with the corresponding private key, and is much secure/private than an email fallback.
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
December 18, 2015, 04:07:06 PM
 #290

Please add what is needed in the registration routine! Smiley

I would love to see an optional public key.
This would be used to prove you are the owner of an account, by signing some message with the corresponding private key, and is much secure/private than an email fallback.


This can be done in 2 ways, so that it's possible to change it from the game, or so that it is the unchangeable fallback option that might give some security against compromized account.

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
rpietila (OP)
Donator
Legendary
*
Offline Offline

Activity: 1722
Merit: 1036



View Profile
December 18, 2015, 04:18:43 PM
 #291

Uniform ID-space requirements

No id may clash with an existing id across the Uniform ID-space, case-independently.

Therefore,
- char_id's are all numbers, no other id may be all numbers
- lot id's start with a number, no other id may do it
- regardless of case, no id string may be identical to an existing one (eg. your char_shortname cannot be "dividend" cause "DIVIDEND" is a command)
- no id may be more than 12 characters long and may not contain spaces

Application: NEW (item) , new character registration (shortname). Validation required.


Following id's are part of Uniform ID-space:
- char_id
- char_shortname
- item_id
- item_type_id and all future similar id's
- lot_id
- command name
- embedded_resource_id (eg. CKG)

HIM TVA Dragon, AOK-GM, Emperor of the Earth, Creator of the World, King of Crypto Kingdom, Lord of Malla, AOD-GEN, SA-GEN5, Ministry of Plenty (Join NOW!), Professor of Economics and Theology, Ph.D, AM, Chairman, Treasurer, Founder, CEO, 3*MG-2, 82*OHK, NKP, WTF, FFF, etc(x3)
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
December 18, 2015, 04:50:26 PM
 #292

This can be done in 2 ways, so that it's possible to change it from the game, or so that it is the unchangeable fallback option that might give some security against compromized account.

It could also be made to be changeable in game to a new key signed by your previous key.
This does not protect against losing the key, but protects against the key being compromised, and/or you wanting to start using another key (ie, larger size, or different algorithm). I think this is a good compromise.

If you lose they key, but still have your password, you're in the same position as currently. If you wish to make a new key without knowing the previous one, you can create a new character with that new key, and transfer. However, this means an attacker who gets your password but not your key can also do this. Maybe withdrawing could be made contingent on either a signed message (if a public key was given), if the player chooses so when registering. Kind of a balancing act between security from loss and security from compromise.
generalizethis
Legendary
*
Offline Offline

Activity: 1750
Merit: 1036


Facts are more efficient than fud


View Profile WWW
December 18, 2015, 09:57:40 PM
 #293


IRC-channel moderation

need social media accounts setup with a person who will be managing them


I can mod 5am-8am UTC Tuesday-Friday

I set up a Twitter and Facebook page and can manage them or pass the credentials over at HM's discretion:

https://twitter.com/Crypto_Kingdom

https://www.facebook.com/profile.php?id=100010878341124


iluvbitcoins
Legendary
*
Offline Offline

Activity: 2198
Merit: 1150


Freedom&Honor


View Profile
December 19, 2015, 11:31:29 PM
 #294

Currently, when I try to buy or consume something, press enter, it just goes to a new row instead of completing
Dunno, where to write it, hope I didn't miss the thread  Cheesy

Looking for a signature campaign.
MoneroMooo
Legendary
*
Offline Offline

Activity: 1276
Merit: 1001


View Profile
December 19, 2015, 11:39:50 PM
 #295

Currently, when I try to buy or consume something, press enter, it just goes to a new row instead of completing
Dunno, where to write it, hope I didn't miss the thread  Cheesy

Yes, it's borked again. goin2mars found that the command boxes on the lot pages work, however. So you need to look at the market on one page, and enter your commands on a lot page box, such as https://cryptokingdom.me/land/lot/details/22.

Hopefully will be fixed once PJ notices the new update went wrong.
rangedriver
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504



View Profile
December 23, 2015, 11:20:32 AM
 #296

Sorry I had completely forgotten about this and that I was supposed to write a second tune. I've been a little short for free time recently. :-/

Nonetheless, I've configured the first track so that it is now downloadable from Soundcloud as an MP3. Hopefully that should loop well (at least musically speaking), but MP3s tend to auto-inject metadata into the situation which can often translate as a minor skip.

https://soundcloud.com/user-763969972/tracks

See how you get on with it. I'm happy to make any changes accordingly.

Cheers!
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [All]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!