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
Karnhell
Pandorum Industrie's
#121 - 2012-04-14 22:06:57 UTC
Karnhell wrote:
Can it be changed so that people submitting their API's aren't giving out the names of all their alts as well?


If this means dupes have to be deleted, that's fine. Just looking to keep this from being used as a spy tool by possibly unscrupulous TS operators.
Linus Crolkish
Pizza Orgasmica and Brewing Ltd.
#122 - 2012-04-14 22:19:49 UTC
Karnhell wrote:
Karnhell wrote:
Can it be changed so that people submitting their API's aren't giving out the names of all their alts as well?


If this means dupes have to be deleted, that's fine. Just looking to keep this from being used as a spy tool by possibly unscrupulous TS operators.


Take a look at "removeDuplicates" in functions.php if you want to remove that function. By the way - the only person able to see that information would be your database administrator.
MJ Maverick
Hybrid Industrial
#123 - 2012-04-15 16:04:05 UTC
I will not support the removal of that. If you want to do it then go ahead but I will not support it if you break it.

Why bother having a registration system if you are going to remove every bit of anti-spy code? If you want to hide your alts then clearly you have something to hide.
Linus Crolkish
Pizza Orgasmica and Brewing Ltd.
#124 - 2012-04-15 17:02:01 UTC
It looks like you do not populate allianceName in the corporation table - any reason for that?
MJ Maverick
Hybrid Industrial
#125 - 2012-04-16 16:11:02 UTC
Because it isn't a corp and having corps in your whitelist that are in an alliance is unwise. If I stored it then it would get out of date and require a cron job. So I stream it.
KongGal
Circle-0f-Two
Circle-Of-Two
#126 - 2012-04-17 04:41:06 UTC
is it possible to add a line in the config to add a server password so when people are getting told to press here to conenct then in the connect URl it would include Password

Linus Crolkish
Pizza Orgasmica and Brewing Ltd.
#127 - 2012-04-19 18:40:44 UTC
KongGal wrote:
is it possible to add a line in the config to add a server password so when people are getting told to press here to conenct then in the connect URl it would include Password



line 650 in index.php:

Quote:

echo "a href=\"ts3server://".$c->tshost."?port=".$c->tscport."&password=".$yourpasswordhere.".&nickname=".$nickname."&addbookmark=".$c->ourname." Teamspeak\";


you can store your password in config.php, just make sure the variable names match.
KongGal
Circle-0f-Two
Circle-Of-Two
#128 - 2012-04-20 01:56:11 UTC
Linus Crolkish wrote:
KongGal wrote:
is it possible to add a line in the config to add a server password so when people are getting told to press here to conenct then in the connect URl it would include Password



line 650 in index.php:

Quote:

echo "a href=\"ts3server://".$c->tshost."?port=".$c->tscport."&password=".$yourpasswordhere.".&nickname=".$nickname."&addbookmark=".$c->ourname." Teamspeak\";


you can store your password in config.php, just make sure the variable names match.



i did try that a few times and it just broke it
Kamikazie
Imperial Shipment
Amarr Empire
#129 - 2012-05-09 15:01:15 UTC  |  Edited by: Kamikazie
I was getting this:
Quote:
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]


Teamspeak 3 Registration for EVE Online by MJ Maverick
Powered by the TS3 PHP Framework & Pheal
EVEOTS v1.7b


Added this after line 320 in Pheal.php:
Quote:
curl_setopt(self::$curl, CURLOPT_SSL_VERIFYPEER, false);



Now I get this:
Quote:
An error occured: API Date could not be read / parsed, original exception: String could not be parsed as XML [117]


Can find the site here: http://72.167.12.119/eveots/?step=2
Casachu
The Logistic Squad
#130 - 2012-05-20 01:22:54 UTC
Hi,

i'm trying to install this great module of yours. Everything seems to look fine on the API comunication level.
I managed to register some admins.
When i try to register a member, it gets his info correctly.

