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

Server Names

Ask for help
DeadLy_DeMaGe
Neophyte
Neophyte
Posts: 17
Joined: 10.01.2015 3:01

Server Names

Post by DeadLy_DeMaGe »

Hi, I just found out the Stealth and it looks pretty awesome but I have a trouble with it. As I understand, Stealth saves some data in AppData/Roaming with shard names but my shard has ":" in its name like "Stealth: Ultima Online". As you know, file which has ":" in its name cannot be created in Windows.

My Stealth log file looks like this;

Cannot create file "C:\Users\XXX\AppData\Roaming\Stealth\XXX : XXX\StTiles.bin". The filename, directory name, or volume label syntax is incorrect
(000A3A22){Stealth.exe } [004A4A22] System.Classes.TFileStream.Create (Line 8582, "System.Classes.pas")

What can I do about this?
DeadLy_DeMaGe
Neophyte
Neophyte
Posts: 17
Joined: 10.01.2015 3:01

Re: Server Names

Post by DeadLy_DeMaGe »

Also, I see that people posting scripts in Russian section. Can someone please give us directions about them? For example, I am looking into shinma's Auto Mining script but it does not ring any bell, even with google translate. You may not provide further support, just english usage directions would be enough you know.
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: Server Names

Post by Vizit0r »

: must be replaced by _ automatically.
Write CFA in rivate, he will check

about support for non-russian peoples - ask what you want, and will receive answer. That forum part made for this.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
DeadLy_DeMaGe
Neophyte
Neophyte
Posts: 17
Joined: 10.01.2015 3:01

Re: Server Names

Post by DeadLy_DeMaGe »

I already sent e-mail to [email protected] and will sent pm to CFA too then. What about mining script that I mentioned? Can somebody prepare a topic in english section too?
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: Server Names

Post by Vizit0r »

seems like [email protected] - mail only for sending registration letters, nothing more.
Write there has no sense

Private only, and ICQ.

About script - what problem do you have? i will not translate all tex there, say what lines you cant understood.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
DeadLy_DeMaGe
Neophyte
Neophyte
Posts: 17
Joined: 10.01.2015 3:01

Re: Server Names

Post by DeadLy_DeMaGe »

I cant understand anything in Russian script section. Is there any mining script there like Spewy Runebook Mining in EUO?
drabadan
Expert
Expert
Posts: 730
Joined: 13.12.2012 17:35
Contact:

Re: Server Names

Post by drabadan »

DeadLy_DeMaGe wrote:I cant understand anything in Russian script section. Is there any mining script there like Spewy Runebook Mining in EUO?
Hi, there are tonns of mining scripts at russian side, please be more exact.
Can you read pascal, if so - there would be any problems to understand of what script is doing.
DeadLy_DeMaGe
Neophyte
Neophyte
Posts: 17
Joined: 10.01.2015 3:01

Re: Server Names

Post by DeadLy_DeMaGe »

drabadan wrote:
DeadLy_DeMaGe wrote:I cant understand anything in Russian script section. Is there any mining script there like Spewy Runebook Mining in EUO?
Hi, there are tonns of mining scripts at russian side, please be more exact.
Can you read pascal, if so - there would be any problems to understand of what script is doing.
No specific scripts for now. I cant understand any of them because I cant read/write pascal for now. Is there any script like Spewy Runebook Mining? If so, which one? I can study if someone point me a script that I can work on it.
drabadan
Expert
Expert
Posts: 730
Joined: 13.12.2012 17:35
Contact:

Re: Server Names

Post by drabadan »

DeadLy_DeMaGe wrote:
drabadan wrote:
DeadLy_DeMaGe wrote:I cant understand anything in Russian script section. Is there any mining script there like Spewy Runebook Mining in EUO?
Hi, there are tonns of mining scripts at russian side, please be more exact.
Can you read pascal, if so - there would be any problems to understand of what script is doing.
No specific scripts for now. I cant understand any of them because I cant read/write pascal for now. Is there any script like Spewy Runebook Mining? If so, which one? I can study if someone point me a script that I can work on it.
not many of stealth society understand who is Spewy and what is his runebook mining, i'm from that count. So i'll try to ask you once again - can you, please, be more exact in your expectations of the script, you are looking for. If you want to try stealth so you should learn to read/write pascal, it's very simple.
DeadLy_DeMaGe
Neophyte
Neophyte
Posts: 17
Joined: 10.01.2015 3:01

