-
Posts
2,392 -
Joined
-
Last visited
-
Days Won
62
Content Type
Profiles
Forums
Events
Everything posted by Sim
-
All binds have values. This has me a bit confused object(stdClass)#116 (19) { ["page"]=> string(5) "admin" ["module"]=> string(6) "crimes" ["action"]=> string(4) "edit" ["id"]=> string(1) "2" ["name"]=> string(16) "Rob a cab driver" ["success"]=> string(16) "successful crime" ["fail"]=> string(12) "failed ceime" ["playerPerc"]=> string(2) "50" ["victimMsg"]=> string(35) "[convict] crimed against you [cash]" ["convictMsg"]=> string(44) "success crime against player [victim] [cash]" ["money"]=> string(2) "10" ["maxMoney"]=> string(2) "18" ["bullets"]=> string(1) "0" ["maxBullets"]=> string(1) "0" ["chance"]=> string(2) "50" ["cooldown"]=> string(2) "45" ["exp"]=> string(1) "2" ["level"]=> string(1) "2" ["submit"]=> string(1) "1" }
-
Since Trump was in office, he stopped emerging other countries money. So US Americans got it finally? 🙂
-
Download GL. Its more secure, updated code and more supported.
-
@BeNiiiBoiii dunno why i posted that, was super tired. Lol... I said same thing.
-
SMH, stating at that for 2-3hrs straight. Its always the smallest things like that that gets men stumped. Thanks @Curt $update = $this->db->prepare(" UPDATE crimes SET C_name=:name, C_chance=:chance, C_success=:success, C_fail=:fail, C_convictMsg=:convictMsg, C_victimMsg=:victimMsg, C_cooldown=:cooldown, C_money=:money, C_maxMoney=:maxMoney, C_level=:level, C_bullets=:bullets, C_maxBullets=:maxBullets, C_exp=:exp, C_playerPerc=:playerPerc WHERE C_id=:id "); Now i an getting thia dang error. Everything looks get to me. I'm going to sleep. I keep dropping my phone and when it hits the floor is when i wake back up SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE C_id='2'' at line 18 in
-
$update = $this->db->prepare(" UPDATE crimes SET C_name=:name, C_chance:chance, C_success=:success, C_fail=:fail, C_convictMsg=:convictMsg, C_victimMsg=:victimMsg, C_cooldown=:cooldown, C_money=:money, C_maxMoney=:maxMoney, C_level=:level, C_bullets=:bullets, C_maxBullets=:maxBullets, C_exp=:exp, C_playerPerc=:playerPerc WHERE C_id=:id "); $update->bindParam(":name", $this->methodData->name); $update->bindParam(":chance", $this->methodData->chance); $update->bindParam(":success", $this->methodData->success); $update->bindParam(":fail", $this->methodData->fail); $update->bindParam(":convictMsg", $this->methodData->convictMsg); $update->bindParam(":victimMsg", $this->methodData->victimMsg); $update->bindParam(":cooldown", $this->methodData->cooldown); $update->bindParam(":money", $this->methodData->money); $update->bindParam(":maxMoney", $this->methodData->maxMoney); $update->bindParam(":level", $this->methodData->level); $update->bindParam(":bullets", $this->methodData->bullets); $update->bindParam(":maxBullets", $this->methodData->maxBullets); $update->bindParam(":exp", $this->methodData->exp); $update->bindParam(":playerPerc", $this->methodData->playerPerc); $update->bindParam(":id", $this->methodData->id); $update->execute(); Line: 227 Error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in from what i can count. Both have 15 bound variables?
-
That green bar is not for timers. As u can see your timers are res. That green bar is your % chance of committing that crime if im not mistaken, and the more you commit a certain crime, the higher it goes. We both looked at wrong spot. He circled it in picture. Its in header The problem is, i never see the crime timer updated. Only individual crime timers, so $this->user->updateTimer('crime-' . $id, $crimeInfo->C_cooldown, true); Im crimes.inc.php needs to.be something like this: $this->user->updateTimer('crime-' . $id, $crimeInfo->C_cooldown, true); $lastCrimeExpires = $this->user->getTimer("crime"); $crimeCheck = $this->user->getTimer("crime-" . $id); //timers are returned in timestamps? @Dayo If($crimeCheck > $lastCrimeExpires) { $this->user->updateTimer('crime-' . $crimeInfo->C_cooldown, true); }
-
Probably my doing while tweaking it.
-
I kinda wish i could do fulltime dev. Never can get enough wor @Dave everyone with a social security number gets one. Even if you in jail
-
A refurbished laptop is under 300.
-
I need more then the raspberry pi like the accessories like miller keyboard and screen? Why ain't you getting a stimulus @Dave
-
For the Americans here, what do yall plan on doing with your stimulus check? For me, i am debating on buying a refurbished laptop or fix my car(2008 Honda Civic).
-
Problem is/was i couldn't access his at the time
-
So I logged into my cpanel, then phpMyAdmin sim.MWG_url ALL IS WELL. then i login to another persons cPanel Otherguys.MWG_url ALL SEEMS WELL Then i go to phpMyAdmin I cant explain in words that when logging into his cpanel/phpMyAdmin, that its my cpanel/phpMyAdmin or making it easy for anyone to believe. So heres the pics of be being logged into both. @Dave @Dave TestingTesting
-
Still stuck in ACP. Ran into a issue with updating my json data amd its driving me crazy. Spent last 3 hrs on it just ro get no where. And messed wirh it last few days here m there
-
I think @Dayo posted a tutorial somewhere
-
Since nobody else wants to welcome you, welcome to comunity
-
There has been new updates / releases since I last posted. During the next week, i will be releasing a couple me mods that are depent on my item system. One being a new mugging system. Details are posted somewhere on MWG for now. The other is a new/different attack system which is similar to the mugging system, but instead of having money taken, health is taken. A few new item types might be released so do. It depends on how busy I am with client work and finishing up my other mods that needs finishing up. I want to create a new fight/Battle system where players take turns attacking each other until a winner is decided. Then I also would like to have a crafting system. It was mentioned to me by a few people, and I forgot about it until I seen the one released today.
-
Not even nav link under browse. I just realized why I like this theme so much. It reminds me of GMF(GameMakersForum);
-
Points Visible on UsePoints Mod (Understanding functions better)
Sim replied to AinzOoalGown's topic in Gangster Legends
Last hook https://github.com/ChristopherDay/Gangster-Legends-V2/wiki/Hooks.modules -
-
It seems like theme messes marketplAce up a bit. I cant get to add title and description. On mobile or desktop view: It shows all the fields, then disappears.
-
Why you got a server? You own hosting company? How fast is your internet?