Bitcoin Forum
April 24, 2024, 03:55:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 [133] 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 ... 429 »
  Print  
Author Topic: [ANN][HUC] Huntercoin - Worlds First Decentralized Game/World on the Blockchain  (Read 879143 times)
MithrilMan
Hero Member
*****
Offline Offline

Activity: 554
Merit: 502

Developer!


View Profile WWW
February 12, 2014, 08:47:29 PM
 #2641

Hi there!
A little update on what i'm doing!!



i've decided to implement the chat sistem splitting message based on team colour, (first chan will group all (general))

more to come!

this is great..

how will it get gamestate? (fast)

you will use rpc commands to move the hunters? or is a visualization only?
Chat is seperate system or using the built in system? or visualization only?

If you complete this well we will give a bounty.. send PM if you need any information

i sent you another pm yesterday, btw i will use the deamon to perform operations, i'd like to build this as a full gaming client
I don't want to implement full wallet with encrypt and so on (there is no need to tho this to play since an unencrypted wallet has to be used), and transfer to other address (or maybe something later to be able to organize alliance and split income, would be cool), anyway i'll try to do everything is possible when you are on "Game" tab on official wallet (and a lot more Cheesy)

If I've question i'll write to you in PM

P.S.
about getting gamestate fast, i think that i'll keep polling fast to the deamon current block (game state doesn't change till next block come, right?) and then i'll ask game_state to refresh the map


chat will be the internal one, i want to have a repo of the current game before adding new features (but i'd like to have an off/game chat or maybe some voip integration, who knows)


targeting bounty   Cool

Huntercoin: Mithril Edition - Alternative client for Huntercoin - (Discontinued)
HUC: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE  - BTC: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC
rant to people who pretend things for free
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713930921
Hero Member
*
Offline Offline

Posts: 1713930921

View Profile Personal Message (Offline)

Ignore
1713930921
Reply with quote  #2

1713930921
Report to moderator
1713930921
Hero Member
*
Offline Offline

Posts: 1713930921

View Profile Personal Message (Offline)

Ignore
1713930921
Reply with quote  #2

1713930921
Report to moderator
1713930921
Hero Member
*
Offline Offline

Posts: 1713930921

View Profile Personal Message (Offline)

Ignore
1713930921
Reply with quote  #2

1713930921
Report to moderator
extro24
Sr. Member
****
Offline Offline

Activity: 481
Merit: 252


View Profile
February 12, 2014, 09:11:34 PM
Last edit: February 12, 2014, 09:37:22 PM by extro24
 #2642

Hi Snailbrain

I finally decided to modify the client, to see if I could speed it up.

In line 736 of db.cpp

Code:
        if (nLastFlushed != nWalletDBUpdated && GetTime() - nLastWalletUpdate >= 20)

As you can see, I changed that last 2 to 20.  So instead of flushing the wallet every minute (and taking HALF a minute to do so) the client now flushes every 10 minutes.

Dramatic increase in playability!  (For me, at least).

Not much we can do with the syncing, I suppose.  The updateWallet routine runs after every new block is received, and that takes its time.

Perhaps thecoder could look at this, and include it in 1.0.06.


xxeyes
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile WWW
February 12, 2014, 09:14:35 PM
 #2643

Snailbrain, when can we expect to see a Mac client?
snailbrain (OP)
Legendary
*
Offline Offline

Activity: 1807
Merit: 1020



View Profile
February 12, 2014, 09:32:35 PM
 #2644

Hi there!
A little update on what i'm doing!!



i've decided to implement the chat sistem splitting message based on team colour, (first chan will group all (general))

more to come!

this is great..

how will it get gamestate? (fast)

you will use rpc commands to move the hunters? or is a visualization only?
Chat is seperate system or using the built in system? or visualization only?

If you complete this well we will give a bounty.. send PM if you need any information

i sent you another pm yesterday, btw i will use the deamon to perform operations, i'd like to build this as a full gaming client
I don't want to implement full wallet with encrypt and so on (there is no need to tho this to play since an unencrypted wallet has to be used), and transfer to other address (or maybe something later to be able to organize alliance and split income, would be cool), anyway i'll try to do everything is possible when you are on "Game" tab on official wallet (and a lot more Cheesy)

If I've question i'll write to you in PM

P.S.
about getting gamestate fast, i think that i'll keep polling fast to the deamon current block (game state doesn't change till next block come, right?) and then i'll ask game_state to refresh the map


