Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

findtype and moveitem to bank (use delphi XE5)

Ask for help
Post Reply
980333
Posts: 9
Joined: 18.03.2015 11:36

findtype and moveitem to bank (use delphi XE5)

Post by 980333 »

I use Delphi XE5 call Script.dll
If found something,want move to bank

Code: Select all

 script.MoveItemEngine.MoveItem(script.FindEngine.FindItem,
                                script.FindEngine.FindQuantity,
                                script.LastContainer,
                                0,0,0);
But,if bank not LastContainer,how do it?
I have another question,script.FindEngine.FindType function Often Deadlock;
If game name not english, script.MyChar.CharName result = '???'
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: findtype and moveitem to bank (use delphi XE5)

Post by Vizit0r »

>>But,if bank not LastContainer,how do it?
to use bank container ID

>>script.FindEngine.FindType function Often Deadlock;
repeatable error?

>>If game name not english, script.MyChar.CharName result = '???'
PS return correct name?
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
980333
Posts: 9
Joined: 18.03.2015 11:36

Re: findtype and moveitem to bank (use delphi XE5)

Post by 980333 »

1:Only use code get bank container ID? i see a "banklayer",what this ?
2:In my home Often appear,no return,on error,no anything,program is dead,my home's operation system is WIN8.1 . today i want go my office test it on win7
3:I'am a china,i game's name is chinese,so i use script.MyChar.CharName result = '???',i test it in delphi、stealth, you getname function is unicode?
Sorry, i english is poor
980333
Posts: 9
Joined: 18.03.2015 11:36

Re: findtype and moveitem to bank (use delphi XE5)

Post by 980333 »

script.FindEngine.FindType function on windows8 Often Deadlock,on windows7 is ok,can you fix it?
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: findtype and moveitem to bank (use delphi XE5)

Post by Vizit0r »

will see about findtype, but i have no windows8 to test...
about Name function - Stealth PascalScript function CharName return correct name?
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
980333
Posts: 9
Joined: 18.03.2015 11:36

Re: findtype and moveitem to bank (use delphi XE5)

Post by 980333 »

Vizit0r wrote:will see about findtype, but i have no windows8 to test...
about Name function - Stealth PascalScript function CharName return correct name?
QQ截图20150320064519.jpg
QQ截图20150320064519.jpg (61.86 KiB) Viewed 6820 times
QQ截图20150320064459.jpg
QQ截图20150320064459.jpg (187.91 KiB) Viewed 6820 times
QQ截图20150320064207.jpg
QQ截图20150320064207.jpg (90.16 KiB) Viewed 6820 times
This is my game's image,delphi image and stealth image
Becase get charname is '???' , so use stealth play game after close the game can't save game's config
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: findtype and moveitem to bank (use delphi XE5)

Post by Vizit0r »

give me shard data & acc with password, will see.
BTW
>>1:Only use code get bank container ID? i see a "banklayer",what this ?
banklayer - it's just layer on char. sometimes its same as Bank Container ID, but mostly not.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
980333
Posts: 9
Joined: 18.03.2015 11:36

Re: findtype and moveitem to bank (use delphi XE5)

Post by 980333 »

What time you ICQ is online? i call you
My site's login ip "dx.7lu.com" port 2594,i use TUoObject.GetName(player id), this function reutrn is '???' too,you can connect my site test it
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: findtype and moveitem to bank (use delphi XE5)

Post by Vizit0r »

980333 wrote:What time you ICQ is online? i call you
My site's login ip "dx.7lu.com" port 2594,i use TUoObject.GetName(player id), this function reutrn is '???' too,you can connect my site test it
2-3 month more i will not use icq, its locked here :(
So, use skype, same nickname.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
980333
Posts: 9
Joined: 18.03.2015 11:36

Re: findtype and moveitem to bank (use delphi XE5)

Post by 980333 »

OK,tell me you skype number,i call you
My skype is [email protected]
I get something to eat,call you late
Post Reply