Random-j
10-04-2008, 00:24
To fix your cap problems
IfTrue (mycap$#number<=#5000) Goto $nlineoflabel:Deposit Gold$
If your cap is below 50 change to 5000
Heres the code from my Ph scripts to updated buy Royal spears.
:hi
sayMessage hi
waitX 2
fastExiva _spears = $numericalexp:{$numericalexp:{$numericalexp:{$myca p$}/100$}/35$}-1$
fastExiva _spearcost = $numericalexp:{$_spears$}*15$
sayInTrade withdraw $_spearcost$
waitx 2
sayInTrade yes
:buyspear
sayMessage hi
waitX 2
sayInTrade trade
waitX 1
fastExiva > 07 00 7A D2 1C 00 $numbertohex2:{$_spears$}$ 00
Appearantly some people have been having some problems with buying and selling. So here are the packets.
Buying:
exiva > 07 00 7A xx xx 00 yy 00
At xx xx fill in item id, at yy fill in the amount in hex.
To get a number into hex use:
$numbertohex2:x$
The Id of a health potion is 0A 01 and lets assume I want to buy 10, that would make it.
exiva > 07 00 7A 0A 01 00 $numbertohex2:10$ 00
Selling:
exiva > 06 00 7B xx xx 00 yy 01
The id of an empty flask is: 1D 01 so to sell 5 it would make:
exiva > 06 00 7B 1D 01 00 $numbertohex2:5$ 01
This works for me, if you have any problems post me or someone else might be able to help.
Good luck!:D
IfTrue (mycap$#number<=#5000) Goto $nlineoflabel:Deposit Gold$
If your cap is below 50 change to 5000
Heres the code from my Ph scripts to updated buy Royal spears.
:hi
sayMessage hi
waitX 2
fastExiva _spears = $numericalexp:{$numericalexp:{$numericalexp:{$myca p$}/100$}/35$}-1$
fastExiva _spearcost = $numericalexp:{$_spears$}*15$
sayInTrade withdraw $_spearcost$
waitx 2
sayInTrade yes
:buyspear
sayMessage hi
waitX 2
sayInTrade trade
waitX 1
fastExiva > 07 00 7A D2 1C 00 $numbertohex2:{$_spears$}$ 00
Appearantly some people have been having some problems with buying and selling. So here are the packets.
Buying:
exiva > 07 00 7A xx xx 00 yy 00
At xx xx fill in item id, at yy fill in the amount in hex.
To get a number into hex use:
$numbertohex2:x$
The Id of a health potion is 0A 01 and lets assume I want to buy 10, that would make it.
exiva > 07 00 7A 0A 01 00 $numbertohex2:10$ 00
Selling:
exiva > 06 00 7B xx xx 00 yy 01
The id of an empty flask is: 1D 01 so to sell 5 it would make:
exiva > 06 00 7B 1D 01 00 $numbertohex2:5$ 01
This works for me, if you have any problems post me or someone else might be able to help.
Good luck!:D