Empires mod & Mani Admin

Discussion in 'Support' started by bobbobagan, Dec 2, 2007.

  1. bobbobagan

    bobbobagan Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hi there,

    I am from the Mani Admin forums. We have had some people asking for support for this mod with Mani admin, I am aware that Mani already supports it, but supports the Beta versions of the plugin. Since I have no idea about the plugin, can you please edit the gameinfo.txt file so the plugin is up-to-date with it.

    This is the section you will need to edit please!
    Code:
    	"Empires"
    	{
    		// Specify the linux game binary location
    
    		"linux_bin"		"./empires/bin/server_i486.so"
    
    		// Set to 1 if spectator is allowed for this mod
    		"spectator_allowed"	"1"
    
    		// The internal team index for spectators
    		// You can identify this by running ma_teamindex as a spectator
    		"spectator_index"	"1"
    
    		// The group name to identify spectators when running a ma_ command
    		"spectator_group"	"#SPEC"
    
    		// Set to 1 if amx style menus actually work on the mod
    		"hl1_menu_compatible"	"0"
    
    		// Set to 1 if team play is allowed, 0 if not
    		"team_play"		"1"
    
    		// Number of user messages to scan for. Too high a number will
    		// cause the server to crash. 22 okay for all mods at the moment
    		"max_messages"		"22"
    
    		// Team manager entities pattern string
    		"team_manager" 		"sdk_team_"
    
    		// Offsets for voice control, do not change
    		// If your mod has no voice server remove the
    		// voice_control section or comment it out
    		"voice_control"
    		{
    			"linux_offset"	"3"
    			"win_offset"	"2"
    		}
    
    		// Offsets for spray hook control, do not change
    		"spray_hook_control"
    		{
    			"linux_offset"	"29"
    			"win_offset"	"28"
    		}
    
    		// Offsets for extra spawn points hook
    		"spawn_point_control"
    		{
    			"linux_offset"	"2"
    			"win_offset"	"2"
    		}
    
    		// Advanced visual effects offsets, linux should work most of the
    		// time depending on how the server binary has been compiled.
    		// The windows version will probably not work on non-valve mods.
    		// The command ma_offset and ma_offsetscan is not applicable here
    
    		"advanced_effects"
    		{
    			"enable_linux"	"1"	// Allow linux advanced effects
    			"enable_win"	"1"	// Allow windows advanced effects
    			"vfunc_Offset"	"12"	// Windows virtual function offset (Lance VOrgin)
    			"code_Offset"	"107"	// Windows code index offset (Lance VOrgin)
    		}
    
    		"props"
    		{
    			"health"	"CBasePlayer.m_iHealth"
    			"render_mode"	"CBaseEntity.m_nRenderMode"
    			"render_fx"	"CBaseEntity.m_nRenderFX"
    			"colour"	"CBaseEntity.m_clrRender"
    			"move_type"	"CBasePlayer.m_MoveType"
    			"model_index"	"CBaseEntity.m_nModelIndex"
    			"vec_origin"	"CBaseEntity.m_vecOrigin"
    			"ang_rotation"	"CBaseEntity.m_angRotation"
    		}
    
                    "vfuncs"
                    {
                            "eye_angles"    "110"
                            "set_model_index"       "9"
                            "teleport"      "94"
                            "eye_position"  "109"
                            "give_item"     "298"
                            "my_combat_character"   "61"
                            "get_velocity"  "118"
                            "ignite"        "174"
                            "weapon_drop"   "204"
    			"user_cmds"		"313"
    			"map_desc"		"14"
                    }
    
    		// Setup team structure for mod		
    		"teams"
    		{
    			// Handle Northern Faction team
    			"northern_faction"
    			{
    				// Terrorist team index (use ma_teamindex to find what team index you are on)
    				"index"		"2"
    
                                    // Spawn points classname
                                    "spawnpoint_class_name"		"emp_info_player_NF"
    
    				// Log name that is used in your logs for say
    				// events
    				"log_name"			"Northern Factor"
    
    				// Translation number found in english.cfg 
    				"translation_index"		"922"
    
    				// Abbrevated translation number found in english.cfg
    				"short_translation_index"	"923"
    
    				// Group ID used when running a ma_ command that affect players
    				"group"				"#NF"
    
    				// Setup skin config file names and directories to search under /skins/
    				"admin_skin"	"admin_nf"
    				"reserved_skin"	"reserved_nf"
    				"public_skin"	"public_nf"
    			}
    
    			// Handle Brenodi Empire team
    			"brenodi_empire"
    			{
    				// X team index (use ma_teamindex to find what team index you are on)
    				"index"		"3"
    
                            // Spawn points classname
                            "spawnpoint_class_name"		"emp_info_player_BE"
    
    				// Log name that is used in your logs for say
    				// events
    				"log_name"			"Benodi_Empire"
    
    				// Translation number found in english.cfg 
    				"translation_index"		"924"
    
    				// Abbrevated translation number found in english.cfg
    				"short_translation_index"	"925"
    
    				// Group ID used when running a ma_ command that affect players
    				"group"				"#BE"
    
    				// Setup skin config file names and directories to search under /skins/
    				"admin_skin"	"admin_be"
    				"reserved_skin"	"reserved_be"
    				"public_skin"	"public_be"
    			}				
    		}
    
    	}
    
    The game looks great by the way... nice work ;)

    Bobbobagan
     
  2. dizzyone

    dizzyone I've been drinking, heavily

    Messages:
    5,771
    Likes Received:
    0
    Trophy Points:
    0
    has anyone tried getting it to work yet?
     
  3. Necrotic

    Necrotic Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    couldnt get it to work, was anyone else able to not make it crash with this added at the end of the gameinfo file?
     
  4. Jcw87

    Jcw87 Member

    Messages:
    1,676
    Likes Received:
    0
    Trophy Points:
    0
    I'm pretty sure this topic is about getting the correct values from Krenzo, and putting them into the manimod game info file.
     
  5. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    I don't know what exact variable they're getting the offset for.
     
  6. Evan

    Evan League Commissioner

    Messages:
    1,807
    Likes Received:
    0
    Trophy Points:
    0
  7. Coffeeburrito

    Coffeeburrito Coder

    Messages:
    542
    Likes Received:
    0
    Trophy Points:
    0
    I had moderate success with it on a linux server, but it crashed at seemingly random times.
     
    Last edited: Jan 3, 2008

Share This Page