Re: Server Names

Post by DeadLy_DeMaGe »

Oh, I will explain what that is then. Its a mining script which recalls mining spots one by one, makes shovels with tinkering if needed and store the ores gathered to house. Full automatic miner script by other mean.
DeadLy_DeMaGe
Neophyte
Neophyte
Posts: 17
Joined: 10.01.2015 3:01

Re: Server Names

Post by DeadLy_DeMaGe »

I wandered on forums for a while with google translate and found this. This looks like the one I was searching for.
Fenix wrote:Описание настроек:
Anvile - идентификатор плавильни.
IngotsStorage - идентификатор ящика для инготов.
IngotsType - тип инготов.

HomeRuneBook - идентификатор рунбуки к дому/базе.
HomeRuneIndex - индекс руны к дому (нумерация начинается с 0).
RuneBookShift - сдвиг кодов кнопок в рунбуке (50 for Recal, 75 for Sacred Journey, 100 for Gate Travel).
MiningType - тип тузлов для майнинга.
TinkerType - тип тинкер тузлов
TKNumFirst - номер кнопки "Tools" в гампе тинкера (для создания тинкер тузлов).
TKNumSecond - номер кнопки для изготовления тинкер тузлов;

TKMinerNumFirst - номер кнопки "Tools" в гампе тинкера (для создания лопат).
TKMinerNumSecond - номер кнопки для изготовления лопат (если используете кирки - не забудьте поменять ещё и MiningType).
IronColor - цвет инготов айрона.
IronCount - количество инготов айрона, которое чар оставляет у себя после переплавки (для изготовления лопат и тинкер тузлов).

WaitTime - стандартное время ожидания.
RecalTime - время ожидания рекола.
WaitCycles - количество циклов ожидания.
LagWait - время ожидания лага.

OreTypes - массив с типами кучек руды (их ведь может быть несколько). Инициализируется в основной процедуре скрипта.
GemTypes - массив с типами добываемых камней (их тоже может быть несколько). Инициализируется в основной процедуре скрипта.
RuneBooks - массив с идентификаторами рунбук к местам добычи (тоже может быть несколько). Инициализируется в основной процедуре скрипта.

P.S.: В зависимости от шарда могут различаться коды кнопок как крафтерских меню, так и гампа рун-буки. Так что к этим вещам Ваше отдельное внимание.
This is the part that explains user-defined settings I assume. I couldnt understand most of them. Translation of this part would be enough for me I guess.

I have one more question tough:
Fenix wrote:HomeRuneBook = $4004FFCA;
That $4004FFCA is the ID of HomeRuneBook I guess but I never seen that kind of ID before. How can I get that ID of runebook by my own?
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: Server Names

Post by Vizit0r »

DeadLy_DeMaGe wrote:I wandered on forums for a while with google translate and found this. This looks like the one I was searching for.
Fenix wrote:Описание настроек:
Anvile - идентификатор плавильни.
IngotsStorage - идентификатор ящика для инготов. //box for ingots
IngotsType - тип инготов. //type of ingots

HomeRuneBook - идентификатор рунбуки к дому/базе. //id of runebook for recall to home\base
HomeRuneIndex - индекс руны к дому (нумерация начинается с 0). //index of rune in RB (starting from 0)
RuneBookShift - сдвиг кодов кнопок в рунбуке (50 for Recal, 75 for Sacred Journey, 100 for Gate Travel). //shiftinf of button codes in RB
MiningType - тип тузлов для майнинга. //type of tools for mining
TinkerType - тип тинкер тузлов //tinker tools type
TKNumFirst - номер кнопки "Tools" в гампе тинкера (для создания тинкер тузлов). //number of button "Tools" in tinker gump
TKNumSecond - номер кнопки для изготовления тинкер тузлов; //number of button for tinker tools making (in "Tools") - in tinker gump

TKMinerNumFirst - номер кнопки "Tools" в гампе тинкера (для создания лопат). //same for shovels
TKMinerNumSecond - номер кнопки для изготовления лопат (если используете кирки - не забудьте поменять ещё и MiningType).//same for shovel. (If you are using pickaxes - dont forgot about MiningType changing)
IronColor - цвет инготов айрона. //iron ingots color
IronCount - количество инготов айрона, которое чар оставляет у себя после переплавки (для изготовления лопат и тинкер тузлов). //amount of iron ingots, which left after using anvile (for makinf shovels and tinker tools)

