SRL Archive - OSR Help

P07_DropAll Not working on any script for me.


Huggies

2013-03-01 03:01:54

When I use any type of powerminer or powerchopper built for 07 and it uses the
if P07_InvFull then
P07_DropAll;
The drop all just clicks in odd spots near the ores/logs in my inventory.
Anyway to fix this?

wthomas

2013-03-01 03:25:26

Are you using smart?

If so you probably didn't set the coordinate changes correctly, smart expects there to be a 50px nav nar at the top. and also 22px in the X direction for some reason. test this by using

MMouse(100,100,0,0);
SMARt_DrawDot(false,IntToPoint(100,100),clBlue);

If it draws the dot and puts the mouse at the same point. If they are in the same place cannot help you but if they are different its the problem above. ^^ which you can fix by changing some values in srl/srl/core/globals.simba

Huggies

2013-03-01 03:28:54

From: wthomas
Are you using smart?

If so you probably didn't set the coordinate changes correctly, smart expects there to be a 50px nav nar at the top. and also 22px in the X direction for some reason. test this by using

MMouse(100,100,0,0);
SMARt_DrawDot(false,IntToPoint(100,100),clBlue);

If it draws the dot and puts the mouse at the same point i cannot help you but if they are different its the problem above. ^^ which you can fix by changing some values in srl/srl/core/globals.simba


I've been using either chrome or swiftkit and just moving the client target over the screen. I didn't know if I needed to change the coordinates to fit those screens.

Runehack123

2013-03-01 03:31:06

Look at the dropall function/procedure in the 07 include and edit it.
Should be common sense really :)

wthomas

2013-03-01 03:32:03

You shouldn't need to change anything for non smart clients. That is a pesky problematic phenomenon you have though.

Huggies

2013-03-01 03:54:13

From: Runehack123
Look at the dropall function/procedure in the 07 include and edit it.
Should be common sense really :)


What do you mean by edit it? If it is placed in a script and used in a non-smart window using the client target it should automatically work, shouldn't it?

Runehack123

2013-03-01 04:06:58

From: Huggies
What do you mean by edit it? If it is placed in a script and used in a non-smart window using the client target it should automatically work, shouldn't it?


So if it doesn't you can
1. Post about it and wait for a change to the 07 include
2. Edit it
What do I mean edit? Edit as in change. :o