Wolf 3D Discuss the Wolf 3D Engine Management System

Wolf 3D Wolf3Dv4 Admin Mode

Thread Tools
 
Search this Thread
 
Old Jun 19, 2008 | 04:26 AM
  #1  
hwnd's Avatar
Thread Starter
watashi no shichi
iTrader: (4)
 
Joined: May 2005
Posts: 1,770
Likes: 6
From: San Francisco
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
Reply
Old Jun 21, 2008 | 07:04 AM
  #2  
Michael Smith's Avatar
Rotary Enthusiast
Tenured Member 10 Years
 
Joined: Feb 2004
Posts: 778
Likes: 0
From: North Queensland Australia
I 'll fix that..




I like that code.
Reply
Old Jun 22, 2008 | 08:13 PM
  #3  
nyt's Avatar
nyt
Rotary Enthusiast
Tenured Member 20 Years
iTrader: (1)
 
Joined: Feb 2001
Posts: 1,259
Likes: 4
From: long island
why not just set the attributes key its looking for to H5N1 ?
Reply
Old Jun 22, 2008 | 11:30 PM
  #4  
hwnd's Avatar
Thread Starter
watashi no shichi
iTrader: (4)
 
Joined: May 2005
Posts: 1,770
Likes: 6
From: San Francisco
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)
Reply
Old Jun 24, 2008 | 07:52 PM
  #5  
nyt's Avatar
nyt
Rotary Enthusiast
Tenured Member 20 Years
iTrader: (1)
 
Joined: Feb 2001
Posts: 1,259
Likes: 4
From: long island
did you come across the source or are you decompiling?
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
24seven_dada
3rd Generation Specific (1993-2002)
20
Nov 10, 2018 12:03 PM
gfd263
Megasquirt Forum
1
Aug 28, 2016 08:58 PM
SSpyderX
1st Gen General Discussion
0
Sep 29, 2015 04:37 PM
Redliner223
South RX-7 Forum
0
Sep 23, 2015 05:12 PM




All times are GMT -5. The time now is 11:43 PM.