sprite training

94 views
Skip to first unread message

WannaKnow

unread,
May 26, 2012, 3:23:51 PM5/26/12
to Grand Fantasia Bot
hi all,
i'm new to this bot and plan to use it only for sprite training, but
it doesnt seem to work right.
first of all sometimes(but not always which is random and weird) i get
the error: "[Basepointer-] not found in GFBot.ini" followed by "Line
8143 (File "...GFBot.exe") Error: Subskrit used with non-Array viable"

ok so in case this random error doesnt pop up the bot starts but all
it does is opening/closing the sprites
i did get the following pointers: STATUS,Name,SpriteBase
here is my char.ini n its most simplified state:

[SpriteGambits]
t1=1 |2 |2
t2=2 |4 |5
t3=3 |4 |3

[Waypoint]
map=0,0

here is the GFBot.ini with its pointers and offsets. only offsets i
replaced are the sprite related offsets but i have no way of testing
them so they might be wrong

[Settings]
WindowTitle=GFGF
ConfigFile=2All.ini
radius=3
chatsystem=read
waypointretry=5
monsterignoredistance=7
monsterattackdistance=30
cursordistance=50
spritechat=10
ArrowColor=0x136CF
EscapeColor=0xCEB684
NPCHex=0x33FF33
StoreHex=0xF76363
WinTitleHex=0xFFFF00
SpriteWinOff=0x30
shutdown=0
SprWinOffset=2C4,2B8
MemRealTime=HP,MP,Sit,Curse,Charge,Target,TargetName,tX,tY,pX,pY,TargetHP,TargetHPCap,SHP,SHPCap,Direction,SpriteState,SpriteState2,SpriteState3,callspr1,callspr2,callspr3,SprMood1,SprMood2,SprMood3,SprStamina1,SprStamina2,SprStamina3
MemPerLevel=MPCAP,HPCAP,Level,Exp,Gold,Name,ExpCap,Atk,Def,mapX,mapY
MemPerKill=Gold,Exp,Atk,Def,Zoom,Level,Alt12,Alt11,Alt10,Alt9

[GeneralDiscussion]
username=
password=

[MemoryWrite]
Zoom=15

[BasePointer]
STATUS=0x00A95CAC
Target=0x00A2A534
Name=0x00A9626C
Cursor=0x00A23847
MiscBase=0x00A2F628
Player=0x00A2AB34
tX=0x00A2A538
tY=0x00A2A53C
PartyBase=0x009C0E3C
ChatBase=0x00A31C34
MiniMapBase=0x00A31FD8
MapBase=0x00A31FA0
OpenBase=0x00A31B94
CharBase=0x00A2F668
SpriteBase=0x00A9D588

[BasePointer-FR]
STATUS=0x0099F9A0
Target=0x0099FA24
Name=0x0099FECC
MiscBase=0x009A5168
tX=0x0099FA28
tY=0x0099FA2C
Player=0x0099FFC0
MiniMapBase=0x009D4200
MapBase=0x009A5EAC
OpenBase=0x009A5B3C
ChatBase=0x009A5BC0
SpriteBase=0x009DBDB4

[BasePointer-DE]
STATUS=0x0099F9A0
Target=0x0099FA24
Name=0x0099FECC
MiscBase=0x009A5168
tX=0x0099FA28
tY=0x0099FA2C
Player=0x0099FFC0
SpriteBase=0x009ACC44

[BasePointer-ES]
STATUS=0x009C7B04
Target=0x009C7B88
Name=0x009C8074
MiscBase=0x009CD378
Player=0x009C8168
tX=0x009C7B8C
tY=0x009C7B90
MiniMapBase=0x009CE188
MapBase=0x009CE150
Cursor=0x009C14B8
OpenBase=0x009CDD74
SpriteBase=0x009CDE60

