Castle Fight 1.12 Beta 7, password protection.

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

joanadarc
Newcomer
Posts: 1
Joined: November 16th, 2008, 4:02 pm

Castle Fight 1.12 Beta 7, password protection.

Post by joanadarc »

Castle Fight 1.12 beta 7 (and all betas) [http://www.epicwar.com/maps/73825/] is protect with Name and password protection.
If your name is on not on the list of the map, it kicks you:

Code: Select all

function AKG takes nothing returns nothing
   set udg_gamecache02=InitGameCache("CFbeta.w3v")
   call AKF()
   call AJ9("IMNOTSHOWINGTHISDARKNESS",18484)
   call AJ9("Iambetterthanyou",231556)
   call AJ9("Killme1337",427108)
        [...] lots and lots of name
   call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cffFF7900Beta mode! Only valid beta testers are allowed to play. There are currently "+I2S(udg_integer18)+" beta testers registered.|r")
   call TriggerSleepAction(.1)
   call AKD()
   call EnableTrigger(udg_trigger158)
   call TriggerSleepAction(45)
   call AKE()
endfunction


And pw protection:

Code: Select all

[...]
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cffFF7900"+GetPlayerName(Player(i))+" has no valid name! He got kicked!|r")
[...]
if GetStoredBoolean(udg_gamecache02,s,"pwcorrect")then
else
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cffFF7900"+GetPlayerName(Player(i))+" didn't enter his password! He got kicked!|r")
[...]


And since I know nothing about coding. I would like to know if any of you guys could help me.
Help unprotect the map so unregistered players could play.

And if you don't know this map, I recommend you to play, it's good.
Your signature should go here.