Pages: 1 2 [3] 4 5 6 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Agent Unknown
Caldari
|
Posted - 2010.02.27 03:54:00 -
[61]
Originally by: ShadowandLight PHP 5.1.6 is what i have installed on this server, is that supported?
Tested in 5.2...from your error message sent ingame it seems like it requires 5.2 to work. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
Dal' Hassen
Minmatar MASS
|
Posted - 2010.03.01 14:01:00 -
[62]
Confirming you need 5.2 for the TS3 Library packaged with the script.
|
Lavoslav Penkala
Sons of Viagra Ushra'Khan
|
Posted - 2010.03.01 15:12:00 -
[63]
I've had problems with cron.php and after some tracing I fixed it by changing 1 line of code:
Before
Quote: $url = "http://api.eve-online.com/char/CharacterSheet.xml.aspx?userID=" . $user ."&apikey=" . $key . "&characterID=" . $id;
After (removed excess spaces in command)
Quote: $url = "http://api.eve-online.com/char/CharacterSheet.xml.aspx?userID=".$user."&apikey=".$key."&characterID=".$id;
I'm getting "Finished job." as a response after manualy running it after the change. Agent, please confirm if this is what the output should look like when finished without errors.
|
Dal' Hassen
Minmatar MASS
|
Posted - 2010.03.01 19:06:00 -
[64]
Originally by: Lavoslav Penkala I've had problems with cron.php and after some tracing I fixed it by changing 1 line of code:
Before
Quote: $url = "http://api.eve-online.com/char/CharacterSheet.xml.aspx?userID=" . $user ."&apikey=" . $key . "&characterID=" . $id;
After (removed excess spaces in command)
Quote: $url = "http://api.eve-online.com/char/CharacterSheet.xml.aspx?userID=".$user."&apikey=".$key."&characterID=".$id;
Spaces in that form wont intrude on the execution of the script, the spaces are only there so the author, or others can see it clearly.
|
Lavoslav Penkala
Sons of Viagra Ushra'Khan
|
Posted - 2010.03.01 19:48:00 -
[65]
Edited by: Lavoslav Penkala on 01/03/2010 19:58:04 Edited by: Lavoslav Penkala on 01/03/2010 19:48:39
Originally by: Dal' Hassen Spaces in that form wont intrude on the execution of the script, the spaces are only there so the author, or others can see it clearly.
I won't claim I'm an expert with php, but before I did that I was getting 3 errors while attempting to execute. Removing the spaces fixed it... (I'm not complaining).
Also one more question to the author regarding corp/aliance names in config.php
What do I do if I need to write in $allylist alliance that has character ' in the name? eg. Aliance named "Ushra'Khan". Would I write that as 'Ushra\'Khan' or something else?
|
Agent Unknown
Caldari
|
Posted - 2010.03.02 00:05:00 -
[66]
Originally by: Lavoslav Penkala Edited by: Lavoslav Penkala on 01/03/2010 19:58:04 Edited by: Lavoslav Penkala on 01/03/2010 19:48:39
Originally by: Dal' Hassen Spaces in that form wont intrude on the execution of the script, the spaces are only there so the author, or others can see it clearly.
I won't claim I'm an expert with php, but before I did that I was getting 3 errors while attempting to execute. Removing the spaces fixed it... (I'm not complaining).
Also one more question to the author regarding corp/aliance names in config.php
What do I do if I need to write in $allylist alliance that has character ' in the name? eg. Aliance named "Ushra'Khan". Would I write that as 'Ushra\'Khan' or something else?
You can use 'Ushra\'Khan' and it should work, or change the quotes to " ".
As for the cron script, "Finished job." is the expected result when run manually. It has a verbose mode as well (set $verbose to true in the config) that will show what it's doing. That spacing issue is weird though...but if it works, it works. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
ShadowandLight
Amarr Hammer Of Light Aegis Militia
|
Posted - 2010.03.02 03:23:00 -
[67]
upgrade instructions for php upgrade to 5.2
used / working on centos
http://www.atomicorp.com/wiki/index.php/PHP
|
Agent Unknown
Caldari
|
Posted - 2010.03.02 15:55:00 -
[68]
Edited by: Agent Unknown on 02/03/2010 15:56:30
Originally by: ShadowandLight Edited by: ShadowandLight on 02/03/2010 03:54:08 upgrade instructions for php upgrade to 5.2
used / working on centos
http://www.atomicorp.com/wiki/index.php/PHP
edit: new error after doing the upgrade
(ID 111) Connection refused when trying to do the api
Heh...lots of errors for you with this script eh?
From the looks of it, the framework cannot access the ServerQuery portion of TS3. Check the logs in TS3 to make sure that it's listening on port 10011, and that the port isn't blocked. If it's not working, then you can try changing the port by:
1) Create an ini file called ts3server.ini (if one doesn't exist) 2) In this file, put this in:
query_port=portnumber (whatever port would be usable is suitable) query_ip=0.0.0.0 (binds to all IPs, set if needed (shared hosting))
3) Save the file, then run the server. It should read from this file by default. If not, put inifile=ts3server.ini at the end of the command. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
Agent Unknown
Caldari
|
Posted - 2010.03.04 16:47:00 -
[69]
There is currently a bug in the cron script that will sometimes cause the script to fail. You can correct this yourself by downloading this file and copying over the old one.
Linkage
Of course, you have to rename the extension from .phps to .php for it to work. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
mocrt
|
Posted - 2010.03.06 00:06:00 -
[70]
Hi There
Great job with this.
I have installed but am getting:
API: Authentication failure.
API Error: Unable to verify API. Check it and try again.
I am DEFO sure (checked and rechecked) that I am using the 'User ID' and API key from the API page on the main eve site. Always comes up with that. Tried it from TWO accounts.
Any suggestions? I have verbose on.
Tar
Mo
|
|
Agent Unknown
Caldari
|
Posted - 2010.03.06 00:12:00 -
[71]
Originally by: mocrt Hi There
Great job with this.
I have installed but am getting:
API: Authentication failure.
API Error: Unable to verify API. Check it and try again.
I am DEFO sure (checked and rechecked) that I am using the 'User ID' and API key from the API page on the main eve site. Always comes up with that. Tried it from TWO accounts.
Any suggestions? I have verbose on.
Tar
Mo
Are you sure you have the character name correct in the form? That error occurs when it can't pull up your character sheet. It's an error with the API, not with the script...so it's difficult to pinpoint. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
Taran Tenus
|
Posted - 2010.03.06 00:18:00 -
[72]
Originally by: mocrt Hi There
Great job with this.
I have installed but am getting:
API: Authentication failure.
API Error: Unable to verify API. Check it and try again.
I am DEFO sure (checked and rechecked) that I am using the 'User ID' and API key from the API page on the main eve site. Always comes up with that. Tried it from TWO accounts.
Any suggestions? I have verbose on.
Tar
Mo
Interesting. Full API key working... Thoughts?
And now I have got past that one...i'm getting:
Error: Cannot assign server group. Be sure that your name on the TeamSpeak server is correct. Your TeamSpeak name should be 1SA mocrt for verification. You can change it afterward. Technical details: (ID 0) php_network_getaddresses: getaddrinfo failed: No such host is known.
|
Taran Tenus
|
Posted - 2010.03.06 00:24:00 -
[73]
Originally by: Taran Tenus
Originally by: mocrt Hi There
Great job with this.
I have installed but am getting:
API: Authentication failure.
API Error: Unable to verify API. Check it and try again.
I am DEFO sure (checked and rechecked) that I am using the 'User ID' and API key from the API page on the main eve site. Always comes up with that. Tried it from TWO accounts.
Any suggestions? I have verbose on.
Tar
Mo
Interesting. Full API key working... Thoughts?
And now I have got past that one...i'm getting:
Error: Cannot assign server group. Be sure that your name on the TeamSpeak server is correct. Your TeamSpeak name should be 1SA mocrt for verification. You can change it afterward. Technical details: (ID 0) php_network_getaddresses: getaddrinfo failed: No such host is known.
Update
Try running setup.php first eh! Now can use limited api key but still getting the
(ID 0) php_network_getaddresses: getaddrinfo failed: No such host is known.
|
Agent Unknown
Caldari
|
Posted - 2010.03.06 00:25:00 -
[74]
Originally by: Taran Tenus
Originally by: mocrt Hi There
Great job with this.
I have installed but am getting:
API: Authentication failure.
API Error: Unable to verify API. Check it and try again.
I am DEFO sure (checked and rechecked) that I am using the 'User ID' and API key from the API page on the main eve site. Always comes up with that. Tried it from TWO accounts.
Any suggestions? I have verbose on.
Tar
Mo
Interesting. Full API key working... Thoughts?
And now I have got past that one...i'm getting:
Error: Cannot assign server group. Be sure that your name on the TeamSpeak server is correct. Your TeamSpeak name should be 1SA mocrt for verification. You can change it afterward. Technical details: (ID 0) php_network_getaddresses: getaddrinfo failed: No such host is known.
Heh, the API key issue might be some oddity with the API...the character sheet only needs limited (and the API spits out another error if the key isn't full when needed to be).
As for that other error, make sure that you have the proper ServerQuery information in your config.php file. Using a hostname (like ts.yourdomain.com) is discouraged as DNS issues can break the script. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
mocrt
|
Posted - 2010.03.06 00:39:00 -
[75]
Hi There
still going at it...the error:
(ID 0) php_network_getaddresses: getaddrinfo failed: No such host is known.
Is still an issue...does this relate to the query host and tcp port (default 10011?) or the TS Host entry?
Online now as mocrt in game if you can help! ;-)
Mo
|
Agent Unknown
Caldari
|
Posted - 2010.03.06 04:04:00 -
[76]
Originally by: mocrt Hi There
still going at it...the error:
(ID 0) php_network_getaddresses: getaddrinfo failed: No such host is known.
Is still an issue...does this relate to the query host and tcp port (default 10011?) or the TS Host entry?
Online now as mocrt in game if you can help! ;-)
Mo
Sent evemail. I'll be able to respond tomorrow. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
Nick Partridge
|
Posted - 2010.03.06 19:30:00 -
[77]
Hiya,
Firstly great work. :-) I get the following error though any thoughts ?
Error: Cannot assign server group. Be sure that your name on the TeamSpeak server is correct. Your TeamSpeak name should be -ONYX | Nick Partridge for verification. You can change it afterward. Technical details: (ID 0) php_network_getaddresses: getaddrinfo failed: Name or service not known
|
Agent Unknown
Caldari
|
Posted - 2010.03.06 19:53:00 -
[78]
Originally by: Nick Partridge Hiya,
Firstly great work. :-) I get the following error though any thoughts ?
Error: Cannot assign server group. Be sure that your name on the TeamSpeak server is correct. Your TeamSpeak name should be -ONYX | Nick Partridge for verification. You can change it afterward. Technical details: (ID 0) php_network_getaddresses: getaddrinfo failed: Name or service not known
Looks like you had the same issue as someone else. Instead of 127.0.0.1 for $tsname, use localhost. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
Nick Partridge
|
Posted - 2010.03.06 19:58:00 -
[79]
Edited by: Nick Partridge on 06/03/2010 19:59:08 Yeah just tried that and still getting the same error I am online as Nick Partridge if your about
//ServerQuery Host public $tshost = 'localhost'; //TeamSpeak ServerQuery Name public $tsname = 'serveradmin'; //ServerQuery Password public $tspass = '*******'; //ServerQuery Port public $tsport = '10011'; //TeamSpeak client port (this is not the same as the serverquery port!) public $tscport = '9987';
|
Agent Unknown
Caldari
|
Posted - 2010.03.06 22:14:00 -
[80]
Originally by: Nick Partridge Edited by: Nick Partridge on 06/03/2010 19:59:08 Yeah just tried that and still getting the same error I am online as Nick Partridge if your about
//ServerQuery Host public $tshost = 'localhost'; //TeamSpeak ServerQuery Name public $tsname = 'serveradmin'; //ServerQuery Password public $tspass = '*******'; //ServerQuery Port public $tsport = '10011'; //TeamSpeak client port (this is not the same as the serverquery port!) public $tscport = '9987';
Check your php.ini file and make sure allow_url_fopen = on is in there someplace. If you have root on your server, you can open your hosts file (/etc/hosts) and put the following in it:
127.0.0.1 localhost
You can also try putting in the server's IP anyway and see if it connects. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
|
Mediek Ordos
Caldari Association of Commonwealth Enterprises Gentlemen's Club
|
Posted - 2010.03.07 20:26:00 -
[81]
This works a treat nice job. could it be possible to script it so that Alliance Corp and Standings could all be set to true at the same time. Looking forward to the SMF intergration well done. http://www.a-c-e.eu http://www.a-c-e.eu/images/A-C-E-signature.jpg |
Agent Unknown
Caldari
|
Posted - 2010.03.08 05:42:00 -
[82]
Originally by: Mediek Ordos This works a treat nice job. could it be possible to script it so that Alliance Corp and Standings could all be set to true at the same time. Looking forward to the SMF intergration well done. http://www.a-c-e.eu
Thanks. I was actually thinking about re-working the alliance/corp listing. I really think that it's redundant to have because you'd have all the needed corps and alliances blue to begin with. so getting rid of it and using just the name of the corp/alliance running the server would work. That's up for discussion though.
As for SWF integration...I will have to play with those forums and see how it would fit. Only way I could see it working is to "hook" in a couple custom fields during registration (uniqueID on TS) and register on the server using that information. This will end up being a different plugin for the app...unless there's other ways to do this.
By the end of this week I expect to have a new version out, which will include:
- Additional fixes and debugging to some parts of the script (reported bugs, etc) - A more robust security when registering to prevent hijacked API keys from being abused. - Addition of some things to the database (i.e the character name used to register instead of just the ID)
Some future stuff that may or may not make it:
- A new setup script that checks requirements (url_fopen, xml) and provides more feedback on the install. - Ability to edit settings via the web. - Removal of file-based settings to a database approach. This will make it easier to add/modify settings without forcing people to reconfigure.
Suggestions, comments, etc are welcome. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
1337fknThor
|
Posted - 2010.03.09 14:28:00 -
[83]
Nice Script having a few issues though,
My config is using the server name "Name of alliance" for tsname then for Tspass "serverpassword" should we be using admin name and password there? If so which admin lol little confusion but script installed well all tables imported just getting error
"Error: Cannot assign server group. Be sure that your name on the TeamSpeak server is correct. Your TeamSpeak name should be "corp/Username" for verification. You can change it afterward. Technical details: (ID 0) invalid uri supplied"
Will totally be throwing some isk your way soon!
Ty
|
1337fknThor
|
Posted - 2010.03.09 18:35:00 -
[84]
Just an update changed serveradmin and pass now getting
TecCorporation ID: 4181**** Corporation Name: Corp Name Alliance Name: Alliance Name Ticker: ticker
Checking: alliancename - Corp
Error: Cannot assign server group. Be sure that your name on the TeamSpeak server is correct. Your TeamSpeak name should be ticker name for verification. You can change it afterward. Technical details: (ID 110) Connection timed out
|
Agent Unknown
Caldari
|
Posted - 2010.03.09 20:33:00 -
[85]
Edited by: Agent Unknown on 09/03/2010 20:34:27
Originally by: 1337fknThor Just an update changed serveradmin and pass now getting
TecCorporation ID: 4181**** Corporation Name: Corp Name Alliance Name: Alliance Name Ticker: ticker
Checking: alliancename - Corp
Error: Cannot assign server group. Be sure that your name on the TeamSpeak server is correct. Your TeamSpeak name should be ticker name for verification. You can change it afterward. Technical details: (ID 110) Connection timed out
"tsname" is the hostname of the ServerQuery server (which is usually your TS host). If the script is on the same box as your TS server, then it would usually look like this:
Quote:
public $tsname = 'localhost';
Some people have issues with localhost, so using the same IP as your box works too (or the hostname, like ts.yourdomain.com).
Edit: I'm working on an easier method to get this set up. My documentation is far from great and sometimes confuses people. Apologies for that. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
1337fknThor
|
Posted - 2010.03.09 22:37:00 -
[86]
Edited by: 1337fknThor on 09/03/2010 22:38:08 Hmm still not luck is this correct? Also TS is not hosted on same box as webserver.
* TeamSpeak Information */ //ServerQuery Host public $tshost = 'IP of Server'; //TeamSpeak ServerQuery Name public $tsname = 'serveradmin'; //ServerQuery Password public $tspass = 'password'; //ServerQuery Port public $tsport = '10011'; //TeamSpeak client port (this is not the same as the serverquery port!) public $tscport = '9987';
/* * Database Information (REQUIRED) */ public $db_host = 'localhost'; public $db_user = 'username'; public $db_pass = 'password'; public $db_name = 'dbname'; /*
|
1337fknThor
|
Posted - 2010.03.10 00:04:00 -
[87]
Just an update I have now installed the script on the same server as TS and am now getting
Error: Cannot assign server group. Be sure that your name on the TeamSpeak server is correct. Your TeamSpeak name should be Ticker name for verification. You can change it afterward. Technical details: (ID 512) invalid clientID
I read in a previous post to make sure my name is set to what ts wants it to be what did you mean by that exactly?
|
Agent Unknown
Caldari
|
Posted - 2010.03.10 06:03:00 -
[88]
Originally by: 1337fknThor Just an update I have now installed the script on the same server as TS and am now getting
Error: Cannot assign server group. Be sure that your name on the TeamSpeak server is correct. Your TeamSpeak name should be Ticker name for verification. You can change it afterward. Technical details: (ID 512) invalid clientID
I read in a previous post to make sure my name is set to what ts wants it to be what did you mean by that exactly?
Okay. In your config file, you set $myname to your corp/alliance name. Make sure that when you're registering you put in the proper information (your character name, for example). If you get that error, make sure your name is something like TICKER NAME. Example, mine would be: -NT- Agent Unknown. No brackets, separated by a space. If your ticker has brackets, use them, but don't otherwise. You have to be logged onto the server for it to work. By the way, this is my signature.
TeamSpeak For EVE - API-controlled TeamSpeak 3 Access!
|
Nick Partridge
|
Posted - 2010.03.10 16:12:00 -
[89]
Agent,
Thanks for your tips. I did in fact find the problem in the end as a result of an error message passed when installing yapeal. It would appear that on the server while the db user had all the permissions needed when operating from the website, shilst conducting cli work it wasnt sufficient.
changed the mysql roles and hey presto all went smoothly.
|
1337fknThor
|
Posted - 2010.03.10 23:22:00 -
[90]
Thanks for your help working great now!
|
|
|
|
|
Pages: 1 2 [3] 4 5 6 :: one page |
First page | Previous page | Next page | Last page |