Some people in the guild were talking about it the other day so I downloaded it and looked into it. I made a script that gives you one ball every time you hit something (most of the time).
Code:
/script f=CreateFrame("FRAME");t=time();f:SetScript("OnUpdate",function() if t+1<time() then t=time() PeggleWindow.ballTracker.nextValue=1 end end)
It did what I wanted it to do, but I'll check talents tomorrow for you.
EDIT: Okay, I was way too excited (I love challenges), and I'll have enough time to sleep anyway when I die, so here goes "all talents" mode:
1. Make sure you have the latest version (currently 1.01a).
2. Open Peggle.lua in any editor (one with line numbering is a bonus, but not needed).
3. Find this line:
Code:
local function ht(o)local t,i,e=Fe();local e=o:GetID();if(t>0)then
For me it was on line 179. Replace it with:
Code:
local function ht(o)local t,i,e=Fe();local e=o:GetID();if(true)then
This will let you click talents even when you are below zero.
4. Save it, play it, pwn it
.
I'll see what we can do about the other stuff tomorrow, and this time I really mean tomorrow.
EDIT2: More cheats:
Get one extra ball:
Code:
/script PeggleWindow.ballTracker:UpdateDisplay(2)
Get the coin flip after every shot:
Find this (for me: line 1151)
Code:
if(o.pegsHit==0)and(not o.freeBall)then
replace with
Get one ball after every shot:
Find this (for me: line 1153)
Code:
y(e.SOUND_COIN_SPIN);o.coin.elapsed=0;o.coin.side=0;o.coin.flips=0;o.coin.check=nil;o.spinStop=nil;o.coin:Show();Ae=0;end
else
end
if(s[5]==0)then
replace with
Code:
y(e.SOUND_COIN_SPIN);o.coin.elapsed=0;o.coin.side=0;o.coin.flips=0;o.coin.check=nil;o.spinStop=nil;o.coin:Show();Ae=0;end
else
end
PeggleWindow.ballTracker:UpdateDisplay(2)
if(s[5]==0)then
Change helper anytime:
Code:
/script local _,_,f=PeggleWindow:GetChildren();local _,_,_,_,_,g=f:GetChildren();g:Show()