-
Posts
2,392 -
Joined
-
Last visited
-
Days Won
62
Content Type
Profiles
Forums
Events
Everything posted by Sim
-
Isn't there a Google API to use to translate? Code it and have offenders register an API key for there game? Would be much easier for have owners imo
-
Greet opinion / idea but bout needed here.
-
Stats are of no use if don't play apart in the game.
-
You still gain EXP threw the jail system itself.
-
This doesn't work: $userToMake = @new user(); $rand = mt_rand(1,10000); $makeUser = $userToMake->makeUser( $bot, $prefix . $rand . $email, $pass, 2, 1 ); $rand = mt_rand($minTime, $maxTime); $rand = $rand * mt_rand(10,60); $loc = getRandLoc(); $rankID =77; //works $userToMake->set("US_location", $loc["id"]); //doeant work $userToMake->set("U_userLevel", $rankID); But this works $userToMake = @new user(); $rand = mt_rand(1,10000); $makeUser = $userToMake->makeUser( $bot, $prefix . $rand . $email, $pass, 2, 1 ); $rand = mt_rand($minTime, $maxTime); $rand = $rand * mt_rand(10,60); $loc = getRandLoc(); $rankID = 77; $userToMake->set("US_location", $loc["id"]); $rec = $db->prepare(" SELECT * FROM users ORDER BY U_id DESC LIMIT 1; "); $rec->execute(); $rec = $rec->fetchObject(); $update = $db->prepare(" UPDATE users SET U_userLevel= :roleID WHERE U_id = :userID "); $update->bindParam(":roleID", $rankID); $update->bindParam(":userID", $rec->U_id); $update->execute(); The problem is set will not set my new users userLevel for some reason. I spwnt a few days until I was like I'll go the non-GL standard eat.
-
๐ 5 minutes I still never get back either.
-
What engine? What are yoo looking for price range?
-
@AlizHarbthink you misunderstood. I was not telling you or criticizing you about versions. Educating you on how it's a branch of GL
-
"2nd version of your GL". Should be 2nd branch of GL2. For a version of your GL, there must be change made to the engine itself. Not template and mods. But on a very positive note, it looks test and your released mods seem good. As mentioned I would recommend releasing something for free. I for one have not seen you active for long and would like to see your coding style
-
new hook("profileStat", function ($profile) { global $user; if ($user->id == $profile->info->U_id) { return array( "stat" => profile->info->US_kills, "text" => "Kills" ); } }); How can I add multiple stats to the profile from the hooks page. I tried some 2d arrays with no results. Also @Dayo can you update the hooks documentation. I know there is a new Hook or two? And thw other typos I found in hooks. Missing $action in action hooks, forgot $ in profileStat hooks as seen above
-
I forgot about that rule of thumb.
-
Do most developers even use them now? The actionHook
-
A story run down of me. I have been coding for 20 years and struggled with addiction for almost just as long. I started coding with Visual Basic 5? On AOL 2.5(Ages), I am the first purple to create a zero day exploit (back then they ease called 1 IM Punters(1 instant message punter) booting people offline and it was a real pain with dial up modems. In the last 10 years I have been clean and sober for around 7 years off and on. Today I'm about 50 days. I have sold drugs used drugs, boosted, robbed, ripped people off, made 30,000$/month, slept on the streets, lived like a king, been homeless, been shot, shot at people, been stabbed, stabbed others, been to jail, pimped girls, and just about anything you can think of that comes with the game and lifestyle. My most luckiest day is the day I got shot at point blank range and had the gun jam on the other person on the 2nd round. I'm also a father of a daughter. Reason for this post is: Help Bill Begin His Journey As this is one of my favorite places to visit.
-
I see ACP hooks have been added. But here's how I would ACP hooks added to GL. A lot of mods use locations. So if a location is deleted, any mod that uses that location now has useless stored data in the database. It be nice to be able to have a Hook for when data is created and deleted.
-
JFF: How many modules are installed on your game (Just For Fun)
Sim replied to Sim's topic in Gangster Legends
What are the odds ? ๐ off us bough having 73 -
private function getModule($moduleName = false) { if ($moduleName) { return $this->page->modules[$moduleName]; } return $this->page->modules; } The above code is the function The below code shows the function accepting 2 parameters. $this->html .= $this->page->buildElement("moduleList", array( "modules" => $this->getModule($this->methodData->moduleName, true) )); Maybe theres new PHP rules in place or ????
-
Any amount of code free or paid well but help you learn code. Sorry, but it's the truth.
-
๐ and I agree. It just slipped my mind while coding it.
-
Thanks. Yah but nah. Doesn't matter how many notifications there are, view them once there all marked as viewed. Deepening on popularity, and others opinion regarding notifications, a log may be an alternative option.
-
It's been awhile since I have released anything & I need some funds for hosting, so without further ado.
-
I think I may have figured it out it. Players setup design bases via buying/upgrading buildings/units and fend off raids. Similar to a real time strategy but text based :).
-
I have issues viewing any content. Missing pages and drop down bar won't work at all.