LEO318x submitted a new resource:
Stats, Top and Rewards - Show the stats, tops of the players and exchange the money for weapons, etc
Read more about this resource...
Stats, Top and Rewards [Unmaintained]
Discussion in 'Plugin Support' started by LEO318x, Feb 7, 2015.
-
Code:
SQL query:-- -- Base de datos: `rust` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `logs` -- CREATE TABLE IF NOT EXISTS `logs` (`id` BIGINT( 200 ) NOT NULL , `useridkill` BIGINT( 100 ) NOT NULL , `namekill` VARCHAR( 200 ) NOT NULL , `useriddeath` BIGINT( 100 ) NOT NULL , `namedeath` VARCHAR( 200 ) NOT NULL , `pointswin` BIGINT( 100 ) NOT NULL , `pointslost` BIGINT( 100 ) NOT NULL , `category` INT( 1 ) NOT NULL ) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =1;MySQL said: Documentation#1046 - No database selected
-
Upperking, What are you running the query on. phpadmin? heidisql? something else. Make sure you have a table created that you have selected when running the script.
-
[Oxide] 11:35 AM [Error] MKToprewardsplayer: KeyNotFoundException while calling OnEntityDeath: The given key was not present in the dictionary.
Last edited by a moderator: Feb 7, 2015 -
i am getting error connect 345 - right before that it says error adding user please check settings.
-
Code:
[Oxide] 12:18 PM [Info] There was an error adding the user to the database, check your settings [Oxide] 12:18 PM [Info] ERROR-CONNECT_345|------->The remote server returned an error: (500) Internal Server Error.
Last edited by a moderator: Feb 7, 2015 -
script for web is not working, i set all right in config http://playrustlife.com/stats/
-
[DOUBLEPOST=1423332265][/DOUBLEPOST]
[DOUBLEPOST=1423332431][/DOUBLEPOST]Last edited by a moderator: Feb 7, 2015 -
hello, I already have a website in aspnet (rustrio.hogsolution.com) wanted to use the plugin to store information in the bank and then I would generate the rank on the site.
The best solution for this plugin would be a webserviceLast edited by a moderator: Feb 7, 2015 -
My config is fine. All my other websends work.. www.echovalleyserver.com
-
I got this in error_log
Attached Files:
-
-
LEO318x updated Stats, Top and Rewards with a new update entry:
Fixing Missing Variables
[DOUBLEPOST=1423334959][/DOUBLEPOST]
-
Cant seem to get past these errors
Code:Warning: require_once(/inc/config.php): failed to open stream: No such file or directory in /public_html/webpage/index.php on line 2 Fatal error: require_once(): Failed opening required '/inc/config.php' (include_path='.:/opt/php55/lib/php') in /public_html/webpage/index.php on line 2
Code:from: require_once("/inc/config.php"); to: require_once("./inc/config.php");
[DOUBLEPOST=1423335917][/DOUBLEPOST]Also the same for config.php
line 9
Code:From: require_once ('/meekrodb.php'); to: require_once ('./meekrodb.php');
Last edited by a moderator: Feb 7, 2015 -
Bad: require_once("/home/****/public_html/webpage/inc/config.php");
Good: require_once("./inc/config.php"); -
Was just about to edit my post to put a "." instead of the full address. You beat me to it
Will edit my post anyways -
And you edit, the index, user, users, etc, right now I'm uploading the upgrade, to avoid this -
LEO318x updated Stats, Top and Rewards with a new update entry:
Fixing routes for apache servers
-
error in console
Code:Oxide] 8:39 PM [Info] Unloaded plugin Top/Rewards Player (v0.0.2) by LEO318x [Oxide] 8:39 PM [Info] Loaded plugin Top/Rewards Player (v0.0.2) by LEO318x [Oxide] 8:40 PM [Error] MKToprewardsplayer: JavaScriptException while calling OnEntityDeath: No public methods with the specified arguments were found. at Jint.Native.Function.ScriptFunctionInstance.Call (JsValue thisArg, Jint.Native.JsValue[] arguments) [0x00000] in <filename unknown>:0 at Oxide.Ext.JavaScript.Plugins.JavaScriptPlugin.CallFunction (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.JavaScript.Plugins.JavaScriptPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
Getting
Code:[Oxide] 5:51 PM [Info] There was an error adding the user to the database, check your settings [Oxide] 5:51 PM [Info] ERROR-CONNECT_345|-------><!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>MK Stats RUST</title> <link rel="stylesheet" href="css/bootstrap.css"> <!-- <link rel="stylesheet" href="css/bootstrap-responsive.css"> --> <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic,700italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/toggle-switch.css"> <link rel="stylesheet" href="css/style.css"> <!--[if lt IE 9]> <script src="dist/html5shiv.js"></script> <![endif]--> </head> <body> <div class="container"> <header> <img src="img/logo.png" alt="ML Bootstrap Template"> <h1>MK RUST STATS</h1> </header> <div class="row navRow"> <div class="span12"> <div class="navbar"> <div class="navbar-inner"> <ul class="nav"> <li><a href="#" class="MKreq" ref="Home" chr="home">Home</a></li> <li class="divider-vertical"></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> Top 10 <b class="caret"></b> </a> <ul class="dropdown-menu"> <li><a href="#" class="MKreq" ref="TopP" chr="top" tabindex="-1">By Points</a></li> <li><a href="#" class="MKreq" ref="TopK" chr="top" tabindex="-1">By Kills</a></li> <li><a href="#" class="MKreq" ref="TopD" chr="top" tabindex="-1">By Deaths (Noobs)</a></li> </ul> </li> <li class="divider-vertical"></li> <li><a href="#">Most Wanted</a></li> <li class="divider-vertical"></li> <li><a href="#" class="MKreq" ref="" chr="users">Users</a></li> <li class="divider-vertical"></li> </ul> <form class="navbar-search pull-right"> <input type="text" class="search-query" placeholder="Search"> </form> </div> <!-- /.navbar-inner --> </div> <!-- /.navbar --> </div> <!-- /span12 --> </div> <!-- /row --> <div class="row navRow"> <div class="span12"> <div class="hero-unit"> <div id="responseMKreq"> <h1>Latest Statistics!</h1> <div class=""> <ul class="nav nav-tabs"> <li class="active"><a data-toggle="tab" href="#tab1">General</a></li> </ul> <div class="tab-content active"> <div id="tab1" class="tab-pane active"> <table class="table"> <thead> <tr><th>Description</th></tr> </thead> <tbody> </tbody> </table> </div> </div> <!-- /tab-content --> </div> </div> </div> </div> </div> <!-- /row --> </div> <!-- /container --> <!-- JavaScript --> <script src="js/jquery-1.10.1.min.js"></script> <script src="js/bootstrap.js"></script> <script type="text/javascript"> $(document).ready(function() { $('.MKreq').click(function(){ var request = $(this).attr( "ref" ); var chr = $(this).attr("chr"); $.ajax({ type: "POST", url: "./"+chr+".php?req="+request, //beforeSend: ajaxindicatorstart('loading data.. please wait..'), success: function(a) { $('#responseMKreq').html(a); $('html, body').animate({ scrollTop: $("#cursor").offset().top }, 2000); //ajaxindicatorstop(); } }); }); }); $links=$('a'); $links.delegate('click', function(e){ e.preventDefault(); }); </script> </body> </html>ElSure�oConSue�o has left (disconnect)
-
Code:
[Oxide] 3:01 PM [Error] MKToprewardsplayer: JavaScriptException while calling OnEntityDeath: Object has no method 'getDamageType' at Jint.Native.Function.ScriptFunctionInstance.Call (JsValue thisArg, Jint.Native.JsValue[] arguments) [0x00000] in