Razor42 Posted July 2, 2013 Posted July 2, 2013 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 Quote
sniko Posted July 2, 2013 Posted July 2, 2013 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; } Quote
Guest Posted July 2, 2013 Posted July 2, 2013 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. Quote
Dominion Posted July 2, 2013 Posted July 2, 2013 Sounds good. Seems to have more features then those already available. Quote
Razor42 Posted July 2, 2013 Author Posted July 2, 2013 Thanks and yeah there are quite a few features which is why it might take some time to do :) Quote
Razor42 Posted July 5, 2013 Author Posted July 5, 2013 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] Quote
Razor42 Posted July 5, 2013 Author Posted July 5, 2013 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? Quote
Guest Posted July 5, 2013 Posted July 5, 2013 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 } Quote
Razor42 Posted July 5, 2013 Author Posted July 5, 2013 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. Quote
Guest Posted July 5, 2013 Posted July 5, 2013 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.