Wc3 Auto Stats @Bnet Ladder

This is a discussion on Wc3 Auto Stats @Bnet Ladder within the Warcraft 3 Hacks, bots and tools board part of the Warcraft 3 forum category; Originally Posted by Tracky Code/.dll provided by Godlike is meant to be usable in whatever mode you play hence it ...

Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 57
  1. #41
    BlauSchlumpf is offline Member
    Array
    Join Date
    Jul 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    6
    Reputation
    1
    Quote Originally Posted by Tracky View Post
    Code/.dll provided by Godlike is meant to be usable in whatever mode you play hence it doesn't only check the first players slot. It sure would be possible to read all the slots but remove the name if it's 'yourself'. One can do that with AutoIt as well (Don't read Slot XY if it's your own name).
    I will make a script todays night (or tomorrow) with AutoIt and maybe I'll come across a neat idea which makes the whole tool more user-friendly.
    For me the .ini file looks like this:
    Code:
    Slot 1=MYNAME OR OPPONENT
    Slot 2=Player 3
    Slot 3=Player 4
    Slot 4=Player 5
    Slot 5=Player 6
    Slot 6=Player 7
    Slot 7=Player 8
    Slot 8=Player 9
    Slot 9=Player 10
    Slot 10=Player 11
    Slot 11=Player 12
    Slot 12=Player 13
    So even if you would be able to make an if condition with autoit then you would still miss a name. Also I think the if-condition with autoit wouldn't be a good solution, because the user would always need to write inside his current accountname. Rather you could stats Slot 1 and Slot 2 and got opponents and your stats. But yet I see only 1 playername each game in the .ini file ;d .. you see more?


    It would be a lot more user friendly by just adding run("war3.exe") before the while loop. Then you would only have to put the script-exe-file into warcraft's folder, make a shortcut and run it as administrator from the startmenu. So warcraft3 and the script would run both with one click.



    Greets

  2. #42
    Tracky's Avatar
    Tracky is offline Administrator

    Array
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    9,854
    Mentioned
    158 Post(s)
    Tagged
    2 Thread(s)
    Rep Power
    42
    Reputation
    5606
    So even if you would be able to make an if condition with autoit then you would still miss a name.
    How would one miss a name then? Only your own one which isn't interesting at all.

    Also I think the if-condition with autoit wouldn't be a good solution, because the user would always need to write inside his current accountname.
    Your current account name is saved in the registry. Not much of a problem to use an static address to read out the name you'd like to 'blacklist'.

    Rather you could stats Slot 1 and Slot 2 and got opponents and your stats. But yet I see only 1 playername each game in the .ini file ;d .. you see more?
    I didn't test it yet, but I assume in other game modes but 1v1 all players ingame will be listed.

    It would be a lot more user friendly by just adding run("war3.exe") before the while loop. Then you would only have to put the script-exe-file into warcraft's folder, make a shortcut and run it as administrator from the startmenu. So warcraft3 and the script would run both with one click.
    That's fairly easy to accomplish.

  3. The Following User Says Thank You to Tracky For This Useful Post:


  4. #43
    Sosha's Avatar
    Sosha is offline :)



    Array
    Join Date
    Oct 2011
    Location
    Iran
    Posts
    516
    Mentioned
    26 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    12
    Reputation
    1008
    Here is one written by me
    Output Directory : Your Warcraft Folder/Players.log
    Output Example :
    Code:
    The Sentinel
    Sosha
    2N Computer
    3I Computer
    4N Computer
    5I Computer
    The Scourge
    6N Computer
    7N Computer
    8E Computer
    9E Computer
    10E Computer
    
    Player list Generator by Sosha
    http://d3scene.com
    Compiled .mix File
    C++ Source Code

    The Player.log Automatically creates when you enter the game
    Goodluck ...

  5. The Following User Says Thank You to Sosha For This Useful Post:


  6. #44
    wc3noobpl's Avatar
    wc3noobpl is offline Hacker Array
    Join Date
    Dec 2011
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    189
    Quote Originally Posted by Sosha View Post
    Here is one written by me
    Output Directory : Your Warcraft Folder/Players.log
    Output Example :
    Code:
    The Sentinel
    Sosha
    2N Computer
    3I Computer
    4N Computer
    5I Computer
    The Scourge
    6N Computer
    7N Computer
    8E Computer
    9E Computer
    10E Computer
    
    Player list Generator by Sosha
    http://d3scene.com
    Compiled .mix File
    C++ Source Code

    The Player.log Automatically creates when you enter the game
    Goodluck ...
    at least some one used whack1.3src

  7. #45
    BlauSchlumpf is offline Member
    Array
    Join Date
    Jul 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    6
    Reputation
    1
    Quote Originally Posted by Sosha View Post
    Here is one written by me
    Output Directory : Your Warcraft Folder/Players.log
    Output Example :
    Code:
    The Sentinel
    Sosha
    2N Computer
    3I Computer...
    Player list Generator by Sosha
    http://d3scene.com
    Compiled .mix File
    C++ Source Code

    The Player.log Automatically creates when you enter the game
    Goodluck ...
    thanks for the share. the problem with this playername generator is that you have to restart wc3 each game to write new playernames to player.ini. it works without F5 (though autoit can also send F5 key). also i coudn't compile first because you included cloackdll.h instead of cloack.h. Also is cloack really necessary for reading the playersname? I think godlike didn't use cloack.


    godlikes programs works, tracky had to add slot0 for the .ini output though (because in ladder slot0/1 varies). With Tracky's idea and help the script now works more intelligent by only checking the desired playernames.

    Put godlikes .mix into wc3 folder.

    Download here with added slot0 : GetPlayersName.mixtape

    Then:

    1. Put the compiled autoit script exe file into your wc3 folder (or if you use GnSy then put it next to GnSy and name your GnSy exe file to war3.exe)
    2. right click the exe and set in the tab "compatibilty" "run as admin" to run the program alwaysautomatically as admin.
    3. make a shortcut from the autoit exe file to your starmenu
    4. now run wc3 with that shortcut
    5. if you are in your game then press F9 and the stats will be checked

    Code:
    HotKeySet("{F7}", "Terminate")
    run("war3.exe") 
    HotKeySet ( "{F9}", "foo" )
    While 1
    sleep(100)
    Wend
    
    Func foo()
     $path = RegRead("HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\String\", "userbnet")
    Send("{PAUSE}")
    Sleep(800)
    
    $Slot0= IniRead("C:\Players.ini", "Players Name", "Slot 0", "")
    If $path<>$Slot0 then
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot0)
    Sleep(50)
    Send("{ENTER}")
    Endif
    
    $Slot1= IniRead("C:\Players.ini", "Players Name", "Slot 1", "")
    if $Slot1<>""  And $path<>$Slot1 then
    Sleep(2000)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot1)
    Sleep(50)
    Send("{ENTER}")
    Endif
    
    
    $Slot2= IniRead("C:\Players.ini", "Players Name", "Slot 2", "")
    if $Slot2<>"" And $path<>$Slot2 then
    Sleep(2200)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot2)
    Sleep(50)
    Send("{ENTER}")
    Endif
    
    $Slot3= IniRead("C:\Players.ini", "Players Name", "Slot 3", "")
    if $Slot3<>"" And $path<>$Slot3 then
    Sleep(2900)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot3)
    Sleep(50)
    Send("{ENTER}")
    Endif
    
    $Slot4= IniRead("C:\Players.ini", "Players Name", "Slot 4", "")
    if $Slot4<>"" And $path<>$Slot4 then
    Sleep(3200)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot4)
    Sleep(50)
    Send("{ENTER}")
    Endif
    
    $Slot5= IniRead("C:\Players.ini", "Players Name", "Slot 5", "")
    if $Slot5<>"" And $path<>$Slot5 then
    Sleep(3300)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot5)
    Sleep(50)
    Send("{ENTER}")
    Sleep(200)
    Endif
    
    $Slot6= IniRead("C:\Players.ini", "Players Name", "Slot 6", "")
    if $Slot6<>"" And $path<>$Slot6 then
    Sleep(3500)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot6)
    Sleep(50)
    Send("{ENTER}")
    Sleep(200)
    Endif
    
    $Slot7= IniRead("C:\Players.ini", "Players Name", "Slot 7", "")
    if $Slot7<>"" And $path<>$Slot7 then
    Sleep(3500)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot7)
    Sleep(50)
    Send("{ENTER}")
    Sleep(700)
    Endif
    
    $Slot8= IniRead("C:\Players.ini", "Players Name", "Slot 8", "")
    if $Slot8<>"" And $path<>$Slot8 then
    Sleep(3400)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot8)
    Sleep(50)
    Send("{ENTER}")
    Endif
    
    $Slot9= IniRead("C:\Players.ini", "Players Name", "Slot 9", "")
    if $Slot9<>"" And $path<>$Slot9 then
    Sleep(3500)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot9)
    Sleep(50)
    Send("{ENTER}")
    Endif
    
    $Slot10= IniRead("C:\Players.ini", "Players Name", "Slot 10", "")
    if $Slot10<>"" And $path<>$Slot10 then
    Sleep(3500)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot10)
    Sleep(50)
    Send("{ENTER}")
    Endif
    
    
    $Slot11= IniRead("C:\Players.ini", "Players Name", "Slot 11", "")
    if $Slot11<>"" And $path<>$Slot11 then
    Sleep(3450)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot11)
    Sleep(50)
    Send("{ENTER}")
    Endif
    
    
    $Slot12= IniRead("C:\Players.ini", "Players Name", "Slot 12", "")
    if $Slot12<>"" And $path<>$Slot12 then
    Sleep(3000)
    Send("{ENTER}")
    Send("/stats ")
    Send($Slot12)
    Sleep(50)
    Send("{ENTER}")
    Endif
    
    EndFunc
    Func Terminate()
        Exit 0
    EndFunc   ;==>Terminate
    compiled auto-it exe: warcraft.exe


    Note: Autostats works along with whack.mixtape because F9 and Pause isn't used by Whack. (also Neon etc)
    Last edited by BlauSchlumpf; 08-09-2012 at 03:31 AM.

  8. #46
    Sosha's Avatar
    Sosha is offline :)



    Array
    Join Date
    Oct 2011
    Location
    Iran
    Posts
    516
    Mentioned
    26 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    12
    Reputation
    1008
    @wc3noobpl

    Yes , exactly GetName() Function and Dependencies

  9. #47
    ELiteChiLd- is offline Banned User Array
    Join Date
    Oct 2011
    Location
    United States
    Posts
    1,122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    624
    Now this works? Nice? so just do what you just said and every game press F9?

  10. #48
    BlauSchlumpf is offline Member
    Array
    Join Date
    Jul 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    6
    Reputation
    1
    try it out ;d ... yes, press every game F9 (if you want to check the stats of all players in the game). the error when closing wc3 could be fixed combining godlikes and soshas code. I noticed my replays didn't save anymore. must be something bugging, but else it works great.

  11. #49
    Farid.Agl's Avatar
    Farid.Agl is offline Advanced Hacker

    Array
    Join Date
    Sep 2011
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    322
    Tracky, you have the source, to fix the error on WC3 exit, declare the hThread variable in as a Global variable, then on DLL_PROCESS_DEATTACH use TerminateThread(hThread, NULL);
    http://faridaghili.ir

  12. #50
    Sosha's Avatar
    Sosha is offline :)



    Array
    Join Date
    Oct 2011
    Location
    Iran
    Posts
    516
    Mentioned
    26 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    12
    Reputation
    1008
    Here is my second update for that tool
    I think this might help you
    Output Example :
    Code:
    [Player Names]
    
    0  = The Sentinel 
    1  = Sosha (Traxex) 
    2  = 2E Gondar 
    3  = 3N Lanaya 
    4  = 4N Ember Spirit 
    5  = 5N Ursa 
    6  = The Scourge 
    7  = 6E Lich 
    8  = 7E Leoric 
    9  = 8E Nevermore 
    10 = 9E Leshrac 
    11 = 10E Slark 
    
    Player list Generator by Sosha
    http://d3scene.com
    Players.log generates in Warcraft folder , when pressing Keyboard Pause key
    Every time Pause key pressed , Players.log file current content will be replaced with the new generated Player Names

    Compiled .mix file
    C++ Source Code
    Last edited by Sosha; 08-09-2012 at 01:28 PM.

Page 5 of 6 FirstFirst ... 3456 LastLast

Similar Threads

  1. Finding IP of player on Bnet Ladder game
    By undead_warrior in forum Warcraft 3 Hacks, bots and tools
    Replies: 19
    Last Post: 09-08-2010, 04:23 PM
  2. actual wc3 (bnet) maphack which can block ladder games?
    By Boklog in forum Warcraft 3 forum
    Replies: 4
    Last Post: 02-17-2010, 09:42 PM
  3. Bnet Ladder Reset - 3/9/09
    By Archimonde in forum Warcraft 3 forum
    Replies: 6
    Last Post: 03-11-2009, 01:06 AM
  4. best stats in bnet....
    By niko123456 in forum Warcraft 3 forum
    Replies: 18
    Last Post: 06-10-2007, 04:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •