YOUREWINNER.COM
 
   

Show Posts
 
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
 
 

Topics - steev
 
Pages: [1] 2 3 ... 127
# 1
Social/Off-Topic / This place is still alive?
24-11-2018, 20:08:41 PM
Lol
# 2
Social/Off-Topic / WINNER APP update
06-10-2018, 00:04:31 AM
This update just allows the rotating banner widget to have multiple instances all displaying different banners:


In the previous version this would work initially, but you'd quickly notice that all your widgets are changed to the same banner after you click on one or an hour passes.

I'm calling this version 4.2.0.... this is the final version of WINNER APP

yourewinner-4.2.0-release.apk

# 3
Social/Off-Topic / Test
05-10-2018, 23:25:53 PM
Qaqdhfkhgjcj
# 4
Social/Off-Topic / Tortilla chips & salsa
23-09-2018, 13:35:20 PM
who else likes these?
# 5
Social/Off-Topic / Christmas Haul
29-12-2017, 01:51:44 AM
@Cirus is usually the one who makes this topic, but I'll do it this time as my present to him.

I got:
* $50 onevanilla prepaid visa card

* Some slippers that look like workboots

* A Magic 8 Ball (camo)
# 6
SPOILER (hover here to read)
I think so yeah




Let's hope it runs in wine
# 7
Social/Off-Topic / Unexpected 69s
22-05-2017, 21:59:25 PM
Please post any unexpected 69s you encounter
# 8
Social/Off-Topic / Reminder
14-04-2017, 02:00:58 AM
# 9
It's been a long journey, but I'm glad we finally made it

Please leave a review:
https://play.google.com/store/apps/details?id=com.yourewinner.yourewinner
# 10
Something you can send to M$ shills
# 11
Hello, yourewinner.com still needs an app for iOS. Hopefully this quick guide for dummies can get you started!

yourewinner.com uses a slightly modified version of Tapatalk API, which is mostly documented HERE. Tapatalk uses a simple protocol called XML-RPC, which is mostly documented HERE.

Basically it works like this:
1) Send your XML document (via HTTP POST) to http://yourewinner.com/winnerapi/mobiquo.php
2) yourewinner.com will return an XML document containing the data you asked for
3) Parse the XML document in your app
4) :winner:

(note there are user-friendly xmlrpc libraries for most languages so you can avoid dealing with the XML completely)

Examples:

Method: login
Description: Logs you in
Required params: username (base64), password (base64)
Notes: any time the tapatalk docs say type is byte[], that means you have to base64 encode it
Code: [Select]
<?xml version="1.0"?>
<methodCall>
  <methodName>login</methodName>
  <params>
    <param>
        <value><base64>XXX69XX</base64></value>
    </param>
    <param>
        <value><base64>X69696XX</base64></value>
    </param>
  </params>
</methodCall>

Curl command:
Code: [Select]
curl -c cookies.txt  -b cookies.txt -H "Content-Type: application/xml" -d @login.xml http://yourewinner.com/winnerapi/mobiquo.php

Python3 (using xmlrpc library)
Code: [Select]
from xmlrpc.client import ServerProxy, Binary, Error

# see http://stackoverflow.com/questions/25876503/how-to-retain-cookies-for-xmlrpc-client-in-python-3
client = ServerProxy("http://yourewinner.com/winnerapi/mobiquo.php", CookiesTransport())

def login(username, password):
    # base64 encode parameters
    username = Binary(username.encode("utf-8"))
    password = Binary(password.encode("utf-8"))
    try:
        resp = client.login(username, password)
        return resp["result"]
    except Error as e:
        print("ERROR:", e)
        return False

Method: get_latest_topic
Description: Returns a list of the latest topics ordered by date
Required params: start_num (int), end_num (int)
Notes: get_latest_topic(0, 9) returns first 10 topics
Code: [Select]
<?xml version="1.0"?>
<methodCall>
  <methodName>get_latest_topic</methodName>
  <params>
    <param>
        <value><int>0</int></value>
    </param>
    <param>
        <value><int>9</int></value>
    </param>
  </params>
</methodCall>

Curl command:
Code: [Select]
curl -c cookies.txt -b cookies.txt -H "Content-Type: application/xml" -d @get_latest_topic.xml http://yourewinner.com/winnerapi/mobiquo.php

Python3 (using xmlrpc lib)
Code: [Select]
from xmlrpc.client import ServerProxy, Binary, Error

# see http://stackoverflow.com/questions/25876503/how-to-retain-cookies-for-xmlrpc-client-in-python-3
client = ServerProxy("http://yourewinner.com/winnerapi/mobiquo.php", CookiesTransport())

def get_latest_topic(start, end):
    try:
        resp = client.get_latest_topic(start, end)
        # print username and short content
        for topic in resp["topics"]:
            msg = "{}: {}".format(resp["post_author_name"], resp["short_content")
            print(msg)
    except Error as e:
        print("ERROR:", e)

Well that is pretty much everything you need to know to start making yourewinner.com app for iOS. Let me know if you have any questions. I am here to help 24/7
# 12
# 13
Social/Off-Topic / /!\ ROGUELIKE /!\
04-03-2017, 02:22:57 AM
Please list the following roguelikes from most favorite to least favorite:

Nethack/variants
POWDER
Hyperrogue
WazHack
ToME4
DCSS
ADOM
Dungeons of Dredmor
Pixel Dungeon/variants

Thank you.
# 14
Social/Off-Topic / PSA: Please FLOSS
02-02-2017, 18:57:44 PM
No not Free/Libre and Open Source Software, I mean floss your teeth!

# 15
I noticed reddit has the same angry reaction to both Hawaiian pizza and Coors Light. Why? Discuss?

https://www.reddit.com/r/todayilearned/comments/5mtvpl/til_the_hawaiian_pizza_was_invented_in_canada_and/
Pages: [1] 2 3 ... 127