-
Posts
423 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
Events
Everything posted by Canjucks
-
I want to use an sql query where the column has text I want to sort my rows I display for each. I need some help in getting the syntax correct. I might be going about it the wrong way as in a better way is probably there I just don't know that way. $Offensive = $this->db->prepare("SELECT * FROM `some table` WHERE SC_desc = 'some text'");
-
Did you end up posting this @Dayo?
-
working with dayo's FAQ. On the payer screen how can I sort so it outputs as by faq_title? UPDATED: Fixed. I added ORDER BY FAQ_title ASC to the query. Tis late enough for me to miss the fact I had it working as I wanted lol
-
- 1
-
-
Can anyone tell me the way to best organise the admin menu? I can get into jason files but things still aren't as organised as I would like them. For example, sorting by rank of importance by admin group then by each mod ascending. Please tell me what you did to achieve this. For instance I am trying to rank Dashboard group name as #1 but I have this ne mod FAQ that keeps ranking higher.
-
Good luck with your new purchase @CrazyElk
-
Just a FYI to help anyone else who has this error like I did simply remove on line 67 - debug($info);
-
What mod have you connected the skills points to earn the points? Do you do a trade in of points for skills points? money? bullets?
- 12 replies
-
- mccode-v2
- mccode-lite
-
(and 3 more)
Tagged with:
-
I was wondering the same thing lol.
-
Hey all, just trying to piece together some updates to my layout without asking for a paid version - I'm in a learning environment and would really like to achieve the success of doing myself but as I am needing some guidance please assist if you can. I've come a bit of a way since I started week leading into Xmas. The good thing for me is I am having some fun making things work or at least trying too. I am trying to change the alert panel. I can see it comes from the style.css and bootstrap,min,css when I inspect the page. I have made some minor updates to both files but what am I missing? For example I would like the success to go from: to: Update: can we delete post I made the update without realising....cleared some history lol job done! Also now have managed to find the way to make a login CSS and game style that works out. Success and sense of achievement. Working with DIVS and CSS is my next big challenge to see if I can learn it and develop my skills in this area. I should have done this a long long time ago tbh. Never to late to catch up I guess.
-
that's no good bud. no good at all.
-
might be more so I am on a WAMP ...
-
I finally did enough clicks to come across the anti bot only issue is I can't enter the code to unlock. Anyone else have issues? What is the best workaround or know how to unlock this from the backend? FYI...solved put in a alt text and this worked out. alt= {code}
-
I was thinking of keeping the timer in place but also restrict it with using brave. Mine also has a bigger penalty for going to jail. I remember in a mc2 mod they included hospital. It does open the door for items to take time away from these while helping your game economy.
-
Will do that when i get on my computer a little later
-
My bad. I misread what was being sold.
-
Nice. I just haven't see it working yet. I have an idea for a game and really interested to see if this one suits it or not.
-
I'm interested in this also. How did you go with the answer?
-
had a look at your game. It's quite nicely done but couldn't see the attack system. I am looking for a game though. Really want to see the inventory and attack system work.
-
Thanks for explaining how Health works that will go a long way to understanding this error (or lack of reason for the error that I have when using russian roulette). I thought I did explain it but yes I want to have a revive button (bust out) for a fee ultimately either with money or energy as the cost or both.
-
its going to work into my next thing of being able to revive peeps in hospital. Having more things that end you up in hosp will make that more viable.
-
Did you end up uploading to GitHub?
- 25 replies
-
- mccode-v2
- mccode-lite
-
(and 3 more)
Tagged with:
-
The issue is understanding how health is dealt with in GL. The mod that I modified isn't mine in Russian Roulette which kills you if you get hit. In my version it send you to hospital for x amount of time, losing your will and energy. After reading some of your responses it made me think if Health is always 0 then this change I made won't work unless I make further changes so Health can equal a greater number so when it hits 0 it does something more than it does now as setting it to 0 does nothing. You can set it to a higher number for reviving your health in the hospital mod if somehow you lose health you can pay to get it back to 100% which is not quite accurate as it is. This just might be a flaw with how I'm trying to change the game to suit the style I'm working towards.
-
I love what you have done with this engine. Personally I'm trying to re-learn coding again to use as a platform for my R/L job. It would be nice to learn again and have motivation for it. A very long time I looked at mccodes on a friends game. I did some coding for that but that was largely crap code, worked but crap code knew it at the time lol Now with GL I hope to fix that and do it properly.
-
So I tried to make russian roulette a hospital event instead of being killed you hit the hosp for x amount of time. So, I haven't understood yet how health works and I think this is where the issue lies but this is the code I changed in roulette and the screenshot is the error I get in hospital. if ($shot) { $this->error("It was the chamber with the bullet and you paralysed yourself!"); $this->user->set("US_energy", 0); $this->user->set("US_will", 0); // update health to 0 and timer to extended time in hospital // I tried health at 0 but then found it was linked to ranks so made higher value. $this->user->set("US_health", 1000); $this->user->set("US_shotBy", $this->user->id); $this->user->updateTimer('hospital', (30000), true); Thanks in advance if you can help me work this out as its been kinda bugging me - see what I did there lol