Wolf 3D Discuss the Wolf 3D Engine Management System

Wolf 3D Wolf3Dv4 Admin Mode

Thread Tools
 
Search this Thread
 
Old 06-19-08, 04:26 AM
  #1  
watashi no shichi

Thread Starter
iTrader: (4)
 
hwnd's Avatar
 
Join Date: May 2005
Location: San Francisco
Posts: 1,770
Received 6 Likes on 4 Posts
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
Old 06-21-08, 07:04 AM
  #2  
Rotary Enthusiast

 
Michael Smith's Avatar
 
Join Date: Feb 2004
Location: North Queensland Australia
Posts: 778
Likes: 0
Received 0 Likes on 0 Posts
I 'll fix that..




I like that code.
Old 06-22-08, 08:13 PM
  #3  
nyt
Rotary Enthusiast

iTrader: (1)
 
nyt's Avatar
 
Join Date: Feb 2001
Location: long island
Posts: 1,259
Received 4 Likes on 4 Posts
why not just set the attributes key its looking for to H5N1 ?
Old 06-22-08, 11:30 PM
  #4  
watashi no shichi

Thread Starter
iTrader: (4)
 
hwnd's Avatar
 
Join Date: May 2005
Location: San Francisco
Posts: 1,770
Received 6 Likes on 4 Posts
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)
Old 06-24-08, 07:52 PM
  #5  
nyt
Rotary Enthusiast

iTrader: (1)
 
nyt's Avatar
 
Join Date: Feb 2001
Location: long island
Posts: 1,259
Received 4 Likes on 4 Posts
did you come across the source or are you decompiling?
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
24seven_dada
3rd Generation Specific (1993-2002)
20
11-10-18 12:03 PM
gfd263
Megasquirt Forum
1
08-28-16 08:58 PM
SSpyderX
1st Gen General Discussion
0
09-29-15 04:37 PM
Redliner223
South RX-7 Forum
0
09-23-15 05:12 PM



Quick Reply: Wolf 3D Wolf3Dv4 Admin Mode



All times are GMT -5. The time now is 05:34 AM.