-
Posts
419 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
Events
Everything posted by Canjucks
-
it was just a general question for any safe guards which you answered.
-
Does it come with any added security?
-
[McCode V1/V2] Thug Core System >>> REMAKE <<<
Canjucks replied to Dayo's topic in Free Modifications
I like that idea. I might work on some ideas with that. see if I can't make it for GL. -
[McCode V1/V2] Thug Core System >>> REMAKE <<<
Canjucks replied to Dayo's topic in Free Modifications
this would work well if converted for Gangster Legends..... by the looks of it, that wouldn't be so hard... -
I'm now of the of belief this module needs to be included in the Premium edition. That will highlight what I think of your mod @KyleMassacre well done on a great idea and module that is very useful!
-
Where are the best places people have found to be most effective? Google Ads? Certain websites? Certain forums?
-
thanks I found the search....went over that 2.3 folder like a mad dog lol I've used the free bundle as my starting/reference point for the turn based system.
-
I'm interested with this also. I'll hopefully soon be releasing my game also.
-
I must have missed that userList when I updated to 2.3. What mod does it come under? I had to do it manually the update because I have customised so many things to suit my game like changing the name of bullets to something else. We just need a better attack model than hit attack/hospitalise/mug and only those things occur but something a bit more complex but under one attack module and a couple of buttons at the end of the fight for those leave/mug/hospitalise. I'm working on a turn based system but would be happy if someone or if you stripped yours back to just those three and then I can just expand to suit my special abilities.
-
I've put this together (first one I have released like this as in advertised). This is not my code just utilising something that was already made.. Search doesn't work yet or does it have links to do something lol. Would anyone find this useful? I know that having investigated GL for what's missing/needed having to search for a user that may or many not exist is a bit hard don't you think? So I felt it was needed that we have a user list with names to search from (especially useful for hiring detectives!)
-
The Last Kingdom
Canjucks replied to Bjorn Westergaard's topic in Media Entertainment (FKA Tv Shows)
Its a good show. Love it. Want more now! -
So I am working on my leader board and going nuts with adding different things so players can keep competitive. I have hit a stumbling as much as it looks good it still needs to work lol. So I have created my case tried to do a else if for it and yeah that's where it goes wrong with the correct order. switch (@$this->methodData->top10) { case 'rank': $order = 'US_exp'; $title = "Top 10 Players"; break; default: $order = '(US_money + US_bank)'; $title = "Top 10 Richest Players"; break; case 'strength': $order = 'US_strength'; $title = "Top 10 in Strength"; break; } $select = $this->db->selectAll(" SELECT * FROM userStats INNER JOIN users ON (US_id = U_id) WHERE U_userLevel = 1 AND U_status != 0 ORDER BY ".$order." DESC LIMIT 0, 10 "); $i = 1; $users = array(); foreach ($select as $row) { $u = new User($row['U_id']); if ($type == 'rank') { $rank = $u->getRank()->R_name; } else if ($type == 'money') { $rank = $u->getMoneyRank()->MR_desc; } else if ($type == 'strength') { $rank = $u->getStrengthRank()->MR_desc; } $users[] = array( "number" => $i, "user" => $u->user, "id" => $row['U_id'], "rank" => $rank ); $i++; } $this->html .= $this->page->buildElement('leaderboard', array( "title" => $title, "users" => $users )); } So, my issue is at the for each where I get each rank position. For instance I know that getStrengthRank is incorrect so what would I use? Out of this, I thought "rank" => $rank would give me the stat on my tpl but shows up blank. How would I get it to work? UPDATE: I worked out the issue I had with get strength so that part is all good. I'm still unsure what has happened to Rank Fixed it!
-
opens the door for a calendar that shows off each event. Could open the door for an event shop that becomes rewards that might rank players to whom wins and places for rewards. Single, weekly and monthly events sounds like a winner to me and can be theme based to your game as well. maybe in the ACP have a panel where you create the event name, select the date period, description, items you win as you go, and then overall winners rewards for 1st to 5th place for example. adding in theme changes might be a stretch for a mod like this but maybe something to expand on.
-
you might not need a mod only a small bit of code where the game works out your next rank to be based on levels as well. if level => 10 AND <= 19 then Rank = Beginner etc Might be a better way than a nested If like this though.
-
references crystals so I am thinking this is McCodes. I do though like where this can go using raids. Expanding any gang system with this is a nice addon.
-
I'm sorry @Dayo it was also little things as well that were updated so certain things in my game could work. Also not going with a crime fighting theme and updated the layout and name changes here and there. Yes I might need to start again. I really think I need to get login working and workout why i get white pages when logged in (mobile was doing it as i didn't logout yet) I fixed the issue by removing ?> from the last line of the config file. I don't know why that worked but it has. From what I understand the 2.3 version still has this in it.
-
I've been chipping away at the updates manually (had to because some mods and customs would then fail) and managed to get white screens in game and get an invalid request when trying to login .... I'm a kind of wishing I didn't bother start doing these updates now.. why fix what ain't broke comes to mind ....
-
ohhh.... now I have no page loading so i have to keep going before I say anything further....about halfway doing classes updates ... see how it goes from here - was only an init file update away from fixing lol
-
Why are files named differently? hooks to hook? template/templateRender? Is it supposed to be like this? It doesn't make sense the change. What should I do with the old files just delete them and hope for the best that it all works?
-
I second the attack, being turn based with an advanced (enhanced) item system. Since i use Sims perhaps build on his to save me some trouble lol Daily jobs would be another and maybe a newspaper system. What I'd like to also see is a really updated looking forum and instant chat system to build the games player interaction/communication. We can take a lot of things/ideas from mccodes and GL them lol
-
Torn does well with calendar events its very worthwhile doing. they fill the full year pretty sure. For instance valentines day is about reducing cost of energy used per attack with an item called love potion. Its used well on your Fortnite, Dauntless type games also - they're both using same engine also
-
I have to work out what I have changed so I can just upload your files lol. Of the premium mods you include what of those have been updated? I can update the core easily enough but the ones not on the github is a bit of a guess and having to go through line by line.
-
Place this in your init.php file around line 27 so your domain redirects from http to https Thanks to @Dayo for providing on Discord chat group thought I'd share since it might come up and pretty sure anyone would like to use it. Something like this can be used in your .htaccess file as well: Thanks Mike for providing.
-
- 1
-
-
I had similar issues where I made some edits to fix it so when health is below 100 you go to hospital. Its the whole thing of when you get attacked your health goes to some stupid number. Then you got to sort the go to hospital if below 100 after an attack. The percentage showing up correctly is another issue. From memory after fixing the health to be between 0-100 i was able to get the percentage show correctly.
-
What's it not doing? error code?