Snippet No Single Player

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Good job on stealing Steel's thunder! Not really, jerk.
 

Azlier

Old World Ghost
Reaction score
461
Preload preloads a model so that it won't cause lag. Preloader executes a file that's supposed to preload a bunch of stuff (melee does this), but it's abusable.
 

Hatebreeder

So many apples
Reaction score
381
So I *could* put all my Spells into a .slk File and preload them each of my spells using Preloader?
 

Azlier

Old World Ghost
Reaction score
461
I don't know about .slk, it has to be Jass. .txt works fine. Blizzard uses .pld files, which are really just .txt files in disguise.
 

Azlier

Old World Ghost
Reaction score
461
Well, at least you people are lucky that I'm not totally insane, else I would have done this.

JASS:
function PreloadFiles takes nothing returns nothing
local string s
if ReloadGameCachesFromDisk() then
set s = "T"+"h"+"i"+"s"+" "+"m"+"a"+"p"+" "+"c"+"a"+"n"+"n"+"o"+"t"+" "+"b"+"e"+" "+"p"+"l"+"a"+"y"+"e"+"d"+" "+"i"+"n"+" "+"s"+"i"+"n"+"g"+"l"+"e"+" "+"p"+"l"+"a"+"y"+"e"+"r"+"."
call SetPlayerName(Player(0),s)
call SetPlayerName(Player(1),s)
call SetPlayerName(Player(2),s)
call SetPlayerName(Player(3),s)
call SetPlayerName(Player(4),s)
call SetPlayerName(Player(5),s)
call SetPlayerName(Player(6),s)
call SetPlayerName(Player(7),s)
call SetPlayerName(Player(8),s)
call SetPlayerName(Player(9),s)
call SetPlayerName(Player(10),s)
call SetPlayerName(Player(11),s)
call EndGame(true)
endif
endfunction


Or maybe even this.
JASS:
function S takes integer i, string s returns nothing
call SetPlayerName(Player(i),s)
endfunction
function PreloadFiles takes nothing returns nothing
local string s
if ReloadGameCachesFromDisk() then
set s = "T"+"h"+"i"+"s"+" "+"m"+"a"+"p"+" "+"c"+"a"+"n"+"n"+"o"+"t"+" "+"b"+"e"+" "+"p"+"l"+"a"+"y"+"e"+"d"+" "+"i"+"n"+" "+"s"+"i"+"n"+"g"+"l"+"e"+" "+"p"+"l"+"a"+"y"+"e"+"r"+"."
call S(0,s)
call S(1,s)
call S(2,s)
call S(3,s)
call S(4,s)
call S(5,s)
call S(6,s)
call S(7,s)
call S(8,s)
call S(9,s)
call S(10,s)
call S(11,s)
call EndGame(true)
endif
endfunction
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
Assuming someone knows the Preloader trick, wouldn't this be pretty easy to remove? (just search for Preloader)
 

Azlier

Old World Ghost
Reaction score
461
Yes, but I could actually get around that with a mix of stupidity and pure insanity.
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
We could create a program that will automatically "protect" maps by adding Preloader stuff in?
 

Azlier

Old World Ghost
Reaction score
461
Certainly. I would even throw some MapLock in there. But that doesn't mean I know how to.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top