Need help ! about a ProfessionBuddy ( HB ) profile i've made menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Sowsix's Avatar Private
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help ! about a ProfessionBuddy ( HB ) profile i've made

    Hey all

    With a lot of copy/paste from this code

    https://code.google.com/p/hb-dev-sma...COD+Mail+2.xml

    I've made my own ProfessionBuddy profile for sending mail automaticaly with C.O.D. to buyer

    It takes an item ( Green Tea Leaf for exemple ) in all the mail, and send it with C.O.D.

    It works ! But i need to start and stop the bot every times like this :

    Start - 1st part 1st item - Stop - Start - 2nd part 1st item + 1st part 2nd item - Stop - Start 2nd part 2nd item + 1st part 3rd item - Stop .....

    I think my problem is in this code :

    Code:
        <If Condition="MailCount &gt; 0 &amp;&amp; InbagCount (72234) &lt; 10" IgnoreCanRun="True">
          <GetMailAction GetMailType="Specific" ItemID="72234" CheckNewMail="True" MaxCODAmount="0g0s0c" MinFreeBagSlots="1" AutoFindMailBox="True" Location="0, 0, 0" />
        </If>
        <StackItemsAction />
        <If Condition="(bool)Settings[&quot;COD&quot;]" IgnoreCanRun="True">
          <MoveToAction Location="-8861.501, 636.7444, 96.17851" MoveType="NearestMailbox" Pathing="Navigator" Entry="0" />
          <While Condition="InbagCount (72234) &gt;= 5" IgnoreCanRun="True">
            <InteractionAction InteractType="GameObject" Entry="0" InteractDelay="0" GameObjectType="Mailbox" SpellFocus="Anvil" />
            <CustomAction Code="Thread.Sleep(300); Lua.DoString(&quot;RunMacroText(\&quot;/click MailFrameTab2\&quot;)&quot;); Thread.Sleep(300);" />
            <CustomAction Code="Lua.DoString(&quot;local j=0 local i=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do local n=GetContainerItemLink(b,s) if n then if strfind(n,\&quot;72234\&quot;) and i&lt;12 then _,c=GetContainerItemInfo(b,s) j=j+c UseContainerItem(b,s) i=i+1 end end end end codprice=j*(1) SetSendMailCOD(codprice) SendMail(Calligraphe,\&quot;Feuille de thé vert\&quot;,\&quot;\&quot;) totalprice = totalprice+codprice DEFAULT_CHAT_FRAME:AddMessage(\&quot;Sending \&quot;..string.format(\&quot;%.0f\&quot;,j)..\&quot; Feuille de thé vert (\&quot;..string.format(\&quot;%.0f\&quot;,j/20)..\&quot; stacks) C.O.D to \&quot;.. Calligraphe .. \&quot; for \&quot;..string.format(\&quot;%.0f\&quot;,codprice)..\&quot; gold.\&quot;..\&quot; Totally sent for \&quot;..string.format(\&quot;%.0f\&quot;,totalprice)..\&quot; gold this session.\&quot;,0.0,1.0,0.0)&quot;); Thread.Sleep(500);" />
          </While>
        </If>
    And here is the files with full code :

    COD3.xml

    If someone can help me, it would be my god!

    Thanks in advance !
    Last edited by Sowsix; 03-27-2013 at 12:31 PM.

    Need help ! about a ProfessionBuddy ( HB ) profile i've made
  2. #2
    Thaadevil's Avatar Contributor
    Reputation
    319
    Join Date
    Apr 2011
    Posts
    936
    Thanks G/R
    1/9
    Trade Feedback
    4 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm pretty sure you should post this on HB forums at not here ^^)

  3. #3
    Stækh's Avatar Member
    Reputation
    34
    Join Date
    Mar 2009
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, i've already post it to the buddy forum but no answer

    I solved my error! It came from accents i write everywhere ....

    Now i've one last problem

    One of the character i need to mail have ì and ü and his name
    I've tried with HTML Code
    HTML Code:
      <CustomAction Code="Lua.DoString(&quot;Calligraphe = \&quot;B&uuml;dd&igrave;\&quot;&quot;);" />
    I've an error
    I've tried with ISO Code
    HTML Code:
      <CustomAction Code="Lua.DoString(&quot;Calligraphe = \&quot;Büddì\&quot;&quot;);" />
    No error, but it doesn't send mail

    Someone know how to do it ?

    PS : I've already try

    HTML Code:
      <CustomAction Code="Lua.DoString(&quot;Calligraphe = \&quot;Büddì\&quot;&quot;);" />


    EDIT: Sowsix is my wife account on OwnedCore ... sorry for the mistake

Similar Threads

  1. Need HELP about NPC!
    By crosecret in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 02-23-2008, 02:27 PM
  2. [help]Need help about free hosting O.o
    By aznboy in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 01-05-2008, 04:13 PM
  3. Need Help about BT
    By aznboy in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 11-04-2007, 03:30 AM
  4. Need help about Character Models
    By mizery in forum World of Warcraft General
    Replies: 0
    Last Post: 08-23-2007, 08:46 AM
  5. I really need help! About Pics!
    By xlAnonym0uslx in forum World of Warcraft General
    Replies: 3
    Last Post: 02-03-2007, 11:42 AM
All times are GMT -5. The time now is 06:39 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search