WaitTime - стандартное время ожидания. //name of var explain all, what ore explanation you need?
RecalTime - время ожидания рекола.
WaitCycles - количество циклов ожидания.
LagWait - время ожидания лага.

OreTypes - массив с типами кучек руды (их ведь может быть несколько). Инициализируется в основной процедуре скрипта. //array of ore types. Init in main body of script
GemTypes - массив с типами добываемых камней (их тоже может быть несколько). Инициализируется в основной процедуре скрипта. //same for gems
RuneBooks - массив с идентификаторами рунбук к местам добычи (тоже может быть несколько). Инициализируется в основной процедуре скрипта. //same for runebooks

P.S.: В зависимости от шарда могут различаться коды кнопок как крафтерских меню, так и гампа рун-буки. Так что к этим вещам Ваше отдельное внимание.
//depends of shard codes of buttons for craft menu and RB gumps can differ. So, check it all.



This is the part that explains user-defined settings I assume. I couldnt understand most of them. Translation of this part would be enough for me I guess.

I have one more question tough:
Fenix wrote:HomeRuneBook = $4004FFCA;
That $4004FFCA is the ID of HomeRuneBook I guess but I never seen that kind of ID before. How can I get that ID of runebook by my own?
1) from "world" tab
2) start client from stealth, than say ",info" and click on RB
3) use Injection or other programs same type
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
DeadLy_DeMaGe
Neophyte
Neophyte
Posts: 17
Joined: 10.01.2015 3:01

Re: Server Names

Post by DeadLy_DeMaGe »

Thanks, I will check it out later.
DeadLy_DeMaGe
Neophyte
Neophyte
Posts: 17
Joined: 10.01.2015 3:01

Re: Server Names

Post by DeadLy_DeMaGe »

Vizit0r wrote://depends of shard codes of buttons for craft menu and RB gumps can differ. So, check it all.
Thanks for translation and you are correct, my shard has different craft menu/RB buttons then scripts. First of all, I managed to start script thanks to you. I appericiate that. But as you translated, my shard has different gump and script cant click to recall or crafting menu buttons. I am kinda getting used to pascal but I still couldnt find which code has the settings of gump responses. Can you help about that?

Code: Select all

function RecallRune(RuneBook: Cardinal; Rune: Byte):Boolean; //New
var
  Counter: Byte;
  X, Y: Word;
begin
  Result := False;
  X := GetX(Self);
  Y := GetY(Self);
  CheckLag(LagWait);
  Wait(WaitTime);
  while Isgump do CloseSimpleGump(0);
  if Dead or not Connected then Exit;
  UseObject(RuneBook);
  CheckLag(LagWait);
  Counter := WaitCycles;
  while Counter > 0 do begin
    if IsGump then Break;
    Wait(WaitTime);
    CheckLag(LagWait);
    Inc(Counter);
  end;
  if IsGump then begin
    if NumGumpButton(0, RuneBookShift + Rune) then begin
      CheckLag(LagWait);
      Wait(RecalTime);
      CheckLag(LagWait);
      Result := (X <> GetX(Self)) or (Y <> GetY(Self));
    end else Result := False;
  end else Result := False;
end;
For example, this is the function of recalling but which part of that is making gump clicks/responses? When I started script, it stucks at this function because it cant make the right clicks I assume.

PS: I am guessing its in this code but I cant see any configuration there. "if NumGumpButton(0, RuneBookShift + Rune) then begin"
Crome696
Novice
Novice
Posts: 67
Joined: 04.03.2012 18:57
Location: Germany
Contact:

Re: Server Names

Post by Crome696 »

The Runebook is a generic Gump. This means each Button has an BaseValue and Offsets.
When you send a Click Reply you sent the Value the Component would send if you click.

You can capture those informations by using <Prefix>GumpInfo while the Gump is open. Then the Buttons have a return_value you need to send via NumgumpButton.

Feel free to write me a PM about your ICQ or Skype adress i wouldnt mind to explain those stuff a little more detailed (one more times :D)
Stealth Development Team & Support
Post Reply