Jump to content
MakeWebGames

Recommended Posts

Posted

I am currently creating a spy mod for V2. This mod will be released as a paid mod but I’m unsure of the price at the moment in time but I will have more of an idea when it’s completed.

What this mod does?

This mod allows players to hire a spy on another player to find out more information on this player. It is a donator only feature but that can be removed by removing a few lines as I am sure you all know.

Features include:

• There are 3 different spies to hire from, each cost differently. Spy 1 being the cheapest will only find small amounts of information out and spy3 being the most expensive will find out more information with greater detail.

• Each spy takes a certain amount of time to gather there reports. Spy1 being the longest, spy3 being the quickest.

• Reports are saved in your report logs so that you can read them at any time you wish or if your logs are becoming full then you can delete logs that are in there.

• The resul5ts you gather from spies will be random and will also sometimes not show their exact stat instead may just show a range (for example if his strength is 100 it might show Strength: 50-150 or 50-300). Spy 1 will most often show ranges where are spy 3 will get more exact results.

What’s done so far?

So far I am around 25% way through the script. I am guessing it might take another week to complete maybe depending on how much time I actually get spare and how much I decide to expand on the current ideas and features.

Let me know what you think, if you’d be interested and also if you have any ideas.

Regards,

Razor42

Posted
It is a donator only feature but that can be removed by removing a few lines as I am sure you all know.

Perhaps create some sort of setting array, with boolean options, instead.

$spy_settings = array();
$spy_settings['donator_only'] = 1; /* Put 0 if not donator only */

if($spy_settings['donator_only'] AND $ir['donator_days'] <= 0) {
   echo 'This is a donator only feature.';
   $h->endpage();
   exit;
}
Posted
Perhaps create some sort of setting array, with boolean options, instead.
$spy_settings = array();
$spy_settings['donator_only'] = 1; /* Put 0 if not donator only */

if($spy_settings['donator_only'] AND $ir['donator_days'] <= 0) {
   echo 'This is a donator only feature.';
   $h->endpage();
   exit;
}

^ this, but yeh good job seems good.

Posted

Been doing bits and bats here and there on this mod, here are some screenshots of what's done so far:

[ATTACH=CONFIG]1038[/ATTACH]

[ATTACH=CONFIG]1037[/ATTACH]

[ATTACH=CONFIG]1039[/ATTACH]

spy2.jpg.f1311db1c37d27e4789248ec30e437c6.jpg

spy1.jpg.e96143960169c71b54bb7d62aa96bf88.jpg

spy3.jpg.3fcae5890e4542627548de9438e1bd99.jpg

Posted

I have now got it so you can hire the spy and it deducts money and adds the time it will take to do this. I am now thinking of how I am going to do it so when that time hits 0 you receive an event saying your report is ready go view it, any ideas?

Posted

Add it to the header as a check, so if the current time is greater than the time in the database give the event, this is assuming when you hire the spy the time you input into the database is like the below

time()+3600 //1 hour on from the current time

if($spytime < time())
{
   //add event
}
Posted

Thanks Ian,

Would I do is so the report is inputted instantly into the reports page when the spy is hired but you can’t view it until the time has hit zero or would there be a more logical way of doing it? This seems the best way to me.

Posted

Send the event to the user stating something along the lines of

You started a search for $username, the search will finish in $x minutes

Then once the search has finished send them another event

You recently started a search for $username, the search has now finished and you found out .....

Where "....." is what you found out.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...