http://pastebin.com/m50642b28
At line 10, "Name" I think there's more flaws too :P please post so if you attempt to locate one.
It's my first script, and i've used a script from rogeruk as a template for the basic setup.
http://pastebin.com/m50642b28
At line 10, "Name" I think there's more flaws too :P please post so if you attempt to locate one.
It's my first script, and i've used a script from rogeruk as a template for the basic setup.
I ... Am ... CARTMANN!
Players[0].Name
http://pastebin.com/d182ec9d4
Theres also several other problems, with identifiers mostly, i dont have more time to check the whole code through right now.
Last edited by Frement; 01-13-2010 at 07:54 PM.
There used to be something meaningful here.
Thanks mate.
btw, you have made another add: Var x, y: Integer; - Why?
I ... Am ... CARTMANN!
If you have variables inside a procedure/function they are for only that. If you use then in everything, like the basic x & y. You should put them just after includes.
There used to be something meaningful here.
want me to fix it up?
~shut
I allways liked to fix my own problems, i learnt the best like that.
There used to be something meaningful here.
there ya go
i also labled what i changed
there is a section which i commented out because a function doesnt exist
http://shuttleu.pastebin.com/m41040a63
~shut
I think you should put in a With..Do Statement for the Declare Players Setup >.>
http://shuttleu.pastebin.com/m607531d5 <-- My Declare Players so far in my Script. Kinda like that no?
Disregard all extra booleans and integers, but pretty much thats how I would write it.
I would add in Breaking as well =P
Last edited by Heavenguard; 01-13-2010 at 09:04 PM.
Don't Troll, Don't Fight, Just keep the Respect
Status : Offline
Feel free to re-make my scripts ;D
Community Member
nice, thanks you for helping me out, +rep to your both
EDIT:
Shuttleu: GESell is a SRL/SRL/misc/GrandExchange.scar
And the water you wrote i needed a bitmap for is a "symbol" which i found in SRL/SRL/Core/Symbol.scarCode:{******************************************************************************* Function GESell(Price, Quantity: string; InvSpot: integer): boolean; By: Rasta Magician Description: Sells an item at GE Price: 'min', 'med', 'max', exact value Quantity: '1', '10', '100', 'all', exact value InvSpot: the Invspot where you have your item *******************************************************************************} Function GESell(Price, Quantity: string; InvSpot: integer): boolean; var free :integer; begin if not InGE then exit; if not GEFindFreeSpot(free) then exit; if GESellAt(free) then begin wait(100+Random(100)); MouseItem(InvSpot, true); wait(200+Random(100)); GESetPrice(Price); wait(200+Random(100)); GESetQuantity(Quantity); wait(200+Random(100)); Result := GEConfirmOffer; end; end;
Would i need to call that in my includes before it would work?
Last edited by Cartmann; 01-14-2010 at 05:56 PM.
I ... Am ... CARTMANN!
There are currently 1 users browsing this thread. (0 members and 1 guests)