removing file not there and updating racetimer plugin to fix edge bug
This commit is contained in:
		
							parent
							
								
									a0879dd786
								
							
						
					
					
						commit
						2c55476ea3
					
				@ -1,20 +0,0 @@
 | 
				
			|||||||
/*
 | 
					 | 
				
			||||||
 * To change this license header, choose License Headers in Project Properties.
 | 
					 | 
				
			||||||
 * To change this template file, choose Tools | Templates
 | 
					 | 
				
			||||||
 * and open the template in the editor.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
package DataMapper;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/**
 | 
					 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * @author Christian
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
public class settings {
 | 
					 | 
				
			||||||
    static String racetimerURL = "jdbc:mysql://localhost:3306/unloze_racetimer_css?useLegacyDatetimeCode=false&serverTimezone=UTC";
 | 
					 | 
				
			||||||
    static String racetimerUser = "unloze_racetimer_css";
 | 
					 | 
				
			||||||
    static String racetimerPassword = "fXPWQD13403rfnfdsfnFONF";
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    static String forumURL = "jdbc:mysql://195.154.53.196:3306/unloze_forum_2?useLegacyDatetimeCode=false&serverTimezone=UTC";
 | 
					 | 
				
			||||||
    static String forumUser = "unloze_webtimer";
 | 
					 | 
				
			||||||
    static String forumPassword = "Oj32n4nfofn234nfb234oFDOWq";
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -281,14 +281,20 @@ public void Event_RoundStart(Handle event, const char[] name, bool dontBroadcast
 | 
				
			|||||||
            g_bhumans_finished[i] = false;
 | 
					            g_bhumans_finished[i] = false;
 | 
				
			||||||
            resetClientVectors(i);
 | 
					            resetClientVectors(i);
 | 
				
			||||||
            g_bAllowToLeave[i] = 0;
 | 
					            g_bAllowToLeave[i] = 0;
 | 
				
			||||||
 | 
					            char first_zone[512];
 | 
				
			||||||
 | 
					            ZoneNameBasedOnIndex(0, first_zone);
 | 
				
			||||||
            if (race_zone_count != 1)
 | 
					            if (race_zone_count != 1)
 | 
				
			||||||
                g_bHumansAllowedTime[i] = false;
 | 
					                g_bHumansAllowedTime[i] = false;
 | 
				
			||||||
            else
 | 
					            else if (StrContains(first_zone, "ZONE_PREFIX_RACE") > -1) //ensures only one zone in total and that its the actual end zone
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                mysql_get_player_time(i, 0);
 | 
					                mysql_get_player_time(i, 0);
 | 
				
			||||||
                g_bHumansAllowedTime[i] = true;
 | 
					                g_bHumansAllowedTime[i] = true;
 | 
				
			||||||
                g_fStartTime[i] = GetEngineTime();
 | 
					                g_fStartTime[i] = GetEngineTime();
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            else
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                g_bHumansAllowedTime[i] = false;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
//----------------------------------------------------------------------------------------------------
 | 
					//----------------------------------------------------------------------------------------------------
 | 
				
			||||||
@ -534,6 +540,7 @@ public void unloze_zoneLeave(int client, char[] zone)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    if (GetClientTeam(client) == CS_TEAM_CT)
 | 
					    if (GetClientTeam(client) == CS_TEAM_CT)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        //PrintToChatAll("Equal: %i", StrEqual(zone, g_cSpecialMapStart));
 | 
				
			||||||
        if ((StrContains(zone, "ZONE_PREFIX_START") > -1) || StrEqual(zone, g_cSpecialMapStart))
 | 
					        if ((StrContains(zone, "ZONE_PREFIX_START") > -1) || StrEqual(zone, g_cSpecialMapStart))
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            char sAuthID[32];
 | 
					            char sAuthID[32];
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user