Server Help

Misc User Apps - A3 DC DLL for MervBot

hellzlaker - Fri May 09, 2008 8:40 pm
Post subject: A3 DC DLL for MervBot
dc.dll Version 1.0


Maker:
http://a3site.66ghz.com


Special Thanks:
Samapico, Bak, and Purge+ for being awsome and
pretty much learning how to make this DLL,
also to others that helped me on MGB biggrin.gif


About:
This dll has missions on it so that a player
can beat missions that bot gives him, and
get a reward. Gives the zone some RPG feel.


Installation:
In spawns.txt, use dc.dll instead of blank.


More info:
About 1000 lines of code biggrin.gif Longest project I made.
Players can choose missions, and complete them or
abort them. Missions are devided into 4 categories.
Player can do one mission at a time, and after he
completes a mission he has to wait 5 minutes before
he starts another mission. Also this DLL has 24
mission already on it.

PS: Not done yet, I plan on adding 8 more missions,
just too busy right now.

Missions:
Quote:
Easy Missions
-------------

1. Collect 50 bounty.
2. Get a 9:0 killing spree.
3. Collect atleast 25 bounty and get a 6:0 killing spree.
4. Get a 6:0 killing spree on a private freq.
5. Collect 50 bounty on a private freq.



Medium Missions
---------------

1. Collect 100 bounty.
2. Get a 15:0 killing spree.
3. Collect at least 50 bounty and get a 9:0 killing spree.
4. Get a 12:0 killing spree on a private freq.
5. Collect 75 bounty on a private freq.




Hard Missions
-------------

1. Collect 200 bounty.
2. Get a 30:0 killing spree.
3. Collect at least 100 bounty and get a 18:0 killing spree.
4. Get a 24:0 killing spree on a private freq.
5. Collect 175 bounty on a private freq.




Expert Missions
---------------

1. Collect 1000 bounty.
2. Get a 60:0 killing spree.
3. Collect atleast 500 bounty and get a 40:0 killing spree.
4. Get a 50:0 killing spree on a private freq.
5. Collect 750 bounty on a private freq.



source is inside too...

-----------------------------------------------------------------------

dc.dll Version 1.2

Fixes in this version:
-Private Freq glitch is attempted to get fixed...
Doc Flabby - Sat May 10, 2008 6:24 am
Post subject:
This looks really fun!
hellzlaker - Mon May 12, 2008 9:47 pm
Post subject:
There was a glitch in the first version on missions 4 and 5 on all difficulties and it failed the mission automatically when you start it, so i uploaded version 1.2 with the glitch fixed... If you find any glitches please write them in this thread


---------------------

EDIT: the glitch is still there... and I'm working to fix it, any one mind looking at the code and help since i cant seem to find the problem, also code is very organized and there are comments explaining each part of the code
grazzhoppa - Tue May 13, 2008 5:56 pm
Post subject:
nice idea for a bot, good job.
Samapico - Wed May 14, 2008 8:02 pm
Post subject:
You could save a lot of typing, and a lot of retyping when modifying by making yourself a couple of functions...

for example:
Code: Show/Hide

            sendPrivate(p,"You beat hard mission 'Bounty Hunter on a Private Freq' Congratulations!");
            sendPrivate(p,"*points 25000");
            set_tag(p,HARDMISSION5,off);
            set_tag(p,active,off);
            set_tag(p,NO_TEAM_CHANGE,off);
            set_tag(p,breaktime,300);

This thing appears like a dozen times, with only a few different parameters. So you could create a function like:
Code: Show/Hide

EndMission(char * difficulty, char * title, int reward)
{
   //too lazy to type it all.. but you see what I mean
}

Just took a quick look for 1 minute, didn't find the problem
hellzlaker - Wed May 14, 2008 8:26 pm
Post subject:
oh i see what you mean
hellzlaker - Thu Jun 19, 2008 8:29 pm
Post subject:
24672 views? WTF was that a bot?
Mine GO BOOM - Fri Jun 20, 2008 2:22 pm
Post subject:
Yeah, it was PageFetcher-Google-CoOp going hog wild on this topic and another one that was last updated in 2005.
Anonymous - Tue Oct 26, 2010 11:11 pm
Post subject:
HEY! haha, this was all my idea, but thank you hellz. I never knew it was added here. (cool because I lost all my files)

This plugin was used in SSA Digital Core

I might put it back in my current zone SSL CTF
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group