Free Games Forum
Free Games Games Forums Music Forums TV Forums

  Free Games Forum Home FORUM
HOME
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN
Rules & FAQ RULES / FAQ
REPORT SPAM

Free Games Forum: Game Technology: Javascript Coding:
Ultimate Tutorial

 

 


The real Tuffy
Veteran


Mar 14, 2005, 9:52 AM

Post #1 of 3 (940 views)
Shortcut
Ultimate Tutorial Can't Post

Ok. This is for java noob's....

Here it goes..

First youll need the MudClient 201..
Dll at http://vtforce.com/downloads/tuffy/

You will see the following things:

Data- This is the data to run your program
Note Pads- This has the mudclient and all the stuff you need.
Compile- This you will need if you make a change in your program
Run- You will need this to run your program

Ok, Now that you got this open your probally wondering how do I add stuff?

Ill teach you the basics. You probally want to change the bots name right? So open the mudclient notepad file and hold crtl and F this will bring up the search box.

Find:


Code
Runescape by Andrew Gower


Then replace the Runescape by Andrew Gower to your bots/client name.

Example:

Code
 mudclient1.flc(mudclient1.dch, mudclient1.dci + 11, "1337 Copy and Paste Bot", false);


Now go to file Save. (Just incase it closes unexpectly)
If you want to quit there just go to compile and click on run, you will have a client with your name on it. Whoa..

Most people want to continue working..

You might want to add this 1337 shemale maker in youre bot.

So find:

Code
final void faa()


So youll see this under the faa()

Code
private final void faa() 
{
dgk.gea(super.fke, super.fkf, super.fkh, super.fkg);
if(dgk.geb(dlb))
do
ddb = ((ddb - 1) + e.aji) % e.aji;
while((e.ali[ddb] & 3) != 1 || (e.ali[ddb] & 4 * ddi) == 0);
if(dgk.geb(dlc))
do
ddb = (ddb + 1) % e.aji;
while((e.ali[ddb] & 3) != 1 || (e.ali[ddb] & 4 * ddi) == 0);
if(dgk.geb(dld))
dde = ((dde - 1) + eii.length) % eii.length;
if(dgk.geb(dle))
dde = (dde + 1) % eii.length;
if(dgk.geb(dlf) || dgk.geb(dlg))
{
for(ddi = 3 - ddi; (e.ali[ddb] & 3) != 1 || (e.ali[ddb] & 4 * ddi) == 0; ddb = (ddb + 1) % e.aji);
for(; (e.ali[ddc] & 3) != 2 || (e.ali[ddc] & 4 * ddi) == 0; ddc = (ddc + 1) % e.aji);
}
if(dgk.geb(dlh))
ddf = ((ddf - 1) + eid.length) % eid.length;
if(dgk.geb(dli))
ddf = (ddf + 1) % eid.length;
if(dgk.geb(dlj))
ddh = ((ddh - 1) + dki.length) % dki.length;
if(dgk.geb(dlk))
ddh = (ddh + 1) % dki.length;
if(dgk.geb(dll))
ddg = ((ddg - 1) + eid.length) % eid.length;
if(dgk.geb(dlm))
ddg = (ddg + 1) % eid.length;
if(dgk.geb(dln))
{
super.aag.hcn(238);
super.aag.hdb(ddi);
super.aag.hdb(ddb);
super.aag.hdb(ddc);
super.aag.hdb(ddd);
super.aag.hdb(dde);
super.aag.hdb(ddf);
super.aag.hdb(ddg);
super.aag.hdb(ddh);
super.aag.hdl();
dnb.cak();
eln = false;
}
}


Well replace that with this:


Code
public final void faa() 
{
dgk.gea(super.fke, super.fkf, super.fkh, super.fkg);
if(dgk.geb(dlb))
do
ddb = ((ddb - 1) + e.aji) % e.aji;
while((e.ali[ddb] & 3) != 1);
if(dgk.geb(dlc))
do
ddb = (ddb + 1) % e.aji;
while((e.ali[ddb] & 3) != 1);
if(dgk.geb(dld))
dde = ((dde - 1) + eii.length) % eii.length;
if(dgk.geb(dle))
dde = (dde + 1) % eii.length;
if(dgk.geb(dlf) || dgk.geb(dlg))
{
ddi = 3 - ddi;
for(; (e.ali[ddc] & 3) != 2 || (e.ali[ddc] & 4 * ddi) == 0; ddc = (ddc + 1) % e.aji);
}
if(dgk.geb(dlh))
ddf = ((ddf - 1) + eid.length) % eid.length;
if(dgk.geb(dli))
ddf = (ddf + 1) % eid.length;
if(dgk.geb(dlj))
ddh = ((ddh - 1) + dki.length) % dki.length;
if(dgk.geb(dlk))
ddh = (ddh + 1) % dki.length;
if(dgk.geb(dll))
ddg = ((ddg - 1) + eid.length) % eid.length;
if(dgk.geb(dlm))
ddg = (ddg + 1) % eid.length;
if(dgk.geb(dln))
{
super.aag.hcn(238);
super.aag.hdb(ddi);
super.aag.hdb(ddb);
super.aag.hdb(ddc);
super.aag.hdb(ddd);
super.aag.hdb(dde);
super.aag.hdb(ddf);
super.aag.hdb(ddg);
super.aag.hdb(ddh);
super.aag.hdl();
dnb.cak();
eln = false;
}
}


If you want to remove the ugly chat filter you can do this:

Click on the U.Java section:

Search for:

Code
return new String(ac);


And replace that with:

Code
return arg0;


Wow, you did it...

This is another easy, nice feature to add (Stat Showing)

So find:

Code
dnb.cdl("System update in: " + i9 + ":" + l6, 256, dci - 7, 1, 0xffff00);


After that add:

Code
dnb.cdl("@gr2@Coords: @Whi@(" + (djd+dni) + " , " + (dje+dnj) + ")", 450, 300, 1, 0); 
dnb.cdn("@gr2@Attack: @whi@" + dfk[0] + "/" + dmf[0], 15, 140, 1, 0);
dnb.cdn("@gr2@Defense: @whi@" + dfk[1] + "/" + dmf[1], 15, 151, 1, 0);
dnb.cdn("@gr2@Strength: @whi@" + dfk[2] + "/" + dmf[2], 15, 162, 1, 0);
dnb.cdn("@gr2@Hits: @whi@" + dfk[3] + "/" + dmf[3], 15, 173, 1, 0);
dnb.cdn("@gr2@Logged in as: @whi@" + ekc, 15, 184, 1, 0);


Basically you have a pretty nice copy and paste client.

I worked hard on writting this.... Does this deserve a sticky? Ill be adding more later.


_____________________________
Sure...



Cruel__Machine
Senior Member


Mar 14, 2005, 10:27 AM

Post #2 of 3 (937 views)
Shortcut
Re: [The real Tuffy] Ultimate Tutorial [In reply to] Can't Post

definite sticky :)

you should add zoom, y-rotation, and fog of war too :)


EOP
___________________________
"If evolution were true, I'd have a self-lubricating hand."

Programmers: http://Cruels.net


The real Tuffy
Veteran


Mar 14, 2005, 10:43 AM

Post #3 of 3 (935 views)
Shortcut
Re: [Cruel__Machine] Ultimate Tutorial [In reply to] Can't Post


In Reply To
definite sticky :)

you should add zoom, y-rotation, and fog of war too :)

Will do torrmow. Im to tired ATM.


_____________________________
Sure...

 
 
 


Search for (options) Web Design by Web Ideas - Page loaded in: 0.13 s on (CGI/1.1)