chat will be the internal one, i want to have a repo of the current game before adding new features (but i'd like to have an off/game chat or maybe some voip integration, who knows)


targeting bounty   Cool


getting game state fast:
it's not really fast enough to use game_getstate,the live map view does the rpc every 1 minute http://192.81.209.210:3000/  faster seemed to be unstable

but..
we will add writing the gamestate to a file soon Smiley




Hi Snailbrain

I finally decided to modify the client, to see if I could speed it up.

In line 736 of db.cpp

Code:
        if (nLastFlushed != nWalletDBUpdated && GetTime() - nLastWalletUpdate >= 20)

As you can see, I changed that last 2 to 20.  So instead of flushing the wallet every minute (and taking HALF a minute to do so) the client now flushes every 10 minutes.

Dramatic increase in playability!  (For me, at least).

Not much we can do with the syncing, I suppose.  The updateWallet routine runs after every new block is received, and that takes its time.

Perhaps thecoder could look at this, and include it in 1.0.06.

much appreciated - will pass it on

-----

Snailbrain, when can we expect to see a Mac client?

Maxpower is having trouble compiling it atm.. will keep you updated


-------


We are impressed by the amount of people working on Huntercoin projects or just helping out..

<3


extro24
Sr. Member
****
Offline Offline

Activity: 481
Merit: 252


View Profile
February 12, 2014, 09:39:40 PM
Last edit: February 12, 2014, 10:20:51 PM by extro24
 #2645

Snailbrain

I am playing with the client in Qt Creator.  I'm watching the compiler output.  It still hangs during network operations like

Code:
askfor block c5b81a18d346cec99bf4   1392240304000003


It even stops Firefox (a little).  Somehow you need to keep Qt going during network (RPC) operations.  Other delayers I see are askfor tx and updateWallet.

I'll have to scratch through the Qt docs.

I see the Bitcoin people have written a little on this problem.  Thankfully, the delay has nothing to do with the number of people playing.  Or mining.  Or the graphics.  So huntercoin should be able to scale to tens of thousands of players.

tompa555
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
February 12, 2014, 10:21:33 PM
Last edit: February 12, 2014, 10:36:31 PM by tompa555
 #2646

yo developers of huc game. i beg you please fix that shit-y wallet before you do some others update on this game. it's so frustrating to play it when you can't move around and windows say Not responding. all day long ...... yes u updated, ad node, delete transactions, reset wallet ... all this stuffs

♔ PrimeDice.com | The Best Way To Roll ! | Free BTC Faucet | Instant Play & Chat  [Thread] @PrimeDice
Donations are more than welcome: BTC: 19KKRcKJsFVTCzspXvhTYULrAecB7cvJDy DODGE: DP4etPsqasN1y8pkbh8HNiococh7izgEQy
snailbrain (OP)
Legendary
*
Offline Offline

Activity: 1807
Merit: 1020



View Profile
February 12, 2014, 10:36:54 PM
 #2647

yo developers of huc game. i beg you please fix that shit-y wallet before you do some others update on this game. it's so frustrating to play it when you can't move around and win says Not responding. all day long ...... yes u updated, ad node, delete transactions, reset wallet ... all this stuffs

have you put :

Code:
printtoconsole=1

in huntercoin.conf?

also defraggler on the huntercoin datadir folder works - (i also moved the files to the end of the drive)

--

we are aware the download of the chain is a pain, and it will be a while before/if this is sorted. Namecoin has the same issue.

Whenever the client says not responding, don't touch it, just wait.

tompa555
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
February 12, 2014, 10:44:53 PM
 #2648

yo developers of huc game. i beg you please fix that shit-y wallet before you do some others update on this game. it's so frustrating to play it when you can't move around and win says Not responding. all day long ...... yes u updated, ad node, delete transactions, reset wallet ... all this stuffs

have you put :

Code:
printtoconsole=1

in huntercoin.conf?

also defraggler on the huntercoin datadir folder works - (i also moved the files to the end of the drive)

--

we are aware the download of the chain is a pain, and it will be a while before/if this is sorted. Namecoin has the same issue.

Whenever the client says not responding, don't touch it, just wait.

i didn't add taht line to my conf file . i will do it now. i didn't wanna be harsh but it happened in moment when i have to collect coins which i was waiting and preparing tactic for over an hour Sad if you wanna donate something for my lose please do. thx
HSf77yDNfYn8o6vG1TqQwXDsRe7KApMqrp

♔ PrimeDice.com | The Best Way To Roll ! | Free BTC Faucet | Instant Play & Chat  [Thread] @PrimeDice
Donations are more than welcome: BTC: 19KKRcKJsFVTCzspXvhTYULrAecB7cvJDy DODGE: DP4etPsqasN1y8pkbh8HNiococh7izgEQy
MithrilMan
Hero Member
*****
Offline Offline

Activity: 554
Merit: 502

Developer!


View Profile WWW
February 12, 2014, 11:00:02 PM
 #2649

getting game state fast:
it's not really fast enough to use game_getstate,the live map view does the rpc every 1 minute http://192.81.209.210:3000/  faster seemed to be unstable

but..
we will add writing the gamestate to a file soon Smiley



this would mean that the deamon doesn't have to re-read the block i ask for. If i ask game_getstates in debug window of wallet it takes less than 15s and the file would be a good increase but a real improvement would be to cache that data in memory and return it in another RPC call like "game_getlaststate", so there is no r/w to disk and all will be smoother, imho

Huntercoin: Mithril Edition - Alternative client for Huntercoin - (Discontinued)
HUC: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE  - BTC: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC
rant to people who pretend things for free
MithrilMan
Hero Member
*****
Offline Offline

Activity: 554
Merit: 502

Developer!


View Profile WWW
February 12, 2014, 11:05:00 PM
 #2650

plus, going on with the game will mean block will contain more transactions and this would mean more time to compute a status, i propose to think to something to store a snapshot of the status, indexing it by block numer (or height, it means the same thing, right?)
this way game_state would be pretty instant even asking for an old block
indeed this will cause an increase in DB space but since this feature i'm asking for is more developer oriented, it could be switched on by a config param

Huntercoin: Mithril Edition - Alternative client for Huntercoin - (Discontinued)
HUC: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE  - BTC: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC
rant to people who pretend things for free
snailbrain (OP)
Legendary
*
Offline Offline

Activity: 1807
Merit: 1020



View Profile
February 12, 2014, 11:11:13 PM
 #2651

plus, going on with the game will mean block will contain more transactions and this would mean more time to compute a status, i propose to think to something to store a snapshot of the status, indexing it by block numer (or height, it means the same thing, right?)
this way game_state would be pretty instant even asking for an old block
indeed this will cause an increase in DB space but since this feature i'm asking for is more developer oriented, it could be switched on by a config param

we will sort, keep going Smiley

kikeda
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


Super Smash Bros. Ultimate Available Now!


View Profile
February 13, 2014, 01:35:03 AM
 #2652

unfortunatelly the coin has 0 press release, no PR guy, you can't develop like this

need PR guy!!!  Wink

No need to rush this, lets wait for mithrilman to finish his client and hunter bugs to be fixed so casual people(non techy people) will be able to play this with ease, that way we could attract positive comments from media and etc.

just my 2 cents

Hi there!
A little update on what i'm doing!!



i've decided to implement the chat sistem splitting message based on team colour, (first chan will group all (general))

more to come!

this is great..

how will it get gamestate? (fast)

you will use rpc commands to move the hunters? or is a visualization only?
Chat is seperate system or using the built in system? or visualization only?

If you complete this well we will give a bounty.. send PM if you need any information

i sent you another pm yesterday, btw i will use the deamon to perform operations, i'd like to build this as a full gaming client
I don't want to implement full wallet with encrypt and so on (there is no need to tho this to play since an unencrypted wallet has to be used), and transfer to other address (or maybe something later to be able to organize alliance and split income, would be cool), anyway i'll try to do everything is possible when you are on "Game" tab on official wallet (and a lot more Cheesy)

If I've question i'll write to you in PM

P.S.
about getting gamestate fast, i think that i'll keep polling fast to the deamon current block (game state doesn't change till next block come, right?) and then i'll ask game_state to refresh the map


