EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
X2 Stats [NEWS UPDATE - 04 MAR 2005]
Post new topic Reply to topic Goto page 1, 2, 3, 4, 5  Next
View previous topic :: View next topic
Author Message
Logaan





Joined: 08 May 2004
Posts: 1322 on topic
Location: UK, Wiltshire
Thank you for registering your game
modified
PostPosted: Sat, 13. Nov 04, 18:26    Post subject: X2 Stats [NEWS UPDATE - 04 MAR 2005] Reply with quote Print

X2 Stats is here!

The new site now has facilities to handle tech support and has all the tutorials you need





Last edited by Logaan on Fri, 4. Mar 05, 20:48; edited 23 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
XU Vagabond



MEDAL

Joined: 06 Feb 2004
Posts: 547 on topic
Location: scotland
Thank you for registering your game
PostPosted: Sat, 13. Nov 04, 18:33    Post subject: Reply with quote Print

looks good logaan it will be alot easier used than update you're sig all the time.

Back to top
View user's profile Send private message Send e-mail
bladeuk





Joined: 08 May 2004
Posts: 1488 on topic
Location: UK
Thank you for registering your game
PostPosted: Sun, 14. Nov 04, 06:07    Post subject: Reply with quote Print

Ive already said how good a job hes done, but id like everyone else to know what i think of this, its excellent, its worked out profits for all my stations, how much my companies worth ( 4,296,956,849 ) and everything i need to know about my company.

Brillaint job, keep it up!

Back to top
View user's profile Send private message MSN Messenger
Logaan





Joined: 08 May 2004
Posts: 1322 on topic
Location: UK, Wiltshire
Thank you for registering your game
PostPosted: Thu, 18. Nov 04, 23:54    Post subject: Reply with quote Print

Some players found some issues which I hope the latest changes would sort out.

