Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cheat System
#1
I was wondering if there's any way to implement a Cheat System?
Like
While your playing, Ctrl+C would pop up a form with a textbox, and send, And someone types a cheat in and gets around 60 coins or something?
I know It'd end up being exploited, but i could always dig a way around that.
Any Ideas?
Reply
#2
You need some type key hook (low level key hook was it?) to get the Ctrl + C. Then, just make a cheat from that pops up and shows a text box. Then, check what they input there, and see if it is a cheat. If it is, use the cheat.

I suggest using something like f10 as the cheat box, so you can use the functions built into Mirage.
Reply
#3
Code:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If GetAsyncKeyState(vbKeyControl) And GetAsyncKeyState(vbKeyQ) Then Call GameDestroy
    Call CheckInput(1, KeyCode, Shift)
End Sub

Thats my code for pressing Ctrl+Q to close the game. The GetAsyncKeyState function should already be in the MSE1.
Reply
#4
Mmk
Well
>_<
Maybe
/cheat
During gameplay could pop up the frmCheat?
And
Code:
Private Sub cmdSend_Click()
If txtCheat.Text = "irapesheepforaliving12345" Then
Form1.Show
Else
MsgBox "You have entered a cheat incorrectly"
End If
End Sub
What would i put where the Form1.Show is, to send the player who entered it the coins?
Reply
#5
Are we done helping?
;/
Tongue
Reply
#6
Ufff.
Mmk o_o"
I'll find slash commands in frmMirage?
And
I could still use the Coin packet to send to the player
Reply
#7
Its in the client. Smile Just a memory refresher.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)