RX7Club.com - Mazda RX7 Forum

RX7Club.com - Mazda RX7 Forum (https://www.rx7club.com/)
-   Wolf 3D (https://www.rx7club.com/wolf-3d-125/)
-   -   Wolf 3D Wolf3Dv4 Admin Mode (https://www.rx7club.com/wolf-3d-125/wolf3dv4-admin-mode-765033/)

hwnd 06-19-08 04:26 AM

Wolf3Dv4 Admin Mode
 
Though this isn't a big deal to most of you guys but I did patch a version of Wolf EMS software to keep the admin extras enabled all the time.

Little fix was
Code:

public static bool GetAdminMode()
{
    bool flag = false;
    if (openKey != null)
    {
        string str = (string) openKey.GetValue("Attributes");
        if ((str != null) && (str.IndexOf("H5N1") != -1))
        {
            flag = true;
        }
    }
    return flag;
}

to

Code:

public static bool GetAdminMode()
{
    return true;
}


Please dont ask the differences,etc as if you dont know arleady ya probably didn't need the additional b/s anyhow. :)
http://3rotor.jp/downloads/Wolf3D%20...v4.Patched.zip

Michael Smith 06-21-08 07:04 AM

I 'll fix that..http://ugly.plzdiekthxbye.net/large/l999.gif

http://www.emutalk.net/images/smilie...lies/robot.gifhttp://www.torrent-damage.net/pic/smilies/shoot.gif


I like that code.

nyt 06-22-08 08:13 PM

why not just set the attributes key its looking for to H5N1 ?

hwnd 06-22-08 11:30 PM

Well I'm patching other stuff for myself (like that annoying "map has changed" box before closing even though ya didn't change the map).. etc. that was something simple and stupid i thought i'd add for the new guys or those who dont have a mighty sword (like Michael :P)

nyt 06-24-08 07:52 PM

did you come across the source or are you decompiling?


All times are GMT -5. The time now is 10:01 PM.


© 2024 MH Sub I, LLC dba Internet Brands