Jump to content
MakeWebGames

Sim

Members
  • Posts

    2,392
  • Joined

  • Last visited

  • Days Won

    62

Everything posted by Sim

  1. Thats very odd. -21days. I dont see how it got to -21days. Once at 0 days it should delete course according to code. But $db->query("TRUNCATE TABLE votes;"); y is thus here in education cron?
  2. 1.3.0 released. If any of the Item System Mods do not match version 1.3.0 which can be viewed in the installed modules of your ACP. It is recommended that you redownload and overwrite all modules included in the download. If your version is under 1.2.0 released late January, you will also need to run the updateTables.schema file threw your PHP Admin. I will not offer support to any file versions that do not match 1.3.0(unless installation/upgrade troubles). 1.3.0 Various code changes threwout whole module. Which is why it is recommended to redownload. 2 new Item Types Included Treasures and Health Items. Full update log included in download and on New Item System page.
  3. Sim

    oRPG Creator...

    I found an odd FB memory of this old project. 2015 it was exploited for a few hours due to unsecured file uploads. Whose from the UK here? LoL
      • 1
      • Haha
  4. His countdown code is wrong?
  5. The new owner sounds like a asshole, i would post full version privately. Id actually like to take a peak myself. I can't remember what technologies was used on this. Edit: not sure what law is on dead-projects. URL doesn't load for me.
  6. Just post it instead of having someone telling you to.
  7. My work speaks for itself. Lots of mods, lots of purchases. Hardley any complaints.
  8. The issue with @Karma was resolved with us and admins of MWG privately. It looks like my support is A-Okay. No coders are perfect, even GL after years and changes still has issues reported. Thanks for the support @CrazyElk
  9. I will be uploading a new version of the item system that addresses a few issues in the black market, user shops, and updated gifting item code. The updated files will be available in 2 packages. Full package or Changed Files(to keep things simple for some). The update will be available within 24 hours. I am also releasing some add-on features that take advantage of this new item system for GL. The Add-On is a new Attack/Mugging system with a hospital that works similiar to the jail system. This add-on also has a new item type(Health Items) which players in the hospital can use on themselves or other players to get them out of hospital faster.
  10. Sim

    StreetWarz

    I really like the graphs
  11. If your trying to access this URL from the browser, it wont happen because of htdocs/ That URL goes in the cron. Your cron is NEVER GOING TO WORK because you are not fully understanding what is going on. Let me try to break this down. So yOUR URL to this cron file is gansgerparadise/cron_minute.php But heres the kicker, there's a password inside the file which if the password is not correct it will just exit the file. This is why everyone keeps talking about adding ?code=YOUR_SECRET_PASSWORD to the end of the cron file URL BUT inside the cron file if the "code" secret password does not match the files secret password IT WILL JUST EXIT/CLOSE/ACT LIKE NO one ever visited the file. This is why I asked you to post the first 15 lines or so of that file code.
  12. code=WHATEVER WHATEVER IS anything you want, no spaces. Then post about the first 20 lines of the file. And your URL, you might want to take out the htdocs/. This URL WORKS: http://gangsterparadise.rf.gd/cron_minute.php?code
  13. cron_hour.php?code=WHATEVER you need the ?=
  14. You the man. You hoard old code. Interested in creating a topic for my oRPG Creator and post code/tag me. Thanks.
  15. I 2nd what @Dayo said GL is where it’s at now
  16. I just finished up an mugging attacking hospital modules that work off of my item system. It allows other users to hall users with there health items to get out if hospital faster. @Fabionuno
  17. Thanks @sniko & MTG
  18. Im just as lazy. How i read these commits? Can you explain the colors to me? And i can never seem to download the new source from github so i always rely on the MWG marketplace to download GL.
  19. Very strange @jedigunz
  20. Is that the weirdest typo ever or am i missing something? Edit: i posted this in wrong thread. Should have went in GL thread: @Dayo @Dave @Magictallguy
  21. Here's a function i use to select drop down or multiselected drop downs. That other devs may find useful. I monthly use it in ACP for crying new entries amd editing entries. //first parameter is data being stored in combo/multiselected //second paramater is the data that was selected Both paramaters are arrays so if data not being parsed is not an array, you can cast as an array as shown in example below. But as seen, the data passed must use the ids keys id and name, but can easily be changed public function getSelectedListBoxData($listArray, $selDataArray = '') { if(empty($selDataArray)) { return $listArray; } $Data = array(); foreach($listArray as $item) { $sel = ""; if(in_array($item['id'], $selDataArray)) { $sel = "selected"; } $Data[] = array( "id" => $item['id'], "name" => $item['name'], "selected" => $sel ); } return $Data; } Use: TPL: <div class="col-md-3"> <div class="form-group"> <label class="pull-left">Reward Item?</label> <select class="form-control" name="itemID"> <option value="0">None</option> {#each items} <option value="{id}" {selected}>{name}</option> {/each} </select> </div> </div> PHP: //on submitting form data $crime['itemID'] = $this->helper->getSelectedListBoxData($this->helper->getItemType(), $this->methodData->itemID); //submitting form data EDIT $crime = $this->getCrime($this->methodData->id); $crime['itemType'] = $this->getSelectedListBoxData($this->helper->getItems() , (array)$crime["itemID"]);
  22. @jedigunz If you show the query, i may be able to tell you what data needs created, as it looks like mod needs animals to work? I may download & look at it later as i am interested in what thus mod does myself now. May convert to GL
  23. Why is JS needed? When you only need 1 form for that data?
  24. I completely forgot that this was originally CE.
×
×
  • Create New...