Commit graph

356 commits

Author SHA1 Message Date
def 809dd8adf0 Hopefully fix mapinfo on some maps 2014-07-19 17:07:26 +02:00
def a7329d0a14 Add random_unfinished_map 2014-06-20 22:40:23 +02:00
def 726cf67348 Add sv_rank_cheats 2014-05-25 10:55:33 +02:00
def 442edc4692 Fix compile 2014-05-19 01:59:35 +02:00
def 4c87cedd4d Better make sure that something exists before using it 2014-05-19 01:57:52 +02:00
def 1129ea28f4 Make sv_vote_delay work 2014-05-04 11:10:42 +02:00
def 94868e29aa Hopefully fix /map bugs 2014-04-30 15:45:08 +02:00
def 014b070586 Fix: Don't crash SQL 2014-04-29 18:43:02 +02:00
def 3f7f3b9719 Fix: Proper vote limits with /map 2014-04-26 18:12:53 +02:00
def b8fce1c0f4 Another 50% speedup for /points and /top5points 2014-03-19 12:02:29 +01:00
def 133583708d Speed up /points and /top5points by 50% 2014-03-19 11:47:02 +01:00
def ab9cd8c06f fix 2014-03-04 03:08:37 +01:00
def 73663f2919 Vote delay for /map 2014-03-04 02:48:58 +01:00
def b8780a3b98 Fix Crash when you start server and MySQL is not reachable 2014-02-25 21:22:16 +01:00
def 3b8645ae98 1 point, many points 2014-02-25 19:55:35 +01:00
def c36922c4f4 Better examples and information for /map 2014-02-19 21:35:56 +01:00
def a5f3de6827 Add /map (for votes) and /mapinfo (instead of /mappoints) 2014-02-19 21:22:36 +01:00
def 3c39b4460b Fix SQL queries 2014-02-14 21:15:40 +01:00
def 8bb7d84366 Fix sql queries 2014-02-14 20:55:02 +01:00
def 2b9427d48d Should use the correct index to improve performance for important queries by a factor of 200 2014-02-13 00:46:01 +01:00
def f4cc6e4efd Huge SQL bug 2014-02-03 20:03:49 +01:00
def 7d69b07160 Code cleanup 2014-02-03 14:34:19 +01:00
def 4fcb4f852f Fix: Another wrong delete 2014-02-03 13:00:35 +01:00
def 20f66fbcae Fix: SQL table for maps should have unique key 2014-02-03 11:20:37 +01:00
def 51fcd75ac6 Fix: Wrong delete 2014-02-03 05:54:40 +01:00
def 1dd666e066 Major SQL Change:
Keep records in a single table records_race
  Keep team records in a single table records_teamrace
  Keep maps with their server and respective points in a table records_maps
2014-02-03 04:31:30 +01:00
def ab2563c2b5 Threaded points load 2014-01-09 12:23:23 +01:00
def 6ef5c5de98 Fix memory leak 2014-01-09 04:02:28 +01:00
def 2dc5573ea7 Create binary names to be case sensitive in SQL queries 2013-11-28 16:00:01 +01:00
def 5460982a45 Merge branch 'DDRace' of github.com:def-/teeworlds into DDRace 2013-11-28 15:15:14 +01:00
def ce8d17744a Add /mappoints 2013-11-28 15:11:59 +01:00
def 24be89224f Proper ranks for /points and /top5points 2013-11-26 23:16:33 +01:00
def d9ace010cb Fix /top5team 2013-11-19 22:36:04 +01:00
def f8beef7e87 Proper rank positions ingame 2013-11-19 22:15:08 +01:00
def 1a8da052f0 Fix SQL teamrace time comparison to be more exact 2013-11-14 19:39:28 +01:00
def 3dda7569e6 Display saved scores 2013-11-14 16:08:04 +01:00
def 582562ed1e Remove useless code 2013-11-09 00:07:57 +01:00
def 35996eaa69 Revert "Speedup server map change by threading SQL initialization"
Causes problems with high ping servers when initializiation wasn't done
and new map is voted.

