SRL Archive - MSI Archives

In Progress


Special Ed

2007-08-06 16:37:34

Well I thought seeing as how MSI isn't going to go down, I might as well give something for everyone to work on, right?

Well after what Fakawi and some other said I think we might as well just still to making some functions that range from the small and intricate to the large and complex. I still do want to work on making some multi - scripts, and seeing as FCMB still needs some work I guess we could work on making it better am I right? *Pshh… of course I am… I'm me :p *

But anyways, I'm going to break it down into what needs to be done, we're doing groups again, but its not for what people are working on its for what needs to be worked on. So what I'm going to do is I'm going to make a list of everything than needs to be done for FCMB and people can work on whatever they want. You can discuss with each other or ask me about certain things. You can contribute even by giving suggestions of things that FCMB needs or other things that you think that MSI should work on. So they're going to be two sections for this. One sections is going to be dedicated to FCMB and all of the stuff that its needs done. In the other section I'm going to post some ideas for other functions that MSI could make, preferably in a group because most of these functions and procedures are going to either (a) require a lot of testing or (b) be difficult to make, or © all of the above :D. These are not listed by priority but as I come across them.

FCMB

1. [Function Cooking] Needs a better procedure to wait while the food is cooking.
You can find this under [Skills -> Cooking].

2. [Function FindFire] Me and Bullzeye95 have been trying to make a perfect one and we keep getting close but its still screws up sometimes, and ideas or testers would be appreciated or if someone wants to develop their own,you can always talk to me for ideas on it.
You can find this find under [Skills -> Firemaking].

3. [Function LightFire] Needs a failsafe where if it can't light a fire on the square it will move to a new one and try again.
You can find this under [Skills -> Firemaking].

4. Anyone willing to try and make the fishing procedures less laggy, I think I have some ideas for it but anyone else can contribute to try to make it more efficient.
You can find these under [Skills -> Fishing].

5. Ability to distinguish between net fishing and bait fishing, and adjust how it fishes accordingly.
You can find this under [Skills -> Fishing].

6. Any updating to the procedures and functions related to Woodcutting is appreciated although its pretty good as is.
You can find this under [Skills -> Woodcutting].

7. [Function Checkaxe] This function is supposed to check if you have an unbroken axe in your inventory and if you don't its supposed to go to the bank withdrawn and axe, deposit the broken and return to where you are. I think I'm just going to ditch this function and use FindDTM(Axe) in the scripts and if it doesn't find it their will be a walk to bank procedure followed by withdrawDTM(Axe). Any ideas are welcome on this topic.
You can find this under [Skills -> Woodcutting].

8. Any anti - ban functions you can think of, we have some good ones and so does SRL but remember the main point of this Anti - ban is to make you look human like. If you need some help figuring out how to do that just play RS legit for 10, 15 minutes and record it, then watch it and see what you do. For example I noticed that sometimes when I go to click on something I go past it and go back in a little are.
You can find this under [Extended -> Antiban].

9. [Function DepostiDTM] Having some troubles with it, if anyone want to make it work smoothly be my guest or I can do it, shouldn't be to hard.
You can find this under [Extended -> Banking].

10. [Function OpenDraynorBank] I've been having some troubles with it, it works 70% of the time maybe a little less more me and I don't know why it screws up. So anyone can remake or edit this function to make it work 100% of the time.
You can find this under [Extended -> Banking].

11. [Function InBank] Needs to be a little more elaborate, maybe some checks for banker dots, and bank booths on the minimap?
You can find this under [Extended -> Banking].

12. Responding, I still don't know who made the smart responder but I don't know how it works, and I haven't given much time to study it yet so any help on that would be much appreciated.
You can find this under [Extended -> SmartRespond].

13. The auto - responder could always use some phrases and randomization, as well as conversational quirks. Just to make people think they're talking to a person.
You can find this under [Extended -> Responder].

14. Walking can always use help, I've decided rather than to have a bunch of separate walking functions with different names why not making it into one function "Walk" Just uses a start location and an end location. Make sure start and end locations are static, so you can you Players[CurrentPlayer].Loc as the start location because that is very helpful. Also walk to Oaks, and the walk back isn't very good. Remember when walking fail safes are a must. Also we do not use KYAB in MSI *at least not yet*.
You can find this under [Extended -> Walking].

Others

