These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

[EVEOTS] Eve Online Teamspeak 3 API Registration with PHP5 v1.8

First post
Author
MJ Maverick
Hybrid Industrial
#41 - 2011-10-14 18:02:48 UTC
snipereagle1 wrote:
Using version 1.7, I get the following error when adding an alliance to the whitelist:
"An error occured: API Date could not be read / parsed, original exception: Operation timed out after 10000 milliseconds with 682998 bytes received"

Corporations add just fine...

That looks like a CCP problem, the API server didn't respond. It happens sometimes, just try again later. CCPs Alliance list causes a high load.

king curt wrote:
Hey MJ,

Quick question for you. You've probably done it and I am just to Roll to figure it out.

Is there a way to, once the whitelist has been set up for "blues", to assign them to the proper group after they have registered?

The way I see it right now is there are only two possibilities. Either they are in your "alliance/corp" or they are "blue list".

Quote:
// Teamspeak 3 group for alliance/corp members
public $group = ;
// Teamspeak 3 group for people on the whitelist but not in your alliance/corp
public $bluegroup = ;

I'm not sure I know what you mean. Blue are put into the blue group on registration.

If you mean you have a group for RED.Overlord and you want to put people from ROL in that group manually you can do so, once they are registered you can add them to this group also. Just right click on them in Teamspeak.

However there is no native support (yet) for multiple custom groups. As it's not required for functionality it's just something a couple of people have asked for it's not high on my to-do list. If you're really nice though I could be persuaded to hurry it up :P
Sjet Idahon
Relentless Steel Trading Company
#42 - 2011-10-20 12:24:42 UTC  |  Edited by: Sjet Idahon
Hey MJ,

i installed EVEOTS on my Windows vServer but when i try to register an User, an error occurs.

An error occured: API Date could not be read / parsed, original exception: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [117]

- Sjet -
MJ Maverick
Hybrid Industrial
#43 - 2011-10-21 17:16:11 UTC
Sjet Idahon wrote:
Hey MJ,

i installed EVEOTS on my Windows vServer but when i try to register an User, an error occurs.

An error occured: API Date could not be read / parsed, original exception: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [117]

- Sjet -

Very strange, haven't heard of that before. I know what it is though. That is basically the API server not responding. Now, this could be a temporary problem at CCPs end in which case just try again later. However it's worth checking with your provider and going over your server settings to see if there is anything that is checking if SSL certificates are valid (CCP seem to have a problem with that from time to time). If there is such an option, disable it.
TS5P
Caldari Provisions
Caldari State
#44 - 2011-10-31 21:26:26 UTC
Great Job, MJ. Updated our server to 1.7 and it works great. Big smile
Hired Assasin
State Protectorate
Caldari State
#45 - 2011-11-01 23:33:17 UTC
im not sure if you fixed this already but in the admin panel on google chrome, when i click next in the member list it wont go to next one even though on the page link it says page#2 or w/e

Teamspeak 3 with API and Web Interface Hosting with Member Rewards!! : http://alturl.com/asde8 Catch me on EVE Gate, im allmost always on it!

TS5P
Caldari Provisions
Caldari State
#46 - 2011-11-02 18:19:53 UTC  |  Edited by: TS5P
Hired Assasin wrote:
im not sure if you fixed this already but in the admin panel on google chrome, when i click next in the member list it wont go to next one even though on the page link it says page#2 or w/e


Yup, same problem. Tried IE and Firefox.
MJ Maverick
Hybrid Industrial
#47 - 2011-11-02 18:45:46 UTC  |  Edited by: MJ Maverick
Strange. But guys if you are reporting a bug please give me enough information to go for a fix.

What version of PHP are you running?
What is the URL at the top of the browser when you click Next?

Edit:
Fixed it, thanks TS5P for allowing me to access your Admin Panel. Re-download and just replace admin_panel.php

Update v1.7b:
Fixed some silly bugs, thanks TS5P.
Baki Yuku
Doomheim
#48 - 2011-11-04 11:49:19 UTC
Do you have any plans on adding support for adding channel groups to certain users?
for example lets say I'm a Member of Viking Empire Alliance said alliance is on the Whitelist so I get rights to access the ts (server group) now what would be awsome is if Corp was checked as well and if Channel name matches corp name in api user gets rights to said channel..


