Jump to content
MakeWebGames

Recommended Posts

  • Replies 56
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Re: Battletent Fix

 

what is it some trick ya use to make the file look bigger and get more money...

Do you really think 200 bytes is going to do anything?

Who cares how much bigger the file is, its text ffs.

People are actually taught to code that way if you learn from any tutorial.

It makes it easier to read and easier to close open loops.

Using code that is made like that makes it easier for 3rd parties to alter it efficiently.

Posted

Re: Battletent Fix

that's probably why i find it weird

i prefer not to look at tutorials or have someone sitting next to me saying do this do that lol

i just jump straight in and have a go

i got most of what i know about php from php files i've just opened and looked through the coding :-D

Posted

Re: Battletent Fix

Im into neatness. I like a easy to read code. I have worked with alot of coders, Ravenal and Twiztedfake both were very neat coders. Easy to read code, I dont spend 30 minutes going thru spacing the code out so its easier to read lol.

Posted

Re: Battletent Fix

 

that's probably why i find it weird

i prefer not to look at tutorials or have someone sitting next to me saying do this do that lol

i just jump straight in and have a go

i got most of what i know about php from php files i've just opened and looked through the coding :-D

So have I, but that doesn't mean I'm ignorant to proper-looking coding.

I've never read a tutorial or taken a class, but I am taking a class in C++ right now and that is what is taught.

It's a standard for most code that goes up for sale.

  • 2 weeks later...
Posted

Re: [mccode v2] Battletent Fix

What would i need to do to have the Battle Tent Challenge reset so you are able to challenge them again in say 1 month's time? Thx in advance!

Posted

Re: [mccode v2] Battletent Fix

This will reset all players and bots so you can Attack them again once beaten. This is a cron so you will need to set it for the time period you wat it to Run via your Cronjobs panel

Has been tested and Works Fine..

Call this fille botcronattack.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [mccode v2] Battletent Fix

 

from what ive seen here all of you are great in your own way i just want to know how i can rais the numbers cap from my codes . I cant get it over 2.5 bill

Search the forums.... It's all over the place

Posted

Re: [mccode v2] Battletent Fix

 

This will reset all players and bots so you can Attack them again once beaten. This is a cron so you will need to set it for the time period you wat it to Run via your Cronjobs panel

Has been tested and Works Fine..

Call this fille botcronattack.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Thanks for that my friend, I needed that. +1 for you!

Posted

Re: [mccode v2] Battletent Fix

OK thx guys that reset it but now when i win there is no button to "take win" so i cant get credited with the money. Any help is great..

Posted

Re: [mccode v2] Battletent Fix

How do I make it so when you defeat the bot you have a button (mug, hospitalize, leave) that it has a Battle Tent Win button? and only shows when the bots are listed in battle tent?

Posted

Re: [mccode v2] Battletent Fix

Hey illusions,

I have tried that and it isn't crediting the money at all. Like what Buddy said, there should be a battle tent win button. i have seen this on other games but need to know hoe to put this in.

Posted

Re: [mccode v2] Battletent Fix

All the script that i wrote does is reset the Challenges to zero once you have defeated a bot you can defeat it again once the cron you have installed expires.

As regards to your problems you would need to check your battletent.php script for that

Posted

Re: [mccode v2] Battletent Fix

I just read all the posts on here and as soon as i got to page 3, i completly forgot what the first post was about, lol.

Whats so swell about this battletent? Just better spaced coding? (Im with killah and the crew on the spaced coding)

  • 2 months later...
Posted

Re: [mccode v2] Battletent Fix

duuuuude! you rule :-P it worked, oh yeah is there any way of making it so that npc's cant be put in hospital? :? sorry im still quite noobish at this sorta stuff

Posted

Re: [mccode v2] Battletent Fix

on the attack files wherever a user is sent to hospital you could place it something like...

if (attackeduser_level != 0) { set hospital=xx }

This way only user_level 0 users (NPC's) won't be placed in hospital

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...