Search Results

Search results 1-20 of 25.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Let's discuss the future of 2moons

    amamoslavida - - News

    Post

    Ogniter will become open project when it is completed, i ll upload it to github and develop further in my free time it is the best i can do to support your community.

  • a better aproach might be, adding 2 columns to uni1_messages table such as ALTER TABLE uni1_messages ADD COLUMN message_owner_status BOOLEAN DEFAULT 0; ALTER TABLE uni1_messages ADD COLUMN message_receiver_status BOOLEAN DEFAULT 0; if an user want to delete the message that he send to other user, than manipulate message_owner_status from 0 to 1; and at the page of send messages you need to select from messages WHERE message_owner_status = 0 by this way user's deleted ( send ) message not shown t…

  • $sql = "SELECT COUNT(*) as state FROM %%MESSAGES%% WHERE message_owner = :userId AND message_id = :message_id;"; $MessageCount = database::get()->selectSingle($sql, array( ':userId' => $USER['id'], ':message_id' => $MsgID, ), 'state'); this part of code causing the problem / with this function you can only delete messages that you have from other users, you cannot delete messages that you send to others. but dont delete thid because if you delete probably works, but an user can manipulate and ca…

  • I am not familiar to version you use but if you cannot see message button then try changing class from "fas fa -times to "fa fa-times" meaning remove the "s" letter. other than this you need to send AJAX request to delete message example and not forgot to exit at the end of ajax..

  • I didn't get your question, and i am answering by assuming your cronjob is not working ? Find includes/cronjob/CleanerCronjob.class.php check if this presents $del_before = TIMESTAMP - ($config->del_oldstuff * 86400); $sql = 'DELETE FROM %%MESSAGES%% WHERE `message_time` < :time;'; Database::get()->delete($sql, array( ':time' => $del_before )); if it seems OK then you have no problems with your code (default code) and you need your cronjob working,

  • Quote from Russoll: “the stats has always had issues it depends on whos version your using. if its the standard version, i dont remember but a fix, or work around was posted awhile ago ” i am using 1.8 steemnova, stats working well in localhost but on online server sometimes it doesn't fill the table, truncate works and insert fails, i dont have VPN, i am using standart host, can it be cause by this? i am thinking to change truncate - insert to "insert into on duplicate key update values" ..

  • Hello, sometimes i have problems with stats and i could not find the reason. While updating stats, stat table is truncated efficiently, but it doesn't inserted. Truncate -> insert sometimes causes problems, and i have a question do you recommend using INSERT INTO %%STATS%% ON DUPLICATE KEY UPDATE VALUES () / instead of TRUNCATE - INSERT

  • Best Evreni Açıldı..

    amamoslavida - - türk forumu

    Post

    // curl oluştur ve url belirle $ip = $_SERVER['REMOTE_ADDR']; //uni1_badips ve uni1_goodips olarak 2 adet database tablosu oluştur $sql = "SELECT COUNT(*) FROM uni1_badips WHERE badIP = :badIP;"; $countbadip = Database::get()->selectSingle($sql,array( ':badIP' => $ip ),'COUNT(*)'); $sql = "SELECT COUNT(*) FROM uni1_goodips WHERE goodIP = :goodIP;"; $countgoodip = Database::get()->selectSingle($sql,array( ':goodIP' => $ip ),'COUNT(*)'); if ($countbadip == 0 && $countgoodip == 0) { // ip ilk kez s…

  • Best Evreni Açıldı..

    amamoslavida - - türk forumu

    Post

    Quote from Abyss: “vpn engellemeyi nasıl yapıyorsunuz dostum ” iphub üzerinden yapabilirsiniz.

  • Best Evreni Açıldı..

    amamoslavida - - türk forumu

    Post

    ben hobi olarak geliştirmeye devam ediyorum, ne zaman isterseniz, forumdan ulaşabilirsiniz.

  • Best Evreni Açıldı..

    amamoslavida - - türk forumu

    Post

    Öncelikle hayırlı olsun, ticaret ve para kazanma amaçlı açtıysanız elimde ilginizi çekebilecek bir script mevcut. Özelliklerini belirteyim belki ilgilenirsiniz; 1- reaper, crawler, pathfinder gemileri mevcut, tüm özellikleri çalışmakta ( reaper için savaş anında harabe sökme, pathfinder için keşiflerde geliri katlama, crawler için se belli miktarda üretimi arttırma. 2- gezegen pozisyonlarına göre üretim artışı ogame ile bire bir aynı, 8. pozisyon %40 metal artışı 1. pozisyon daha fazla kristal 3…

  • Quick fleet send mod?

    amamoslavida - - Mod Database

    Post

    Elimdeki script sürüm olarak ogame 'e çok yakın olduğu için sordum, birçok açık kapatıldı, ve birçok şey eklendi, ama filo kaldırmak için bir özellik eklemedim. Elimde olsa paylaşırdım, forumda belki aradığınız şey vardır. Kolay gelsin.

  • Quick fleet send mod?

    amamoslavida - - Mod Database

    Post

    1000tl ye script satıyorum, istediğiniz özellik yok fakat alıcı olursan ekleyebilirim (kendim yazıcam). Ogniter.net ten inceleyebilirsiniz.

  • how to remove an officer?

    amamoslavida - - showroom

    Post

    Quote from Yaro2709: “Писать столько кода? Легче зайти в Vars.php (в New-Star General.php) и задать свой массив офицеров *пример ниже* Притом, зачем изобретать велосипед и мучить потом других программистов? Они же вам мозги "съедят" за такое поведение с глобальными переменными. PHP Source Code (1 line) Я не считаю, что это правильное. Правильно было бы по-другому, но у меня руки не доходят до этого. Как правильно было бы? Вынести это в настройки вселенной, дальше переписать VarsBuildCache.class.…

  • how to remove an officer?

    amamoslavida - - showroom

    Post

    yes as i said before its for localhost; i tested it and you are right . i come up with fast and new and better solution now open showofficierpage.class.php find this and edit as follows to remove weapon technology update from officers public function UpdateExtra($Element) { global $PLANET, $USER, $resource, $pricelist; var_dump($Element); // delete this when you finished and make control. if ($Element != 701) { // add this line $costResources= BuildFunctions::getElementPrice($USER, $PLANET, $Ele…

  • how to remove an officer?

    amamoslavida - - showroom

    Post

    no i didn't remove officer from the array, no need deleting from database and so on cause too much time, btw you can test my version @ ogniter.net you' re welcome to play :))

  • how to remove an officer?

    amamoslavida - - showroom

    Post

    i am not sure but using if-else statement in tpl file through smarty should count as back end , and for any user it should be not editable. short way of removing oficer Open pageofficier.default.tpl {foreach $officierList as $ID => $Element} {if $ID != 601 && $ID!=602 && $ID!=603 && $ID!=605 && $ID!=607} ..... html goes here .... {/if} {/foreach} now officer with id 601, 602, 603, 605, and 607 is not visible, you can check IDs from language > TECH.php and edit like you want. I 2nd way. Open Show…

  • how to remove an officer?

    amamoslavida - - showroom

    Post

    definitely the dangerous one, do as i said if you play by yourself on localhost only. Otherwise you need to go through database processes.

  • how to remove an officer?

    amamoslavida - - showroom

    Post

    show them if necessary, edit template page.officiers.default.tpl {foreach} {if ID != 500} // ID of officer you want to remove. display {/if} {/foreach} simplest way

  • Rank is not set, probably total_points is not set, it is caused by server + db engine, change stats table engine from myIsam to InnoDb, by this way you can avoid data lose during sql bulk insert. Reconsider flush_log_at_trx_commit as well