Talk:Progressive Stealing (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 88: Line 88:
send skill steal
send skill steal
GOTO UniversalMatch
GOTO UniversalMatch
--[[User:KAMVENIENCE|KAMVENIENCE]] ([[User talk:KAMVENIENCE|talk]]) 18:49, 5 August 2014 (CDT)
----

Revision as of 18:49, 5 August 2014

In Genie, script is not properly detecting that it's returned to the start location and therefore looping. Starting location variable seems to be saved okay.

 stealing.cmd: match goto cross.279
 stealing.cmd(4778): passing label: CROSS.279
 stealing.cmd(4779): setvariable storecode Ccobb
 stealing.cmd(4780): setvariable entrance shop
 stealing.cmd(4781): goto SETSTORE
 stealing.cmd(837): setvariable shopdiff 2
 [stealing]: echo Ccobb okstart
 stealing.cmd(841): goto UniversalMatch
 stealing.cmd(1507): matchwait
 Ccobb okstart
 >
 stealing.cmd: match goto setstore.normal
 stealing.cmd(851): passing label: SETSTORE.NORMAL
 stealing.cmd(852): setvariable item thigh boots
 stealing.cmd(853): goto shopcheck
 stealing.cmd(869): goto SHOP.travel
 stealing.cmd(871): setvariable TravelOrShop shop
 stealing.cmd(872): passing label: SHOP.SHOP
 stealing.cmd(874): passing label: SHOPCHECK2
 [stealing]: health
 [stealing]: echo Ccobb thigh boots 1.57c
 stealing.cmd(881): pause 1
 
 Your body feels at full strength.
 Your spirit feels full of life.
 You have no significant injuries.
 
 >
 Ccobb thigh boots 1.57c
 > [stealing]: skill steal
 stealing.cmd(883): goto UniversalMatch
 stealing.cmd(1507): matchwait
 
 SKILL: Rank/Percent towards next rank/Amount learning/Mindstate fraction
 Thievery:	226 70.31% studious	  (19/34)
 
 Time Development Points: 52  Favors: 15  Deaths: 36  Departs: 0
 Overall state of mind: clear
 EXP HELP for more information
 
 >
 stealing.cmd: match goto goodshop.stow
 stealing.cmd(896): passing label: GOODSHOP.STOW
 stealing.cmd(897): counter: set 24
 stealing.cmd(897): math result: c=24
 stealing.cmd(898): counter: add 1
 stealing.cmd(898): math result: c=25
 stealing.cmd(899): setvariable SellItemCount 25
 stealing.cmd(900): setvariable SellItem25 thigh boots
 stealing.cmd(901): passing label: GOODSHOP.DROP
 stealing.cmd(902): counter: set 0
 stealing.cmd(902): math result: c=0
 stealing.cmd(903): counter: add 2
 stealing.cmd(903): math result: c=2
 stealing.cmd(904): counter: multiply 100
 stealing.cmd(904): math result: c=200
 stealing.cmd(905): setvariable StealCount 200
 stealing.cmd(906): goto ENTER.nosneak
 stealing.cmd(927): pause 1
 
 > [stealing]: go shop
 stealing.cmd(931): goto UniversalMatch
 stealing.cmd(1507): matchwait
I wouldn't expect the script to function correctly in Genie, since it is written for StormFront according to the infobox. There are enough scripting differences between the two front ends that a SF script will not work 100% correctly in Genie without conversion unless it is an incredibly simple one. I would suggest checking the Genie forums for a translated version or someone to translate it if it doesn't already exist.--ABSOLON (talk) 13:13, 31 July 2014 (CDT)
Is there a mirror of the Genie conversion somewhere? whistlethis.com is dead.--KAMVENIENCE (talk) 16:10, 1 August 2014 (CDT)
Fixed with this code, courtesy of CunningRunt on Genie forums:
 SHOPCHECK1:
       var MRS shopcheck
       GOTO SHOPCHECK2
 
   SHOPCHECK:
       GOTO SHOP.%TravelOrShop
     SHOP.TRAVEL:
       var TravelOrShop shop
     SHOP.SHOP:
       match MOVEON.STARTLOC %startlocation
       put echo %storecode %item %update
       pause 1
   SHOPCHECK2:
       match MOVEON.HEALTH hand which appears completely useless
       match LEAVE nothing
       match GOODSHOP.%DropOrStow Time Development
       match MOVEON.EXP mind lock
       put echo %storecode %item %update
       send skill steal
       GOTO UniversalMatch

--KAMVENIENCE (talk) 18:49, 5 August 2014 (CDT)