• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

No SinglePlayer 1.0

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
  • Like
Reactions: Humbreaker
No SinglePlayer
1) Firstly to clear things :
This System isn't made by me x3GlikE this system is made by Snipplet , I just uploaded it to hives because i think that some people who are making maps (Mainly ORPGS) would need a system like this. I have checked wc3.edt.net ( A Website where they inject cheat packs to your maps ) and this system hasn't been detected yet.
P.S System doesn't work on Battle.Net and over Lan..

2) I would like you to know that you should change the name of model.mdx since i am posting it on Hives.

JASS:
function PreloadFiles takes nothing returns nothing
local integer i=11
if ReloadGameCachesFromDisk() then
loop
call SetPlayerName(Player(i),"This map cannot be played in single player.")
exitwhen i==0
set i=i-1
endloop
call EndGame(true)
endif
endfunction
  • No SinglePlayer
    • Events:
  • Map Initialization
    • Conditions:
    • Actions:
  • Custom Script: call Preloader("war3mapImported\\Model.mdx")
How it works ,
When your Map starts / finishes loading this little trigger will call the model.mdx to run and find out if your playing sinleplayer or not if you are it will auto shutdown the game and you will be kicked.

Have fun with this system :D

Keywords:
Single Player No Snipplet
Contents

No SinglePlayer (Map)

Reviews
16:16, 31st Aug 2010 TriggerHappy: You didn't make this so it can't be accepted.

Moderator

M

Moderator

16:16, 31st Aug 2010
TriggerHappy:

You didn't make this so it can't be accepted.
 
use Jass tags.

Examble:
[code=jass]
function PreloadFiles takes nothing returns nothing
local integer i=11
if ReloadGameCachesFromDisk() then
loop
call SetPlayerName(Player(i),"This map cannot be played in single player.")
exitwhen i==0
set i=i-1
endloop
call EndGame(true)
endif
endfunction
[/code]
JASS:
function PreloadFiles takes nothing returns nothing
local integer i=11
if ReloadGameCachesFromDisk() then
loop
call SetPlayerName(Player(i),"This map cannot be played in single player.")
exitwhen i==0
set i=i-1
endloop
call EndGame(true)
endif
endfunction
 
Top