SRL Archive - MSI Suggestions

quick chat when leveling up


renafox

2010-11-02 09:19:37

^ Title

QC when u level up , at least u speak ppl will less likely suspect but x.x they still will 90% of the time.

I believe the player command is [enter][x][2]

JuKKa

2010-11-02 09:46:46

heres the for the chat atleast


program new;
begin
TypeByte(VK_RETURN);
Typebyte(VK_X);
TypeByte(VK_2);
end.

the level detection shouldn't be so hard. If u need help i can assist u

Harry

2010-11-02 09:52:39

From: JuKKa
heres the for the chat atleast


program new;
begin
TypeByte(VK_RETURN);
Typebyte(VK_X);
TypeByte(VK_2);
end.

the level detection shouldn't be so hard. If u need help i can assist u

A safer way would probably be "typesend('');typesend('x2');". Or yours would work, but a humanlike delay would be best to add.

JuKKa

2010-11-02 09:54:10

sendkeys is inhuman and detectable. Typebyte is safe.

Would be good with some random waits in between the typebytes

Dgby714

2010-11-02 10:13:10

{$include SRL/misc/OuickCha.scar}

QCOpenMenu('skill', ['x', '2']);

or
QCSayLevel('woodcutting');

Harry

2010-11-02 10:16:02

From: JuKKa
sendkeys is inhuman and detectable. Typebyte is safe.

Would be good with some random waits in between the typebytes

Oh I am dumb, I meant TypeSend.

NCDS

2010-11-02 10:40:50

I've thought about adding this before, but there will have to be an option for it if added since a lot of people wouldn't want to use it.

It kind of gives people a reason to talk to you, which could be bad thing..

Tickyy

2010-11-02 10:52:25

also i would like to say that this would be recommended only if the skill is 20+

for example your skill is 1… you lvl up every 2-10 mins till lvl 10.

Coh3n

2010-11-02 14:25:27

Could be an antiban option. Would just be added to MSI_FindRandoms where to checks for leveling up. I guess we'd use QCSayLevel, but it may need to be edited to use the skill constants.

mormonman

2011-08-15 17:25:04

Maybe do some kind of random chance to say it.
number := Random(100);
if level > 20 then
if number > 80 then
saylevel

You could even use a case
case level of
20..40: if number > 80 then
saylevel
41..65: if number < 50 then
saylevel
66..89: if number > 25 then
saylevel
90..99: saylevel

Gu3st...

2011-08-15 18:38:04

From: mormonman
Maybe do some kind of random chance to say it.
number := Random(100);
if level > 20 then
if number > 80 then
saylevel

You could even use a case
case level of
20..40: if number > 80 then
saylevel
41..65: if number < 50 then
saylevel
66..89: if number > 25 then
saylevel
90..99: saylevel
if random(100-level) = 0 then saylevel

mormonman

2011-08-15 18:55:07

From: Zyt3x
if random(100-level) = 0 then saylevel


No, because I would want more of a chance at a lower level to say it, not just random(80) = 0 (at level 20).

Gu3st...

2011-08-15 18:57:37

From: mormonman
No, because I would want more of a chance at a lower level to say it, not just random(80) = 0 (at level 20).
then do something like if random(50 - (level div 2)) = 0 then… I just wanted to show an easy and clean way to do it, rather than using case … of and stuff

mormonman

2011-08-15 19:00:01

From: Zyt3x
then do something like if random(50 - (level div 2)) = 0 then… I just wanted to show an easy and clean way to do it, rather than using case … of and stuff


The shortest way isn't always the easiest and cleanest. It just makes other people confused as to why you did it.

Gu3st...

2011-08-15 19:02:15

From: mormonman
The shortest way isn't always the easiest and cleanest. It just makes other people confused as to why you did it.
why are you making this a big argument? I just wanted to show a way to do it?

And don't you think I already know that the shortest way isn't always the best?

mormonman

2011-08-15 19:19:55

From: Zyt3x
why are you making this a big argument? I just wanted to show a way to do it?

And don't you think I already know that the shortest way isn't always the best?


My bad.

Coh3n

2011-08-15 21:58:02

From: mormonman
Maybe do some kind of random chance to say it.
number := Random(100);
if level > 20 then
if number > 80 then
saylevel

You could even use a case
case level of
20..40: if number > 80 then
saylevel
41..65: if number < 50 then
saylevel
66..89: if number > 25 then
saylevel
90..99: saylevel
Love the idea. I'm thinking this would be a pretty simple addition. Just create a new function (MSI_QCLevel) in Antiban.simba and call it in MSI_LevelUp (also in Antiban.simba). Simple and clean.

Kyle Undefined

2011-11-06 23:01:52

This is done, just need to test it when I get an Internet connection on Monday.

Coh3n

2011-11-07 01:29:57

Fantastic. :)

E: This is now done and in the newest version. :) See this thread for more details.