SRL Archive - OSR Help

Is this possible?


Brid Mayhem

2013-03-12 21:30:30

First off, this is for 07.


Okay, well I want to work on a rune runner which would evolve trading someone. (The rest is cake)

The problem I have is I have no way on how to go on about it, like what should be done to detect if someones saying 22/26 or something, then log their name?

rj

2013-03-12 21:49:26

Uhh you would have to make your own text for NPC chat unless the official include will have it, but pretty much how you would do it is, look for person saying 22/26, store name in var, using minimap to mainscreen function to search for their name and trade them

I have no idea how reliable it would be

Sin

2013-03-12 21:54:41

OR:

Add person to friends, set chat to friends, and count colors.

tealc

2013-03-12 21:57:52

back in like 05-06 law crafters used to wear red zammy robes do they do any thing like that on 07. For starters you could anounce that your running and have people trade you.
check out these functions https://github.com/SRL/SRL-OSR/blob/master/SRL/misc/trade.simba

Zorgatone

2013-03-12 23:51:16

You need to make some functions to trade another player.. I haven't written any atm.. But I'm planning to make an auto-seller that will trade to players when I will have more time.. If I will do it I will paste here some pieces of code..

Brid Mayhem

2013-03-12 23:56:56

From: Zorgatone
You need to make some functions to trade another player.. I haven't written any atm.. But I'm planning to make an auto-seller that will trade to players when I will have more time.. If I will do it I will paste here some pieces of code..


Well I'd love to see that:)

Zorgatone

2013-03-12 23:58:40

From: Brid Mayhem
Well I'd love to see that:)


Well I doubt that it will be out there in a short time.. It's not easy to make and I don't have much free time lately.. :S

I'll do my best :P

Brid Mayhem

2013-03-13 00:13:51

From: Zorgatone
Well I doubt that it will be out there in a short time.. It's not easy to make and I don't have much free time lately.. :S

I'll do my best :P


Well I have no idea how you'd even do it o.O

Ashaman88

2013-03-13 07:40:28

From: Brid Mayhem
Well I have no idea how you'd even do it o.O


Tealc posted the include you would need - see if there are Any functions in there to get you started