Jump to content

RottWeiller

Members
  • Posts

    10
  • Joined

  • Last visited

RottWeiller's Achievements

Member

Member (5/54)

0

Reputation

  1. Hi, Where do you initialize the "killingSpreeDisplay"? Do you get any warning messages in debug console?
  2. I edited my original post to fix a typo in the "meta.xml" file. If you copied the code before I fixed, copy the "meta.xml" part again. Sorry about that.
  3. Hi, This script will do just what you guys are asking for I can't upload attachments so, here it is the code: First, create a folder named "votegmonjoin" in "...\MTA San Andreas\server\mods\deathmatch\resources\" Now, create a file named "votegmonjoin_server.lua" inside the folder you created before. Copy and paste the code bellow to this file: function vgmGameModeRunning() outputDebugString("<DEBUG>(Server): vgmGameModeRunning() called!") local resource = call ( getResourceFromName("mapmanager"), "getRunningGamemode" ) if ( resource == nil ) then --TODO: Its this check always valid? -- gamemode is not running = Start vote! executeCommandHandler ( "votemode", source ) return false end return true end addEventHandler("onPlayerJoin", getRootElement(), vgmGameModeRunning) Create another file named "meta.xml" inside the folder you created before. Copy and paste the code bellow to this file: <meta> <info author="impression" description="Execute /votemode on player join if no game modes are running." type="script" version="0.1" /> <include resource="mapmanager" /> <include resource="votemanager" /> <script src="votegmonjoin_server.lua" type="server"/> </meta> Now, whe need to give permission to this script to execute the function "executeCommandHandler ()". Open the ACL file (acl.xml) located in " "...\MTA San Andreas\server\mods\deathmatch\" and, add the following code at top of file after the tag "": <group name="VoteGmOnJoin"> <acl name="VoteGmOnJoin"/> <object name="resource.votegmonjoin"/> </group> Scroll down to the bottom of the file and add the following code before the last "": <acl name="VoteGmOnJoin"> <right name="function.executeCommandHandler" access="true"/> </acl> Start the script and you are set. Now, when a player joins the server, and no gamemode is being executed, he will automatically execute the "/votemode" command from the "votemanager" script. Have fun. EDIT: Fixed a typo in the "meta.xml" file code.
  4. Hi, Can you give some info about the "createPed" function or where I can find it? It's not listed on Wikki. Thanks.
  5. But, if I enable it in-game (Settings->Video) it works fine. So I guess its a problem in the "loading" procedure of MTA.
  6. Hi, When I start MTA:DM with the dynamically rendered menu enable the game crash at the menu page with the following error: Time = Mon Jan 07 16:20:47 2008 Module = ...\system32\nvd3dum.dll Code = 0xC0000005 Offset = 0x05B511F4 EAX=00000000 EBX=00000100 ECX=01BFC708 EDX=01BD1A98 ESI=09FB6EB8 EDI=06077C28 EBP=185EFCC4 ESP=185EFC9C EIP=05B511F4 FLG=00010246 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B ** -- End of unhandled exception -- ** The strange thing is that, if I disable the dynamically rendered menu in the coreconfig.xml and then go to the MTA Video settings, after the game load, and enable it everything works fine. I tried running MTA with Administrator rights and compatibility mode with same results. It's not a serious problem but I like the animated menu . I am running Windows Vista x64 and nVidia Geforce 7600GS with latest drivers. Thanks.
  7. Unfortunately there isn't any efficient way to ban someone from a FREE server in my point of view. The solution for cheaters is to have a strong anti-cheat system that prevents players to connect/play to server with active cheats.
  8. Hi, I looked around for posts about this issue bout didn't found any. Ping calculations don't take in account the packet lost or, are just not calculating it right. This originate false "cheater" alerts from the player with the lag towards the other players and vice versa. The players look at their, or others, ping and see it at 50ms when in reality its over 700ms doe to packet lost (Just a example). Most players don't know this issue and don't know how to differentiate between "cheaters" and people that are lagged. This causes admins to ban people that aren't "cheaters" and have a hard time explaining other players why they didn't ban certain player because he is just lagging. I assume this "false ping" its a mta implementation issue since I don't find any server configuration that may cause this.
  9. I tried to register two more times but no sucess. Same problem. If someone could activate my account, username is "rottweiller", i will be forever thankful
  10. I have registered in http://center.mtasa.com/ a day ago and, i havent received the validation email for the account. Its this normal or there is any problem with the registration system? Thanks in advanced.
×
×
  • Create New...