best regards,
chris

PS: nice tool^^
Decius Audene
Center for Advanced Studies
Gallente Federation
#49 - 2011-11-05 07:01:16 UTC
im having trouble installing ur tool . I get this error

An error occured: API Date could not be read / parsed, original exception: file_get_contents(https://api.eveonline.com/eve/CharacterInfo.xml.aspx?characterID=935338328) [function.file-get-contents]: failed to open stream: No error [117]
MJ Maverick
Hybrid Industrial
#50 - 2011-11-05 18:42:46 UTC
Baki Yuku wrote:
Do you have any plans on adding support for adding channel groups to certain users?
for example lets say I'm a Member of Viking Empire Alliance said alliance is on the Whitelist so I get rights to access the ts (server group) now what would be awsome is if Corp was checked as well and if Channel name matches corp name in api user gets rights to said channel..


best regards,
chris

PS: nice tool^^

No plans for this I'm afraid.


Decius Audene wrote:
im having trouble installing ur tool . I get this error

An error occured: API Date could not be read / parsed, original exception: file_get_contents(https://api.eveonline.com/eve/CharacterInfo.xml.aspx?characterID=935338328) [function.file-get-contents]: failed to open stream: No error [117]

Where did you get this? But anyway that's basically CCP timing out, try again later and it should work fine. The API server trips up now and again. That resource is working now for example.
Hired Assasin
State Protectorate
Caldari State
#51 - 2011-11-10 10:13:42 UTC
Would also be a good idea to add the option to set what server groups people join from the admin panel instead of only in the config file. and a extra bonus would be adding additional layers of who joins what group instead of main group and friendly group.

Teamspeak 3 with API and Web Interface Hosting with Member Rewards!! : http://alturl.com/asde8 Catch me on EVE Gate, im allmost always on it!

MJ Maverick
Hybrid Industrial
#52 - 2011-11-14 16:25:17 UTC
snipereagle1
Players vs. EVE
Goonswarm Federation
#53 - 2011-11-14 17:05:44 UTC
Thanks for letting me bend your ear yesterday, I reinstalled my Linux server and now it works =)
MJ Maverick
Hybrid Industrial
#54 - 2011-11-15 18:47:26 UTC
Netan Maybourne
Zacme
#55 - 2011-11-20 04:04:26 UTC
This looks absolutely awesome! I was not looking forward to coding this on my own with new API and all. I'll be implementing this in the next few days, I'll let you know how everything goes.
Noxides
KarmaFleet
Goonswarm Federation
#56 - 2011-12-02 19:20:23 UTC
Does anyone know of a webhost that this works on? The on i'm on wont open the right outgoing port so the script can't connect to the TS server.
MJ Maverick
Hybrid Industrial
#57 - 2011-12-03 04:41:25 UTC
What host are you using? All I have come across support it. Hypernia are generally awesome. But come to think of it I'm not sure if they allow you to change the whitelist.txt which is essential.

Make sure you ask your Teamspeak host that you can edit the whitelist and that you ask your web host that the server will be able to send outbound signals.

These aren't any special magical things required by EVEOTS, these are basic things that any good web host provides by default.
snipereagle1
Players vs. EVE
Goonswarm Federation
#58 - 2011-12-03 07:08:06 UTC  |  Edited by: snipereagle1
Netfirms gargles space-balls at this. They go on and on and on about security, give you the run around, and then tell you no. I ended up getting a VPS from www.interserver.net and rolling my own TS3 & web server half as much as paying for them separately. The downside of a VPS is that you have to manage your own server.

And darkstarllc teampeak hosting won't let you whitelist addresses.
Hired Assasin
State Protectorate
Caldari State
#59 - 2011-12-03 16:07:20 UTC
If you need hosting i can do it :)

Teamspeak 3 with API and Web Interface Hosting with Member Rewards!! : http://alturl.com/asde8 Catch me on EVE Gate, im allmost always on it!

MJ Maverick
Hybrid Industrial
#60 - 2011-12-08 23:48:20 UTC
You're using my registration system? I hope you are crediting it as you're making a profit out of it. I'm not totally sure I like this.