Page 1 of 2

Covert / Spying

Posted: Tue Mar 25, 2008 6:57 am
by GeneralChaos
Heres an idea, we all have im sure at some time tried to spy someone for whatever reason, and sometimes on the first spy we get ??? on some stats, so we do it again and get some new stats unlocked and others are ???

However if the person has a good covert, you may have too spy them several times, but then you have to look threw the logs to check for what you need,

How about when you spy said player, it updates the previous record with the new info on them that u unlock.

So instead of having

Player A details
Player A details
Player A details
Player A details
Player A details
Player B details
Player B details
Player C details

in your logs it just shows

Player A ( updated 25 March )
Player B ( updated 25 March )
Player C ( updated 20 March )

Logs still only last for 10 days as normal, this would make it far easier to keep track, espically during a war.

Re: Covert / Spying

Posted: Tue Mar 25, 2008 7:00 am
by Nigatsu_Aka
I support this ideea.

Re: Covert / Spying

Posted: Tue Mar 25, 2008 7:07 am
by Juliette
Me 2.

Re: Covert / Spying

Posted: Tue Mar 25, 2008 7:10 am
by Iƒrit
why not just time stamp the data you have already seen?

Like when you have spied on someone more then once and see something you already have, time stamp how recent the data is.

Re: Covert / Spying

Posted: Tue Mar 25, 2008 7:17 am
by GeneralChaos
Thats basically what your doing, only instead of having 10 logs of 1 person, there is 1 log, that is updated every time u spy them.

Re: Covert / Spying

Posted: Tue Mar 25, 2008 7:23 am
by Iƒrit
ok yea, Ive been thinking that since I started 6 months ago. LOL we should really get some attention drawn to this thread, I am tired of spying on someone I have twice as much covert as and keep seeing ???

Re: Covert / Spying

Posted: Tue Mar 25, 2008 7:48 am
by Legendary Apophis
I agree on it, but get a way to have choice to keep it or not with a box to click, because sometimes old logs are usefull (to check cheaters for example)! :)

Re: Covert / Spying

Posted: Tue Mar 25, 2008 8:11 am
by ~Tarkin~
I like this idea, sometimes the spy logs can get a little hard to sort through.

Re: Covert / Spying

Posted: Tue Mar 25, 2008 8:28 am
by GeneralChaos
Apophis The Great wrote:I agree on it, but get a way to have choice to keep it or not with a box to click, because sometimes old logs are usefull (to check cheaters for example)! :)


Thats what your personal log is for, the intel logs should still auto delete after 10 days, seeing as any active player that you spy will more than likely be updating there stats.

Maybe a mod can point admin to this thread at the next admin meet

Re: Covert / Spying

Posted: Tue Mar 25, 2008 11:03 am
by Zeratul
this would be very dufficilt... spying is based on a very advanced random-number generator... (i.e. the number of stats shown is random, based on certain factors like covert...)
also, this would remove a lot of the actual work in the game...
also, you dont need the personal log for this... just use notepad...

Re: Covert / Spying

Posted: Tue Mar 25, 2008 11:15 am
by GeneralChaos
It doesn't take the work out of the game, you would still have to run the 10 covert spies, only instead of 10 logs u have 1.

Re: Covert / Spying

Posted: Tue Mar 25, 2008 11:39 am
by Zeratul
it would require a lot of coding though... as each stat would need to have something like (20:22:05,2008-03-25) behind it to say when it is from...
also, the entire intelligence section would have to be redesigned...

Re: Covert / Spying

Posted: Tue Mar 25, 2008 12:28 pm
by GeneralChaos
No no mate, no time stamps, it just updates the log, nothing else, if you spy the first time and u get ??? and the 2nd time u get the stat it just updates the first log with the stat. so the ??? are just replaced,

Forget all that timestamp info.

Re: Covert / Spying

Posted: Tue Mar 25, 2008 12:51 pm
by Tauriman77
If it could be worked out this would be a great addition

Re: Covert / Spying

Posted: Wed Mar 26, 2008 8:15 am
by Laar
Let's think the following codding has to be done:

In the system there has to be a log report, with dates when the intel was gathered for each stat, you or the admin must decide on how old the data should be to be left out. Say ten days old.

When you spy someone, this log has to be updated, the new intel should overwrite the old, and the date of the updated stats should be noted.

If you request the log report (automatically after spying someone), you would be send the data, and ??? on the places which are older than ten days, this would also be the right time to remove the old data (older than 10 days).

Also, as still usual the reports from more than ten days old would be deleted.


what would this cause in the amount of coding, it would increase.
What would happen to the amount of data on the servers.
For every person you spy on more than twice (logs are doubled in size, stats and dates) is gained. For everyone you only spy once, it would be doubled. Or you should leave the dates out on the first spy (this would require only more coding*, but would decrease the amount of data).

so the data is for spying accounts with a lot of ??? a lot compressed, while spying on inactives for raiding purposes is increased (unless you create the following thing)

*

Code: Select all


if( exists(spylog_id)) //checkes whether there is a spy log of a person
{
  if(!spylog_id.advanced) // checkes whether or not the spylog is an advanced one (in other words if this is the seccond time you spy him)
    {
      create(spylog_id , true)
    }
     
update(spylog_id)

}
else
{
create(spylog_id,false) //creates a normal spy log
}



legenda:

values:
spylog_id.advanced is a boolean, which indicates if an spylog is advance or not

methodes:
update: updates the spylog
create: creates an (first item), and the second value is if it is an advanced one or not, and destructs the old one after copying the data, if the new one is advanced
exists checks, whether or not a current item is there


edit: typo and text change a bit in the code