Automation, automation & more automation

PkHonor's work in progress and future updates will be posted here.
User avatar
Mike
Programmer
Posts: 6346
Joined: Sun Nov 01, 2009 8:00 pm
Location: PkHonor HQ

Automation, automation & more automation

Post by Mike » Wed Mar 19, 2014 11:16 pm

I must admit I have not yet worked much on the pets and pet quest recently. The main reason for this, is because of the lack of time I have for programming these days.

I do have some spare time at work, where I can work on PkHonor. However, programming both pets and the quest requires me to do research and testing in the game - and I can't very well open a PkHonor client and game while at work.

During evenings, I usually spend most of my time answering e-mails and posts in regards to various things, such as donation problems, donation chargebacks, donation refunds and some in-game cases the staff cannot handle, along with bug reports etc. Which leaves little time for actual in-game development.
Plus, I already need to work 8 hours a day, so I'd rather not spend the whole evening on PkHonor as well. Still, I do what I can.

In order to save time in the long run, and enable myself to focus more on in-game content, I've been busy writing an automation tool that will automatically handle all chargeback cases, while at the same time allowing me to perform a full refund in less than 10 seconds. The tool will check if the player has enough items and automatically take the correct items from someone's account.
The upside of this system is that I was able to write it mostly while at work, since I didn't need to be in-game to work on it. I did however have to perform some testing which happened during the evenings. So the little time I still had for programming in the evenings, was spent on testing this system.


The good news: 2000 lines of code later, it's almost as good as finished! Now I simply need to integrate it yet with PayPal's API (which automatically notifies us about chargebacks) and with my personal control panel to very quickly and easily take care of refunds. I will even be able to perform all refund cases at work since I won't need to log in to the game.
I'm hoping the system will be up and running tomorrow, definitely no later than Saturday.
As of then, I will have much more time on my hands for in-game development, and I will focus entirely on dem pets :) I'm still going for a release before the end of March!


On a side note: Rapsey has recently been working on another automated system that will allow me to deploy server updates much more easily. With just a few clicks, I'll be able to release the latest server and I won't even need to be in-game to restart it.

User avatar
Rawr
Premium Donator
Posts: 13370
Joined: Sat Apr 13, 2013 5:23 pm

Re: Automation, automation & more automation

Post by Rawr » Wed Mar 19, 2014 11:19 pm

Just a question, *if* the automation works off ::prices, or something similar, won't it take 1B Tickets to be 2000M?

If work is taking too much time up, you should totally just say you're ill and take a few days off, just to stay home and sleep ;3
Image

User avatar
Jon
Honor Player
Posts: 4706
Joined: Mon Jun 10, 2013 6:31 pm
Location: Iowa, USA
Contact:

Re: Automation, automation & more automation

Post by Jon » Wed Mar 19, 2014 11:21 pm

Yay :P
Image

User avatar
Kylo ren
Honor Player
Posts: 5898
Joined: Fri Feb 07, 2014 4:37 am
Location: In a Galaxy, Far, Far Away

Re: Automation, automation & more automation

Post by Kylo ren » Wed Mar 19, 2014 11:22 pm

Sounds like a pretty useful system. Hope it works out as well as you want/hope!
Image

User avatar
Harry pooter
Premium Donator
Posts: 784
Joined: Thu Dec 05, 2013 12:21 am

Re: Automation, automation & more automation

Post by Harry pooter » Wed Mar 19, 2014 11:23 pm

This is off-topic, but what exactly does Rapsey do? I literally just don't know lol. I've only seen him post a few times.. (I'm not trying to talk bad or anything about him.)
Image

User avatar
Mike
Programmer
Posts: 6346
Joined: Sun Nov 01, 2009 8:00 pm
Location: PkHonor HQ

Re: Automation, automation & more automation

Post by Mike » Wed Mar 19, 2014 11:24 pm

Hashtag wrote:Just a question, if it works off ::prices, won't it take 1B Tickets to be 2000M?

If work is taking too much time up, you should totally just say you're ill and take a few days off, just to stay home and sleep ;3
The automation tool mostly checks the value (in credits) of your in-game items. For example, your donator credits, donator status, premium status, honor status, custom whips, mboxes and mboxes you have opened (we have logs for that too).
Only if the total sum of these items is not enough to cover a whole refund or chargeback, the server will look up the value of the remainder of your items. It will indeed use the ::prices values for that, but don't worry: I took into account the actual value of coins and tickets (1 coin, 100M coins, 500M coins and 1B coins).

As for saying I'm ill: I need a doctor's certificate. And I've already done that once during my second week at work. It's not like one or two days off are going to help me that much anyway.
A little over 7 more weeks to go, then I'm done working there. But then I still need to write up a thesis in order to graduate, which also takes up a lot of time.
Thankfully, once the thesis is done - somewhere end of June I think, I'll have loads of spare time again.

Hayden
Elite
Posts: 14260
Joined: Fri Aug 16, 2013 7:20 am
Location: Canada

Re: Automation, automation & more automation

Post by Hayden » Wed Mar 19, 2014 11:25 pm

Hashtag wrote:Just a question, *if* the automation works off ::prices, or something similar, won't it take 1B Tickets to be 2000M?
Why does it say they're 2b in prices ::l0lwut

User avatar
Rawr
Premium Donator
Posts: 13370
Joined: Sat Apr 13, 2013 5:23 pm

Re: Automation, automation & more automation

Post by Rawr » Wed Mar 19, 2014 11:37 pm

One last thing, will that automated system be able to prevent people from staking, winning & charge backing etc? Otherwise there could be issues abusing that.
Image

Kaopps
Rookie
Posts: 22
Joined: Sat Mar 08, 2014 12:05 pm

Re: Automation, automation & more automation

Post by Kaopps » Wed Mar 19, 2014 11:56 pm

Hey Mike, if your reading this, could you check on 21968 and 21881. Thanks, also check on Zema's 100B refund, he says hes waited for a whole month on it :)

Hayden
Elite
Posts: 14260
Joined: Fri Aug 16, 2013 7:20 am
Location: Canada

Re: Automation, automation & more automation

Post by Hayden » Thu Mar 20, 2014 12:08 am

Kaopps wrote:Hey Mike, if your reading this, could you check on 21968 and 21881. Thanks, also check on Zema's 100B refund, he says hes waited for a whole month on it :)
Mike wrote:Forum thread advertisement:
It is not allowed to advertise forum threads in regards to player reports, staff reports, applications, recoveries, refunds or forum posts that are in violation with our rules. This is considered spam.
http://forums.pkhonor.net/viewtopic.php?f=108&t=13239

Locked