SRL Archive - First Scripts

Clippis Dummy curser


Clippi

2008-10-23 04:20:36

This is my first script. It does curse / weaken / confuse on dummys at lumbridge. You need to have runes and character at dummys.
Known bugs: Script doesnt cast spell as many times as specified.
For example if I order to Cast 15 spells it casts mby only 12 and so on…
I think it calculates antirandoms as casts too cant find a fix tho
New script follow standards better and is better in some other ways too. I think ^^

[ATTACH]14879[/ATTACH]

BlackThursday

2008-10-23 06:32:07

Not a bad start at all. The one thing I would tell you to do is work on your standards.

A great tut for that is right here:
http://www.villavu.com/forum/showthread.php?t=4676

Enjoy! Keep up the good work.

joelster134

2008-10-23 06:45:33

Great job on first script i still need to fix standards so were on a job together there :p looks great!

Clippi

2008-10-23 07:52:38

From: BlackThursday
Not a bad start at all. The one thing I would tell you to do is work on your standards.

A great tut for that is right here:
http://www.villavu.com/forum/showthread.php?t=4676

Enjoy! Keep up the good work.


From: joelster134
Great job on first script i still need to fix standards so were on a job together there :p looks great!


Thanks for comments read trought that guide script will look better now (h)

joelster134

2008-10-23 08:39:36

Also for your antiban you might want to make it a bit shorter if its using a curse etc caster…otherwise it will take up time…still include it just shorten it

Blumblebee

2008-10-23 10:24:30

very impressive for a first script, I just have a couple things.

First of all FindInventoryrandom/findnoninventoryrandom, can just become

findnormalrandoms;

FindNormalRandoms pretty much gets all randoms for ya.

Secondly, your standards are a bit sketchy in some places, but pretty decent for the most part.

also, things like

i := i + 1;

can become

Inc(i)

does the same thing, just faster ;)

a really good script considering the amount of time you've been a part of srl.
Hope i was of some help to ya, i had 5 minutes before school started so this is a bit rushed.

-Blumblebee

Clippi

2008-10-23 10:37:40

From: joelster134
Also for your antiban you might want to make it a bit shorter if its using a curse etc caster…otherwise it will take up time…still include it just shorten it

Thx for tip mby i should rly make it bit shorter still dunno ;_;

From: blumblebee
very impressive for a first script, I just have a couple things.

First of all FindInventoryrandom/findnoninventoryrandom, can just become

findnormalrandoms;

FindNormalRandoms pretty much gets all randoms for ya.

Secondly, your standards are a bit sketchy in some places, but pretty decent for the most part.

also, things like

i := i + 1;

can become

Inc(i)

does the same thing, just faster ;)

a really good script considering the amount of time you've been a part of srl.
Hope i was of some help to ya, i had 5 minutes before school started so this is a bit rushed.

-Blumblebee


Thx for tips for you too thought I wouldnt use FindNormalRandoms; here becouse it opens inventory after every curse ;) so I changed it.
FindInventoryRandoms; is in Antiban (Idea of my friend) so it checks inventory randoms about 1/10 curses ^^.
Imo opening inv after each sec would be too.. botlike or smth.
Edit: NEED IDEAS TO IMPROVE THIS SCRIPT.

Scorpioni

2008-10-23 16:00:48

Tested it , heres da proggy.
Gr8 work m8.
~~~~~~~~~~~~~~~~~~~~~~~~~~
|Clippis Dummy curser 1.1|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|Time running : 26 Minutes and 6 Seconds|
|Curses cast : 395 |
|Experience got : 11455 |
|Please post Proggy |
~~~~~~~~~~~~~~~~~~~~~~~~~~
Successfully executed

Blumblebee

2008-10-23 21:40:01

ideas to improve script would be that you could make it autocolor, instead of players selecting the colors of the dummy. Making a TPA is simple, or just use an srl function (FindObjTPA works i think, look in object.scar, i think :p)

-Blumblebee