bookmarklet updates 2

3 views
Skip to first unread message

Mikhail Koryak

unread,
Dec 31, 2008, 9:12:50 AM12/31/08
to mysqlgame
the other thread got big again. its pretty dead here so an extra
thread shouldnt pain anyone.

new version:
2.3
MK: added "fast row build" in the 'Rows' menu. To use: enter row id,
and name, and click "Fast Build". the current row needs to have
800,000 + cost of row creator, or
a row creator. Wait about 45 seconds. Your new row will be MF13,
FF13, AM1, DM3, DEF:61000. defends are bought first, then everything
else.

Mikhail Koryak

unread,
Dec 31, 2008, 9:35:06 AM12/31/08
to mysqlgame
2.4
MK: added a quick scan link on the rows panel. click to scan to
selected row. also, as annoying as it may be, all cookied settings are
reset when version changes. this is
needed because new features may become disabled forever if we dont
do this.

timlash

unread,
Dec 31, 2008, 9:42:42 AM12/31/08
to mysqlgame
I don't mind. You're all doing a damn fine job. I especially like
underlining rows that could potentially be profitable. Nice.

Mikhail Koryak

unread,
Dec 31, 2008, 10:42:21 AM12/31/08
to mysqlgame
oh timlash, the guy who attacked me from 3243242 rows away, i added a
special clause that will delete all of your rows. I hope you dont mind

Greg

unread,
Dec 31, 2008, 2:24:53 PM12/31/08
to mysq...@googlegroups.com
hahaha, this is awesome to hear :)

sounds neat!

Would it be difficult to have settings for the fast build?

Like targets?

my goal for EVERY row is AM 8 DM 10, 1millionDefenders, MF 17, FF anything/0

So it would be neat if  you could change settings.

I guess the settings would also show the new total?

No worries either way, this is still very neat :)
Greg

Greg

unread,
Dec 31, 2008, 4:23:57 PM12/31/08
to mysq...@googlegroups.com
My other thought I JUST had right now was a compromise with this row totals thing:

Having it in the same place, bellow.

But having it IN a table with the same layout/font style/visual theme as the upper my rows.

So just putting it as a table, instead of plain text. where it is.


Greg

timlash

unread,
Jan 1, 2009, 7:29:06 AM1/1/09
to mysqlgame
Sometimes you just have to reach out and touch someone...with an iron
fist full of attackers hellbent on total annihilation! Happy New
Year. ;-)

Mikhail Koryak

unread,
Jan 2, 2009, 9:10:23 AM1/2/09
to mysqlgame
timlash,
i didnt really add such a clause, but i could at any time you know,
with less then 4 lines of code. i hope you live in fear

SirKill

unread,
Jan 2, 2009, 1:57:17 PM1/2/09
to mysqlgame
heh, that'd be soo cruel :D

timlash

unread,
Jan 4, 2009, 10:09:47 AM1/4/09
to mysqlgame
SirKill wote: "heh, that'd be soo cruel :D"

He's joking! He doesn't have database authority to delete rows. The
most he could do would be to keep my rows from displaying in the UI.
But even that is pointless since I could host the bookmarklet myself
and bypass any of his "enhancements."

Nice try Mook!

Greg

unread,
Jan 4, 2009, 4:08:24 PM1/4/09
to mysq...@googlegroups.com
He could auto transfer stuff to random people who are beside you ;-)

dump your cash, fuel and attackers to surrounding rows ;-)

over and over till they are empty ;D
Greg

SirKill

unread,
Jan 4, 2009, 8:47:22 PM1/4/09
to mysqlgame
I know :)
I'm just saying that it would be cruel to pull a sneaky stunt like
that.

Greg

unread,
Jan 5, 2009, 12:00:04 AM1/5/09
to mysq...@googlegroups.com
Oh I know. I just like working out the practicals anyways :)

I think it would be neat to flush out someones rows into surrounding rows


Greg

Mikhail Koryak

unread,
Jan 5, 2009, 2:15:46 PM1/5/09
to mysqlgame
i dont need db access to delete your rows, i could check if the player
name is 'timlash', get the list of your rows, and then use the ajax
api to delete all of them. this would bypass the "are you sure"
message box. Ofcourse, since you host your own bookmarklet, i couldnt
do anything of this to you.


On Jan 5, 12:00 am, Greg <gerg...@gmail.com> wrote:
> Oh I know. I just like working out the practicals anyways :)
>
> I think it would be neat to flush out someones rows into surrounding rows
>
> Greg
>

mook

unread,
Jan 9, 2009, 5:21:54 PM1/9/09
to mysqlgame
new version
2.5
MK: ghetto transfer all option.
need to run it 2 times, once for money, once for fuel. may fix this
in the future.

Greg

unread,
Jan 9, 2009, 11:21:19 PM1/9/09
to mysq...@googlegroups.com
I REALLY like your new transfer all option :)

I find it very handy :)

I have two requests:
1. allow multiple entries in the transfer all to window (so if it
would divide the total the total over the destination rows.. i want to
use this to list all my rows in the to and from window to even money
and fuel... yes im lazy and obsessive....)

2. perhaps people might want it split in regards to fuel and money.
but as it is i am still happy


either way, thank you :)
Greg

Greg

unread,
Jan 9, 2009, 11:42:05 PM1/9/09
to mysq...@googlegroups.com
with some c++ ish pseudocode that kinda might apply and be useful..
Sorry its ugly:

for (int i=0; i<numDestinationRows; i++)
{

toTransfer = floor ( moneyTotal / numDestinationRows );

if ( i < ( moneyTotal % numDestinationRows ) )
{
toTransfer++;
}


if ( ( destinationRowMoney[i] > toTransfer ) && ( i+1 == numDestinationRows ) )
{
transfer( destinationRowID[i] , ( destinationRowMoney[i] -
toTransfer ) , destinationRow[0] );
i -= numDestinationRows;
}
else if ( destinationRowMoney[i] > toTransfer )
{
transfer( destinationRowID[i] , ( destinationRowMoney[i] -
toTransfer ) , destinationRow[i+1] );
}

}



floor is round down
% is modulus, and it returns the remainder of the first number divided
by the second.
transfer(from,amount,to) - a mythical function


not gonna lie, im pretty... inebriated.. but I don't drink ;-)

I can't think straight enough to give exactly what I'm thinking. but
this is a good pseudo start



Greg

Marc

unread,
Jan 10, 2009, 11:10:55 AM1/10/09
to mysqlgame
I would like to see the Transfer All do a smart transfer based on the
AttackMultiplier, so you use the least amount of fuel.
Reply all
Reply to author
Forward
0 new messages