#141
|
|||
|
|||
Re: Betpot script for Ongame network ? (payment for publishing code)
i am also playing on hollywood but it just doesnt work... any idea? i use autohotkey to run the script
|
#142
|
|||
|
|||
Re: Betpot script for Ongame network ? (payment for publishing code)
I tested Roland's script on Betsson play money games and it worked.
Then I tested it on NL100 and it didn't, it kept betting 100x the proper amount(so went all in). |
#143
|
|||
|
|||
Re: Betpot script for Ongame network ? (payment for publishing code)
I tried TCEgor's script and it tries to bet way too much just like Roland's script does.
I think problem is somewhere in getpot(), but that is just speculation. Any ideas? |
#144
|
|||
|
|||
Re: Betpot script for Ongame network ? (payment for publishing code)
ya dammit these scripts don't work on betson, both times it bet me all in (real money) and i lost......
|
#145
|
|||
|
|||
Re: Betpot script for Ongame network ? (payment for publishing code)
[ QUOTE ]
ya dammit these scripts don't work on betson, both times it bet me all in (real money) and i lost...... [/ QUOTE ] Any chance to get this fixed?? |
#146
|
|||
|
|||
Re: Betpot script for Ongame network ? (payment for publishing code)
Worked at play money with thousand separator and decimal point.
<font class="small">Code:</font><hr /><pre> #SingleInstance force window_class := "AfxFrameOrView70u" number_format := "\$([0-9,.]+)" ~MButton:: BetPot(1, 1) return ~RButton:: BetPot(3/4, 1) return #IfWinActive ahk_class AfxFrameOrView70u WheelUp:: AlterAmount(1, 5) return WheelDown:: AlterAmount(-1, 5) return #IfWinActive BetPot(fraction, round) { global window_class MouseGetPos, , , id WinGetClass, class, ahk_id %id% if (class != window_class) return call := GetCallSize(id) pot := GetPotSize(id) bet := Round(Round((pot + call * 2) * fraction / round) * round, 2) SetBetAmount(id, bet) } AlterAmount(multiplier, amount) { global window_class, number_format MouseGetPos, , , id WinGetClass, class, ahk_id %id% if (class != window_class) return WinGetTitle, title, ahk_id %id% RegExMatch(title, number_format . "-" . number_format, match) sb := match2 / 2 bb := match2 ControlGetText, bet, RichEdit20W3, ahk_id %id% bet := Round(bet + multiplier * amount, 2) SetBetAmount(id, bet) } GetPotSize(id) { global number_format ControlGetText, pot, AfxWnd70u54, ahk_id %id% RegExMatch(pot, "Pot: " . number_format, match) StringReplace match1, match1, `,, , All return match1 } GetCallSize(id) { global number_format ControlGet, v, visible, , Cost:, ahk_id %id% if not v return 0 ControlGetText, call, AfxWnd70u58, ahk_id %id% RegExMatch(call, "Cost: " . number_format, match) StringReplace match1, match1, `,, , All return match1 } SetBetAmount(id, bet) { ControlSetText, RichEdit20W3, , ahk_id %id% ControlSend, RichEdit20W3, %bet%, ahk_id %id% ControlClick, RichEdit20W3, ahk_id %id% } </pre><hr /> |
#147
|
|||
|
|||
Re: Betpot script for Ongame network ? (payment for publishing code)
@ yli
Is this code for Betsson? How do I use it? just edit a new .ahk file? Thanks anyway! |
#148
|
|||
|
|||
Re: Betpot script for Ongame network ? (payment for publishing code)
Copy and paste to a new .ahk file and change the hotkeys to your liking.
|
#149
|
|||
|
|||
Re: Betpot script for Ongame network ? (payment for publishing code)
It does not work with real money.
Argh. Any chance to get this done someday? |
#150
|
|||
|
|||
Re: Betpot script for Ongame network ? (payment for publishing code)
Output from ongame window extraction:
<font class="small">Code:</font><hr /><pre>AfxFrameOrView70u Area=[102 107 801 605] AfxWnd70u1 Area=[5 474 800 127] Text= AfxWnd70u2 Area=[5 474 800 127] Text= AfxWnd70u3 Area=[532 480 256 121] Text= Button1 Area=[537 490 42 28] Text= Button2 Area=[537 518 42 28] Text= Button3 Area=[537 546 42 30] Text= Button4 Area=[545 581 28 21] Text= AfxWnd70u4 Area=[582 489 203 85] Text= AfxWnd70u5 Area=[771 489 14 85] Text= AfxWnd70u6 Area=[582 489 203 85] Text= AfxWnd70u7 Area=[771 489 14 85] Text= AfxWnd70u8 Area=[582 489 203 85] Text= AfxWnd70u9 Area=[771 489 14 85] Text= RichEdit20W1 Area=[578 581 210 13] Text= Button5 Area=[771 581 17 17] Text= Button6 Area=[15 483 119 29] Text= Button7 Area=[15 483 119 29] Text= Button8 Area=[15 483 119 29] Text= Button9 Area=[15 512 119 29] Text= Button10 Area=[15 570 119 29] Text= Button11 Area=[15 541 119 29] Text= AfxWnd70u10 Area=[149 474 382 118] Text= Button12 Area=[156 554 119 32] Text= Button13 Area=[280 554 119 32] Text= Button14 Area=[280 554 119 32] Text= Button15 Area=[404 554 119 32] Text= AfxWnd70u11 Area=[160 486 360 38] Text= AfxWnd70u12 Area=[220 528 0 0] Text= AfxWnd70u13 Area=[319 528 0 0] Text= RichEdit20W2 Area=[230 525 85 25] Text= AfxWnd70u14 Area=[149 474 382 118] Text= Button16 Area=[156 554 119 32] Text= Button17 Area=[280 554 119 32] Text= Button18 Area=[280 554 119 32] Text= Button19 Area=[404 554 119 32] Text= AfxWnd70u15 Area=[160 486 360 58] Text= AfxWnd70u16 Area=[149 474 382 118] Text= AfxWnd70u17 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u18 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u19 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u20 Area=[159 479 0 0] Text= AfxWnd70u21 Area=[149 474 382 118] Text= AfxWnd70u22 Area=[169 489 360 17] Text= AfxWnd70u23 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u24 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u25 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u26 Area=[159 479 0 0] Text= AfxWnd70u27 Area=[149 474 382 118] Text= AfxWnd70u28 Area=[159 497 360 26] Text=Click on SIT IN to be dealt in. AfxWnd70u29 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u30 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u31 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u32 Area=[159 479 0 0] Text= Button20 Area=[275 544 150 23] Text= Button21 Area=[275 526 150 23] Text= AfxWnd70u33 Area=[149 474 382 118] Text= AfxWnd70u34 Area=[195 487 320 34] Text=Please wait to be dealt in. AfxWnd70u35 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u36 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u37 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u38 Area=[159 479 0 0] Text= Button22 Area=[275 544 150 23] Text= Button23 Area=[275 526 150 23] Text= AfxWnd70u39 Area=[149 474 382 118] Text= AfxWnd70u40 Area=[169 489 360 17] Text= AfxWnd70u41 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u42 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u43 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u44 Area=[159 479 0 0] Text= AfxWnd70u45 Area=[149 474 382 118] Text= AfxWnd70u46 Area=[169 489 360 17] Text=It is free to check. Are you s... AfxWnd70u47 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u48 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u49 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u50 Area=[159 479 0 0] Text= Button24 Area=[208 534 109 29] Text= Button25 Area=[362 534 109 29] Text= AfxWnd70u51 Area=[149 474 382 118] Text= AfxWnd70u52 Area=[277 531 0 0] Text= AfxWnd70u53 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u54 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u55 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u56 Area=[159 479 0 0] Text= Button26 Area=[412 490 119 32] Text= Button27 Area=[285 490 119 32] Text= Button28 Area=[285 490 119 32] Text= Button29 Area=[158 490 119 32] Text= Button30 Area=[412 490 119 32] Text= RichEdit20W3 Area=[421 547 74 23] Text= AfxWnd70u57 Area=[179 553 201 15] Text= AfxWnd70u58 Area=[316 522 0 0] Text= AfxWnd70u59 Area=[443 522 0 0] Text= AfxWnd70u60 Area=[411 550 0 0] Text= AfxWnd70u61 Area=[499 540 0 0] Text= AfxWnd70u62 Area=[428 522 84 15] Text=Forced Bring-in AfxWnd70u63 Area=[149 474 382 118] Text= AfxWnd70u64 Area=[175 497 290 60] Text=This tournament is currently r... AfxWnd70u65 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u66 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u67 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u68 Area=[159 479 0 0] Text= AfxWnd70u69 Area=[149 474 382 118] Text= AfxWnd70u70 Area=[180 501 290 40] Text=Click the I'M BACK-button to r... AfxWnd70u71 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u72 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u73 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u74 Area=[159 479 0 0] Text= AfxWnd70u75 Area=[149 474 382 118] Text= AfxWnd70u76 Area=[200 491 280 32] Text=This table is currently full. ... AfxWnd70u77 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u78 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u79 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u80 Area=[159 479 0 0] Text= AfxWnd70u81 Area=[149 474 382 118] Text= RichEdit20W4 Area=[160 523 350 25] Text= Button31 Area=[208 554 109 29] Text= AfxWnd70u82 Area=[160 486 360 32] Text= AfxWnd70u83 Area=[149 474 382 118] Text= AfxWnd70u84 Area=[169 489 360 45] Text=An error occurred when connect... AfxWnd70u85 Area=[195 575 25 15] Text=Bet: AfxWnd70u86 Area=[310 575 25 15] Text=Pot: AfxWnd70u87 Area=[433 575 0 0] Text= AfxWnd70u88 Area=[159 479 0 0] Text= Button32 Area=[208 534 109 32] Text= Button33 Area=[362 534 109 32] Text= AfxWnd70u89 Area=[149 474 382 118] Text= AfxWnd70u90 Area=[169 489 360 45] Text=Muck losing cards? AfxWnd70u91 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u92 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u93 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u94 Area=[159 479 0 0] Text= Button34 Area=[208 534 109 29] Text= Button35 Area=[362 534 109 29] Text= AfxWnd70u95 Area=[149 474 382 118] Text= AfxWnd70u96 Area=[169 489 360 45] Text=Muck winning cards? AfxWnd70u97 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u98 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u99 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u100 Area=[159 479 0 0] Text= Button36 Area=[208 534 109 29] Text= Button37 Area=[362 534 109 29] Text= AfxWnd70u101 Area=[149 474 382 118] Text= AfxWnd70u102 Area=[169 489 360 45] Text= AfxWnd70u103 Area=[169 504 360 17] Text= AfxWnd70u104 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u105 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u106 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u107 Area=[159 479 0 0] Text= Button38 Area=[169 534 109 29] Text= Button39 Area=[287 534 109 32] Text= Button40 Area=[404 534 109 29] Text= AfxWnd70u108 Area=[149 474 382 118] Text= AfxWnd70u109 Area=[169 489 360 45] Text= AfxWnd70u110 Area=[169 504 360 17] Text= AfxWnd70u111 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u112 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u113 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u114 Area=[159 479 0 0] Text= Button41 Area=[169 534 109 29] Text= Button42 Area=[287 534 109 29] Text= Button43 Area=[404 534 109 29] Text= AfxWnd70u115 Area=[149 474 382 118] Text= AfxWnd70u116 Area=[169 489 360 45] Text= AfxWnd70u117 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u118 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u119 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u120 Area=[159 479 0 0] Text= Button44 Area=[208 534 109 32] Text= Button45 Area=[362 534 109 32] Text= AfxWnd70u121 Area=[149 474 382 118] Text= AfxWnd70u122 Area=[276 498 0 0] Text= AfxWnd70u123 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u124 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u125 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u126 Area=[159 479 0 0] Text= Button46 Area=[178 546 110 24] Text= Button47 Area=[178 523 110 24] Text= Button48 Area=[298 523 110 24] Text= Button49 Area=[298 546 110 24] Text= Button50 Area=[418 523 110 24] Text= Button51 Area=[418 546 110 24] Text= AfxWnd70u127 Area=[149 474 382 118] Text= AfxWnd70u128 Area=[190 490 200 50] Text=Click on cards to discard. (F4... AfxWnd70u129 Area=[195 575 56 15] Text=Bet: $0.50 AfxWnd70u130 Area=[310 575 56 15] Text=Pot: $2.45 AfxWnd70u131 Area=[433 575 66 15] Text=Rake: $0.05 AfxWnd70u132 Area=[159 479 0 0] Text= Button52 Area=[407 490 99 27] Text= Button53 Area=[407 490 99 27] Text= Button54 Area=[407 490 99 27] Text= Button55 Area=[407 490 99 27] Text= Button56 Area=[407 490 99 27] Text= Button57 Area=[407 490 99 27] Text= AfxWnd70u133 Area=[532 475 264 123] Text= AfxWnd70u134 Area=[532 475 264 123] Text= AfxWnd70u135 Area=[532 475 264 123] Text= Button58 Area=[762 576 28 21] Text= AfxWnd70u136 Area=[10532 50475 37 14] Text=Istanbul AfxWnd70u137 Area=[542 496 59 14] Text=Pre-flop fold AfxWnd70u138 Area=[682 496 15 14] Text=n/a AfxWnd70u139 Area=[542 513 19 14] Text=Net: AfxWnd70u140 Area=[682 513 15 14] Text=n/a AfxWnd70u141 Area=[542 529 34 14] Text=Hands: AfxWnd70u142 Area=[682 529 15 14] Text=n/a AfxWnd70u143 Area=[542 545 25 14] Text=Won: AfxWnd70u144 Area=[682 545 15 14] Text=n/a AfxWnd70u145 Area=[542 561 23 14] Text=Split: AfxWnd70u146 Area=[682 561 15 14] Text=n/a AfxWnd70u147 Area=[542 577 24 14] Text=Lost: AfxWnd70u148 Area=[682 577 15 14] Text=n/a AfxWnd70u149 Area=[542 481 25 14] Text=Time: AfxWnd70u150 Area=[682 481 15 14] Text=n/a Button59 Area=[225 273 109 32] Text= Button60 Area=[467 273 109 32] Text= AfxWnd70u151 Area=[5 601 800 30] Text= AfxWnd70u152 Area=[5 601 800 30] Text= Button61 Area=[680 602 108 21] Text= Button62 Area=[5 601 101 30] Text= Button63 Area=[109 601 101 30] Text= Button64 Area=[213 601 101 30] Text= Button65 Area=[317 601 101 30] Text= Button66 Area=[421 601 101 30] Text= Button67 Area=[525 601 101 30] Text= Button68 Area=[629 601 101 30] Text= Button69 Area=[733 601 101 30] Text= Button70 Area=[837 601 101 30] Text= Button71 Area=[941 601 101 30] Text= Button72 Area=[1045 601 101 30] Text= Button73 Area=[1149 601 101 30] Text= Button74 Area=[1253 601 101 30] Text= Button75 Area=[1357 601 101 30] Text= Button76 Area=[1461 601 101 30] Text= Button77 Area=[1565 601 101 30] Text= Button78 Area=[1669 601 101 30] Text= Button79 Area=[1773 601 101 30] Text= Button80 Area=[1877 601 101 30] Text= Button81 Area=[1981 601 101 30] Text= Button82 Area=[2085 601 101 30] Text= Button83 Area=[2189 601 101 30] Text= Button84 Area=[2293 601 101 30] Text= Button85 Area=[2397 601 101 30] Text= Button86 Area=[2501 601 101 30] Text= Button87 Area=[2605 601 101 30] Text= Button88 Area=[2709 601 101 30] Text= Button89 Area=[2813 601 101 30] Text= Button90 Area=[2917 601 101 30] Text= Button91 Area=[3021 601 101 30] Text= AfxWnd70u153 Area=[1293 31 791 605] Text=Istanbul, Pot Limit Texas Hold...</pre><hr /> !!! [img]/images/graemlins/shocked.gif[/img] No wonder their software is always so unstable after updates (or used to be when I played there many years ago) Anyway, if the code works for play money, I see no reason why it wouldn't for real money. |
|
|