Bitcoin Forum
July 02, 2024, 04:20:29 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 24627 times)
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!
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!