Prospector detects regionoffsets overflows.
parent
c631270425
commit
33131754d4
@ -1,12 +1,11 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import pydfhack
|
import pydfhack
|
||||||
x = pydfhack.API("Memory.xml")
|
DF = pydfhack.API("Memory.xml")
|
||||||
y = pydfhack.MatglossVector()
|
|
||||||
|
|
||||||
if x.Attach():
|
if DF.Attach():
|
||||||
success,stones = x.ReadStoneMatgloss()
|
success,stones = DF.ReadStoneMatgloss()
|
||||||
if success:
|
if success:
|
||||||
print "Dumping all stone"
|
print "Dumping all stone"
|
||||||
for matgloss in stones:
|
for matgloss in stones:
|
||||||
print "ID %s, name %s" % (matgloss.id, matgloss.name)
|
print "ID %s, name %s" % (matgloss.id, matgloss.name)
|
||||||
x.Detach()
|
DF.Detach()
|
||||||
|
Loading…
Reference in New Issue