[PointerOffset]
Atk=STATUS,8,50
Def=STATUS,8,5C
HP=STATUS,8,4
HPCAP=STATUS,8,48
MP=STATUS,8,8
MPCAP=STATUS,8,4c
Sit=STATUS,1c,50
Curse=STATUS,8,174
Level=STATUS,8,18
Charge=STATUS,8,c4
Gold=STATUS,8,c
Exp=STATUS,8,14
ExpCap=MiscBase,0,FC,24,18C
TargetName=MiscBase,8,DC
TargetHP=MiscBase,8,A8,8,9C
TargetHPCap=MiscBase,8,A8,8,94
Zoom=Player,58
SHP=MiscBase,c,130,8,9c
SHPCap=MiscBase,c,130,8,94
pX=Player,14
pY=Player,18
ListStart=CharBase,0,E4,8,20
viewA=Player,2c
viewB=Player,30
PartyListStart=PartyBase,4,8,70,4,9C
mX=STATUS,1c,cc
mY=STATUS,1c,D0
dX=STATUS,1c,e4
dY=STATUS,1c,e8
Chat=ChatBase,328,70,0,4
CurrentLoc=MiniMapBase,BC,8,20
Direction=MiniMapBase,100
mapX=MapBase,4,8,C
mapY=MapBase,4,8,10
map=MapBase,1F8
mapdX=MapBase,AC,8,20
mapdY=MapBase,B0,8,20
OpenWin=OpenBase,3c
SpriteState=STATUS,2D4,0,2A4
SpriteState2=STATUS,2D4,4,2A4
SpriteState3=STATUS,2D4,8,2A4

SprMood1=STATUS,2D4,0,1A0
SprMood2=STATUS,2D4,4,1A0
SprMood3=STATUS,2D4,8,1A0
SprStamina1=STATUS,2D4,0,1A4
SprStamina2=STATUS,2D4,4,1A4
SprStamina3=STATUS,2D4,8,1A4
Alt12=MiscBase,0,130,68
Alt11=MiscBase,0,12c,68
Alt10=MiscBase,0,128,68
Alt9=MiscBase,0,124,68

[PointerDataType]
Name=char[15]
TargetName=char[50]
CurrentLoc=char[50]
Zoom=float
pX=float
pY=float
tX=float
tY=float
mX=float
mY=float
dX=float
dY=float
viewA=float
viewB=float
Direction=float
map=byte
mapdX=char[10]
mapdY=char[10]

help would be much appreciated. i'm starting to hate the game for the
sprite training alone, but with a sprite bot i'd love it ;)

Lasiaf

unread,
May 29, 2012, 10:22:48 AM5/29/12
to grand-fan...@googlegroups.com
Maybe you have a different client version that doesn't exists in the config.
Also you wanna update the pointers.

WannaKnow

unread,
May 29, 2012, 9:03:55 PM5/29/12
to Grand Fantasia Bot
hi thank you for the reply.
i got it to work now. apparently many offsets were changed.
btw spritemood seems to be working wrong. max mood is 999 as i found
out and not 800 as was stated in another thread.
i'm 100% certain that my mood offsets are right since i tested them by
replacing the lvl offsets with mood. so it showed my the sprites mood
on the bot.
i set the bots gambits to take a soda when mood is lower than 600
which should mean it'd drink a soda when the mood is normal or lower,
but it doesnt always do that. i didnt bother finding out in which
cases that fails (not yet). maybe when the soda is on cooldown? the
sprite i noticed it on was sprite 2 but it'd be weird if the code made
a difference there so i guess its the same on all sprites. althout GF
has a new bug where whenever the second sprite gets soda or a cookie
the cooldown wont show as it normaly does (its still there but wont
show). doubt it has anything to do with that though.

i'd post my offsets and pointers for the other bot users but they'll
change after todays maintance anyway (i hope not the offesets lol)

PS: great job on the bot Lasiaf. i can only imagine how much work that
was with all the features in it and great ideas like the chat gambits
or gambits alltogether
are you working on other bots or planning to? i'm kinda interested in
working on a bot right now

Lasiaf

unread,
May 30, 2012, 2:52:42 PM5/30/12
to grand-fan...@googlegroups.com
I haven't worked on this bot for a while. And probably never will, thats why I just made it public.
Also I'm not working on anything similar. That gambits system was actually from Final Fantasy 12 I think.
If I ever create a new bot ill probably be using the same gambits system. Its very easy to configure.
Reply all
Reply to author
Forward
0 new messages