Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help with trainer problem

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
alexakahlan
Newbie cheater
Reputation: 0

Joined: 05 May 2016
Posts: 10

PostPosted: Tue May 17, 2016 1:14 am    Post subject: Help with trainer problem Reply with quote

So Daspamer made a trainer for me years ago and it has been working fine until a few weeks ago when the game had an update.
He usually fixes it but now, he's out of the radar for over a month and one of the cheat that he did got patched. I would like to learn how to fix it myself thus I am asking for help here for someone who could point me on the right direction. Of course, I am also willing to acquire anyone's services in helping me if this involves lots of time or coding. Just pm me anytime. If it's an easy fix though, I would appreciate it very much if you can help me on this post.

So the game is Farmville 2 and what the cheat does is:

User enables the cheat for farmbucks
user goes to market and purchase an item that costs farmbucks
after purchase, farmbucks changes to 10,000
every time the user uses the farmbucks, it increases, never decreases (unlimited)
so this is like an unlimited farmbucks cheat

please refer to the code below. I got it from the files that Daspamer provided to me.


Code:
function FarmVille2Trainer:FarmVilleCashDecReplacer(sender)
  local search = "D0 D0 66 ?? ?? ?? ?? ?? 07 A1 ?? ?? ?? D0 24 FF ?? ?? ?? 07 A2"
  local changeTable = {}

  local aobs = AOBScan(search)
  if(aobs == nil) then
   return nil
  else

    for i=0,stringlist_getCount(aobs)-1 do
       local address=stringlist_getString(aobs,i)
       local changeTable = readBytes(address,30,true)

       changeTable[6],changeTable[7],changeTable[8] = 0x68,changeTable[4],changeTable[5]
       changeTable[3], changeTable[4], changeTable[5]  = 0x25,0x90,0x4e
       changeTable[9]                                  = 0xd0
       changeTable[10],changeTable[11],changeTable[12] = 0x25,0x90,0x4e
       for i=13,21 do
         changeTable[i] = 0x02
       end
       changeTable[29],changeTable[30]                 = 0x47,0x48

       changeTable[31] = 'dummy'
      writeBytes('0x'..address,changeTable)
    end

    object_destroy(aobs);
    aobs=nil
  end
  return true
end
function FarmVille2Trainer:Temp10KCash(sender)
   CheckMsg = messageDialog("Before you continue\nPlease make sure you didn't purchase anything!\nPress OK to enable hack", mtInformation, mbOK, mbCancel)
   if CheckMsg ~= mrOK then return end
   if self:FarmVilleCashDecReplacer()==true  then
      AobChangeCheck = nil 
      control_setEnabled(sender, false)
      showMessage("Done!\nYou may buy all you want! if you got enough Farm Bucks for it, if not buying something for 1 Farm Buck and you'll have 10K temporary bucks\nThis works for Expansions and you will not lose ANY Bucks after reload!(nor save it!:L)")
   else
      showMessage('Failed to enable hack!');
   end
end


So now, every time I enable the hack, it gives me the message "Failed to enable hack!".
I need someone to help me understand how to fix the problem.

Can someone help me fix it?
Thank you for your help.
Back to top
View user's profile Send private message
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Tue May 17, 2016 5:35 am    Post subject: Reply with quote

Should work fine now try again
_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
Back to top
View user's profile Send private message
alexakahlan
Newbie cheater
Reputation: 0

Joined: 05 May 2016
Posts: 10

PostPosted: Tue May 17, 2016 6:11 am    Post subject: Reply with quote

Woah! Hey Kev you're back?! Been messaging you on skype for weeks! I lost your contact info on Whatsapp due to an unplanned reformat of my phone. Can you please give me your whatsapp again on skype? Thanks! Good to see you're back. Very Happy

UPDATE:

So I checked the trainer and it's enabling fine now but the farmbucks does not change. Not getting the 10k farmbucks. Can you please recheck? Thanks DS!
Back to top
View user's profile Send private message
alexakahlan
Newbie cheater
Reputation: 0

Joined: 05 May 2016
Posts: 10

PostPosted: Tue May 17, 2016 5:41 pm    Post subject: Reply with quote

Still there DS? Please recheck the trainer and also pm me your paypal account please and your whatsapp account. Thanks a lot
Back to top
View user's profile Send private message
alexakahlan
Newbie cheater
Reputation: 0

Joined: 05 May 2016
Posts: 10

PostPosted: Fri May 20, 2016 12:50 am    Post subject: Reply with quote

Hey Kev, if you can read this, please send me your Paypal account on skype and hopefully you can fix the 10k farmbucks problem too. Thanks!
Back to top
View user's profile Send private message
alexakahlan
Newbie cheater
Reputation: 0

Joined: 05 May 2016
Posts: 10

PostPosted: Wed May 25, 2016 4:19 am    Post subject: Reply with quote

Just an update in case DaSpamer comes in and read this:

Hey DS, so I tried to remove the 10k Farmbucks on the LUA script since it's still not working. I was able to remove it successfully then uploaded the new script on the server. I added a "Tool copy" folder on the server as a backup of the original scripts in case you didn't have a copy of it since I have already updated the Tool folder on the server.

I hope you can contact me soon Kev. Just waiting on Skype. Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites