Jump to content
Posted
  • Content Team

Been struggling to find myself a coder to build my dream game, so I've finally decided I'm biting the bullet and doing it myself.

 

Coding in PHP for now to see what I can come up with as it's probably my strongest language, even though I still don't know anymore than an average 12 year old could find out on Google.

 

If anyone wants to laugh at me along my journey, I'm developing on live and literally have been making miniscule edits by the minute for hours. I'm just about finished up for night, so nothing will change or break (hopefully) for a few hours (not that there's anything much to do anyhow): https://heroel.com/src/

 

You can use a fake email to sign up no worries there's no verification or anything, the database will likely be deleted anyhow once I work more on the game.

 

Feel free to laugh along in the thread, I won't take it personally! :ROFLMAO:

content.png

Looking to grow your community and encourage engagement? Check out Administrata's premium Content Ordering service!

Featured Replies

  • Author
  • Content Team

I ran into some problems tonight with some updates and am calling it a night for now. Everything bar the gym is still working, although not exactly as intended right now and not as much was done tonight as I'd hoped, but here is what is done:

 

  • Attacking players now deal a random amount of damage between 5-20, with a chance of your strength stat further increasing the maximum damage when above a certain threshold.
  • Defending players now deal a random amount of damage between 3-12, with a chance of their strength stat further increasing their maximum damage when above a certain threshold.
  • If an attacking player has an Agility stat that is significantly higher than a Defenders Speed stat, there is a chance the Defender won't hit them.
  • If an attacking player has a Defence stat that is significantly higher than a Defenders Strength stat, the damage dealt range can reduce to between 1-8.
  • Hospital discharge now requires 25 health to become available.

 

When I was attempting some updates to the gym.php page, I confused some logic statements. The result is that currently, gym trains are not actually processed. It's nearly 2am so I simply don't have time to fix this right now, but I will get to it tomorrow.

content.png

Looking to grow your community and encourage engagement? Check out Administrata's premium Content Ordering service!

Damn. You fixed my exploit. I wrote "x" in Googe's console and just put an automated mouse clicker on refresh of [iCODE]?method=get&stat=strength[/iCODE]. I think I could've used JS to refresh it, but couldn't figure it out. The "x" was just so that the post confirmation window wouldn't come up without having to edit Chrome settings (by having to close out of Chrome and restarting it to apply).

 

[ATTACH type=full" size="493x239]534[/ATTACH]

 

I still think I deserve my 30-strength. That took a lot of computing power... and ingenuity.

  • Author
  • Content Team

Damn. You fixed my exploit. I wrote "x" in Googe's console and just put an automated mouse clicker on refresh of [iCODE]?method=get&stat=strength[/iCODE]. I think I could've used JS to refresh it, but couldn't figure it out. The "x" was just so that the post confirmation window wouldn't come up without having to edit Chrome settings (by having to close out of Chrome and restarting it to apply).

 

[ATTACH type=full" alt="1734607861979.webp]534[/ATTACH]

 

I still think I deserve my 30-strength. That took a lot of computing power... and ingenuity.

 

When I saw your stats the other night, I knew you had managed to find something, I just couldn't be bothered to go back through database logs to find out what! :p Gave me a good reason to go through the code and find out though... if I'm honest, the gym.php page is the worst code of all the code I've produced so far, so I'm considering just starting completely from scratch on it to make sure I get everything working as intended.

content.png

Looking to grow your community and encourage engagement? Check out Administrata's premium Content Ordering service!

When I saw your stats the other night, I knew you had managed to find something, I just couldn't be bothered to go back through database logs to find out what! :p Gave me a good reason to go through the code and find out though... if I'm honest, the gym.php page is the worst code of all the code I've produced so far, so I'm considering just starting completely from scratch on it to make sure I get everything working as intended.

I'm still on a hunger strike till I get my 30 strength back.

 

You have till breakfast!

 

I'm off to bed.

[ATTACH type=full" size="305x178]981[/ATTACH]

 

200.gif

 

I did make some database adjustments earlier which may have resulted in the lowering of some stats

Better not be anymore "adjustments".

 

200.gif

 

Or else...

  • Author
  • Content Team

[ATTACH type=full" alt="1734789037044.webp]981[/ATTACH]

 

200.gif

 

 

Better not be anymore "adjustments".

 

200.gif

 

Or else...

 

Ah crap. I've been desperately trying to fix this whole gym cooldown situation, knew I should've just disabled training for now... :ROFLMAO:

 

Luckily for you, I don't have the database open right now... but next time I open it... :sneaky:

content.png

Looking to grow your community and encourage engagement? Check out Administrata's premium Content Ordering service!

Luckily for you, I don't have the database open right now... but next time I open it... :sneaky:

Don't you even think about it.

[ATTACH type=full" size="210x238]984[/ATTACH]

 

Weak battle damage. How much strength does Evan have to deal more damage than me??

  • Author
  • Content Team

[ATTACH type=full" alt="1734791493528.webp]984[/ATTACH]

 

Weak battle damage. How much strength does Evan have to deal more damage than me??

 

That's my account, so... more than you. :p

 

That being said, even with battle stats having some (small) effect, there is still randomness involved. So you'll sometimes do more damage to me.

content.png

Looking to grow your community and encourage engagement? Check out Administrata's premium Content Ordering service!

That's my account, so... more than you. :p

 

That being said, even with battle stats having some (small) effect, there is still randomness involved. So you'll sometimes do more damage to me.

CHEATER

What would you consider it if I added some code to prevent myself being damaged at all? :geek:

A game with a lot of angry members. :p

  • Administrators

Oh my days, I have a lot to catch up to.

 

[mention=96]fdk[/mention] please ban [mention=39]frm[/mention] for a week or so.

There seems to have been a database error. :mad:
  • Administrators

There seems to have been a database error. :mad:

I haxzord it. 😏

I haxzord it. 😏

I'd hax0r my stats back again, but they'd just disappear.

 

[mention=96]fdk[/mention] defeated me in trying. Which is a shame, cause it shows how it can be done, so he could prevent it... but, now he can find out the exploits on his own.! :p

  • Author
  • Content Team

Hey [mention=1]Cedric[/mention] [mention=39]frm[/mention] [mention=47]Daedalus[/mention] [mention=5]Cpvr[/mention] & anyone else I've forgotten to tag who's posted here having tried the game - thank you!

 

This has been a bit dead for the past week or so, mainly due to me having problems fixing up my gym code and so the game not actually really being able to be played properly. I've finally managed to get some support in fixing up the code and the gym cooldowns are now working correctly - to celebrate this, as I'm sure [mention=39]frm[/mention] will really appreciate ( :ROFLMAO: ) I'm resetting everyone's battle stats to the default 10 now... feel free to play around and see what you can do now.

 

I am going to be actively working on some development for the game over the Christmas break, so whilst it still looks ugly as hell and is in extremely basic state, you will hopefully at least start to see things have a little more consistency, and new features/pages being slowly released between now and early January. The hope is to get it in a good enough state to actually play for more than 5 minutes a time, at which point I'll work on some styling/theme for the game, then make plans for an open BETA for a while.

 

I think I mentioned previously that I have around 200 players waiting for this game, if I'm honest I'm just loath to involve them in development at this time as the game is currently really bad. I want it to be in a playable beta state before inviting them in, with the plan that the game will be monetized long-term - the players I have waiting for this game are all cash cows ready to spend $$$. :D

 

I appreciate all of your help in testing/development/ideas (please share any ideas if you have them!) and I will absolutely make provision for anyone who's been helping to have a healthy premium package added to their game account when the game eventually launches (however far into the future that may be)!

 

PS: Winning battles and searching for gold have been giving experience to players accounts for the past few days, although you might not be able to see this. Soon a levelling system will be implemented so you'll be able to level up and gain access to further game areas.

content.png

Looking to grow your community and encourage engagement? Check out Administrata's premium Content Ordering service!

I've finally managed to get some support in fixing up the code and the gym cooldowns are now working correctly

Just a tip: 30 minutes (regular) and 12 hours (super) is way too long of a cooldown period, unless it were per ability (strength, defense, speed, agility), as that is only 6 page views in 30 minutes. You want users on your game for longer than 30 minutes, as they could accomplish the gold/battle stuff in 30 minutes too. Time on screen would probably average out to about 15 minutes per day because of that limitation (perhaps 45 minutes for more dedicated users, over the span of an entire day).

 

I'd want them to be playing for 2+ consecutive hours or more, which is still possible with more features. But as for now, you have limited yourself to a very narrow window of keeping someone engaged and playing at one time. Not good if you want to eventually add ads as your average user time would be very low, a statistic that advertisers might want to know before selling some serious ad space.

 

I would recommend not doing 0.01% and 0.1% (a fixed number) and making it a range for both regular and super. This way, you can take the cooldown to 5 minutes/1 hour, and allow for training across all 4 abilities. Your page views and time on page will drastically increase with this simple implementation.

 

The hope is to get it in a good enough state to actually play for more than 5 minutes a time

The tip is an immediate fix for that.

 

the players I have waiting for this game are all cash cows ready to spend $$$.

I'd at first introduce skinning the character you decide to develop as money = an unfair advantage. Then, you could consider unique weapons, etc., but not unique enough that a non-paying member couldn't catch up with more gym time.

I will absolutely make provision for anyone who's been helping to have a healthy premium package added to their game account when the game eventually launches

 

 

200.gif

 

Soon a levelling system will be implemented so you'll be able to level up and gain access to further game areas.

You hard-coded the gym (0.01/0.1%) into the game, and another idea here is to not hard-code this. I had levels in a database table that had the requirements necessary for each level so that I could easily modify experience, battle stats, etc., in order to advance to the next level without having to find the code where the level-up achievements are met and code it back in.

 

I could easily see level 2 was 50 experience, and could adjust that to 100 experience if it were too easy. Then, I added other things like number of battles won, which had to be hard-coded in to check if they could advance with what they have, but once that was in, leveling up was all determined based on statistics set in the database for each level so I wouldn't need to code in 100 levels, and could always add 101, 102, 103... levels without messing with the code.

  • Author
  • Content Team

A small update - I've finally managed to get some basic interactions with battle stats working in the battle system. I took the opportunity to learn a little CSS so I could style the battling pages just a little bit - I'll learn more of this later and work on updating other pages in the game to be consistent with some styling.

 

Here's a sneak peek of the new battle system in action!

 

Screenshot-2024-12-27-11-43-35-AM.png

 

If you want to come and have a play around, you can find the test environment at https://heroel.com/src/ - we'll be glad to have you! An email address is required for registration, but no confirmation is required, so feel free to enter any email address! Also, as I've said previously and in case anybody missed it - this is just a test environment, I'm developing on this environment so things will likely break frequently. Feel free to create multiple accounts and try and break things however you like! If you find any issues please post in this thread and I'll try to fix whatever I can with my limited skill, or get the advice I need to fix it. :)

content.png

Looking to grow your community and encourage engagement? Check out Administrata's premium Content Ordering service!

Screenshot-2024-12-27-11-43-35-AM.png

Add a "battle again" button so they can choose to finish them off if they want.

 

More page views as battles take place with consecutive hits/returns.

 

Perhaps add a 1-3 second timer on the button before it enables so that time on page doesn't drastically decrease.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...