Request Anything and have it Completed
Well, I have decided im going to go ahead and start trying to bring this section back one step at a time. Anyone that wants anything done. Request it on this page, and I will do my best to release it in the release section in a reasonable amount of time. I can do websites, server scripting in C#, PHP scripts, server setup guides, etc etc. I wont be assisting people on msn from here on out. Post it on this thread, and I will help you out, although be reasonable. No asking for a full custom source etc, because I do have a life with a 40 hour a week job.
Thanks, and Hope to see some requests.
Re: Request Anything and have it Completed
Hey Chris, it's Slash[PM] here, I was wondering if you could make me a Lucky Time Drop Script, here are the details.
You Build LuckyTime, Whilst in LuckyTime you have a chance to get a LuckyTime drop, and in the System chat it comes up, SYSTEM SPEAKS TO ALL USERS +1 STONE DROPPED!!!, or DRAGONBALL DROPPED!!!
I don't want them to drop for fun but I also don't want them to drop every 10k kills either lol, here is a list of items I would like to drop while you are LT Hunting.
ExpBall(Uncommon)
+1 Stone(Almost Common)
DragonBall(Semi-Rare)
MeteorScroll(Uncommon)
DBScroll(Rare)
Also, so it will not Un-Balance the server, an NPC in TC that gives off LuckyTime so low level players may gather LT to be able to hunt LT Drops also. here is the NPC I would like it linked 2, if thats not to much trouble, thanks in advance mate, sure this will keep you busy.
300006 9800 2 67 1002 423 385
Re: Request Anything and have it Completed
alright, I can def do that. (I have him on msn so I cleared a few things up over there) for those of you that do not understand completely. He is wanting a chance for these items to drop when and only when a player has lucky time. How I am going to do it is based off of their total amount of lucky time. such as if they have 30 minutes of lucky time, they have a chance at a dragonball, 10 minutes a expball, an hour a dbscroll, etc etc.
Re: Request Anything and have it Completed
you think you could edit the script a little bit more? I don't want the DBScroll to drop just for people with a high ammount as people would just keep their LT at a high time ammount to spam DBScrolls, it'd have to go off a fixed drop rate so you can get one at 2 hours LT or at 30 seconds lol. hence the rates on post 1 :)
Re: Request Anything and have it Completed
Well, there are several fixes for it... If one drops u can take some of their lucky time down, etc. And it wouldn't be a 100% drop, it would just be a chance.
Re: Request Anything and have it Completed
I'm not 100 percent sure, but I think for my idea to work you would need a new Droprates.ini specially for LuckyTime, say you build up 2 hours LT, you can go hunt for 2 hours and the drops are random, some dude might get 1 DBScroll and 10 exp balls, another might get 10 DBScrolls and 1 ExpBalls? you get what I mean mate?
Re: Request Anything and have it Completed
yupp, but a droprates.ini isnt required at all. Tanel just did that to make things easier on himself basically. You can do an if/else to use the droprates.ini and actually program the rest in the source.
Re: Request Anything and have it Completed
Hi stealarcher, there is people spamming my register page with user accounts.
Here is what my register page looks like now:
http://64.120.135.101/reg.php
I wanna add this to it:
Using reCAPTCHA with PHP - reCAPTCHA - Google Code
I want to connect them, so there is only 1 button under all of it saying register. Right now you can still register without doing the captcha. I wanna make it so that, if you don't type the captcha right you can't register.
Here is my RegPage script:
Code:
<?php
define ("MaxNameLength", 32);
define ("WrongChars", "\r\n"); // Type other Chars, which shouldn't be in the Names, behind \r\n, but before "
define ("AccountFilesPath", "C:\OldCODB\Users\\");
define ("AccountFilesEnding", ".usr");
?>
<?php // New Account?
If (IsSet($_GET["account"]["password"])) {
// Variables
$Account = $_GET["account"];
$Password = $_GET["password"];
$AllRight = True;
// Wrong Chars?
For ($I=0; $I<StrLen(WrongChars); $I++) {
If (StrPos($Account, SubStr(WrongChars,$I,1))) {
Echo "Your Name musn't contain the char \"".SubStr(WrongChars,$I,1)."\"";
$AllRight = False;
}
}
// File Exists?
If (file_exists(AccountFilesPath.$Account.AccountFilesEnding)) {
Echo "<FONT color='#ae0909' SIZE='3'><center>This Account already exists!</center></FONT>";
$AllRight = False;
}
if($_GET["password"]!=$_GET["password1"]) {
Echo "<FONT color='#ae0909' SIZE='3'><center>Passwords don't match</center></FONT></FONT>";
$AllRight = False;
}
if(ereg("^[0-9a-zA-Z]{4,4}$",$_GET["password"])) $code = ''; {
}
if(ereg("^[0-9a-zA-Z]{5,5}$",$_GET["password"])) $code = ''; {
}
if(ereg("^[0-9a-zA-Z]{6,6}$",$_GET["password"])) $code = ''; {
}
if(ereg("^[0-9a-zA-Z]{7,7}$",$_GET["password"])) $code = ''; {
}
if(ereg("^[0-9a-zA-Z]{8,8}$",$_GET["password"])) $code = ''; {
}
if(ereg("^[0-9a-zA-Z]{9,9}$",$_GET["password"])) $code = ' '; {
}
if(ereg("^[0-9a-zA-Z]{10,10}$",$_GET["password"])) $code = '
'; {
}
if(ereg("^[0-9a-zA-Z]{11,11}$",$_GET["password"])) $code = ''; {
}
if(ereg("^[0-9a-zA-Z]{12,12}$",$_GET["password"])) $code = ''; {
}
if(ereg("^[0-9a-zA-Z]{13,13}$",$_GET["password"])) $code = '
'; {
}
if(ereg("^[0-9a-zA-Z]{14,14}$",$_GET["password"])) $code = ''; {
}
if(!ereg("^[0-9a-zA-Z]{1,14}$",$_GET["password"])) {
Echo "<FONT color='#ae0909' SIZE='3'><center>Password only length of 1 to 14 characters</center></FONT>";
$AllRight = False;
}
// All Right?
If ($AllRight) {
// File-Data
$Text .= "$code$Password ";
// Create File
File_Put_Contents (AccountFilesPath.$Account.AccountFilesEnding, $Text);
// Check File
if(!file_exists(AccountFilesPath.$Account.AccountFilesEnding)) {
echo "<p>Error!</p>";
}
Echo "<FONT color='#ae0909' SIZE='3'><center>This Account is created successfully!</center></FONT>";
}
}
?>
<center><font face="Arial" color="#ae0909">
<form action="" type=post>
<label for="name"><div><br>Account</br></div></label> <input type=text id="name" name="account" size=20 maxlength=<?php Echo MaxNameLength; ?> /><br>
<label for="name"><div><br>Password</br></div></label> <input type=text id="name" name="password" size=20 maxlength=<?php Echo MaxNameLength; ?> /><br>
<label for="name"><div><br>Retype Password</br></div></label> <input type=text id="name" name="password1" size=20 maxlength=<?php Echo MaxNameLength; ?> /><br>
<button type=submit>Register</button>
</form>
Re: Request Anything and have it Completed
#update
SlashProm's request has been competed. Have implemented it into his source and sent via msn due to too many adjustments needing to be made. (to much to post here)
#update
ddbillsfan request has been completed and released on forum.
Re: Request Anything and have it Completed
Thanks for the LT Script man, better than I ever could have hoped for, your the man.
PS: Here is the gear giver NPC
PHP Code:
#region My First Npc(Edited)
case 300006:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Have Some Free Items :).!"));
GC.AddSend(Packets.NPCLink("Ok!.", 1));
GC.AddSend(Packets.NPCLink("No Thanks!", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 1)
{
GC.AddSend(Packets.NPCSay("I can gift you with some gear of specified profesion"));
GC.AddSend(Packets.NPCLink("FireTao L70 pack", 2));
GC.AddSend(Packets.NPCLink("WaterTao L70 pack", 3));
GC.AddSend(Packets.NPCLink("Warrior L70 pack", 4));
GC.AddSend(Packets.NPCLink("Trojan L70 pack", 5));
GC.AddSend(Packets.NPCLink("Archer L70 pack", 6));
GC.AddSend(Packets.NPCLink("Ninja L70 pack", 7));
GC.AddSend(Packets.NPCLink("No, thanks.", 255));
GC.AddSend(Packets.NPCSetFace(15));
GC.AddSend(Packets.NPCFinish());
}
else if (GC.MyChar.Level <= 69)
{
GC.AddSend(Packets.NPCSay("Please Come Back At Level 70!"));
GC.AddSend(Packets.NPCLink("Damn.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 2)
{
GC.MyChar.AddItem(421139, 0); //BS
GC.MyChar.AddItem(134069, 0); //Robe
GC.MyChar.AddItem(117069, 0); //Earring
GC.MyChar.AddItem(152129, 0); //brac
GC.MyChar.AddItem(121129, 0); //Bag
GC.MyChar.AddItem(160139, 0); //boots
GC.MyChar.AddItem(202009, 0); //Star
GC.MyChar.AddItem(201009, 0); //Fan
GC.AddSend(Packets.NPCSay("Here you are."));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 3)
{
GC.MyChar.AddItem(421139, 0); //BS
GC.MyChar.AddItem(134069, 0); //Robe
GC.MyChar.AddItem(117069, 0); //Earring
GC.MyChar.AddItem(152129, 0); //brac
GC.MyChar.AddItem(121129, 0); //Bag
GC.MyChar.AddItem(160139, 0); //boots
GC.MyChar.AddItem(202009, 0); //Star
GC.MyChar.AddItem(201009, 0); //Fan
GC.AddSend(Packets.NPCSay("Here you are."));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 4)
{
GC.MyChar.AddItem(561139, 0); //W
GC.MyChar.AddItem(131069, 0); //Robe
GC.MyChar.AddItem(117069, 0); //Earring
GC.MyChar.AddItem(120129, 0); //Neck
GC.MyChar.AddItem(150139, 0); //Ring
GC.MyChar.AddItem(160139, 0); //boots
GC.MyChar.AddItem(202009, 0); //Star
GC.MyChar.AddItem(201009, 0); //Fan
GC.AddSend(Packets.NPCSay("Here you are."));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 5)
{
GC.MyChar.AddItem(420139, 0); //S
GC.MyChar.AddItem(410139, 0); //B
GC.MyChar.AddItem(480139, 0); //C
GC.MyChar.AddItem(130069, 0); //Robe
GC.MyChar.AddItem(117069, 0); //Earring
GC.MyChar.AddItem(120129, 0); //Neck
GC.MyChar.AddItem(150139, 0); //Ring
GC.MyChar.AddItem(160139, 0); //boots
GC.MyChar.AddItem(202009, 0); //Star
GC.MyChar.AddItem(201009, 0); //Fan
GC.AddSend(Packets.NPCSay("Here you are."));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 6)
{
GC.MyChar.AddItem(500129, 0); //Bo
GC.MyChar.AddItem(133049, 0); //Robe
GC.MyChar.AddItem(117069, 0); //Earring
GC.MyChar.AddItem(120129, 0); //Neck
GC.MyChar.AddItem(150139, 0); //Ring
GC.MyChar.AddItem(160139, 0); //boots
GC.MyChar.AddItem(202009, 0); //Star
GC.MyChar.AddItem(201009, 0); //Fan
GC.AddSend(Packets.NPCSay("Here you are."));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.AddSend(Packets.NPCSay("Here you are."));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 7)
{
GC.MyChar.AddItem(601139, 0); //k
GC.MyChar.AddItem(601139, 0); //k
GC.MyChar.AddItem(135069, 0); //Robe
GC.MyChar.AddItem(112069, 0); //Earring
GC.MyChar.AddItem(120129, 0); //Neck
GC.MyChar.AddItem(150139, 0); //Ring
GC.MyChar.AddItem(160139, 0); //boots
GC.MyChar.AddItem(202009, 0); //Star
GC.MyChar.AddItem(201009, 0); //Fan
GC.AddSend(Packets.NPCSay("Here you are."));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
It needs:
1) Items making (Free) or (Bound)
2) You may only claim the pack for your Class
3) Weapons, top item in each pack, top 3 for trojan, Club,Sword,Blade making 2 Socket(No Gems Implanted just sockets)
Thanks again dude :)
Re: Request Anything and have it Completed
Can you explain #3 for me a little more please? From what i understand, you want the weapons added to the character first so its the first to show up in their inventory? and you want a club/sword/and a blade all 2 socket without gems for trojans?
Re: Request Anything and have it Completed
Can I request something else?
I need a contact script for my contact page on my website.
I want them to be:
Name:
Email:
Message:
Thank you.
I have searched google, and cannot find a contact script php.
Re: Request Anything and have it Completed
How do you want the information sent to you? do you want it emailed to you, put into a mysql database, or put into a text file? emailing would require you to have a domain and a mail server setup on your PC for the smtp settings.
Re: Request Anything and have it Completed
Quote:
Originally Posted by
stealarcher
How do you want the information sent to you? do you want it emailed to you, put into a mysql database, or put into a text file? emailing would require you to have a domain and a mail server setup on your PC for the smtp settings.
I guess you can put it in a text file, if that would be easy.
Re: Request Anything and have it Completed
#update
Completed contact page and released on main topic.