This reverts commit 13a6f5f2e8.
2013-10-15 07:07:33 +02:00
def 13a6f5f2e8 Speedup server map change by threading SQL initialization 2013-10-14 20:51:50 +02:00
def 46f6cefdd6 Fix sql 2013-09-29 15:29:32 +02:00
def 762dd451d3 fix 2013-08-23 20:46:08 +02:00
def 71946ac0f8 Fix 2013-08-23 15:25:46 +02:00
def c53d167ab8 Fix 2013-08-23 03:02:45 +02:00
def bed7225da6 Fix: Better looking 2013-08-23 03:01:01 +02:00
def 91cbb4745e More compact time representation 2013-08-23 02:56:31 +02:00
def 0a3177ed71 Fix: Team score saving for players with sql escaped characters 2013-08-17 06:10:44 +02:00
def 32109b0f15 Missing buffer 2013-08-12 20:35:46 +02:00
def 72ca64501f New SQL, automatic reconnect 2013-08-12 20:13:12 +02:00
def 33566a626c Try to fix memory leaks 2013-08-08 01:47:49 +02:00
def f32d22b4fd Fix order in team top5 2013-08-06 20:03:14 +02:00
def 53d6fe3db8 use correct first name 2013-08-06 19:28:17 +02:00
def 6d272e91b5 SQL: clear strings first 2013-08-06 19:26:28 +02:00
def 7dc439e13f Fix: Delete points at correct position 2013-08-03 17:28:11 +02:00
def 6169c78a79 Close memory leaks 2013-08-03 17:22:50 +02:00
def cce5e262de Send an information about how many points were earned 2013-08-03 15:26:17 +02:00
def 10a343d96b Fix: Only insert better team times, otherwise update 2013-08-01 00:58:00 +02:00
def cdf2818575 Add reload_points to reload the point map file 2013-07-28 17:53:07 +02:00
def 0fc8e0fdf7 Fix team rank 2013-07-28 16:18:33 +02:00
def d59a0c3135 Fix team rank 2013-07-28 15:32:23 +02:00
def e3db85b629 Remove sql requesting player output 2013-07-27 23:27:12 +02:00
def dc240f7d55 Fix SQL score output 2013-07-25 23:36:00 +02:00
def 66776503c4 Correct name lengths in SQL queries 2013-07-22 14:34:17 +02:00
def a69f8c42f5 Rename error message 2013-07-22 13:07:49 +02:00
def 4a9d932438 Fix /points rank numbers 2013-07-22 00:03:48 +02:00
def 42a8783f00 Add /teamrank and /teamtop5 2013-07-21 08:46:52 +02:00
def 012de29d60 Fix brackets 2013-07-21 05:01:01 +02:00
def c42e9f1399 Add /points and /toppoints using points.cfg file 2013-07-21 04:52:23 +02:00
Shereef Marzouk 0081251628 Fixes not displaying the nick when /rank {nick} is used. (Closes #197) 2013-02-01 13:25:00 +02:00
Shereef Marzouk 38aa2cac78 Player name when requesting another player's. closes #197.
Edited from github directly needs to be tested
2012-11-26 12:54:17 +02:00
Shereef Marzouk 7f7a46b497 Player name when requesting another player's
Edited from github directly needs to be tested
2012-11-26 12:47:41 +02:00
Learath2 ec3c96abd6 Fixes records for maps in subfolder. Closes #46 2012-07-20 14:25:44 +02:00
GreYFoX cdab951296 Increasing the Readability on primitive editors of DDRace Specific files (All files that does not exist in oy/teeworlds) 2011-12-25 15:51:47 +02:00
GreYFoX bfed5bad1a Added License INfo to missing files and updated the old ones 2011-12-25 15:33:05 +02:00
XXLTomate a2cec1b990 fixing sql score by @Laxa 2011-10-12 19:17:48 +02:00
GreYFoX 3ad8284716 Fixed #77. top5 2011-08-31 12:30:18 +02:00
GreYFoX 03bd3823ec Fixed SQL Compilation 2011-08-27 23:32:40 +02:00
GreYFoX 5b27758650 Removed level stuff
Removed client ID stuff
Removed console stuff
Resolved merge conflicts
Upgraded Banmaster
Cleaned up
2011-08-13 02:11:06 +02:00
Romain Labolle c17d3cdeda Reworking teams to allow pausing in team
* Adding wrappers functions to modify character or pause data if player are in game or paused.
* Moved OnFinish() function to teams.cpp so it can also be called on paused players.
* Pause is now enabled for team players.
* Adding bool CPlayer::IsPlaying() function that return true if the player is either in game or in pause. (false if spectator/dead).
2011-06-07 16:48:48 +02:00
heinrich5991 c83c7b1a19 reworked IConsole::PrintResponse to IResult::Print (and obviously CConsole::PrintResponse to CResult::Print) 2011-04-14 00:34:10 +02:00
GreYFoX 16c074741f To have Cheats you must set a password and sv_register 0
http://ddrace.info/forum/showthread.php?t=528
or modify the server and change the game type to something other than DDRace thank you
2011-03-16 15:41:26 +02:00
GreYFoX ca447b7aa4 http://bugs.mysql.com/bug.php?id=50046 2011-03-16 13:59:17 +02:00
GreYFoX 709f0cd0f9 Removed Spam checks from ConRank
Moved CGameContext::ProcessSpamProtection(int ClientID) away from vanilla functions
Made Muted text shown to sender
Corrected a + to *
Added FileScore ShowRank to Spam protection
changed SendChatTarget to SendChat in SQLScore and added it into the Spam protection
2011-02-27 10:07:57 +02:00
Sebastian Wojtowicz 968762b144 Fixed a casting error 2011-02-19 20:10:03 +02:00
Sebastian Wojtowicz 84196b1ef3 some little cleanup
If /times is entered with no params it now shows last 5 times of server in general
2011-02-19 19:53:15 +02:00
GreYFoXGTi 417b18963f windows compiling 2011-02-16 19:56:20 +02:00
Sebastian Wojtowicz 6963a233a4 Added a new command /last5times (for sql scores only)
Added index to name in race sql table, so search is faster
2011-02-15 02:27:20 +02:00
Sebastian Wojtowicz 60de0da1c3 Added timestamp into MySQL ranking, and function to have ago time web2.0 like printed on asking for /rank 2011-02-15 02:27:19 +02:00
SushiTee d7057ef9e1 fixed server compiling in mac (sql is not working though) 2011-01-26 14:45:44 +02:00
GreYFoXGTi cebbecf632 Some Code Improvements and Compiler warnings 2010-12-07 19:44:23 +02:00
noother e990c94dad fixed sql injection & added a proper escaper that works like
addslashes() in php
2010-12-05 08:18:54 +02:00
GreYFoXGTi a838ad9da6 server_release on windows has no sql by default because my sql on the server_release version of windows doesn't work, but it does on server_debug 2010-12-04 16:31:54 +02:00
GreYFoXGTi 9803a74664 so now windows mysql is fucked up and i don't know why 2010-12-04 03:12:30 +02:00
GreYFoXGTi e61d7d1786 Windows mysql connector has a bug even in the latest version with boost no strings over 15 chars 2010-12-04 02:02:50 +02:00
GreYFoXGTi a2896fd660 Commit by Allisone (Trust)
* Fixed CSqlScore::ShowRankThread so /rank works properly
* Fixed CSqlScore::Init so CREATE TABLE ends with  character set utf8
* Added in CSqlScore more verbose SQLException messages
* Removed all statements that would prevent including and loading the CSqlScore class
* Changed bam.lua so on OSX the mysql lib folder gets linked and the include folders get included
* Changed bam.lua so macosx min version 10.5 and sdk 10.6 are required
* Cleaned CSqlScore and replaced new function calls with equal but backward compatible code
2010-11-24 01:50:02 +02:00
GreYFoXGTi b8fe169419 Added Mac Fixes by Allisone (Trust) 2010-11-22 11:09:27 +02:00
GreYFoXGTi 0c6767dd9d Added option to have DDRace Compiled without SQL 2010-11-16 15:44:16 +02:00
GreYFoXGTi 5ee8796381 Removed sql from mac, people who need sql compile the Mac branch
the boost stuff made my working dir very messy and searching through it takes more time
2010-11-16 15:26:19 +02:00
GreYFoXGTi 30680ddd79 MAX_NAME_LENGTH 2010-11-12 19:23:53 +02:00
Allisone 961a0c8cf0 Repaired MySQL Insert and increased player name length for db from 16 to 64 2010-11-12 17:44:37 +01:00
GreYFoXGTi 3756c98715 Total IP Scoring Annihilation ( doesn't make sense ), please test this, also delete the old records 2010-11-04 20:10:51 +02:00
noother 44592bb247 Since the mapnames are included in the mysql table names, tables with
special chars couldn't get created. Fixed by replacing all special chars
with underscores.
2010-11-01 16:42:30 +02:00
GreYFoXGTi 332fb1de09 chat commands redirect to rcon and vice versa by heinrich5991 2010-10-11 00:40:07 +02:00
GreYFoXGTi 0f9ec23884 Improved score output
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-26 19:07:39 +03:00
btd 31d6ed6292 Sql Store 2010-08-26 17:27:36 +04:00
btd 091a1125a3 Uncomment things in file_score. Add config variables 2010-08-25 18:33:21 +04:00
btd 6fabca9e10 Add checkpoints. Client undestand that it is a DDRace server fully. Need to rework /top5 /rank. Clean rubbish. I want to sleep( 2010-08-23 23:37:27 +04:00