Skip to content
TORNLIFE More

Ixw: forum

Ixw [3143585] Level 19

Forum posts (Torn's count)
33 observed
Archived posts
33
Threads started (archived)
3

Boards

From the 33 newest archived posts.

Threads started

Most-liked posts

Likes as archived at fetch time, adjusted for how long each post had been up. Scored posts only; the full score pass runs after the import.

Test IDs for torn api · · 1 like

Anyone have some test ids for the torn api, specifically chainreport, itemdetails, itemstats, raidreport and rankedwarreport. I tried using 108 for the item info but it didnt work even though the id belongs to the 9mm uzi

Issue with faction api · · 0 likes

So i am using my faction id with a limited access token to try to query for all information as documentation example for all selections, however for limited selections i cant get the info resulting in error code 7 however i thought i would be able to see these since i am in the faction and i can see the things within torn itself. Would i have to be the faction leader, or perhaps have some permissions given to me from the leader to see these queries?

Is it possible to know when someone hops online · · 0 likes

so for that query on the faction leader, i had a way were i was using rankedwars then going thru all those to check each faction and then find the id for the leader or the faction, however its annoying to do that since its a nested loop, so i figure i could just cache the ids for factions and users to save time. tho i am curious if rankedwars shows all factions i think it just shows factions currently in a war

Is it possible to know when someone hops online · · 0 likes

so i am wondering if it is possible via the api to automate to see during a war when someone on the opposing faction gets on, i know you can do that for your members and when your on torn you can see if they are online via green, inactive in yellow or offline in white and i was just wondering if there would be a way to get like a warning when a big hitter comes online as far as i can tell the functionality isnt there same thing as no way to search for a user via the api

Recent archived posts

Is it possible to know when someone hops online ·

the status code was indeed 503 so should be sorted now

Is it possible to know when someone hops online ·

my saying it is inconsistent means that it rarely happens and the error is sort of vague when the error happens it is at the json decode level but for now its not a major issue but replicating the error is out of my hands sadly so im not sure exactly with the site returns

Is it possible to know when someone hops online ·

hmmmm the most annoying part is that when the error happens it is v inconsistent so fixing it is rough, i guess ill add debug code for outputting values for when the error happens

Is it possible to know when someone hops online ·

does the api return something not equal to 200 when getting an error, because i occasionally have it return with a 200 status code but it still has an error in the json()[key]

Is it possible to know when someone hops online ·

Ahhh okay sweet so then my check for something is pointless lol, that is great so my initialization based off active factions should be all factions I think is there like a runtime error you get from the API if you go over 100 calls a minute or the daily number of calls? That will be fun to randomly run into later lol

Is it possible to know when someone hops online ·

Is the list using territory wars and raid as well? Haven't comved thru the list extensively but I have used it for updating caches for a map of names of people and factions

Test IDs for torn api ·

I just got APi access for my faction and used an id from the chains call in the faction API thanks tho as I may use this at some point later

Test IDs for torn api ·

still working on the chainreport tho

Test IDs for torn api ·

okay my issue was i was using a user id that had no weapons or armor in their bazaar or display sorted now, as are the other id issues by querying for the wars, and raids things and just grabbing the first in the keys

Issue with faction api ·

yea i saw that in the docs after asking this thanks

Test IDs for torn api ·

ahh okay thanks for the info ill look into this then

Test IDs for torn api · · 1 like

Anyone have some test ids for the torn api, specifically chainreport, itemdetails, itemstats, raidreport and rankedwarreport. I tried using 108 for the item info but it didnt work even though the id belongs to the 9mm uzi

Issue with faction api ·

okay i sorted it just had a find replace issue for one in the ide and for the other specifically companies had to add in a check for the companies query to then change the id to use company type. This thread can be deleted unless it may be helpful to others

Issue with faction api ·

i get error 6 for companies and profile

Issue with faction api ·

for error 6 aka incorrect id im not sure what id it requires for even when it is option i get that error

Issue with faction api ·

okay the ones with error 7 are only available to directors for the company i believe

Issue with faction api ·

same issue with the company api as well with fun added incorrect id error

Regarding Items/Inventory ·

im curious if there is a way to get the items a defender has as well because when you attack you can see that as well as stat bonuses

Issue with faction api ·

So i am using my faction id with a limited access token to try to query for all information as documentation example for all selections, however for limited selections i cant get the info resulting in error code 7 however i thought i would be able to see these since i am in the faction and i can see the things within torn itself. Would i have to be the faction leader, or perhaps have some permissions given to me from the leader to see these queries?

Is it possible to know when someone hops online ·

awesome thanks