ogsteam / mod-superapix Goto Github PK
View Code? Open in Web Editor NEWModule permettant de collecter les données depuis le jeu. (API)
Module permettant de collecter les données depuis le jeu. (API)
Database MySQL Error | ||
ErrNo:1264 | ||
---|---|---|
Query: REPLACE INTO ogspy_superapix_rank_alliance (datadate, rank, id_alliance, points , sender_id ) VALUES ( 1594792800, 1, '500713' , '6017919319' , 2 ) ,( 1594792800, 2, '500066' , '619887525' , 2 ) ,( 1594792800, 3, '500717' , '337739381' , 2 ) ,( 1594792800, 4, '500706' , '222452813' , 2 ) ,( 1594792800, 5, '500658' , '211359353' , 2 ) ,( 1594792800, 6, '500651' , '140883818' , 2 ) ,( 1594792800, 7, '500606' , '116182218' , 2 ) ,( 1594792800, 8, '500210' , '78193373' , 2 ) ,( 1594792800, 9, '500703' , '26347577' , 2 ) ,( 1594792800, 10, '500401' , '25516924' , 2 ) ,( 1594792800, 11, '500083' , '17016698' , 2 ) ,( 1594792800, 12, '500285' , '15491267' , 2 ) ,( 1594792800, 13, '500510' , '14816299' , 2 ) ,( 1594792800, 14, '500000' , '13121130' , 2 ) ,( 1594792800, 15, '500602' , '10333967' , 2 ) ,( 1594792800, 16, '500661' , '9986691' , 2 ) ,( 1594792800, 17, '500272' , '5187914' , 2 ) ,( 1594792800, 18, '500614' , '2954993' , 2 ) ,( 1594792800, 19, '500150' , '2914548' , 2 ) ,( 1594792800, 20, '500598' , '2526885' , 2 ) ,( 1594792800, 21, '500704' , '2364018' , 2 ) ,( 1594792800, 22, '500348' , '2306013' , 2 ) ,( 1594792800, 23, '500708' , '2161822' , 2 ) ,( 1594792800, 24, '500216' , '1990489' , 2 ) ,( 1594792800, 25, '500255' , '1811197' , 2 ) ,( 1594792800, 26, '500584' , '1748510' , 2 ) ,( 1594792800, 27, '500124' , '1662131' , 2 ) ,( 1594792800, 28, '500605' , '1486954' , 2 ) ,( 1594792800, 29, '500383' , '1271780' , 2 ) ,( 1594792800, 30, '500435' , '1267519' , 2 ) ,( 1594792800, 31, '500229' , '1215055' , 2 ) ,( 1594792800, 32, '500529' , '1184856' , 2 ) ,( 1594792800, 33, '500234' , '1149181' , 2 ) ,( 1594792800, 34, '500384' , '1112960' , 2 ) ,( 1594792800, 35, '500397' , '1101378' , 2 ) ,( 1594792800, 36, '500345' , '1091707' , 2 ) ,( 1594792800, 37, '500646' , '892090' , 2 ) ,( 1594792800, 38, '500004' , '871583' , 2 ) ,( 1594792800, 39, '500679' , '843676' , 2 ) ,( 1594792800, 40, '500012' , '819131' , 2 ) ,( 1594792800, 41, '500595' , '631167' , 2 ) ,( 1594792800, 42, '500437' , '580604' , 2 ) ,( 1594792800, 43, '500638' , '559288' , 2 ) ,( 1594792800, 44, '500326' , '553687' , 2 ) ,( 1594792800, 45, '500501' , '539564' , 2 ) ,( 1594792800, 46, '500716' , '501301' , 2 ) ,( 1594792800, 47, '500672' , '497720' , 2 ) ,( 1594792800, 48, '500626' , '491813' , 2 ) ,( 1594792800, 49, '500427' , '480010' , 2 ) ,( 1594792800, 50, '500143' , '477561' , 2 ) ,( 1594792800, 51, '500688' , '465960' , 2 ) ,( 1594792800, 52, '500681' , '448859' , 2 ) ,( 1594792800, 53, '500628' , '439192' , 2 ) ,( 1594792800, 54, '500226' , '377971' , 2 ) ,( 1594792800, 55, '500023' , '357210' , 2 ) ,( 1594792800, 56, '500058' , '347035' , 2 ) ,( 1594792800, 57, '500690' , '336846' , 2 ) ,( 1594792800, 58, '500261' , '334556' , 2 ) ,( 1594792800, 59, '500585' , '333062' , 2 ) ,( 1594792800, 60, '500196' , '316856' , 2 ) ,( 1594792800, 61, '500347' , '313992' , 2 ) ,( 1594792800, 62, '500536' , '293252' , 2 ) ,( 1594792800, 63, '500222' , '292366' , 2 ) ,( 1594792800, 64, '500123' , '291610' , 2 ) ,( 1594792800, 65, '500663' , '256098' , 2 ) ,( 1594792800, 66, '500515' , '253502' , 2 ) ,( 1594792800, 67, '500243' , '245195' , 2 ) ,( 1594792800, 68, '500533' , '240942' , 2 ) ,( 1594792800, 69, '500637' , '214739' , 2 ) ,( 1594792800, 70, '500192' , '211585' , 2 ) ,( 1594792800, 71, '500669' , '199506' , 2 ) ,( 1594792800, 72, '500350' , '181694' , 2 ) ,( 1594792800, 73, '500678' , '169554' , 2 ) ,( 1594792800, 74, '500714' , '154554' , 2 ) ,( 1594792800, 75, '500106' , '153409' , 2 ) ,( 1594792800, 76, '500134' , '147649' , 2 ) ,( 1594792800, 77, '500400' , '146354' , 2 ) ,( 1594792800, 78, '500680' , '143229' , 2 ) ,( 1594792800, 79, '500007' , '133548' , 2 ) ,( 1594792800, 80, '500065' , '131960' , 2 ) ,( 1594792800, 81, '500551' , '123402' , 2 ) ,( 1594792800, 82, '500591' , '113109' , 2 ) ,( 1594792800, 83, '500308' , '107134' , 2 ) ,( 1594792800, 84, '500466' , '90587' , 2 ) ,( 1594792800, 85, '500617' , '89212' , 2 ) ,( 1594792800, 86, '500470' , '86179' , 2 ) ,( 1594792800, 87, '500668' , '77807' , 2 ) ,( 1594792800, 88, '500333' , '75844' , 2 ) ,( 1594792800, 89, '500174' , '75138' , 2 ) ,( 1594792800, 90, '500429' , '74169' , 2 ) ,( 1594792800, 91, '500621' , '72405' , 2 ) ,( 1594792800, 92, '500355' , '62523' , 2 ) ,( 1594792800, 93, '500227' , '60773' , 2 ) ,( 1594792800, 94, '500179' , '57286' , 2 ) ,( 1594792800, 95, '500246' , '54058' , 2 ) ,( 1594792800, 96, '500126' , '52505' , 2 ) ,( 1594792800, 97, '500068' , '50673' , 2 ) ,( 1594792800, 98, '500024' , '44861' , 2 ) ,( 1594792800, 99, '500674' , '42308' , 2 ) ,( 1594792800, 100, '500438' , '41518' , 2 ) ,( 1594792800, 101, '500381' , '38467' , 2 ) ,( 1594792800, 102, '500217' , '33885' , 2 ) ,( 1594792800, 103, '500145' , '33764' , 2 ) ,( 1594792800, 104, '500589' , '31901' , 2 ) ,( 1594792800, 105, '500645' , '27989' , 2 ) ,( 1594792800, 106, '500022' , '25192' , 2 ) ,( 1594792800, 107, '500220' , '22514' , 2 ) ,( 1594792800, 108, '500398' , '19604' , 2 ) ,( 1594792800, 109, '500042' , '18042' , 2 ) ,( 1594792800, 110, '500250' , '15239' , 2 ) ,( 1594792800, 111, '500428' , '14846' , 2 ) ,( 1594792800, 112, '500535' , '12904' , 2 ) ,( 1594792800, 113, '500528' , '11102' , 2 ) ,( 1594792800, 114, '500476' , '10665' , 2 ) ,( 1594792800, 115, '500035' , '8762' , 2 ) ,( 1594792800, 116, '500520' , '8028' , 2 ) ,( 1594792800, 117, '500518' , '7906' , 2 ) ,( 1594792800, 118, '500108' , '7313' , 2 ) ,( 1594792800, 119, '500309' , '6152' , 2 ) ,( 1594792800, 120, '500137' , '6024' , 2 ) ,( 1594792800, 121, '500088' , '5869' , 2 ) ,( 1594792800, 122, '500508' , '5021' , 2 ) ,( 1594792800, 123, '500147' , '4893' , 2 ) ,( 1594792800, 124, '500292' , '4883' , 2 ) ,( 1594792800, 125, '500202' , '4873' , 2 ) ,( 1594792800, 126, '500578' , '4843' , 2 ) ,( 1594792800, 127, '500366' , '3639' , 2 ) ,( 1594792800, 128, '500337' , '2627' , 2 ) ,( 1594792800, 129, '500527' , '2206' , 2 ) ,( 1594792800, 130, '500097' , '2098' , 2 ) ,( 1594792800, 131, '500636' , '1765' , 2 ) ,( 1594792800, 132, '500683' , '1552' , 2 ) ,( 1594792800, 133, '500188' , '1166' , 2 ) ,( 1594792800, 134, '500176' , '1032' , 2 ) ,( 1594792800, 135, '500110' , '1027' , 2 ) ,( 1594792800, 136, '500077' , '1026' , 2 ) ,( 1594792800, 137, '500719' , '726' , 2 ) ,( 1594792800, 138, '500015' , '703' , 2 ) ,( 1594792800, 139, '500420' , '598' , 2 ) ,( 1594792800, 140, '500327' , '384' , 2 ) ,( 1594792800, 141, '500093' , '365' , 2 ) ,( 1594792800, 142, '500460' , '338' , 2 ) ,( 1594792800, 143, '500295' , '317' , 2 ) ,( 1594792800, 144, '500522' , '153' , 2 ) ,( 1594792800, 145, '500018' , '124' , 2 ) ,( 1594792800, 146, '500252' , '93' , 2 ) ,( 1594792800, 147, '500433' , '90' , 2 ) ,( 1594792800, 148, '500411' , '35' , 2 ) ,( 1594792800, 149, '500128' , '24' , 2 ) ,( 1594792800, 150, '500047' , '2' , 2 ) ,( 1594792800, 151, '500074' , '2' , 2 ) ,( 1594792800, 152, '500431' , '2' , 2 ) ,( 1594792800, 153, '500013' , '0' , 2 ) | ||
Error: Out of range value for column 'points' at row 1 |
spaModId() appelé trop tard dans uninstall.php
fonctions fichiers models pas utilisé pour l'insertion
réorganiser le code et supprimer code non utilisé
suite commentaire discord
Bonjour, il semble y avoir un problème en utilisant PHP 7.4.4
J'ai beau cherché dans les lignes mentionnées dans les logs je ne vois rien à première vue
Lorsque je déclenche une mise à jour
J'obtiens le popup suivant :
Voici ce qu'indique le log Apache :
PHP Fatal error: Uncaught Error: Call to a member function sql_query() on null in C:\xampp\htdocs\ogspy\mod\superapix\model\config.php:81\nStack trace:\n#0 C:\xampp\htdocs\ogspy\mod\superapix\common.php(47): defineDebug()\n#1 C:\xampp\htdocs\ogspy\mod\superapix\cron.php(19): include('C:\\xampp\\htdocs...')\n#2 {main}\n thrown in C:\xampp\htdocs\ogspy\mod\superapix\model\config.php on line 81
Et les requêtes SQL qui passent :
SHOW TABLES LIKE "ogspy_xtense_callbacks"
SELECT active FROM ogspy_mod WHERE root = 'superapix'
select user_id from ogspy_user WHERE user_name = 'SPA_WebService'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'uni'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'requete_max'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'pays'
SELECT id FROM ogspy_mod WHERE root = 'superapix'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_PLAYERS'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_ALLIANCES'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_ALLIANCES_RANK_POINTS'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_ALLIANCES_RANK_ECO'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_ALLIANCES_RANK_TECHNOLOGY'
SELECT config_value FROM ogspy_superapix_cfg WHERE confg_name = 'last_CST_ALLIANCES_RANK_MILITARY'
SELECT config_value FROM ogspy_superapix_cfg WHERE confiig_name = 'last_CST_ALLIANCES_RANK_MILITARY_BUILT'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_ALLIANCES_RANK_MILITARY_DESTROYED'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_ALLIANCES_RANK_MILITARY_LOST'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_ALLIANCES_RANK_MILITARY_HONNOR'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_PLAYERS_RANK_POINTS'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_PLAYERS_RANK_ECO'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_PLAYERS_RANK_TECHNOLOGY'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_PLAYERS_RANK_MILITARY'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_PLAYERS_RANK_MILITARY_BUILT'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_PLAYERS_RANK_MILITARY_DESTROYED'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_PLAYERS_RANK_MILITARY_LOST'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_PLAYERS_RANK_MILITARY_HONNOR'
SELECT config_value FROM ogspy_superapix_cfg WHERE config_name = 'last_CST_UNIVERSE'
SELECT user_id
FROM ogspy_user WHERE user_active
= '1'
Merci
function DistantIsFileIXml($url)
{
if ($stream = fopen($url, 'r')) {
// 5 premier octet => verif bidons
$sStream = stream_get_contents($stream, 5);
if ($sStream == "<?xml") {
loggeur("check fichier XML ok " . $url);
return true;
}
loggeur("retour " . $sStream);
loggeur("check fichier XML No Ok " . $url);
fclose($stream);
}
Ajouter try/catch pour eviter erreur fopen si le fichier n'existe pas
Indiquer si les import superapix sont "up to date"
Hi, after installing superapix 0.2.7 on a 3.3.4 ogspy, i get the following message when trying to retrieve info from the server:
FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function find_config() in /var/www/html/ogspy/mod/superapix/include/cst.php:52
It seems that the function find_config() is not defined anywhere.
Does superapix need any prerequisite to work?
Thanks
Suppression callback xtense et nécessité de l'installer
Redesign pour ogspy 3.3.9
Petite boulette à corriger pour la prochaine version ;-)
@machine Un log revient souvent sur superapix :
PHP message: PHP Warning: A non-numeric value encountered in /srv/www/ogspy.fr/winners/mod/superapix/include/function.php on line 115
PHP message: PHP Warning: A non-numeric value encountered in /srv/www/ogspy.fr/winners/mod/superapix/include/function.php on line 115
PHP message: PHP Warning: A non-numeric value encountered in /srv/www/ogspy.fr/winners/mod/superapix/include/function.php on line 115
PHP message: PHP Warning: A non-numeric value encountered in /srv/www/ogspy.fr/winners/mod/superapix/include/function.php on line 115
PHP message: PHP Warning: A non-numeric value encountered in /srv/www/ogspy.fr/winners/mod/superapix/include/function.php on line 115
PHP message: PHP Warning: A non-numeric value encountered in /srv/www/ogspy.fr/winners/mod/superapix/include/function.php on line 115
PHP message: PHP Warning: A non-numeric value encountered in /srv/www/ogspy.fr/winners/mod/superapix/include/function.php on line 115
PHP message: PHP Warning: A non-numeric value encountered in /srv/www/ogspy.fr/winners/mod/superapix/include/function.php on line 115
PHP message: PHP Warning: A non-numeric value encountered in /srv/www/ogspy.fr/winners/mod/superapix/include/function.php on line 115
PHP message: PHP Warning: A non-numeric value encountered in /srv/www/ogspy.fr/winners/mod/superapix/include/function.php on line 115
Hello,
Je suis actuellement sur le serveur pioneers mais superapix ne connais que les unis fr.
Comment faire ?
Merci
au chargement de universe
[28-Apr-2020 14:21:54] WARNING: [pool www] server reached pm.max_children setting (100), consider raising it
[28-Apr-2020 14:23:59] WARNING: [pool www] child 7243 exited on signal 11 (SIGSEGV - core dumped) after 143.730950 seconds from start
[28-Apr-2020 14:23:59] WARNING: [pool www] child 7239 exited on signal 11 (SIGSEGV - core dumped) after 145.757260 seconds from start
[28-Apr-2020 14:25:26] WARNING: [pool www] child 6996 exited on signal 11 (SIGSEGV) after 502.628838 seconds from start
[28-Apr-2020 14:25:26] WARNING: [pool www] child 7180 exited on signal 11 (SIGSEGV) after 261.468607 seconds from start
[28-Apr-2020 14:25:34] WARNING: [pool www] child 7155 exited on signal 11 (SIGSEGV - core dumped) after 279.094354 seconds from start
[28-Apr-2020 14:28:21] WARNING: [pool www] child 7354 exited on signal 11 (SIGSEGV - core dumped) after 262.700440 seconds from start
[28-Apr-2020 14:28:22] WARNING: [pool www] child 7125 exited on signal 11 (SIGSEGV - core dumped) after 453.842394 seconds from start
php crashe par manque de mémoire
il n'y aurait pas une petite fuite genre un fichier xml non fermé après lecture ?
Un autre log cool :
020/04/28 14:25:34 [error] 1174#1174: *115880 FastCGI sent in stderr: "PHP message: PHP Warning: simplexml_load_file(): Memory allocation failed in /srv/www/ogspy.fr/bro/mod/superapix/include/function.php on line 145
PHP message: PHP Warning: simplexml_load_file(): mod/superapix/xml/CST_UNIVERSE.xml:2: parser error : Memory allocation failed : xmlSAX2Characters in /srv/www/ogspy.fr/bro/mod/superapix/include/function.php on line 145
Superapix 0.3.4
Bonjour,
Avec la version 0.2.7 fraichement DL, j'ai suivi le tutorial vidéo mais je me retrouve confronté à un pop up contenant le texte : une erreur est survenue [object Object]
La log apache :
PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_file() in /var/www/html/ogspy/mod/superapix/include/function.php:138\nStack trace:\n#0 /var/www/html/ogspy/mod/superapix/cron.php(83): f_chargement_fichier_xml('mod/superapix/x...')\n#1 {main}\n thrown in /var/www/html/ogspy/mod/superapix/include/function.php on line 138, referer:
Ce pop up apparait au moment ou je clic pour la première fois sur mise à jour
La version OGSpy est la 3.3.6
La version php : PHP 7.3.7
Merci par avance pour votre aide.
Bonjour,
J'ai aujourd'hui essayé d'installé le module. Malheureusement je tombe sur les erreurs suivantes :
ErrNo:1071
Query:
CREATE TABLE If NOT EXISTS ogspy_superapix_cfg ( config_name varchar(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) ) ;
Error:
Specified key was too long; max key length is 767 bytes
J'essayerai de trouver le temps de me plonger dedans, en espérant trouver une réponse d'ici la.
Historisation des modifications
Hello,
Lors d'une Mise à jour manuelle, j'ai la pop up JS suivante qui s'affiche : "Aucune Mise à jour disponible"
j'ai pourtant mes galaxies et mes classements qui ont été mis à jour : c'est étrange ...
En cas d'erreur le message d'erreur n'est pas très Explicite.
une erreur est survenue [Object] [Object]
proposition : Déplacer l'erreur dans la console.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.