chat will be the internal one, i want to have a repo of the current game before adding new features (but i'd like to have an off/game chat or maybe some voip integration, who knows)


targeting bounty   Cool

This is the coolest thing ever!
tuto
Sr. Member
****
Offline Offline

Activity: 328
Merit: 250


View Profile
February 13, 2014, 01:51:32 AM
 #2653

Can I get some feedback on a thought I've had;

Clearing Team.

The idea is basic. You want to "farm" an area, but its already got lots of enemies there.
You don't have time to clear said area yourself AND play, so you pay someone to do it (me).

Payment costs would depend on distance to the area from the closest enemy team to that area, i.e. you want to farm a red area, but too many reds there, so I would start a yellow or green team and go to the area and destroy everyone.

Payment cost would also depend on the size of the area, and how many enemies there.


Could have a setup thing to clear the area on set time frames, i.e. 1 clear per hour, or per 2 or something, and when you know the area will be cleared, you move your team out and I move in and clear it, you move back in and keep farming.


Thoughts/Comments please?
vastbitcoins
Member
**
Offline Offline

Activity: 100
Merit: 10


Vast


View Profile WWW
February 13, 2014, 02:18:13 AM
 #2654

Hey guys, I setup a forum to bring the community together. We can also organize roles there such as PR, Giveaway Directors, Etc.


HuntercoinTalk.com
snailbrain (OP)
Legendary
*
Offline Offline

Activity: 1807
Merit: 1020



View Profile
February 13, 2014, 02:37:26 AM
 #2655

http://huntercointalk.com/

+1

will add to op

sstark
Member
**
Offline Offline

Activity: 67
Merit: 10


View Profile
February 13, 2014, 06:06:34 AM
 #2656

Easywinbuilder should now work.. courtesy of Phelix (namecoin dev)

so you can compile the daemon on windows more easily



Have you updated this in the past few days? I've been trying to get it to work. I posted a few pages about my troubles, but I think you missed it Wink
sstark
Member
**
Offline Offline

Activity: 67
Merit: 10


View Profile
February 13, 2014, 06:13:18 AM
 #2657

Easywinbuilder should now work.. courtesy of Phelix (namecoin dev)

so you can compile the daemon on windows more easily



Have you updated this in the past few days? I've been trying to get it to work. I posted a few pages about my troubles, but I think you missed it Wink

I checked github and see a commit from him, sorry I asked a dumb question! Smiley
benysound2
Member
**
Offline Offline

Activity: 99
Merit: 10


View Profile
February 13, 2014, 06:42:35 AM
 #2658

will appear maybe an echange who will change HUC with USD or EUR ?? I think that this coin will arrive at a low level ! Isn't so good !
sstark
Member
**
Offline Offline

Activity: 67
Merit: 10


View Profile
February 13, 2014, 07:05:27 AM
 #2659

Easywinbuilder should now work.. courtesy of Phelix (namecoin dev)

so you can compile the daemon on windows more easily



Have you updated this in the past few days? I've been trying to get it to work. I posted a few pages about my troubles, but I think you missed it Wink

I checked github and see a commit from him, sorry I asked a dumb question! Smiley


Ok, this is just funny. I go to try this update, and openssl.org is down so it doesn't work on the first step. lol!

I'll try again tomorrow.
FirstBIT
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 13, 2014, 07:51:01 AM
 #2660

Guys, plz help newbie

HUKWjQGNhH8MDEe8Z5hZuucXiqWitD72P5    Cool
Pages: « 1 ... 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 [133] 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 ... 429 »
  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!