Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 .. 18 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 1 post(s) |
6ie
The Kiwis
7
|
Posted - 2013.08.15 13:05:00 -
[421] - Quote
If the DB user has full access to all databases (%), rather than only the database specified in yapeal.ini, then testForMySQLDatabasePrivs.php fails, listing that all privileges are missing. (which means you cant use user root either).
Is there a list somewhere of sections? or is account, char, corp, eve, map, server all there is to enable?
Thanks for the tool BTW. |
Louis Vitton
3-Strikes Nulli Secunda
43
|
Posted - 2013.08.24 22:27:00 -
[422] - Quote
The list of sections is under utilSections table |
Kitten Lasers
Republic University Minmatar Republic
0
|
Posted - 2013.08.30 04:35:00 -
[423] - Quote
Thanks for maintaining Yapeal.
An issue I've run into is where the keys I store are user submitted, so the end user might disable the key in their Eve API management page, and I'll start getting 403 errors when Yapeal runs. What's the best way to have it so that a key gets set to inactive on 403 errors? |
Somerset Mahm
Cognitive Distortion
195
|
Posted - 2013.08.31 18:28:00 -
[424] - Quote
This is an artifact of the new system PrismX has set up where it uses actual HTTP error codes.
I will fix this so Yapeal handles them correctly. SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :) |
Shang Ghjuvan
Warner Bros.
18
|
Posted - 2013.09.02 16:51:00 -
[425] - Quote
I'm trying to get yapeal to work, i've downloaded the latest copy and am getting
FATAL: Uncaught exception in yapeal.php File: /home/warptome/public_html/_/yapeal/yapeal.php(183) 2013-09-02 16:49:22.968 FATAL: The APIs: KillLog are unknown in section char Trace: #0 /home/warptome/public_html/_/yapeal/class/ASection.php(100): AccessMask->apisToMask(Array, 'char') #1 /home/warptome/public_html/_/yapeal/class/SectionChar.php(62): ASection->__construct() #2 /home/warptome/public_html/_/yapeal/yapeal.php(163): SectionChar->__construct() #3 {main}
|
Somerset Mahm
Cognitive Distortion
195
|
Posted - 2013.09.04 04:11:00 -
[426] - Quote
Yep, if you just unzip a copy over the top it will have old files.
The safest way to upgrade, if you can, is to set up a Mercurial clone and sync when updates are released. SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :) |
Sabeca
Elite Carebears Brothers of Tangra
0
|
Posted - 2013.09.12 22:05:00 -
[427] - Quote
Hi, is there any way how i can easly check if a api key + V-Code is valid without insert him into the database?
I want to insert a login and registration to my homepage wich give a error while the registration when the combination isnt valid.
greeting Sabeca |
Somerset Mahm
Cognitive Distortion
197
|
Posted - 2013.09.13 01:33:00 -
[428] - Quote
Sabeca wrote:Hi, is there any way how i can easly check if a api key + V-Code is valid without insert him into the database?
I want to insert a login and registration to my homepage wich give a error while the registration when the combination isnt valid.
greeting Sabeca
Yapeal isn't designed to do this. You'll want to either use something like Pheal, which is just a wrapper around calls to the API directly, or even just make this call yourself and manually parse the result. SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :) |
Sabeca
Elite Carebears Brothers of Tangra
0
|
Posted - 2013.09.13 10:18:00 -
[429] - Quote
Hmm ok, Thanks for the quick answer i will try it with PhealNG cause i have no idea how i make a call and to parse it succesfull... ( is there any guide or something similar ? )
|
Mikokoel
Mining Industry Exile Foundation
8
|
Posted - 2013.09.13 13:58:00 -
[430] - Quote
Part of my own corp tool:
http://pastebin.com/hPFKBNYX
Maybe that helps... EvE API Development zap - advanced programming |
|
Cypherous
Liberty Rogues Aprilon Dynasty
21
|
Posted - 2013.09.16 11:42:00 -
[431] - Quote
Sabeca wrote:Hi, is there any way how i can easly check if a api key + V-Code is valid without insert him into the database?
I want to insert a login and registration to my homepage wich give a error while the registration when the combination isnt valid.
greeting Sabeca
I just have it set up to check the CAK mask of the key before adding it to the database, part of that is a check to see if the key can be accessed
http://pastebin.com/93GA05NZ
Yes my code is bad so sue me :P |
Sabeca
Elite Carebears Brothers of Tangra
0
|
Posted - 2013.09.19 01:46:00 -
[432] - Quote
Cypherous wrote:Sabeca wrote:Hi, is there any way how i can easly check if a api key + V-Code is valid without insert him into the database?
I want to insert a login and registration to my homepage wich give a error while the registration when the combination isnt valid.
greeting Sabeca I just have it set up to check the CAK mask of the key before adding it to the database, part of that is a check to see if the key can be accessed http://pastebin.com/93GA05NZYes my code is bad so sue me :P
Nice, thanks! I will have a look on it. And my code is not any better than yours :P |
Dragonaire
Here there be Dragons
52
|
Posted - 2013.10.07 06:42:00 -
[433] - Quote
Hi everyone just thought I'd let everyone know I pushed out a new version of Yapeal. No real changes to be had from what Somerset Mahm had put out. I updated the copyright and started adding stuff to Yapeal to work with Composer.
Does this mean your going to start working on Yapeal again, you might ask?Kind of. Let me explain.
Yapeal as it is now works of course though there are some problems with it do to API server changes I understand. Unfortunately it could be said that it's legacy code as used in the more Modern interpretations section even to me now after being away from it for a few months and I wrote 99% of it
So what I've decided to do is what I wasn't up to doing a few months ago, rewrite it, but this time starting really with a clean sheet but still keeping the better parts of the existing code. Since I'm basically starting over anyway I'm going to try writing the new version of Yapeal as though I was doing it for the first time with all of the knowledge I have now about write a PHP application/library unlike before when often the first time I tried something new it was in Yapeal to mixed results
What does this all mean? The version I tagged as yapeal-1.0.3 is the last expected version in the 1.0.x development chain that lead to it. There may be a few more bug fixes done if Somerset Mahm decided to keep it go and I'll help with some of those if needed but the main focus will be on working toward Yapeal 2 instead.
What to expect in Yapeal 2:
- Composer as main dependence tool / install method.
- Use common standards where a good one exists. Standards like the PSR-0 etc make for less work both for me and others in understand and using Yapeal.
- Use PHPUnit from the start. I thought about going with Extreme Programming but just haven't got my head fully around it, plus I don't see it working since I don't have a 'client' handy to work with.
- Move environment requirements forward. I.E. PHP 5.3, PDO etc to move away from legacy ways of doing stuff.
- Maintain some form of backward compatibility. Keep the simple CLI type interface for current users but make changes that allow a much easier integration of Yapeal into modern OOP projects that usually use mod_php on a web server.
- Many other things that I can't think of right now but I'll probably go into more in the future.
That's a short list and I'll be writing more about things as the project continues but on to another aspect of the changes.
How can I help? Glad you asked To make things work I'll need people trying out the new code as I release it. I also need ideas on what people would like to see changed or added to Yapeal as a core feature. Also I would find it useful to hear more about how people are currently use Yapeal and any problems they had to overcome or things they had to do to work around something they found lacking with Yapeal. I know some of these from reading many of the past forum posts but I'd still like to hear it directly from as many of you as I can because though many of you may have similar needs the way other person writes about it can provide extra insight for everyone and especially me.
You can also help by join me in writing the code. There's lots of work to be done and many part of that are still just ideas in my head but there is stuff that I need help with already, plus I work better when I have someone to bounce ideas off of and to look over my shoulder once in a while as well.
Ok that's it for now I'm off to bed and look forward to seeing everyone's comments. Finds camping stations from the inside much easier. Designer of Yapeal-á for Eve API. Check out the Yapeal PHP Library thread for more information. |
qu1ckkkk
The Warp Core Stabilizers Tactical Narcotics Team
2
|
Posted - 2013.10.08 09:48:00 -
[434] - Quote
Somerset Mahm wrote:This is an artifact of the new system PrismX has set up where it uses actual HTTP error codes.
I will fix this so Yapeal handles them correctly.
I'm curios on how you are going to go about this? Will setting a key to no longer being active in utilRegisterdKey be a viable option if the call goes 403 Forbidden for API https://api.eveonline.com/account/APIKeyInfo.xml.aspx ? |
Somerset Mahm
Cognitive Distortion
200
|
Posted - 2013.10.08 21:20:00 -
[435] - Quote
qu1ckkkk wrote:Somerset Mahm wrote:This is an artifact of the new system PrismX has set up where it uses actual HTTP error codes.
I will fix this so Yapeal handles them correctly. I'm curios on how you are going to go about this? Will setting a key to no longer being active in utilRegisterdKey be a viable option if the call goes 403 Forbidden for API https://api.eveonline.com/account/APIKeyInfo.xml.aspx ?
That is my plan; Yapeal handles the old behavior in just this way. So it's just a matter of moving the error-handling logic up a level since now the error is at the HTTP level. SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :) |
qu1ckkkk
The Warp Core Stabilizers Tactical Narcotics Team
2
|
Posted - 2013.10.09 07:39:00 -
[436] - Quote
Somerset Mahm wrote: That is my plan; Yapeal handles the old behavior in just this way. So it's just a matter of moving the error-handling logic up a level since now the error is at the HTTP level.
Excellent. I have haxed together a temp workaround to do this in class/YapealNetworkConnection.php to just do $regKey->isActive = 0; so that I don't 403 too much. Thanks for the update =)
A last question I have. How are you guys handling resolving the names of the characterID's in `charMailMessages`? I was thinking of just making another table for the purpose of id->name resolution instead of querying the API every time. Interested to hear what others have done here. |
Somerset Mahm
Cognitive Distortion
200
|
Posted - 2013.10.09 16:35:00 -
[437] - Quote
I personally have a two-layer system-- I fetch id->name pairs and store them in a db and also store them in a memcache instance. SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :) |
Tiberius Zol
7
|
Posted - 2013.10.21 19:59:00 -
[438] - Quote
Hi guys, at the moment i try to integrate the open buy and sell orders in a table but get some old orders and i don't know why. Maybe one of you give me a hint:
This is the code: SELECT yapeal_charMarketOrders.*, invTypes.typeName FROM yapeal_charMarketOrders, invTypes WHERE yapeal_charMarketOrders.ownerID=MYOWNID AND yapeal_charMarketOrders.bid=1 AND yapeal_charMarketOrders.volRemaining!=0 AND yapeal_charMarketOrders.orderState=0 AND yapeal_charMarketOrders.issued + INTERVAL yapeal_charMarketOrders.duration DAY > NOW() AND invTypes.typeID=yapeal_charMarketOrders.typeID
|
Marcus Covinus
The Blood Ankhs
0
|
Posted - 2013.10.22 00:28:00 -
[439] - Quote
I could use a point in the right direction...
Fatal error: Class 'ADODB2_' not found in /home/classified/html/yapeal/ext/ADOdb/adodb.inc.php on line 4371
This happens when running ./createMYSQLTables
Thanks. |
Marcus Covinus
The Blood Ankhs
0
|
Posted - 2013.10.22 00:43:00 -
[440] - Quote
Marcus Covinus wrote:I could use a point in the right direction...
Fatal error: Class 'ADODB2_' not found in /home/classified/html/yapeal/ext/ADOdb/adodb.inc.php on line 4371
This happens when running ./createMYSQLTables
Thanks.
Disregard I'm an idiot. |
|
Tiberius Zol
7
|
Posted - 2013.10.22 12:44:00 -
[441] - Quote
nevermind. i figured it out myself. damn api errors. |
Zack Ormand
Push Industries Push Interstellar Network
10
|
Posted - 2014.01.05 17:06:00 -
[442] - Quote
Are there any know issue surrounding Contracts?
I'm having the issue that while all of the other tables for are updating, corpContracts are not. I've looked into the cache and that is updating. I'm also getting no errors in logs. Push Industries - Don't move it, Push It Serving highsec, lowsec and nullsec - and we do it faster and more reliably than anyone else. Ingame channel: PUSHX |
Somerset Mahm
Cognitive Distortion
221
|
Posted - 2014.01.05 22:24:00 -
[443] - Quote
I use corpContracts every day, so it's definitely working in the latest build. I'd make sure that your table structure is up to date (maybe try a fresh install to test). SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :) |
Zack Ormand
Push Industries Push Interstellar Network
10
|
Posted - 2014.01.06 16:14:00 -
[444] - Quote
I re-installed it. Sadly to no avail. Push Industries - Don't move it, Push It Serving highsec, lowsec and nullsec - and we do it faster and more reliably than anyone else. Ingame channel: PUSHX |
Somerset Mahm
Cognitive Distortion
222
|
Posted - 2014.01.06 20:54:00 -
[445] - Quote
I will try to find you in game and have a chat, corpContracts is super useful. SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :) |
Jack Haydn
Valar Morghulis. Goonswarm Federation
40
|
Posted - 2014.01.15 21:52:00 -
[446] - Quote
The wiki suggests to set the cronjob to execute every minute. Is there anyone with a huge amount of keys in their database? In those cases, you're inevitably going to run into issues where it takes longer than one minute for the script to finish. Does that throw things off or how does Yapeal handle such cases?
Also, is it somehow possible to run an update only for one specific key? |
Somerset Mahm
Cognitive Distortion
225
|
Posted - 2014.01.15 23:28:00 -
[447] - Quote
In cases like Eveboard or a corp where you want to load data sort of on-the-fly, unfortunately Yapeal doesn't have a good mechanism to do this built-in. I would suggest a simple script that goes through utilRegisteredChar and sets isActive to 0 for all except the one that you want, then runs Yapeal.
If your primary use case is this on-demand sort of thing, honestly Yapeal is probably not the best choice.
I use a simple locking mechanism to ensure that Yapeal doesn't collide-- I touch a lockfile in my homedir before running Yapeal, and exit if the lockfile still exists. When Yapeal is done, I remove the lockfile. SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :) |
Zynen
0
|
Posted - 2014.01.21 08:31:00 -
[448] - Quote
Thanks for making and maintaining yapeal!
Question -
I'm looking at this API Call - http://wiki.eve-id.net/APIv2_Corp_StarbaseDetail_XML
And I can't find the data anywhere in Yapeal. I see corpStarbaseDetail, where I think it should be. But it's nearly a mirror of corpStarbaseList. I don't see any of the combat settings, etc.
Can anyone tell me where to find corpStarbaseDetail information in Yapeal?
I checked SourceForge Issues, but I didn't see it listed. So perhaps I'm just missing something. |
Umnumun
Fweddit I Whip My Slaves Back and Forth
3
|
Posted - 2014.01.21 09:06:00 -
[449] - Quote
Drapko Nitzhonot wrote:EcicIdol wrote:So what tables should I enter data into for corp API? Could you take a screenshot of the places to enter in data to pull corp info? Just some dummy info in a screenshot would be great. Thanks. utilRegisteredCorporationutilRegisteredKey
- activeAPIMask: same as before
- isActive: 1
- keyID: it's the ID of your API key
- proxy: if you don't know, don't touch it
- vCode: it's the vCode of your API key
utilSections
- corp row: change isActive to 1
Is this pretty much the same for characters but in the Registered character tab? |
Drapko Nitzhonot
Abdera Logistics
11
|
Posted - 2014.01.21 16:25:00 -
[450] - Quote
Umnumun wrote:Drapko Nitzhonot wrote:EcicIdol wrote:So what tables should I enter data into for corp API? Could you take a screenshot of the places to enter in data to pull corp info? Just some dummy info in a screenshot would be great. Thanks. utilRegisteredCorporationutilRegisteredKey
- activeAPIMask: same as before
- isActive: 1
- keyID: it's the ID of your API key
- proxy: if you don't know, don't touch it
- vCode: it's the vCode of your API key
utilSections
- corp row: change isActive to 1
Is this pretty much the same for characters but in the Registered character tab? Actually I have utilRegisteredCharacter and utilRegisteredCorporation empty. I track Characters and Corps with only utilRegisteredKey table.
|
|
|
|
|
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 .. 18 :: one page |
First page | Previous page | Next page | Last page |