Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,667
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by Uridium

  1. Nice one i havent written anything yet for GL may have to look this one up for futrure ref 🙂
  2. iv'e seen your coding ability and you should be on the list very clean and crisp work 🙂
  3. There was actually a script someone wrote that was available on here do a look up for cronless crons this is the mentioned link removal of 1 minute crons
  4. what PHP current version is your site running on ?
  5. Since 2007 MWG has been my home also at that time known as Criminalexiatance all i know is MWG and when it went I lost a lot of friends still some missing today thank you Dave for reviving MWG...
  6. A page counter would be an advantage it would display all PHP files and the number people who visit each page that way if a page isnt doing so well you can maybe upgrade it or get rid of it
  7. how about if on the admin panel you had a choice of swapping between Email or username on the login box did anyone also spot the GANE STATS
  8. That part worked fine on your version i was on about the username editor i made that one didnt work.... Yours works flawlessly
  9. This upload/install didnt work for me kept mentioning needs the JSON file when i unzipped it there is a folder within a folder which is the cause also your module.json refers to Attack just so your aware Sim... but the mod does work great 🙂 I should have looked on the downloads before trying to do my own Edit Username which worked to an extent I used the profile module to add the change username.. HOWEVER it didnt work correctly you could change your name to any ones name within the game...
  10. Has anyone installed this mod and if so was it easy from the instructions and working
  11. made my first mod Edit Username
  12. downloaded and installed where is this to download ?
  13. I may have to start learning this engine code make some mods
  14. im the same i cant see an error HOWEVER what you need to do now is a bit of detective work on the INSERT INTO count from the insert how many is being INSERTED i can see there are 15 now goto you phpmyadmin ITEMS table and count those should be 15 or 16 (16 incase ID isnt being inserted.. so now all we do is this its a pain but for a Beginner it does work.... ALTER this $db->query( "INSERT INTO `items` VALUES(NULL, {$_POST['itmtype']}, '$itmname', '$itmdesc', {$_POST['itmbuyprice']}, {$_POST['itmsellprice']}, $itmbuy, '{$_POST['effect1on']}', '{$effects[1]}', '{$_POST['effect2on']}', '{$effects[2]}', '{$_POST['effect3on']}', '{$effects[3]}', $weapon, $armor)"); TO this $db->query( "INSERT INTO `items` VALUES(NULL, '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15')"); That should INSERT all 15 into the ITEMS table cos the data is already there IF it does then we know that there is an issue with the INSERT now all we have to do is 1 by 1 add things back and see which one it breaks on..... Example $db->query( "INSERT INTO `items` VALUES(NULL, '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', $armor)"); AND $db->query( "INSERT INTO `items` VALUES(NULL, '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', $weapon, $armor)"); And so on till the script breaks.. NOTE remember when you do this create a new item for each don't use same if its being INSERTED
  15. paste your staff_items.php just the NEW ITEM and EDIT ITEM parts
  16. looking at the insert i can see a ,, after 750,,'1' that could be a starting point for you
  17. maintenance_mod.rar there is a readme.txt file included any issues post on here Add this secition to your minute cron $db->query("UPDATE `maintenance` SET hour=hour-1 WHERE minute = 0"); $db->query("UPDATE `maintenance` SET minute=minute+59 WHERE minute = 0"); $db->query("UPDATE `maintenance` SET minute=minute-1 WHERE minute > 0"); $db->query("DELETE FROM maintenance WHERE hour=0 AND minute=0"); $db->query("DELETE FROM maintenance WHERE hour=-1");
  18. Sorry still coding.. It dawned on me that displaying a time to come back to the game could put people off... So ive implemented a colour changer basically like a set of traffic lights Red, Amber Green as your work progresses you can inform your members by changing the colour of the Time block even though your time says 72hours and 25 minutes your users can watch the colours change from red to amber to green to inform them that the work is nearing completion... fixed a few bugs it didn't notice in the meantime
  19. Sorry this is taking a while i had an issue with the countdown timer and when I fixed that I had another brainstorm which i'll list 1 = 1 click shut down closes down site immediately (admin still had access) 2= make sure that all closed pages are backed up before any edits are made.. (This will create a backup file of the closed file before you edit anything the file will be renamed from example (inventory.php to inventory.backup). 3 = View all PHP files on your root this will let you view on the page all named php files and will allow you to click on any file to goto that page) 4 = edit any of the current closed file times incase your not quite finished you can increase the offline timer 5 = make sure NO pages can be closed down twice if page is already closed.. 6 = closing header.php will close down entire site (you can set your own time limit here) on #1 the site is shut down for 24 hours 7 = All pages can be open with one click from the OPEN ALL link..... I'll post some pics im still working on the EDIT filename and close all function...... but the rest works fine
  20. I'll post as soon as the countdown stops being an arse,
  21. Some time ago i made a maintenance mod so you could close your site or a page for maintenance. Ive been messing again with the script and had a bit of a rewrite so now you can close as many pages as you want and as staff still be able to work on the page which wasnt available on the old version you can close the entire site down by closing header.php and again staff can still enter the site and see whats happening.. if your interested in this upgrade i'll post the script
  22. Thank you 🙂
  23. just so your aware that conf_id in this being 18 only need to be the next available number on your conf_id so if yours stops at 55 then start this one at 56 make a txt file called filedata.txt this is for the inview of the filedata.php file which will allow you to change the link of the file you want to edit to a new one so you dont have to keep uploading filedata.php all the time. INSERT INTO `settings` (`conf_id`, `conf_name`, `conf_value`) VALUES ('56', 'editpage', 'explore.php');
  24. im assuming its for this but i could be wrong University Of The Streets
  25. Nicely done 🙂
×
×
  • Create New...