-
Posts
2,392 -
Joined
-
Last visited
-
Days Won
62
Content Type
Profiles
Forums
Events
Everything posted by Sim
-
Although I am not a front end developer: https://www.infoworld.com/article/3563416/bootstrap-50-alpha-arrives-sans-jquery.amp.html
- 1 reply
-
- 1
-
-
I started cleaning up the code with a ItemHelperFunction class. I done removed over 1,000 lines of code across all files into less then 200 lines in the function class For fun: I also broke the item slots ACP and can't get it to work again(same code from item types ACP but produces two different results).
-
I have 2 instances of GL installed in different sub-directories on my server. I just realized when I login one of them, I am logged in both of them. If I logout of one of them, I get logged out of both of them. I am unsure if my login credentials are the same on both games, but regardless I shouldn't be logged in or out of both. @Dayo
-
Describe what React DOM frontend and JWT authentication is ? :0
-
Fiddle definitely want made for mobile devices. You know how hard it is for me to view anything on fiddle yet alone copy paiste anything? Edit: thanks for the very descriptive post. The read was as I thought. IDs must be unique and the parent, child thing (while looking at examples). So my HTML: I had <div class="php__container" id="php__container"> I put it back to original way: <div class="php__container"> The problem now it's that or doesn't load the URL in the container when clicked. It does provide the correct URL though other alert.
-
It's been so long that I have paid with jQuery or JavaScript I am already experiencing some serious issues I'm trying to load the URL associated with my nav links(not all links, only nav links) into a certain div in my html. There is nearly 40links total I added the id="#nav-link" to the links. Partial Nav link HTML: <div class="tab-pane" id="topnav-tab2" role="tabpanel"> <ul class="php__links nav nav-justified"> <li class="nav-item"><a class="nav-link" href="characters.html" id="#nav-link">Character</a></li> <li class="nav-item"><a class="nav-link" href="inventory.html" id="#nav-link">Inventory</a></li> <li class="nav-item"><a class="nav-link" href="battle.html" id="#nav-link">Battle</a></li> <li class="nav-item"><a class="nav-link" href="upgrade.html" id="#nav-link">Upgrade</a></li> </ul> </div> The JS" $(document).ready(function(){ $('#nav-link').click(function(e){ alert($('#nav-link').attr('href')); e.preventDefault(); alert($('#nav-link').attr('href')); $("#php__container").load($(this).attr('href')); }); }); The DIV HTML: ADDED id <div class="php__container" id="php__container"> The problem is it loads the URL I click THE FIRST TIME. The SECOND TIME I click ANY link except the 1st one. It loads the page. IF I CLICK the FIRST LINK it shows my alert and doesntoad the contents at all. So several issues:
-
As the topic says, what is everyone working on For myself, I am working on deciding what features to include in the initial release of my game. As well, as having my GUI/design done, and modding GL slot to meet my needs. I am also finishing up on my item System.
-
Good job on release 🙂
-
Crafting, mining, other minor things, timed training (click upon done for receive, would mostly click while during cool down). I think gambling games hurt the economy
-
Over the next month or two I will be working on adding content and finishing up a bunch of features(mods) I have not released to create a beta/alpha version of my game with my newly found design. (No sneak peeeks here). This will also allow me to fully test some of my bigger mods for bugs before releasing to public. With me doing this, 90% of GL will end up being stripped and %98 of the files will be altered. I will be fairly quiet during this time on MWG, so expect MWG to get even quieter. I will be posting various GL hacks during the process. The main things I am going to be needing testing is design, crimes, items, travel, mugging, battle formulas. All which are will be replaced. I will also be adding various new hooks to battle system, and fixing or even replacing the current hook system since. The bug/fix I am referring about is having certain hook files called more then once and also allowing hooks to do more then what they do now. I really did not want to follow the crime theme, since I would not be able to have an RPG battle system, but I found away to accomplish both.
- 1 reply
-
- 2
-
-
I don't understand why you ain't do that to become with? But something are just not for every to ponder about. 🙂
-
I'm sure he will reregister.
-
Offer both. Release only css/html. Then release for MC. You might as well release for GL as well(you know someone going to say I would like that for GL) more $$
-
Looking for partner to run game/games. Or join game already developed
Sim replied to Sim's topic in Game Support
I think you can tell by my post I want planning on it. Maybe list in Marketplace a little cheaper and let multiple people purchase with option to alter design at price? -
Databases are built for that. There's a reason for every item being listed in the DB.
-
I don't see me ever needing anything more then just returning a simple varchar(1) ever so I'm not worried about it. If the time ever comes, another field is always an option to. Today I see many seperators : or - in DB fields which I'm mostly opposed to. But I'm not sure if it would negate a DB since the a database is actually just organized text. Seperators: can still have SQL queries ran on them. LIKE %:e:%
-
I'm a coder, I'd redesign the whole item System at that point. But could just use inUse as a varchar(10). And if blank, would be false, then could always explode it for different aspects. To start, inUse e be equip, inUse u be userShops, inUse t be trade, ECT. If needed more in future, inUse e:t:u
-
-
I needed a break from the item System for a minute so I tried my game at what I thought I could do and have not yet been done. I want to add character classes to my game to add bonus such as the ability to upgrade your characters stats that actually have an effect on game play. So, the easiest way, I could come up with was to use a "Tag" system. Admins can add tags to every feature, crime, ECT in the game, and add a + or - effect of the stat/tag. The problem: I hate copying and pasting code and editing TPL files. Since this would be editing multiple TPL files and acp files at one time. Thanks to @Dayo and his hook system I have managed to create this without editing any other features. And it will be easy to add the tag/skill system to other mods, with simply one word. Here's the concept: It will alter the template and add a "Tags" combo box which allows multiple selections. After the form is validated. After the form is validated, it goes to step 2. Which is where you add the effects of the tags/stats/skills. Which adds the values to the crime in this case. There is a simple tag section in it's just a one line text box to add "Tags". This is a working concept, with some very ugly code. Very ugly code. #1 SINCE hooks are procedal code and #2 ESPECIALLY WITH DOING STUFF LIKE THIS: Since I have no control of the hooks being called twice or multiple times. 6x sometimes. But my testing stated are done and accomplished what I wanted to do. And it seems like it is possible. $_SESSION['crimeStatus']++; if($_SESSION['crimeStatus'] % 2) This will be the new way of modding to extend features as people will no longer EVER HAVE TO TOUCH ANOTHERS PERSONS MOD TO ALTER/ADD TO IT.
-
-
Looking for partner to run game/games. Or join game already developed
Sim replied to Sim's topic in Game Support
You want me to give you access to all the files and do all the work and share profits work you to? I already wrote a novel and you can't take the time to message me, or any background. -
Nope, I have every item stored in the inventory, if they own 10 wooden knifes, there's 10 instances of wooden knives in the table.
-
I could @Magictallguy but I wont. The only option I may ever add is if an item can ever be resold. But I am asking for people's opinions about what there preference is as a game owner on this situation. I agree with @Veramis . Coding wise, I wouldn't remove the item from inventory though, I would just create another column inUse. And either make it Boolean, or specify it's location(equiped, trade, user shop, black market).
-
I'm not familiar with PDO. Prepare secures data while query just queries whatever data?