Wully616/PUDS

Signing in through Steam breaks rank selection/RCON bug

Closed this issue · 6 comments

I've been testing out this donation system for quite some time to ensure that it'll work for my purposes, and have run across a bug that is quite important.
I'm not sure if it's just my webhost's PHP version, my stupidity, or something on your end, but whenever I sign in through Steam to fill in my details automatically, the PayPal donate button disappears when I return to the page.
If you could investigate this, that'd be nice.
The link to my current donation system installation is: http://morsmania.comuv.com/gmodsrv/donate/

I also have the RCON connection issue, and would like to see that fixed. I know my GSP's RCON port, and I have everything configured correctly.

Thanks,
-Princess Twilight Sparkle

Could you post the contents of your error_log, log.txt and ipn_log.txt

There is currently a few issues with the system, as php now disables one of the functions required for the Steam Login, I am working to change this to use Curl, however my knowledge of php is limited. This doesnt appear to be affecting your page. But I will look into it further once I see your log files.

As for the RCON issue does your webhost allow connections through the RCON port? You may have to contact them to have it opened on their firewall.

Thanks,

Wully

I have no error_log.txt, assuming you mean log.txt
Log.txt contents:

Connected to database
Table does not exist, creating table.
IPN Validated.
(PayPal Sandbox User) Princess Twilight Sparkle 20.00 STEAM_0:1:44419830 ultravip
Added to database.
IP: (server IP) Port: 27015 Password: HIDDEN Command: ulx adduserid STEAM_0:1:44419830 ultravip
Unable to connect!Unable to connect to Rcon, please check your configuration.

ipn_log.txt:

[11/15/2013 10:23 PM] - SUCCESS!
IPN POST Vars from Paypal:
mc_gross=20.00, protection_eligibility=Ineligible, payer_id=KQ4VXFXYCQ4R8, tax=0.00, payment_date=19:23:51 Nov 15, 2013 PST, payment_status=Pending, charset=windows-1252, first_name=facilitator, option_selection1=Princess Twilight Sparkle, option_selection2=STEAM_0:1:44419830, notify_version=3.7, custom=, payer_status=verified, quantity=1, verify_sign=An5ns1Kso7MWUdW4ErQKJJJ4qi4-A6mzXjj91-x-snlvlh7hta9eABfM, payer_email=lilman9941-facilitator@yahoo.com, option_name1=In-Game Name, option_name2=SteamID, txn_id=25V24273DM5539502, payment_type=instant, payer_business_name=facilitator account's Test Store, last_name=account, receiver_email=lilman9941@yahoo.com, pending_reason=unilateral, txn_type=web_accept, item_name=PUDS - Game Server Donation, mc_currency=USD, item_number=, residence_country=US, test_ipn=1, handling_amount=0.00, transaction_subject=, payment_gross=20.00, shipping=0.00, ipn_track_id=1250f4666a5b,
IPN Response from Paypal Server:
HTTP/1.1 200 OK

Date: Sat, 16 Nov 2013 03:23:57 GMT

Server: Apache

X-Frame-Options: SAMEORIGIN

Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=eYHiF02m-Udljn8EEvfvmGxUKG9XAqKCaktkEHwZTGVEQ27gFbl2LQIZSaQfnNaJOZnonQGwwPhrvbWC1ACNeAM5nuJ-QVwkHR1GzdWJf0c272eoanaKaOHDf2FG285LWmrsKaTECFZ7s9erAmqeu1W-ciPtTGrF0xQlx5hekF-_w-o0M_LSVd5bT4Sg6Uu7YoWNgpeGpK095RALO9ytQEqNXTAVgUJscccjDIdr0ouThC8b6jDuxThIminLosCYxcbKGi5KdiPGusXkYFfwmgv64TzqfBvgbHEnI2fMZq4b1-pNrT727iqHuWg-9pzwzFDZ8z43JVfSFqwrui2Hv3utd1WHd0Ta-gl-2Ik81DlTdtEVjfUnxPUNXGVX4rvvlfsUGiMcRt-_cZnnC3v47PzPN3YaNgeQ2wNtNbKqaHHE-d1toeyS3kTG--q; domain=.paypal.com; path=/; Secure; HttpOnly

Set-Cookie: cookie_check=yes; expires=Tue, 14-Nov-2023 03:23:57 GMT; domain=.paypal.com; path=/; Secure; HttpOnly

Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly

Set-Cookie: navlns=0.0; expires=Mon, 16-Nov-2015 03:23:57 GMT; domain=.paypal.com; path=/; Secure; HttpOnly

Set-Cookie: Apache=10.72.109.11.1384572237464186; path=/; expires=Mon, 09-Nov-43 03:23:57 GMT

Connection: close

Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.WEB.1%26silo_version%3D880%26app%3Dslingshot%26TIME%3D1306887762; domain=.paypal.com; path=/; Secure; HttpOnly

Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT

Set-Cookie: Apache=10.72.128.11.1384572237453922; path=/; expires=Mon, 09-Nov-43 03:23:57 GMT

Vary: Accept-Encoding

Strict-Transport-Security: max-age=14400

Transfer-Encoding: chunked

Content-Type: text/html; charset=UTF-8

8

VERIFIED

0

Just confirmed with my GSP that port 27015 is only blocked by a DDoS filter, and shouldn't be blocked for normal use.

Confirmed that port 27015 TCP is used for RCON and not blocked by using an external RCON client.

Also noting one thing that could be the issue with RCON for myself and others.
000webhost, the webhost I use, doesn't allow port forwarding unless you pay for an account.
This is probably where things are going wrong...

Oh, and they also don't support the ADODB PHP library, so... yeah...
If you use that, this won't work.
I assume you don't, however, as the script communicated with my MySQL server just fine.
Anyway, I done goofed.

#fuck000webhost