This silent folder contains everything needed to play on the Ets Main silent server. (except maps)
The silent client binaries are also included, select your platform when you download.
Install the silent folder into the root of your Enemy Territory Installation.
Auto-Optimize ET Settings
Purpose: Automatically sets the optimized settings for ET.
Settings changed when using this pk3:
seta com_hunkmegs 256
seta com_soundmegs 64
seta com_zonemegs 48
seta com_maxfps 125
seta cl_maxpackets 100
seta rate 56000
seta snaps 40
These settings will optimize your ET Gameplay while also preventing the hunk_alloc errors.
// Installation //
Cut and paste the PK3 included in this .zip into your "etmain" directory.
Note: you will need to launch the game and then restart the game after installing this PK3 for the new settings to take effect.
By Katefor mappers sources : https://wolffiles.de/index.php?Oldwolfmapnewslist
I] Mentions Légales
CE LOGICIEL EST FOURNI "EN L'ETAT" SANS GARANTIE D'AUCUNE SORTE, QU'ELLE SOIT IMPLICITE OU EXPLICITE, Y COMPRIS LES GARANTIES D'APTITUDE A UN TYPE D'UTILISATION.
EN AUCUN CAS, CIDELCORP NE SERA TENU RESPONSABLE POUR TOUT DOMMAGE SPECIAL, ACCIDENTEL OU INDIRECT DECOULANT DE LA POSSESSION, DE L'UTILISATION OU DU DYSFONCTIONNEMENT DE CE LOGICIEL CIDELCORP.
CIDELCORP SE RESERVE LE DROIT DE PROCEDER A DES AMELIORATIONS SUR CE FICHIER ET SUR CE LOGICIEL A TOUT MOMENT ET SANS PREAVIS.
Ajout d'un nouveau système de sélection de jeu (l'ancien ne permettais pas de choisir facilement son jeu)
Correction d'un bug provoquant l'arret du programme lors de la decompression des textures
Correction d'un bug de casse pour quake 3
Ajout du système de statistiques anonymes cidelcorp ( Nom complet de l'os, version du programme, date de la decompilation)
Correction d'un bug
Modification du texte copié dans le presse papier lors de crashs.
Ajout d'une meilleure mise en evidence des problèmes de la compilation
Ajout du support des textures pour les 3 jeux supportés (Wolf:ET,RTCW,Quake3)
Ajout de la reconnaissance d'une erreur d'accès d'écriture au fichier de sauvegarde
Correction d'un bug qui provoquait lors des 2nd, 3emes ... compilations une impossibilité de sauvegarder le .map sous un nom different que "converted_mapname.map"
Ajout de ce fichier (README)
Manuel en ligne :
Forums de support :
Je tiens a remercier toute l'equipe de Cidelcorp et notemment le petit dernier, j'ai nommé cubix999.
Je tiens aussi a remercier www.enemyterritory.fr pour la news qu'ils ont postés lors de la sortie de ce logiciel.
Merci aussi à tous ceux qui m'entourrent de leur amour et de leur gentillesse.
Merci spécial à mon père : "Oui, j'y ai cru ..."
Notepad++ v7.5.9 bug-fixes and enhancements:
Fix hanging problem while switching back a fully-folded document by using shortcut (Ctrl-TAB). Fix possible file corruption during backup or power loss or other abnormal N++ termination. Fix wrong backup file deleted issue. Fix backup not fully disabled issue. Add 2 command line flags "-notepadStyleCmdline" and "-z" for the replacement of notepad.exe.
See https://notepad-plus-plus.org/features/replace-notepad.html Add new plugin API NPPM_REMOVESHORTCUTBYCMDID to allows plugins to remove unneeded shortcuts. Fix Tail monitoring incoherent status after deleting a monitored file. Fix issue with wrong smart highlighting when it is disabled. Fix last active tab is ignored on Notepad++ restart issue. Fix Tab non-responding by mouse click after dragging bug. Fix switching back position restoring issue for wrapped document. Add several spiritual quotes and a subtle Easter egg in the source code.
By Katefrom Kemon @discord
kemonToday at 10:25 [email protected] I just tested and it actually works.
Definitely when it's downloaded into etmain. For mod folders it works only if that folder is the default one in the client game
tested with my local host:
w/o the z_hunk i have : seta com_hunkMegs "56"
with the z_hunk : is modified to seta com_hunkMegs "192"
By Kate50 knifes pack made by ETc|#.Jay.#
You can use a pk3 file or a lua file.
Using the pk3:
Put the zzz_50knifes.pk3 file in your servers "nitmod" folder
and use standart g_weaponscriptsdir.
this should be in your nitmod.cfg
set g_weaponScriptsDir ""
Using the lua.
put the knife.lua in your servers nitmod folder.
add in your nitmod.cfg:
set lua_modules "knife.lua"
if you want to load more lua modules, use:
set lua_modules "knife.lua yourotherlua.lua yourotherlua.lua and.lua and.lua and.lua"
Both ways tested with nitmod only, the lua should work on every mod, if the weapon id is the same. in nitmod it is:
By KateINSTALLATION NOTES
BSP 0.96b - 7/10/2007
Note: If no games show up in the Choose Game dialog, or if you see the error message
"Couldn't find [c:\BSP\quake2\game.cfg], quitting...", it means BSP did not find a
game.cfg file in any of its subdirectories. For example, if BSP is installed to
C:\BSP, for Quake editing there should exist a file C:\BSP\Quake\game.cfg. Re-install
BSP to restore the default files.
Note: "Setup.exe" has been removed from this version of BSP. This program was
a GUI front end to editing game.ini files. Since game.ini file formats have
changed, "setup.exe" is no longer valid. To configure games without "setup.exe",
find Game.cfg in the subdirectory of the game you wish to edit, and edit it in
a text editor. See Directory Configuration below.
Install Games to Edit
First, you should have any games you are editing for installed on your system. BSP
utilizes the .pak files and game data from games to display models and textures.
For Quake 1 engine games, BSP loads their textures through .wad files. These .wad
files are not included with the game, but textures from the game can be extracted
into .wad files. More textures can be found on the internet (try
http://quaddicted.com/wads, or http://bspquakeeditor.com/downloads.php). A small
.wad file containing a few textures from Q1 is included in the quake\maps
BSP uses batch files to build map files into .bsp files to play in games. These
batch files, that can be found in the game directories, may need to be modified
to have the directories point to the right locations. For information on setting
up batch files for compiling and running maps, see the Export to *.bsp (BSP.chm)
Just run the setup utility and choose a destination folder to extract to.
It is highly recommended to install BSP .96 to a fresh directory! With BSP .96, a
utility is included to upgrade config files. Please refer to bspupd96.txt for
instructions on the upgrade install.
From within BSP, game settings can be edited by going to the Game section of the
options, or by clicking File->Preferences->Game/Directories... menu. After
configuring game options, click the Write Game.cfg file button and restart BSP.
For information on individual game options, see Game Configuration (BSP.chm).
Note! Game setup can be simplified a lot by having the games installed to their
default locations. When this is the case, there is very little need to change the
config file and it will usually "just work".
Example default game install locations:
By KateET (Enemy territory) has been messed up lately with master list redirect and hacking issues. In order to stop it, please download the ET.exe and replace your current one. Patch is for all ET players playing from Windows OS.
1. Download the 2 file ET.exe and ETPRO.exe.
2. Replace the ET.exe with the downloaded ET.exe.
3. Use ET.exe to play on all mods except ETPro. For playing on ETPro mod, use ETPRO.exe.
Please share this file to all your friends and ask them to patch their ET with this one. Please report on forums for any issues, if any.
Note - New patch will also stop players redirecting from fake ET redirect servers. It's about time we focus towards good gaming experience for all new ET players.
Note 2 - If any new issues, we might try to fix that as well or revert back or provide complete new patch. So please subscribe to this file download. If file gets updated you will get notification, so you can stay up to date.
IMP Note - Please don't download the file from other sites or source, as some may try to inject virus/trojans and spread the copy of it. I take full responsibility of this file on our website and 100% guarantee it doesn't have any back-doors. So my humble request - please be careful i.e. from where you download the files and what servers you play on.
Update - Patch has issues with ETPro and hence use ETPRO.exe to play on ETPro mod servers.
PS Long live ET where we have made some life long best friends. ET for next 50 years till it becomes legacy like super Mario
By KateQtracker Information Easy, One-Click Connecting You're always one click away from playing. Once you've found a server to play on, just click connect and your game will load and automatically connect to the server, so there's no need to remember ip addresses. The Auto-Login feature can even log you in and pick your soldier for games like Battlefield 2142.
If a server is full, Qtracker can automatically connect you as soon as a position is available! Players, Rules, Mapshots, and Administration View players, scores, teams, rules, and all other types of server details from one convenient window. Player names are rendered using in-game fonts to support fun-names and colors. Installable Mapshot Packs let you see images of the active map, and are available for most games and modifications.
Using the Administration tab you can execute server commands remotely and see the results. You can even see formatted player conversations, deaths, and other log events on Half-Life 1 and Half-Life 2 engine games.
Region Filtering Don't waste time querying servers you'll never play on. Over 400 regions are included with flag icons, covering all of the continents and most countries/states.
Server Filtering Advanced filters allow you to see only the servers you want to. Many filters are available for download for most games and modifications, but it's easy to create your own filters with just a few clicks. Themes Express your individuality using Windows Theme (.msstyles) files. Thousands of Themes are freely available on the Internet from websites such as deviantART and SkinBase.org.
Panes Panes allow you to arrange the interface to meet your needs. Panes can be moved, hidden, and inserted or tabbed into other panes. Auto-hide pins permit panes to conveniently collapse away when not in use, but will re-appear when you hover over them. If you've ever played a multiplayer game on your PC, the in-game server browser has probably left you wanting more. Qtracker lets you say goodbye to the in-game browser, forever!
From the convenience of one program you can manage all of the games you play, whether they're on the Internet or your LAN, without ever having to load a game. Find your friends, find new servers, watch games in progress, administer servers, and tons more.
Qtracker supports over 100 of the most popular multiplayer games, and is actively supported with regular updates. Complete listing of supported games.
By Kate== Credits & Notes ==
ET 3.00 is currently developed by Pauluzz
Credits for tracking integration go out to morsik. Special thanks for support to Solchanel.
The development is still very active, and so it can happen that there will be regular updates.
Please check for updates once in a while to see if there is anything that concerns you!
Latest version: 0.7.4 (23-5-2015) • Download
Download for Linux Download for Windows *You can rename the files to anything you like if needed! == Instructions ==
Default the game runs on 2.60b protocol 84 while accepting also legacy 2.55 clients.
For statistics tracking, be sure to unblock port 4444 UDP outgoing. • Startup Line Options
- You can list the server in both masterlites (2.55/2.60b) if you add +set net_port_extra at the startup line. Both client version can connect on both ports. +set net_port_extra PORTNUM - The server has auto update for new versions, if you do not want this put +set sv_autoUpdate 0 IN YOUR SERVER STARTUP LINE. This can not be changed during runtime. +set sv_autoUpdate 0 • Runtime/General Options
- You can enable protocol checking with (default is off/0) set sv_protocolcheck "1" - You can set the default protocol with (default is 84; possible options: 82/84) - this will also determine which clients can connect if sv_protocolcheck is enabled. set sv_protocol "84" - You can allow/disallow users with sv_allownoguid and edit the kick message with sv_guidkickmsg (default ALL people are allowed to connect/this is RECOMMENDED as many people DO NOT play with guids anymore) set sv_allownoguid "1" // 1 ENABLES IT, DEFAULT = 0, RECOMMEND LEAVING IT AT 0
set sv_guidkickmsg "You have been kicked because you do not have a valid GUID. - You can enable the chat relay by setting: set sv_chatRelay "1" // 1 ENABLES IT, DEFAULT = 0 • RCON Tools
- You can enable the rcon filtering by set sv_rconfilter "1" set the sv_rcon1 up to sv_rcon5 to whitelist rcon ip's while using sv_rconfilter "1" you can also use a * here to specify a range like 9.8.2.* • Network Options
- You can enable the rrdoss protection with (default: 0, put it on 1 to enable) set sv_maxGetstatusCheck "1" - You can change the reflective ddos tresshold by changing set sv_maxGetstatusPerMinute "A_VALUE" - You can auto add ddossing IP's in iptables with setting set sv_maxGetstatusBeforeIPTABLES "1200" Any value above 0 will be the max packets per minute a host can send before it gets in, with a typical rddos you would get ~1200 packets per minute. IT IS NOT, I REPEAT, NOT RECOMMENDED TO PUT THIS VALUE ANY LOWER, DOING SO CAN CAUSE YOU AND/OR YOUR PLAYERS TO BE UNABLE TO REACH YOUR SERVER • Notes
- ET 3.00 works with NoQuarter but does not let multi-protocol clients join, keep that in mind! == Changelog ==
Version (released) 0.7.4
- Fixed abuse for authserver, this is now disabled by default.
Version (released) 0.7.3
- Anti-Flood logging
- Improved memory usage/speed of anti-flood filter
Version (released) 0.7.2
- q3boom exploit fix
Version (released) 0.7.1
- Possible fix for silent guid error - Chat Relay is now fully functional (default disabled, set sv_chatRelay 1 to enable
- TB functions, on 0.7.1 servers type tb_help to see available commands
Version (released) 0.7.0
- Stats Tracking fixed for windows servers
- Chat Relay for server admins (default disabled, set sv_chatRelay 1 to enable
- Several Optimizations
Version (released) 0.6.7
- Jaymod fix with guidkick
Version (released) 0.6.5
- Fixed NQ compatibility
- Fixed bug introduced in 0.5.2 (not likely to happen, but updating is recommended)
Version (released) 0.6.4
- Fix for getstatus rddos protection
Version (released) 0.6.3
- Fixed security bug that could let the server crash
- Players without any guid should be able to play on enhancedmod servers now as well
By KateRS ET COLORED NAMES & VOICE MANUAL
RS ET COLORED NAMES & VOICE MANUAL © 2003 by Rob Sanders. All Rights reserved.
1. COLORED NAMES.
2. VOICE BINDS.
3. QUICK APPENDIX.
By adminEnemy Territory Full Version Windows 2.60b with final patch included.
IMPORTANT - Please Read!
For all new installations:
1. Find your etmain/profile folder,
example : C:\Programs Files\Wolfenstein - Enemy Territory\etmain\profiles\[your nickname]
2. Open file "etconfig.cfg" in notepad.
3. Search for "hunkmegs"
(When you install new ET, it is at line 56)
4. Change it to 128 or 256 if you have a newer pc. (56 is not enough for custom maps!)
By Kateto can inject usbv driver for an OS DVD installation
Fraps is a universal Windows application that can be used with games using DirectX or OpenGL graphic technology. In its current form Fraps performs many tasks and can best be described as:
Benchmarking Software - Show how many Frames Per Second (FPS) you are getting in a corner of your screen. Perform custom benchmarks and measure the frame rate between any two points. Save the statistics out to disk and use them for your own reviews and applications.
Screen Capture Software - Take a screenshot with the press of a key! There's no need to paste into a paint program every time you want a new shot. Your screen captures are automatically named and timestamped.
Realtime Video Capture Software - Have you ever wanted to record video while playing your favourite game? Come join the Machinima revolution! Throw away the VCR, forget about using a DV cam, game recording has never been this easy! Fraps can capture audio and video up to 7680x4800 with custom frame rates from 1 to 120 frames per second!
All movies are recorded in outstanding quality. If you have Windows Media Player please sample some of the movies captured with Fraps below:
for Windows XP, 2003, Vista, and Windows 7 Requires Administrator rights
Supports all modern CPUs
(Pentium 4 and above with SSE2)
Captures fastest with an NVIDIA GeForce or AMD Radeon graphics card
By Katedont sure it is still working
This is a modified ET.exe file,
The master server address has been changed from etmaster.idsoftware.com to masterser0.etmaster.net.
A new master server has been setup et etmaster.net, to get your server on the list, or for more information,
please visit http://etmaster.net/
By KatePatch Selector for Enemy Territory Patch 2.60b
This is the original patch selector for Enemy Territory, edited to support ET patch 2.60b.
email: [email protected]
email: [email protected]
English Readme originally by >- NO_r_WAY -< (edited by KillerWhale).
!!! Before you use this Patch Selector you must install Enemy Territory Patch 2.60 !!!
1) Unzip the the files:
"100.patch","102.patch", "260.patch", "ETDED260.patch", "260b.patch", "ETDEDb.patch", "100.bat", "102.bat" and "260.bat"
to your "Enemy Territory" folder (where the ET.exe is).
2) Unzip the files: "mp_bin.100", "mp_bin.102" and "mp_bin.260" to your /etmain/ folder.
Deutsche Readme. (edited by KillerWhale)
(From the original readme file)
Bevor du diesen switcher benutzt musst du unbedingt den Patch 2.60 instalieren!!!
1) Entpacke die sechs Dateien "100.patch","102.patch", "260.patch", "ETDED260.patch", "100.bat", "102.bat" und "260.bat" ins "Enemy Territory" Verzeichnis (also da wo die ET.exe drin ist). Die drei Dateien "mp_bin.100", "mp_bin.102" und "mp_bin.260" enpackst du ins etmain Verzeichnis.
2) So das wars :-). Mit einem Doppelklick auf "100.bat" wird ET in die Version 1.00 geändert. Mit ein Doppelklick auf "102.bat" wird ET in die Version 1.02 geändert. Und ein Doppelklick auf "260.bat" macht aus dem Spiel wieder die Version 2.60.
By KateETKeyGen (c) StoerFaktoR
Install and Start ETKeyGen
Just simply click on "Generate" then "Save to custom directory"
Choose your directory
Enter "etkey" as filename and save your etkey
!!!DO NOT OVERWRITE EXISTING ETKEYS!!!
mail : [email protected]
By KateWolfAdmin is a Lua module for Wolfenstein: Enemy Territory servers created by Timo 'Timothy' Smit. It is an enhancement of the existing game, mod and shrubbot functionalities, providing you with extra tools to administrate your server.
Among the features are advanced logging of player data, a new set of commands your administrators may use and a new set of custom voting options. Finally the module also provides some functionality which was originally provided by popular mods and makes them available on all mods.
Auto-kick players with no GUID Balancer (both automatically and manually) New voting options New voting menu Admin chat Rulebook Player greetings Database (MySQL, SQLite3) Spree records Alias history Warn history Level history Incognito mode (toggles the @ flag, shows as guest and no aka in !listplayers) Voice muting (blocks vsay and vsay_team) Player locking (same as !lock but now player-specific) Voting timeout (for !nextmap voting) New shrubbot flags to grant new commands and features New CVARs to customize above features Many thanks to the contributors of ET: Legacy, NoQuarter, ETPub and the other modifications for their Lua implementation and inspiration for new features. Also, thanks to:
IR4T4 – advice, testing and contributions Ninjadeer – ideas and testing Old-Owl – ideas and testing Spyhawk – advice, testing and contributions Stephan – advice and ideas And last but not least, the Splash Damage team for releasing such an epic game.
Download the new version HERE
Wolfadmin website HERE
Source - Splatterladder Forums - VWOer
By Katesource: Splatterladder http://et.splatterladder.com/
The open source, cross platform level editor for id Tech games.
GtkRadiant is the official level design toolchain for games powered by id Tech engines from id Software,
and is maintained by a community of volunteers. GtkRadiant is powered by the GTK+ Project and released under a GPL license.
By KateHi man !
add to the enemy territory shortcut this line
+ exec server.cfg + set com_hunkMegs 512
+ exec server.cfg = for use all acw parameters
+ set com_hunkMegs 512 = because the maps are too big
Well u have now this shortcut
"acw"\et.exe" + exec server.cfg + set com_hunkMegs 512
Creat a profil if u need
Good game my partner, PAV.
add the ACW 309 MO in the et main folder
By Kate[IMPORTANT NOTICE]
Failed tests usually indicate a problem with your local system setup
and not within PHP itself (at least for official PHP release versions).
You may decide to automatically submit a test summary to our QA workflow
at the end of a test run.
Please do *not* submit a failed test as a bug or ask for help on why
it failed on your system without providing substantial backup information
on *why* the test failed on your special setup. Thank you :-)
The easiest way to test your PHP build is to run "make test" from the
command line after successfully compiling. This will run the complete
tests for all enabled functionalities and extensions using the PHP
To execute test scripts, you must build PHP with some SAPI, then you
type "make test" to execute all or some test scripts saved under
"tests" directory under source root directory.
"make test" basically executes "run-tests.php" script
under the source root (parallel builds will not work). Therefore you
can execute the script as follows:
sapi/cli/php [-c /path/to/php.ini] run-tests.php [ext/foo/tests/GLOB]
[Which "php" executable "make test" look for]
If you are running the run-tests.php script from the command line (as above)
you must set the TEST_PHP_EXECUTABLE environment variable to explicitly
select the PHP executable that is to be tested, that is, used to run the test scripts.
If you run the tests using make test, the PHP CLI and CGI executables are
automatically set for you. "make test" executes "run-tests.php" script with the CLI binary. Some
test scripts such as session must be executed by CGI SAPI. Therefore,
you must build PHP with CGI SAPI to perform all tests.
NOTE: PHP binary executing "run-tests.php" and php binary used for
executing test scripts may differ. If you use different PHP binary for
executing "run-tests.php" script, you may get errors.
[Which php.ini is used]
"make test" uses the same php.ini file as it would once installed.
The tests have been written to be independent of that php.ini file,
so if you find a test that is affected by a setting, please report
this, so we can address the issue.
[Which test scripts are executed]
"run-tests.php" ("make test"), without any arguments executes all
test scripts by extracting all directories named "tests"
from the source root and any subdirectories below. If there are files,
which have a "phpt" extension, "run-tests.php" looks at the sections
in these files, determines whether it should run it, by evaluating
the 'SKIP' section. If the test is eligible for execution, the 'FILE'
section is extracted into a ".php" file (with the same name besides
the extension) and gets executed.
When an argument is given or TESTS environment variable is set, the
GLOB is expanded by the shell and any file with extension "*.phpt" is
regarded as a test file.
Tester can easily execute tests selectively with as follows.
./sapi/cli/php run-tests.php ext/mbstring/*
./sapi/cli/php run-tests.php ext/mbstring/020.phpt
Test results are printed to standard output. If there is a failed test,
the "run-tests.php" script saves the result, the expected result and the
code executed to the test script directory. For example, if
ext/myext/tests/myext.phpt fails to pass, the following files are created:
ext/myext/tests/myext.php - actual test file executed
ext/myext/tests/myext.log - log of test execution (L)
ext/myext/tests/myext.exp - expected output (E)
ext/myext/tests/myext.out - output from test script (O)
ext/myext/tests/myext.diff - diff of .out and .exp (D)
Failed tests are always bugs. Either the test is bugged or not considering
factors applying to the tester's environment, or there is a bug in PHP.
If this is a known bug, we strive to provide bug numbers, in either the
test name or the file name. You can check the status of such a bug, by
going to: http://bugs.php.net/12345 where 12345 is the bug number.
For clarity and automated processing, bug numbers are prefixed by a hash
sign '#' in test names and/or test cases are named bug12345.phpt.
NOTE: The files generated by tests can be selected by setting the
environment variable TEST_PHP_LOG_FORMAT. For each file you want to be
generated use the character in brackets as shown above (default is LEOD).
The php file will be generated always.
NOTE: You can set environment variable TEST_PHP_DETAILED to enable
detailed test information.
If you like to keep up to speed, with latest developments and quality
assurance, setting the environment variable NO_INTERACTION to 1, will not
prompt the tester for any user input.
Normally, the exit status of "make test" is zero, regardless of the results
of independent tests. Set the environment variable REPORT_EXIT_STATUS to 1,
and "make test" will set the exit status ("$?") to non-zero, when an
individual test has failed.
Example script to be run by cron(1):
========== qa-test.sh =============
# Make sure compilation environment is correct
CONFIGURE_OPTS='--disable-all --enable-cli --with-pcre'
# Set test environment
cvs update . >>$TMPDIR/phpqatest.$TODAY
./cvsclean ; ./buildconf ; ./configure $CONFIGURE_OPTS ; $MAKE
$MAKE test >>$TMPDIR/phpqatest.$TODAY 2>&1
if test $? -gt 0
cat $TMPDIR/phpqatest.$TODAY | mail -s"PHP-QA Test Failed for $TODAY" $MYMAIL
========== end of qa-test.sh =============
NOTE: The exit status of run-tests.php will be 1 when
REPORT_EXIT_STATUS is set. The result of "make test" may be higher
than that. At present, gmake 3.79.1 returns 2, so it is
advised to test for non-zero, rather then a specific value.
[Creating new test files]
Writing test file is very easy if you are used to PHP.
See the HOWTO at http://qa.php.net/write-test.php
[How to help us]
If you find bug in PHP, you can submit bug report AND test script
for us. You don't have to write complete script, just give us test
script with following format. Please test the script and make sure
you write the correct ACTUAL OUTPUT and EXPECTED OUTPUT before you
substr() bug. Do not return expected string.
$str = "XYZABCD";