How to make a anti-singleplayer jass or gui?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

siang05
Newcomer
Posts: 24
Joined: September 1st, 2008, 12:33 am

Re: How to make a anti-singleplayer jass or gui?

Post by siang05 »

initialD wrote: he wants a map that can't be played in single player.
Local game could be misleading, he means LAN game. Should be local-area-network.
w/e
doesn't matter though.
yeah, that is what i mean. Sorry about the confusing.
But how should i do so that i only can play the game with computer in LAN game??
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: How to make a anti-singleplayer jass or gui?

Post by Senethior459 »

Okay. That clears things up a bit. Unfortunately... I don't think this is possible. Maps don't have a way to tell if they're in LAN or Battle.net, as far as I know. I don't really know how it would test that. Maybe by testing if it's routing through a Blizzard server? I don't know if maps have the capability to do that, though. I don't think that they can do things like that.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
siang05
Newcomer
Posts: 24
Joined: September 1st, 2008, 12:33 am

Re: How to make a anti-singleplayer jass or gui?

Post by siang05 »

I have no idea how to disable the cheat being used in singleplayer, especially whosyourdaddy. TT
Dekar
Forum Drunk
Posts: 2915
Joined: January 17th, 2007, 4:22 pm
Has thanked: 1 time
Been thanked: 1 time

Re: How to make a anti-singleplayer jass or gui?

Post by Dekar »

You can check the ping (have seen it on NOTD:AM I think) and kick all >5ms.
Don't pm me with Warcraft questions, this is a forum so just make a post!
In the world of thinking we are all immigrants. -Robert Nozick
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: How to make a anti-singleplayer jass or gui?

Post by Senethior459 »

The singleplayer cheats only work in the singleplayer maps, don't worry about whosyourdaddy.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: How to make a anti-singleplayer jass or gui?

Post by Aero »

Dekar wrote:You can check the ping (have seen it on NOTD:AM I think) and kick all >5ms.
The method is unreliable as I understand.
siang05
Newcomer
Posts: 24
Joined: September 1st, 2008, 12:33 am

Re: How to make a anti-singleplayer jass or gui?

Post by siang05 »

Senethior459 wrote:The singleplayer cheats only work in the singleplayer maps, don't worry about whosyourdaddy.
O.o actually i'm not understand what you mean. hmm, i did a map, but i don't wan let them using cheat on it while playing in singplayer. that why i want to disable the cheat or any way that can anti-singleplayer.
User avatar
risker
Forum Staff
Posts: 351
Joined: June 8th, 2008, 3:05 am
Location: Australia

Re: How to make a anti-singleplayer jass or gui?

Post by risker »

Aero wrote:
Dekar wrote:You can check the ping (have seen it on NOTD:AM I think) and kick all >5ms.
The method is unreliable as I understand.
All it would take is a computer to freeze or have a lag spike and owned?
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: How to make a anti-singleplayer jass or gui?

Post by initialD »

siang05 wrote:
Senethior459 wrote:The singleplayer cheats only work in the singleplayer maps, don't worry about whosyourdaddy.
I think there is some way to detect if it's played in SInglePLayer mode, or just single player in LAN mode.
Because Blizzard obviously has a way to detect it and let those default cheats activated if only a player is playing in the SINGLE player Mode, not single player in LAN.

somehow, I don't know the method.
Yet you can still put triggers to detect all those cheats commands such as whosyourdaddy
whenever a string like whosyourdaddy is typed, the player be kicked.
that's easy...though.
User avatar
Kryptonyte
Forum Staff
Posts: 1400
Joined: March 17th, 2008, 12:07 am

Re: How to make a anti-singleplayer jass or gui?

Post by Kryptonyte »

I don't know if this would work for sure... but might as well post it...

Code: Select all

Event:
Time - Elasped game time is 3.00 seconds

Conditions - 
All conditions are (true)
(Player 1 (Red) controller) not equal to User
(Player 2 (Blue) controller) not equal to User

Actions - 
Pick every player in group (all players)
Loop - Actions
Game - Defeat (picked players) with the message: "W/e you want"
That should keep them from just setting a computer... so it will have to be played with another actual PLAYER,
not just a computer... not sure if it will work though. Worth trying? = /
Image
Made by the late ILikeHacking

My quote from SKillER
Spoiler:
Chat wrote:(19:12:41) SKillER: newfags cant triforce
(19:20:30) SKillER: ▲
▲ ▲
(19:20:35) SKillER: aww
(19:20:37) FatherSpace: FAIL
(19:20:43) Kryptonyte: Wow stop failing.
(19:20:47) SKillER: ▲
▲ ▲
(19:21:41) Kryptonyte: .

. ▲
▲ ▲
(19:22:20) Kryptonyte: I guess you were right, newfags can't triforce.
(19:22:29) SKillER: . . ▲
▲ ▲
(19:23:04) SKillER: OMFG
(19:23:06) SKillER: ... THIS CHAT
(19:23:06) SKillER: !
(19:23:36) SKillER: ▲
▲ ▲
(19:23:46) SKillER: ▲
.▲ ▲
Apparently, SKillER is a newfag.