Im currently working on a Ranks Sig Image at the moment, using the real rank images from the game ( http://logaans-site.co.uk/x2/gamestats/ranks/ranks.html )


So keep those bug reports and suggestions coming Smile

Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
XU Vagabond



MEDAL

Joined: 06 Feb 2004
Posts: 547 on topic
Location: scotland
Thank you for registering your game
PostPosted: Fri, 19. Nov 04, 00:11    Post subject: Reply with quote Print

logaan i have noticed that the script dose not see ships sitting in stations e.g. you buy a TS then leave it in the station. Then save you're stats that ship dose not show up in the log. untill it's out in space

Back to top
View user's profile Send private message Send e-mail
Logaan





Joined: 08 May 2004
Posts: 1322 on topic
Location: UK, Wiltshire
Thank you for registering your game
PostPosted: Fri, 19. Nov 04, 02:38    Post subject: Reply with quote Print

It should do,

Code:
079   * Get List of Ships From Station
080       $ShipList = $CurrentSt -> get ship array from sector/ship/station


That should get all the stations from that Object, which is Current Station.

I did have problems earlier where it would miss ships because they would be in the station when my script checked the sector, then go outside on a job, just as my script would check inside.

Which is why the first line sets the Priority high so it gets priority during its run and shouldnt be interupted. I know its not the most effcient method but its all i can do at the moment

Since this is my first script I dont know what else i can do

Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
LV
Moderator
Moderator



Joined: 06 Nov 2002
Posts: 5581 on topic
Location: The Dark Side
Thank you for registering your game
PostPosted: Fri, 19. Nov 04, 10:36    Post subject: Reply with quote Print

Code:
$landedcheck = $station -> find ship: class or type=Boron Dolphin race=Pirates flags=$anull refobj=$anull maxnum=$anull  with homebase=$station


use the bottom find ship command and choose the station it will search on instead of the one near the top of the general commands list


_________________
Simple and Free Script Hosting
LV's TC Scripts


You Post, Therefore I Am.... (in spain at the moment)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Logaan





Joined: 08 May 2004
Posts: 1322 on topic
Location: UK, Wiltshire
Thank you for registering your game
PostPosted: Fri, 19. Nov 04, 13:46    Post subject: Reply with quote Print

But id have to do that for each dockable class, and then again when it comes to searching the ships docked in other ships

Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Flector



MEDALMEDALMEDAL

Joined: 06 Dec 2003
Posts: 543 on topic

Thank you for registering your game
PostPosted: Tue, 23. Nov 04, 23:33    Post subject: Reply with quote Print

Logaan, I have some good news and some bad news.

The bad news is that your script doesn't return all ships! I tested it and it returned 429 ships, though it should have returned 578 ships.

The good news is that I have been working on a statistics script myself Surprised, and I am willing to help you.
My script is by no means finished but it does correctly return all ships Very Happy.

What I basically do is loop through all sectors. For every sector I will search for all flying player owned ships. For every sector I will also search for every station. Then I loop through all stations and find all player owned docked ships. For all the ships I have found at that point I will also check if they carry any ships themselves.


_________________
X2: Advanced Magnate, Ace of Aces 1st grade
X3R: Master Economist, Crusader
X3TC: Magnate, X-TREME
Back to top
View user's profile Send private message
Logaan





Joined: 08 May 2004
Posts: 1322 on topic
Location: UK, Wiltshire
Thank you for registering your game
PostPosted: Wed, 24. Nov 04, 01:00    Post subject: Reply with quote Print

Brilliant Very Happy

That was the same logic to my script but it doesnt work properly, TBH I havnt had time to look at it and sort it out recently.

Would it be in a similar output format to the script I wrote?

EDIT: Just realised i didnt put an example of the script in:
The Script
The Text File

Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Flector



MEDALMEDALMEDAL

Joined: 06 Dec 2003
Posts: 543 on topic

Thank you for registering your game
PostPosted: Wed, 24. Nov 04, 15:12    Post subject: Reply with quote Print

At first glance both the source and outputs of our scripts appear to be quite different.

Here's what I propose: since I really like your idea of using a script to automatically generate signatures and generate all different kind of stats and rankings on your webpage, I will offer to take a look at the source of your script and try to correct it. Off course, only if you allow me to Wink ....


_________________
X2: Advanced Magnate, Ace of Aces 1st grade
X3R: Master Economist, Crusader
X3TC: Magnate, X-TREME
Back to top
View user's profile Send private message
Logaan





Joined: 08 May 2004
Posts: 1322 on topic
Location: UK, Wiltshire
Thank you for registering your game
PostPosted: Wed, 24. Nov 04, 15:17    Post subject: Reply with quote Print

Sure, go ahead, anything that will improve the service, and you are welcome to an account on the stats site (if you dont already have one)

Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
cynric





Joined: 15 Dec 2003
Posts: 353 on topic

Thank you for registering your game
PostPosted: Wed, 24. Nov 04, 15:42    Post subject: Reply with quote Print

It looks like only khaak ships are missing, the script found only one khaak scout, but I have a few fighters + more than one scout at the moment.

Looks great otherwise Smile


_________________
[url=http://www.logaans-site.co.uk/x2/gamestats/stats.php?user=cynric]
[/url]
Back to top
View user's profile Send private message
GaddyG





Joined: 19 Feb 2004
Posts: 500 on topic
Location: Castle Donington UK. Home Of Dodgy Rock Concerts And Fast Cars... (and me, oddly enough)
Thank you for registering your game
PostPosted: Wed, 24. Nov 04, 17:25    Post subject: Reply with quote Print

nice little script...
seems to be picking up everything i have except the ships in stations...
which has been mentioned...


_________________
It's The End Of The World As We Know It, And I Feel Fiiiiiiiine...
Back to top
View user's profile Send private message
Logaan





Joined: 08 May 2004
Posts: 1322 on topic
Location: UK, Wiltshire
Thank you for registering your game
PostPosted: Wed, 24. Nov 04, 18:45    Post subject: Reply with quote Print

There are odd bits and bobs that are still a bit buggy, but they can only be found through testing so thanks to all who are participating Smile

cynric wrote:
It looks like only khaak ships are missing, the script found only one khaak scout, but I have a few fighters + more than one scout at the moment.

Looks great otherwise Smile



Slight problem that i know about is that if you dont have a the Khaak Ship specs then they will show as Unknowns or Other

Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3, 4, 5  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Control Panel
Login Data
The time now is Thu, 2. Sep 10, 21:19

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Message Board Statistics Template created by Avatar & BurnIt!
Debug: page generation = 0.88468 seconds, sql queries = 70