| Mirage Source http://miragesource.net/forums/ |
|
| Cheat System[UNTESTED] http://miragesource.net/forums/viewtopic.php?f=210&t=3315 |
Page 1 of 2 |
| Author: | KruSuPhy [ Fri Jan 25, 2008 11:17 pm ] |
| Post subject: | Cheat System[UNTESTED] |
Credits to GIAKEN Mod on Elysium Source Forums. Not sure if he's on these forums I don't much look around. This is all that he provided me And As soon as my coders reply to me on Elysium I'm gonna add it to my game and test it :S ------------------------ Client-side: Code: Code: Private Sub cmdSend_Click() Call SendData("cheatpacket" & SEP_CHAR & txtCheat.Text & END_CHAR)) End Sub Server-side: Code: Code: If Parse$(0) = "cheatpacket" Then Dim Successful As Byte Successful = NO For I = 1 to MAX_CHEATS If Parse$(1) = Cheats(I).Name Then Call RunCheat(I) Successful = YES Exit For End If Next I If Not Successful Then Call AlertMsg("That's not a cheat!", Red) Exit Sub End If Exit Sub End If That should work...just not sure about the AlertMsg, I don't have my source open. For the RunCheat it could be: Code: Code: Public Sub RunCheat(ByVal Cheat_Index As Long) Select Case Cheat(Cheat_Index).Name Case "goldwhatever" ' give them gold? End Select End Sub Also don't forget: Code: Code: Public Const MAX_CHEATS As Byte = 2 Cheat(1 To MAX_CHEATS) As CheatRec Type CheatRec Name As String End Type Untested. |
|
| Author: | jasoncannon [ Sat Jan 26, 2008 5:45 am ] |
| Post subject: | Re: Cheat System[UNTESTED] |
why make a cheat system for a mmo? |
|
| Author: | Stomach Pulser [ Sat Jan 26, 2008 6:10 am ] |
| Post subject: | Re: Cheat System[UNTESTED] |
If the admins want to hack...or let a player hack or something... |
|
| Author: | KruSuPhy [ Sat Jan 26, 2008 5:52 pm ] |
| Post subject: | Re: Cheat System[UNTESTED] |
If a certain Premium player runs out of coins( if i add Premium, which is a slim chance ), They could enter the cheat Or The cheat could be open to everybody, One time use. |
|
| Author: | zidsal [ Sat Jan 26, 2008 7:27 pm ] |
| Post subject: | Re: Cheat System[UNTESTED] |
cheats are stupid all they do is ruin a game and a economy whats the point of playing an orpg if you have everything you need? letting people get free money makes inflation which will destroy an economy, letting players get items ruins the value of items, letting players become invincible (unless done correctly e.g in runescape with protection prayers or like world of warcraft which is immunity for x seconds) makes training worthless and there is no challenge and ruins PVP. thats my 2 cents zidsal |
|
| Author: | Rian [ Sat Jan 26, 2008 9:59 pm ] |
| Post subject: | Re: Cheat System[UNTESTED] |
You could do special events. Trigger something that tells the player when they log in that they get to enter a one time cheat just because they logged on during "Special Event Day". You could do it weekly, or monthly or something. It wouldn't screw with the in game economy too much |
|
| Author: | Kousaten [ Tue Jan 29, 2008 1:27 pm ] |
| Post subject: | Re: Cheat System[UNTESTED] |
I agree with Sonire on this. I run events in Sakuramisora occasionally for some pretty big prizes considering how easy the events themselves are, but even so I don't run them so often to a point where everyone can't still have fun with the game and community. Giving people unlimited access, or even a somewhat constant access to the cheat would be a bit much, unless of course the rewards given by the cheat were miniscule or could only be used in certain areas. Like, make a special town or something where the currency is only that particular one given by the cheat, and all of the items you get there are either for those "premium" players, or can only be used in special areas like that. It wouldn't take much coding to pull that off either. |
|
| Author: | Lea [ Tue Jan 29, 2008 2:14 pm ] |
| Post subject: | Re: Cheat System[UNTESTED] |
Once you write code for a cheat code, it becomes much easier for any hacker to exploit it. |
|
| Author: | Kousaten [ Tue Jan 29, 2008 5:48 pm ] |
| Post subject: | Re: Cheat System[UNTESTED] |
Dave wrote: Once you write code for a cheat code, it becomes much easier for any hacker to exploit it. Quoted for truth, unfortunately. Rewards for events are easier given in account editor anyway, hehe. |
|
| Author: | Asrrin29 [ Tue Apr 15, 2008 12:57 am ] |
| Post subject: | Re: Cheat System[UNTESTED] |
I hear you. I am even going to go so far as to strip out all admin commands and forms from the release client, and keep two separate code bases for admins and regular players. That way there is less likelihood of people abusing things present in the code. |
|
| Author: | seraphelic [ Tue Apr 15, 2008 1:22 am ] |
| Post subject: | Re: Cheat System[UNTESTED] |
Asrrin29 wrote: I hear you. I am even going to go so far as to strip out all admin commands and forms from the release client, and keep two separate code bases for admins and regular players. That way there is less likelihood of people abusing things present in the code. It's a pain in the buttox to have to edit both the admin and player clients so I scrapped the idea until the game's close to complete. I kept mapping in the main client though. |
|
| Author: | Asrrin29 [ Tue Apr 15, 2008 1:29 am ] |
| Post subject: | Re: Cheat System[UNTESTED] |
oh yes, I won't do it right away, I won't do it until the beta is close to a stable release. But I plan on using the admin client as a base, and every time I do a major update just spend the extra couple of minutes stripping it of admin commands before offering it up as a download. shouldn't be too much of a hassle after the first few times. |
|
| Author: | Kousaten [ Tue Apr 15, 2008 11:44 am ] |
| Post subject: | Re: Cheat System[UNTESTED] |
Put a specific comment on each command you need to remove for the player version so you don't have to scroll through so much text. Code: ' Look here for player client code removal or something. *shrug* |
|
| Author: | Lea [ Tue Apr 15, 2008 12:05 pm ] |
| Post subject: | Re: Cheat System[UNTESTED] |
Or move all the code that's removed into one module, and just delete the module ;-; |
|
| Author: | Asrrin29 [ Tue Apr 15, 2008 12:40 pm ] |
| Post subject: | Re: Cheat System[UNTESTED] |
both very good ideas, and ones I', sure I'll end up implementing when the time comes. |
|
| Author: | Kousaten [ Tue Apr 15, 2008 12:55 pm ] |
| Post subject: | Re: Cheat System[UNTESTED] |
Dave wrote: Or move all the code that's removed into one module, and just delete the module ;-; I like Dave's idea better than mine. |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|