1. [Function HighAlchemy] Make a function that can HighAlchemy anything maybe make it use DTM or something "I'm not quite sure what Fakawi meant by "notes" but maybe he meant to have it alch 1000 notes of something? I don't alch things often so I don't know how it works.

2. [Function BuryBones] Although this would take a bit, make a function that has all of the DTM's / Bitmaps stored for all of the bones and you just type in the number of bones and the type and it will bury all of them for you. Shouldn't be too hard right?

3. [Function CutGems] Should be quite easy I have some Gems that people can use if they want *no diamonds though* but all this function needs to do is have all the types of gems stored "at least the main ones" in DTM's / Bitmaps and then be able to cut them repeatedly until "x". Although I think this would require something special for numbers over 27, I don't know how we'd implement bank withdrawing unless you declared that you where in a bank.

4. [Function MakePotion] Although Fakawi typed Poison I think he meant potion because SuperEnergy is a potion. Basically all of the really high leveled potions that no one makes we need to make a script to make them, It shouldn't be hard just make a script that you tell it what Potion you'd like to make and it will search you inventory for the ingredients and if you have them it will make it, if you don't it will return false. Also would require some work with finding fountains if you only have empty bottles. I think this would be somewhat of a challenge due to the fact that you'd have to get DTM's for all of the ingredients and then get the "recipes" for all of the potions.

Harry

2007-08-06 16:42:37

Sweet :D Can't wait!

Hugolord

2007-08-06 16:45:47

thanks for this!

~alex~

2007-08-06 18:48:07

I'll make that failsafe for my firemaker.. d'oh why didnt i think of it in the first place.

Special Ed

2007-08-06 19:42:41

Alright, see now we got some people working on this! If anyone has any Ideas on things to make POST EM! I know we got a few but we can always use more.

Dan Cardin

2007-08-06 20:50:12

i want to do the wait while food is cooking, and how do i talk to people on ventrillo…i can see special ed…but i cant talk to him

Dark_Sniper

2007-08-06 21:03:13

special are you not using my vent?

cause i do not see your name in logs… lemme check… ya just one time…

which vent server r we using?



11. [Function InBank] Needs to be a little more elaborate, maybe some checks for banker dots, and bank booths on the minimap?
You can find this under [Extended -> Banking].

didnt i make something that finds if user is in bank using the banker yeller dots on mm?

it does work.

Dan Cardin

2007-08-06 21:57:21

would something like this work for the waiting cooking thing

procedure ChefWait;
begin
keydown(113);
wait(100);
Keyup(113);
FindColortolerance(x,y,53,678, 304,731, 358,300);
MMouse(x,y,0,0);
wait(1000);
repeat
xp:=GetTextAtEx(807, 487, 0, NPCChars, false, False, 0, 0, 0, 15,false, tr_Digits);
wait(2000);
xp1:=GetTextAtEx(807, 487, 0, NPCChars, false, False, 0, 0, 0, 15,false, tr_Digits);

if xp1=xp then
notdone:=notdone+1
until not done = 8
end;
its supposed to go to the stats tab then go to cooking exp then waits until the cooking xp has been the same for 16 seconds, and i guess you could put something in for antirandoms and lvling up

Ejjman

2007-08-07 00:35:24

