Jump to content
MakeWebGames

Sim

Members
  • Posts

    2,392
  • Joined

  • Last visited

  • Days Won

    62

Everything posted by Sim

  1. It will be released no later then the end of the weekend. I am doing some final testing and don't have work this weekend. I started my first week of work.
  2. You still have to type all the keys and values when the method could automatically do it. @KyleMassacre
  3. $insert = $this->db->prepare(" INSERT INTO skills (SK_name, SK_default, SK_max, SK_canUpdate, SK_isHidden) VALUES (:name, :defaultValue, :maxValue, :canUpdate, :isHidden);"); $insert->bindParam(":name", $this->methodData->name); $insert->bindParam(":maxValue", $this->methodData->maxValue); $insert->bindParam(":canUpdate", $this->methodData->canUpdate); $insert->bindParam(":isHidden", $this->methodData->isHidden); $insert->bindParam(":defaultValue", $this->methodData->defaultValue); $insert->execute(); So we usually have to do this for adding form data to the database. $insert = $this->db->prepare(" INSERT INTO skills (SK_name, SK_default, SK_max, SK_canUpdate, SK_isHidden) VALUES (:name, :defaultValue, :maxValue, :canUpdate, :isHidden);"); $insert->bindMethodData(); $insert->execute(); //first post, exclude excludes which methodDatas to not bind from thrle ye methodDatas //$insert->bindMethodData($exclude); Now the 2nd way is much more convenient. These is especially helpful in the admin panel area where people are adding and edited data all the time. AS YOU can see the 2nd way would b much faster and just more convenient in general
  4. Even if you don't want to document them all. Just supplying us with a list of them would be a good start, us users can document them of we get bored.
  5. Hey, welcome
  6. Sim

    Phone

    My phone I preferred to use to code on to a swim in the toilet 😂. ;(.. now I am stick with the one that don't hold charge longer then 2hrs. ;(. And no rice didn't work.
  7. I would like to see this added into the next feature of GL to help with the ease of not having to bind every methodData. I'd like to see some sort of function, maybe bindMethodData($exclude) that will automatically bind all the methodData. This would save a ton of time. bindParam(blah 1, methodData1) BindParam(blah2, methodData2) BindParam(blah3, methodData3). BindParam(blah4, methodData4) Ext BindMethodData will automatically do all that above. $dontBind[] = 1' $dontBind[] = 2 bindMethodData('$dontBind). Will bind the 3 and 4 but not the ones to exclude. Fairly simple to do, and surprised it hasn't been built in yet.
  8. Sim

    Coronavirus Impact

    We in lock down in Maryland,USA. But I Liv in Baltimore, MD, USA. No one listens to the government here and a long a no one is being violent the government don't do nothing EVER. LoL. Fast food places are open as in we can walk in order and sit down and eat.
  9. I think that works for mySQL as well.
  10. I wanted to post why I haven't released my Skill/Stat mod yet, but I also wanted to release a mod that also uses the skill/stat mod. So I am nearly finished this mod as well. The Skill/stat mod is finished.(While typing this, I am going to look into adding the stats to the profile since I remember @Dayo adding a hook for it?!5 It allows you to create a class that players can take to upgrade a skill/stat. Players can only take one class at a time and they are not done instantly. You choose how many minutes to take(but owners should put hours instead. I have to switch the text to say minutes.). I also need to remove the class levels that shown in the screen shots. All that's left is to be coded is displaying the classes taken (simple) and if one is in progress, add a timer. So I need to look into these timer things GL uses. Once these two are released I should be pumping out mods left and right. Almost every mod I create will use the skill/stat mod in one way or another.
  11. I found a new code Editor. It's the best one I found on mobile and if I had and could choose to download it on my PC I would. I like the editor that much. Or maybe it's just that much better then the last one I had download.
  12. I just clearly stated its not my point of view and that it happened in the past to other games. "The Plague" has been around or mnay years and was already the most popular game o it's kind before this Corona virus.
  13. It's not my point of view, it's happened before. But we are all in the same position to.
  14. Using a world wide disaster to advertise for your own personal gain a game.
  15. Sim

    Romewars

    I'm ready to test
  16. I did as well. I wonder how many people end up registering just because of name. I also wonder how many pissed off hackers going to knock his game down.
  17. I seen that, but wasn't y problem. This the fix $classes['skills'] = $skillInfo; $this->html .= $this->page->buildElement("classForm", $classes); Skills array from the query. Class an array from the methodData.
  18. I can either add one of these or the other. $classes is form data, submitted from the form. SkillInfo is an array for the #eacin the tpl $this->html .= $this->page->buildElement("classForm", $classes); //$this->html .= $this->page->buildElement("classForm", $array("skills" => $skillInfo)); . I can't see to use both of these for some reason. Anyone got the answer?
  19. The answer is posted in another thread.
  20. The one I or now works just as well as one on a PC.
  21. The mod is now complete. I will be posting it for free on the marketplace tomorrow. I'm hoping to finish a mod that will make use of the Skills mod to release both of them at same time, but I doubt it. Things are moving smoother then before. I found a different PHP Editor and more familiar with GL and navigating between Editor, to ftp to browser tab's, ect. seems to be getting a little less stressful.
  22. Well that's awesome. 🙂
  23. I got the wrong idea on what the userAction hook did. Thanks So someone can just release a small user action log mod, with just the userAction hook and everytime userAction is called, they could update the database with that info? Sounds simple enough Or if someone steals a car, someone could have them fight a boss afterwards with there userAction hook. That explains why there is no actual userAction hooks code. Thanks, I think you just explained the hooks to me 🙂
  24. Where is the userAction hook code located at? I been looking for it for days. Are these hooks just placeholders until you get around to creating them? Unless I got the wrong idea on what userAction is supposed to do, if I put userAction hook in my module, i could have it run code after a crime is committed? I figured it was a user action log and would save there action to a table. I been trying to get a response from you about this userAction hook for days now and no response except a public announcement that new userAction hooks been added. LoL.
  25. Where is the actual userAction hook located at? A list of all available hooks would also help. Edit: I just went threw new database scheme so even if this userAction hook exists, I see it serving no purpose. There is no way to tell what action the user even did. There's no log for it.
×
×
  • Create New...