SRL Archive - OSR Help

Runecrafting Script - Degraded Giant Pouch


iBlank

2012-04-30 19:08:38

I am currently working on a Runecrafting script and I am going to implement the use of NPC Contact spell. I am working on getting DTMs of degraded pouches so i can detect when I need to cast the spell. The only problem is, I can't use a giant pouch so I can't get a degraded one. I was hoping someone could use a a giant pouch and get me a picture of it once it gets degraded so I could make a DTM of it. Thanks!

ssshhhaaa

2012-05-01 07:21:38

Your best bet is to check runescape wiki or sites similar, or just google it. I would get you a pic but i dont have one.

Er1k

2012-05-01 07:50:10

E: http://runescape.wikia.com/wiki/Giant_pouch

iBlank

2012-05-01 11:40:18

From: Er1k
E: http://runescape.wikia.com/wiki/Giant_pouch


Yea I saw those pictures too, but I don't think the pictures from there are with the brightness turned all the way up. I have to get the correct middle color because I will have a DTM of the normal pouch with very low tolerance and a DTM of the degraded pouch with very low tolerance. If the normal one is found the carrying on all merry like, but if the degraded one is found then we are headed down a whole different path!

I made a DTM of the normal medium pouch from that site and tested it in my Runescape client with the low tolerance and it did not find it. Perhaps I messed up, I will try again. Thanks for the help though.

CephaXz

2012-05-01 23:42:21

You can use my cosmic runecrafter DTM. It works pretty well. There are procedures that find the decayed giant pouch and repair with NPC contact too. But I don't recommend copy and paste.

lilcmp1

2012-05-01 23:47:54

GiantDeg := BitmapFromString(10, 8, 'meJx1juEKgjAYRcXXiNAQBiOZc7S' +
'Gk2GskRpjFCJS7/8g3hhIBMFlP3YO936sluwrBaGHgqRJkuccuc/z' +
'ME0uBOt965zqOqF1pHV79cuypbFWGgPKlYLAtQ2vN/5jw+3xNH0fB' +
'dCPcFKYO1YCQfllHPFiGtntM9BNoGWFEFriNiYlBHHWkf4IaMA66D' +
'8BN6xpjDC+');
Bitmaps work great too :O

x[Warrior]x3500

2012-05-01 23:57:48

From: lilcmp1
GiantDeg := BitmapFromString(10, 8, 'meJx1juEKgjAYRcXXiNAQBiOZc7S' +
'Gk2GskRpjFCJS7/8g3hhIBMFlP3YO936sluwrBaGHgqRJkuccuc/z' +
'ME0uBOt965zqOqF1pHV79cuypbFWGgPKlYLAtQ2vN/5jw+3xNH0fB' +
'dCPcFKYO1YCQfllHPFiGtntM9BNoGWFEFriNiYlBHHWkf4IaMA66D' +
'8BN6xpjDC+');
Bitmaps work great too :O


what about when the icon gets cut off or split? this has been a popular "bug" with inventory/bank items.

iBlank

2012-05-02 00:34:01

From: CephaXz
You can use my cosmic runecrafter DTM. It works pretty well. There are procedures that find the decayed giant pouch and repair with NPC contact too. But I don't recommend copy and paste.


Thanks for the permission. I won't copy and paste. Just need the DTM really.

From: x[Warrior]x3500
what about when the icon gets cut off or split? this has been a popular "bug" with inventory/bank items.


Exactly why I have been holding off on bitmaps for anything bank/inventory related lately!

putonajonny

2012-05-05 12:28:30

DTM[0] := DTMFromString('mggAAAHicY2NgYDjCxMCwC4gPA/F2ID4BxMeB+CVQ7j0QfwDit0D8DoifArG3tyODraUJg5a6CpDHBMesQBKGkQEjDgwBAKipDDM='); //Medium
DTM[1] := DTMFromString('mggAAAHicY2NgYJjFxMDQBcQLgHghEM8E4glALMjIwCAExNxALAzEYlCsqaYM1MWEgVkZsANGHBgCAPSrBJs='); //Large
DTM[2] := DTMFromString('mbQAAAHicY2VgYNjBxMCwC4j3AvEqIF4ExAKMDAwsQCwCxGJALAjEpoZ6QNVMKJiVARMwYsFgAACZvASF'); //Giant
Not sure where I got these from but they are in my RC script

ogustuce

2012-05-05 22:12:53

your best chance to detect ALL degraded pouch is to detect the message u get inbox when a pouch is degraded. its somethin like ' you're pouche as decayed' so do something like

if FindBlackChatMessage('ecayed') then
begin
CastNpcSpell
end;
thats what i did ;)

John

2012-05-06 05:49:45

From: ogustuce
your best chance to detect ALL degraded pouch is to detect the message u get inbox when a pouch is degraded. its somethin like ' you're pouche as decayed' so do something like

if FindBlackChatMessage('ecayed') then
begin
CastNpcSpell
end;
thats what i did ;)

I'd probably go with this, Only Con is that it would have to be called alot to make sure you don't miss it.