function HighAlchemy(HowMany, TheDTM : integer) : boolean;
var
B, C, Alched : integer;
begin
if(not(LoggedIn))then Exit;
if(not(GameTab(7)))then GameTab(7);
repeat
MMouse(718, 337, 5, 5);
GetMousePos(B, C);
Mouse(B, C, 0, 0, True);
wait(300+random(100)+random(50));
if(FindDTM(TheDTM, D, E, 546, 203, 738, 466))then
begin
D := M;
E := N;
Mouse(M, N, 4, 4, True);
repeat
wait(100);
until(GameTab(7));
Alched := Alched + 1;
wait(random(2000+random(1000));
if(Alched = HowMany)then
begin
Result := True;
Exit;
end;
end;
until(False);
end;

I couldn't test. Someone do it? I will use the sparkle gold color when I get a character to test on…Anyone help me? PM.

Bobarkinator

2007-08-07 00:51:19

When Boreas was saying high level I think he meant check for everything. So check your mage level to make sure you can high alch
Then check if you have the number of runes and check how many items of the dtm you have so you can compare it to the number of runes.

Ejjman

2007-08-07 00:53:25

K……I will do when I get an alch account.

bullzeye95

2007-08-07 02:13:52

From: Dark_Sniper
special are you not using my vent?

cause i do not see your name in logs… lemme check… ya just one time…

which vent server r we using?



11. [Function InBank] Needs to be a little more elaborate, maybe some checks for banker dots, and bank booths on the minimap?
You can find this under [Extended -> Banking].

didnt i make something that finds if user is in bank using the banker yeller dots on mm?

it does work.


He said it was hard to hear, and that he didn't think you had any voice buffering stuff installed. (something like that at least :p)

Dark_Sniper

2007-08-07 14:25:40

bologna!


clean your ears out… fine my vent is down.. screw u to :p

WT-Fakawi

2007-08-07 14:45:52

Good work, Special!

Remember all, when properly implemented this is SRL-Meat. If needed I will give it more input, though I hardly believe I can outdo the illustreous MSI group.


I retagged you, Special Ed as MSI Leader. (No obligations…)

bullzeye95

2007-08-07 14:49:14

Ohh can I be "MSI Slave"?

:p

Special Ed

2007-08-08 14:27:21

Lol Bullzeye…. But thanks Fakawi maybe now that I'm the "MSI Leader" people will see that and want to help work on MSI, who knows? Although I've been gone I'm hoping to get this all going again, and hopefully be a good leader. School starts for me Sept 6th, so I'll be a little less active *maybe* but I'll try and get things going. Who knows maybe I'll be more active?

Illustrious? Hmm… well we're trying :D but I don't know if I'd go that far.

Dark, it didn't sound good to me, maybe bullzeye's mic was just screwed up when I went in cause when I was talking to him it really sounded muffled. If you want to put it back up I'll go back in.

/Side note/
Hey Fakawi did you ever or do you play a game called Ultima Online? The way you talk kind of reminds me of people on UO…

*The Glorious Lord Tobius, Legendary Stoic* <- My UO name.

bullzeye95

2007-08-11 21:55:42

Can somebody tell me why these won't work?
function AreItemsChanging(WaitTime: Integer): Boolean;
var
bmpBefore, bmpAfter: Integer;
begin
bmpBefore:= BitmapFromString(MIX2 - MIX1, MIY2 - MIY2, '');
bmpAfter:= BitmapFromString(MIX2 - MIX1, MIY2 - MIY2, '');
if(WaitTime < 250)then
WaitTime:= 250;
CopyClientToBitmap(bmpBefore, MIX1, MIY1, MIX2, MIY2);
case Random(10) of
0: SleepAndMoveMouse(WaitTime + Random(WaitTime div 10) - Random(WaitTime div 10));
else begin
FTWait(WaitTime div 250);
FindNormalRandoms;
// FindFastRandoms;
end;
end;
CopyClientToBitmap(bmpAfter, MIX1, MIY1, MIX2, MIY2);
if(bmpBefore <> bmpAfter)then
Result:= True;
FreeBitmap(bmpBefore);
FreeBitmap(bmpAfter);
end;

procedure WaitWhileCooking;
begin
repeat
SleepAndMoveMouse(500 + Random(1000));
until(not(AreItemsChanging(3000)))
end;

And as for the OpenDraynorBank, I made it to look for the "glare" or whatever was on the bank glass. Jagsex took that out… I'll work on another one when I'm bored I guess.

~MSI Slave

Special Ed

2007-08-12 01:37:45

Alright I'm working on the Fishing thing right now, I think I might just use the one I'm using in my competition script if I can't make this one work any better… hmm they're kind of a like its just mine doesn't have any Anti - Randoms in it yet, well when the competition is over we'll see.

Anyone else have anything to post? Anyone been working on anything? (other than bullzeye95).

I think we should talk with n3ss3s about some stuff for FCMB because he did make one, I haven't tested it but maybe he'd like to contribute some of it to MSI, I mean we're always looking to make Multi - Scripts and thats what we had already done so why not?

Dan Cardin

2007-08-12 08:37:51

is it justme? or is no 1 ever opn ventrillo, and idk which function to try:(

the scar noob

2007-08-12 09:38:20

i think i have found a bug with the alching procedure in magic.scar (MSI):
[PHP]begin
GameTab(7);
iPoint := ItemCoords(InvSlot);[/PHP]

first you open magic tab and than you take the coords of the inv spot :p
first open 4th gametab, take coords and than after that you can open spell book tab and go further.

Looking through the codes right now,
scar noob.

Special Ed

2007-08-12 11:44:52

Alright cool if you want to post a fix for it be my guest, I'm glad you caught that and as for ventrilo I'm normally on but Dark_Sniper doesn't want to host it anymore so we're moving to a new one, I'm going to start a separate thread about ventrilo so everyone knows which one to use ok?

the scar noob

2007-08-14 06:23:28

From: Special Ed
Alright cool if you want to post a fix for it be my guest, I'm glad you caught that and as for ventrilo I'm normally on but Dark_Sniper doesn't want to host it anymore so we're moving to a new one, I'm going to start a separate thread about ventrilo so everyone knows which one to use ok?


what's ventrillo and what about this whole MSI? i just don't know a lot about this, someone help?

Special Ed

2007-08-14 14:08:45

Well MSI is basically a group project, originally we started this to get people together to work on very difficult scripts, namely multi-scripts, *Like Ratz* or "FCMB" which stands for the name of our first project "Fish, Chop, Make & Bake" which is like n3ss3s *I think* millennium script, except ours is only half complete, what it does is fishes at Draynor, then chops down a tree and makes a fire, then cooks the fish and banks them. Although people started to work on it little by little it eventually turned into an include, like SRL. But now not a lot of people are working on it, mainly because I've been gone for a month and people have just lost interest in it. So I'm back now and hoping to rekindle MSI and get everyone back in action.

Right now though I made a poll to see what people want MSI to become, either (a) Stay an Include or (b) Do group Projects. I'm just trying to get everyone happy so you are welcome to join / vote or not its up to you.

And for Ventrilo, that is just a voice chat program for your computer so we can talk to each other rather than type. Not many people go on it though, just me, bullzeye95, The_RS_Monkey, Dan Cardin, and sometimes Dark_Sniper. I think more people should get on more often but that doesn't ever seem to work. Your more than welcome to come and chat with us if you'd like. Just read my post [Official] Ventrilo Sever, and that should explain it more.

I hope this answered your question,

- Special Ed

the scar noob

2007-08-15 10:25:05

From: Special Ed
Well MSI is basically a group project, originally we started this to get people together to work on very difficult scripts, namely multi-scripts, *Like Ratz* or "FCMB" which stands for the name of our first project "Fish, Chop, Make & Bake" which is like n3ss3s *I think* millennium script, except ours is only half complete, what it does is fishes at Draynor, then chops down a tree and makes a fire, then cooks the fish and banks them. Although people started to work on it little by little it eventually turned into an include, like SRL. But now not a lot of people are working on it, mainly because I've been gone for a month and people have just lost interest in it. So I'm back now and hoping to rekindle MSI and get everyone back in action.

Right now though I made a poll to see what people want MSI to become, either (a) Stay an Include or (b) Do group Projects. I'm just trying to get everyone happy so you are welcome to join / vote or not its up to you.

And for Ventrilo, that is just a voice chat program for your computer so we can talk to each other rather than type. Not many people go on it though, just me, bullzeye95, The_RS_Monkey, Dan Cardin, and sometimes Dark_Sniper. I think more people should get on more often but that doesn't ever seem to work. Your more than welcome to come and chat with us if you'd like. Just read my post [Official] Ventrilo Sever, and that should explain it more.

I hope this answered your question,

- Special Ed


thanks for the information, and a bout ventrillo, i'm not that good in english, people will laugh if they hear my english, so i wont do that i think, sorry.

-Stijn.

Special Ed

2007-08-15 16:37:02

Ehh… its ok If your English isn't that good you can still come on an type in a chat room. Ventrilo has that built in as well, but if you ever feel up to it don't feel shy about talking just because you think people will make fun of you, most people won't *I won't* but if you can't speak English that well I can understand.

So do you think you'd like to contribute to MSI or do you have any ideas or projects you think would be fun / interesting to make?

3Garrett3

2007-08-15 16:55:24

What does someone want me to do? I will help if you just point me in the right direction.

Special Ed

2007-08-15 17:26:52

Well first of all, if you haven't already would you want to post on the Multi Script ?Include? thread and give me an idea of what you think? It just I don't know what people want to work on, if they want to work on a script or if they want to work on developing functions for MSI its strictly up to you. If you just want to work on MSI you are more than welcome to work on anything that I have posted on the first post of this thread, there are a lot of good ideas, and If you'd like some help or some input on one of those idea's just let me know I'd be more than happy to lend you a hand on this, its just I'm trying to re-organize MSI again so I haven't really been working "on" MSI, since I"m so busy.

-Special Ed

bullzeye95

2007-08-16 22:08:29

Ok I'm ready to work on this again. I've been installing ubuntu the last two days (yes, literally, two days -.-).
1. [Function Cooking] Needs a better procedure to wait while the food is cooking.
You can find this under [Skills -> Cooking].

I'll post it again: Why the heck won't this work? It should, but I can't figure out what's wrong with it.
program New;
{.include srl/srl.scar}

function AreItemsChanging(WaitTime: Integer): Boolean;
var
bmpBefore, bmpAfter: Integer;
begin
bmpBefore:= BitmapFromString(MIX2 - MIX1, MIY2 - MIY2, '');
bmpAfter:= BitmapFromString(MIX2 - MIX1, MIY2 - MIY2, '');
if(WaitTime < 250)then
WaitTime:= 250;
CopyClientToBitmap(bmpBefore, MIX1, MIY1, MIX2, MIY2);
case Random(10) of
0: SleepAndMoveMouse(WaitTime + Random(WaitTime div 10) - Random(WaitTime div 10));
else begin
FTWait(WaitTime div 250);
FindNormalRandoms;
// FindFastRandoms;
end;
end;
CopyClientToBitmap(bmpAfter, MIX1, MIY1, MIX2, MIY2);
if(bmpBefore <> bmpAfter)then
Result:= True;
FreeBitmap(bmpBefore);
FreeBitmap(bmpAfter);
end;

procedure WaitWhileCooking;
begin
repeat
SleepAndMoveMouse(500 + Random(1000));
until(not(AreItemsChanging(3000)))
end;

begin
WaitWhileCooking;
end.

2. [Function FindFire] Me and Bullzeye95 have been trying to make a perfect one and we keep getting close but its still screws up sometimes, and ideas or testers would be appreciated or if someone wants to develop their own,you can always talk to me for ideas on it.
You can find this find under [Skills -> Firemaking].

I don't think this needs to be any better. People don't ALWAYS look for a fire before they cook something. I think it would actually be better left as is.

3. [Function LightFire] Needs a failsafe where if it can't light a fire on the square it will move to a new one and try again.
You can find this under [Skills -> Firemaking].

I'll work on that when I get bored.

4. Anyone willing to try and make the fishing procedures less laggy, I think I have some ideas for it but anyone else can contribute to try to make it more efficient.
You can find these under [Skills -> Fishing].

Yep, when I get bored.

9. [Function DepostiDTM] Having some troubles with it, if anyone want to make it work smoothly be my guest or I can do it, shouldn't be to hard.
You can find this under [Extended -> Banking].

I'll do it. I'm bored quite often.

10. [Function OpenDraynorBank] I've been having some troubles with it, it works 70% of the time maybe a little less more me and I don't know why it screws up. So anyone can remake or edit this function to make it work 100% of the time.
You can find this under [Extended -> Banking].

The one I PM'd you works perfectly doesn't it?

11. [Function InBank] Needs to be a little more elaborate, maybe some checks for banker dots, and bank booths on the minimap?
You can find this under [Extended -> Banking].

When I'm bored…

13. The auto - responder could always use some phrases and randomization, as well as conversational quirks. Just to make people think they're talking to a person.
You can find this under [Extended -> Responder].

I'll do the random phrases. I'm good at that.


And somebody else can do the stuff I didn't commit to :)

Special Ed

2007-08-16 23:56:58

Yea the one you PM'ed me works, awesome but I think I deleted it lol… if you want to add it to the SvN be my guest. Also good work on everything else, I'll re-update the first post when I get a sec… Good work!

bullzeye95

2007-08-17 00:13:46

Alright. I'm gonna use both of them. The first one I made is good for finding the bank if you're not right next to it. The second one finds it flawlessly if you are next to it.

EDIT: OK, I updated the LightFire. It SHOULD work, but I can't really test it without working text functions. As for the DepositDTM, I couldn't find any problems with it…
I put in my bank finding functions.

That leaves two things left. I already started on some random phrases. about 100 of them… And now, I'll commit what I've done.