Then on step 3, it tells me : " Trying to grant access to [member]"
and nothing happens. i get no timeouts or error messages.

i tried opening port 10011 and it didn't changed anything.

I think the error is in the Teamspeak3::factory() call, in the SaveMember() fonction. i don't know if it's doing anything.

snipereagle1
Players vs. EVE
Goonswarm Federation
#131 - 2012-05-20 06:06:30 UTC
MJ Maverick wrote:
I will not support the removal of that. If you want to do it then go ahead but I will not support it if you break it.

Why bother having a registration system if you are going to remove every bit of anti-spy code? If you want to hide your alts then clearly you have something to hide.


Recently had people ***** about that. Simple response: ~trollface~
MJ Maverick
Hybrid Industrial
#132 - 2012-05-20 18:52:26 UTC
Casachu wrote:
Hi,

i'm trying to install this great module of yours. Everything seems to look fine on the API comunication level.
I managed to register some admins.
When i try to register a member, it gets his info correctly.

Then on step 3, it tells me : " Trying to grant access to [member]"
and nothing happens. i get no timeouts or error messages.

i tried opening port 10011 and it didn't changed anything.

I think the error is in the Teamspeak3::factory() call, in the SaveMember() fonction. i don't know if it's doing anything.


Are you running in debug mode?
Casachu
The Logistic Squad
#133 - 2012-05-21 00:07:09 UTC  |  Edited by: Casachu
I am running in debug mode.

i found one problem. my php version was too old. i upgraded it and now i get a new error :

F21 - connection refused.

there was no message telling me my php version was too old, had to figure it out myself ;) TS3 library requires php 5.2.1 to work.

port 10011 is opened in TCP and UDP.

i tried changing my Query username, now i'm getting :

F16- connection refused.
MJ Maverick
Hybrid Industrial
#134 - 2012-05-21 00:32:30 UTC
MJ Maverick wrote:

Requirements:
PHP 5.2.1 or later
MySQL 5 or later (untested on earlier versions)
Dedicated web host


There isn't an F16 or F21. Your code is modified so I can't really help you. Does an unmodified version work?
Casachu
The Logistic Squad
#135 - 2012-05-21 15:30:48 UTC  |  Edited by: Casachu
i only added some echo in the function.php file to see at what point the code crashed. i will try a fresh reinstall and see how that works.

EDIT:

so i did a fresh reinstall, and now i'm getting error F10.
MJ Maverick
Hybrid Industrial
#136 - 2012-05-21 18:07:57 UTC
Have you read the readme for F10? Have you put the web servers IP on the whitelist and checked the ports are open?

F10 is a very common error and has been resolved many times in this thread. You should have already tried these things really before posting.
Casachu
The Logistic Squad
#137 - 2012-05-22 05:54:50 UTC
Just to make myself clear here:

At the time i first posted, there was no error number being displayed at all.
After updating the php version, i started seing some debug info.

of course I then read how to fix the F10 error. I know exactly what my problem is now. sorry if it wasn't clear.

will keep you updated when it works !
MJ Maverick
Hybrid Industrial
#138 - 2012-05-22 09:26:06 UTC
Felsaa
Imperial Shipment
Amarr Empire
#139 - 2012-05-23 20:17:36 UTC
I'm having difficulties with the tool but I dont know if it;s something caused by the host or if i'm doing something wrong.

The tool appears to work correctly until I need to press the register button and I'm getting the following message.

The server query user and password is correct as I use other tools to access my server.

Any ideas what I need to do?

Quote:
Attempting to grant access to: #######################

An error occured: Connection timed out [F10]
MJ Maverick
Hybrid Industrial
#140 - 2012-05-24 00:25:07 UTC
Timed out connecting to your Teamspeak. Are you getting this consistently? Seems a very strange error to get at that stage. Could have just been a hicup.